NodeDisruptionPolicy Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 NodeDisruptionPolicy : IEquatable<Azure.ResourceManager.ContainerService.Models.NodeDisruptionPolicy>
type NodeDisruptionPolicy = struct
Public Structure NodeDisruptionPolicy
Implements IEquatable(Of NodeDisruptionPolicy)
- Inheritance
-
NodeDisruptionPolicy
- Implements
Constructors
| Name | Description |
|---|---|
| NodeDisruptionPolicy(String) |
Initializes a new instance of NodeDisruptionPolicy. |
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(NodeDisruptionPolicy) |
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(NodeDisruptionPolicy, NodeDisruptionPolicy) |
Determines if two NodeDisruptionPolicy values are the same. |
| Implicit(String to NodeDisruptionPolicy) |
Converts a string to a NodeDisruptionPolicy. |
| Implicit(String to Nullable<NodeDisruptionPolicy>) | |
| Inequality(NodeDisruptionPolicy, NodeDisruptionPolicy) |
Determines if two NodeDisruptionPolicy values are not the same. |