Language

AgentPoolNodeDisruptionPolicy Struct

Definition

The policy configuration for when to allow certain operations which require node re-image and trigger redeployment. For example, some operations, such as updating the .properties.ManagedClusterSecurityProfile.customCATrustCertificates field on an existing managed cluster, trigger rolling updates of the nodes. This setting allows control over when such updates are accepted. The default is 'Allow'. For a full list of covered operations see aka.ms/aks/nodedisruptionpolicy".

public readonly struct AgentPoolNodeDisruptionPolicy : IEquatable<Azure.ResourceManager.ContainerService.Models.AgentPoolNodeDisruptionPolicy>
type AgentPoolNodeDisruptionPolicy = struct
Public Structure AgentPoolNodeDisruptionPolicy
Implements IEquatable(Of AgentPoolNodeDisruptionPolicy)
Inheritance
AgentPoolNodeDisruptionPolicy
Implements

Constructors

Name Description
AgentPoolNodeDisruptionPolicy(String)

Initializes a new instance of AgentPoolNodeDisruptionPolicy.

Properties

Name Description
Allow

Allows operations that will require node re-image and trigger redeployment.

AllowDuringMaintenanceWindow

Blocks certain operations that will require node re-image and trigger redeployment unless within the aksManagedNodeOSUpgradeSchedule maintenance window. For a full list of covered operations see aka.ms/aks/nodedisruptionpolicy . For more information on using the aksManagedNodeOSUpgradeSchedule maintenance window, please see https://learn.microsoft.com/azure/aks/planned-maintenance?tabs=azure-cli.

Block

Blocks certain operations that will require node re-image and trigger redeployment. For a full list of covered operations see aka.ms/aks/nodedisruptionpolicy.

Methods

Name Description
Equals(AgentPoolNodeDisruptionPolicy)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(AgentPoolNodeDisruptionPolicy, AgentPoolNodeDisruptionPolicy)

Determines if two AgentPoolNodeDisruptionPolicy values are the same.

Implicit(String to AgentPoolNodeDisruptionPolicy)

Converts a string to a AgentPoolNodeDisruptionPolicy.

Implicit(String to Nullable<AgentPoolNodeDisruptionPolicy>)
Inequality(AgentPoolNodeDisruptionPolicy, AgentPoolNodeDisruptionPolicy)

Determines if two AgentPoolNodeDisruptionPolicy values are not the same.

Applies to