Class SetMaintenancePolicyRequest
SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
Implements
Inherited Members
Namespace: Google.Apis.Container.v1beta1.Data
Assembly: Google.Apis.Container.v1beta1.dll
Syntax
public class SetMaintenancePolicyRequest : IDirectResponseSchema
Properties
ClusterId
Required. The name of the cluster to update.
Declaration
[JsonProperty("clusterId")]
public virtual string ClusterId { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MaintenancePolicy
Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
Declaration
[JsonProperty("maintenancePolicy")]
public virtual MaintenancePolicy MaintenancePolicy { get; set; }
Property Value
Type | Description |
---|---|
MaintenancePolicy |
Name
The name (project, location, cluster name) of the cluster to set maintenance policy. Specified in the format
projects/*/locations/*/clusters/*
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
Required. The Google Developers Console project ID or project number.
Declaration
[JsonProperty("projectId")]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
Zone
Required. The name of the Google Compute Engine zone in which the cluster resides.
Declaration
[JsonProperty("zone")]
public virtual string Zone { get; set; }
Property Value
Type | Description |
---|---|
string |