Google Kubernetes Engine v1 API - Class MaintenancePolicy (3.27.0)

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.

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