Google Kubernetes Engine v1 API - Class WorkloadPolicyConfig (3.21.0)

public sealed class WorkloadPolicyConfig : IMessage<WorkloadPolicyConfig>, IEquatable<WorkloadPolicyConfig>, IDeepCloneable<WorkloadPolicyConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Kubernetes Engine v1 API class WorkloadPolicyConfig.

WorkloadPolicyConfig is the configuration of workload policy for autopilot clusters.

Inheritance

object > WorkloadPolicyConfig

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

WorkloadPolicyConfig()

public WorkloadPolicyConfig()

WorkloadPolicyConfig(WorkloadPolicyConfig)

public WorkloadPolicyConfig(WorkloadPolicyConfig other)
Parameter
NameDescription
otherWorkloadPolicyConfig

Properties

AllowNetAdmin

public bool AllowNetAdmin { get; set; }

If true, workloads can use NET_ADMIN capability.

Property Value
TypeDescription
bool

HasAllowNetAdmin

public bool HasAllowNetAdmin { get; }

Gets whether the "allow_net_admin" field is set

Property Value
TypeDescription
bool