Class MaintenancePolicy (2.7.0)

public sealed class MaintenancePolicy : IMessage<MaintenancePolicy>, IEquatable<MaintenancePolicy>, IDeepCloneable<MaintenancePolicy>, IBufferMessage, IMessage

MaintenancePolicy defines the maintenance policy to be used for the cluster.

Inheritance

Object > MaintenancePolicy

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

MaintenancePolicy()

public MaintenancePolicy()

MaintenancePolicy(MaintenancePolicy)

public MaintenancePolicy(MaintenancePolicy other)
Parameter
NameDescription
otherMaintenancePolicy

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
TypeDescription
String

Window

public MaintenanceWindow Window { get; set; }

Specifies the maintenance window in which maintenance may be performed.

Property Value
TypeDescription
MaintenanceWindow