AgentPoolPatchProperties Class
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.
AgentPoolPatchProperties represents the properties of an agent pool that can be modified.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.AgentPoolPatchPropertiesTypeConverter))]
public class AgentPoolPatchProperties : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.IAgentPoolPatchProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.AgentPoolPatchPropertiesTypeConverter))>]
type AgentPoolPatchProperties = class
interface IAgentPoolPatchProperties
interface IJsonSerializable
Public Class AgentPoolPatchProperties
Implements IAgentPoolPatchProperties
- Inheritance
-
AgentPoolPatchProperties
- Attributes
- Implements
Constructors
AgentPoolPatchProperties() |
Creates an new AgentPoolPatchProperties instance. |
Properties
AdministratorConfigurationSshPublicKey |
SshPublicKey represents the public key used to authenticate with a resource through SSH. |
Count |
The number of virtual machines that use this configuration. |
UpgradeSettingDrainTimeout |
The maximum time in seconds that is allowed for a node drain to complete before proceeding with the upgrade of the agent pool. If not specified during creation, a value of 1800 seconds is used. |
UpgradeSettingMaxSurge |
The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified during creation, a value of 1 is used. One of MaxSurge and MaxUnavailable must be greater than 0. |
UpgradeSettingMaxUnavailable |
The maximum number or percentage of nodes that can be unavailable during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified during creation, a value of 0 is used. One of MaxSurge and MaxUnavailable must be greater than 0. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of AgentPoolPatchProperties. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of AgentPoolPatchProperties. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.IAgentPoolPatchProperties. |
FromJsonString(String) |
Creates a new instance of AgentPoolPatchProperties, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of AgentPoolPatchProperties into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |