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 related to GCW workload policy
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 |
AutopilotCompatibilityAuditingEnabled
public bool AutopilotCompatibilityAuditingEnabled { get; set; }
If true, enables the GCW Auditor that audits workloads on standard clusters.
Property Value | |
---|---|
Type | Description |
bool |
HasAllowNetAdmin
public bool HasAllowNetAdmin { get; }
Gets whether the "allow_net_admin" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasAutopilotCompatibilityAuditingEnabled
public bool HasAutopilotCompatibilityAuditingEnabled { get; }
Gets whether the "autopilot_compatibility_auditing_enabled" field is set
Property Value | |
---|---|
Type | Description |
bool |