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.
Implements
IMessageWorkloadPolicyConfig, IEquatableWorkloadPolicyConfig, IDeepCloneableWorkloadPolicyConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
WorkloadPolicyConfig()
public WorkloadPolicyConfig()
WorkloadPolicyConfig(WorkloadPolicyConfig)
public WorkloadPolicyConfig(WorkloadPolicyConfig other)
Parameter | |
---|---|
Name | Description |
other |
WorkloadPolicyConfig |
Properties
AllowNetAdmin
public bool AllowNetAdmin { get; set; }
If true, workloads can use NET_ADMIN capability.
Property Value | |
---|---|
Type | Description |
bool |
HasAllowNetAdmin
public bool HasAllowNetAdmin { get; }
Gets whether the "allow_net_admin" field is set
Property Value | |
---|---|
Type | Description |
bool |