public sealed class MaintenancePolicy : IMessage<MaintenancePolicy>, IEquatable<MaintenancePolicy>, IDeepCloneable<MaintenancePolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Kubernetes Engine v1 API class MaintenancePolicy.
MaintenancePolicy defines the maintenance policy to be used for the cluster.
Implements
IMessageMaintenancePolicy, IEquatableMaintenancePolicy, IDeepCloneableMaintenancePolicy, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
MaintenancePolicy()
public MaintenancePolicy()
MaintenancePolicy(MaintenancePolicy)
public MaintenancePolicy(MaintenancePolicy other)
Parameter | |
---|---|
Name | Description |
other |
MaintenancePolicy |
Properties
ResourceVersion
public string ResourceVersion { get; set; }
A hash identifying the version of this policy, so that updates to fields of
the policy won't accidentally undo intermediate changes (and so that users
of the API unaware of some fields won't accidentally remove other fields).
Make a get()
request to the cluster to get the current
resource version and include it with requests to set the policy.
Property Value | |
---|---|
Type | Description |
string |
Window
public MaintenanceWindow Window { get; set; }
Specifies the maintenance window in which maintenance may be performed.
Property Value | |
---|---|
Type | Description |
MaintenanceWindow |