Class ConfigManagementPolicyController
Configuration for Policy Controller
Implements
Inherited Members
Namespace: Google.Apis.GKEHub.v2.Data
Assembly: Google.Apis.GKEHub.v2.dll
Syntax
public class ConfigManagementPolicyController : IDirectResponseSchema
Properties
AuditIntervalSeconds
Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
Declaration
[JsonProperty("auditIntervalSeconds")]
public virtual long? AuditIntervalSeconds { get; set; }
Property Value
Type | Description |
---|---|
long? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Enabled
Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
Declaration
[JsonProperty("enabled")]
public virtual bool? Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ExemptableNamespaces
The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
Declaration
[JsonProperty("exemptableNamespaces")]
public virtual IList<string> ExemptableNamespaces { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
LogDeniesEnabled
Logs all denies and dry run failures.
Declaration
[JsonProperty("logDeniesEnabled")]
public virtual bool? LogDeniesEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Monitoring
Monitoring specifies the configuration of monitoring.
Declaration
[JsonProperty("monitoring")]
public virtual ConfigManagementPolicyControllerMonitoring Monitoring { get; set; }
Property Value
Type | Description |
---|---|
ConfigManagementPolicyControllerMonitoring |
MutationEnabled
Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.
Declaration
[JsonProperty("mutationEnabled")]
public virtual bool? MutationEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ReferentialRulesEnabled
Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
Declaration
[JsonProperty("referentialRulesEnabled")]
public virtual bool? ReferentialRulesEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
TemplateLibraryInstalled
Installs the default template library along with Policy Controller.
Declaration
[JsonProperty("templateLibraryInstalled")]
public virtual bool? TemplateLibraryInstalled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. Last time this membership spec was updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |