ArmContainerServiceModelFactory.AgentPoolUpgradeProfileData Method

Definition

Initializes a new instance of AgentPoolUpgradeProfileData.

public static Azure.ResourceManager.ContainerService.AgentPoolUpgradeProfileData AgentPoolUpgradeProfileData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string kubernetesVersion = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceOSType osType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.AgentPoolUpgradeProfilePropertiesUpgradesItem> upgrades = default, string latestNodeImageVersion = default);
static member AgentPoolUpgradeProfileData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.ResourceManager.ContainerService.Models.ContainerServiceOSType * seq<Azure.ResourceManager.ContainerService.Models.AgentPoolUpgradeProfilePropertiesUpgradesItem> * string -> Azure.ResourceManager.ContainerService.AgentPoolUpgradeProfileData
Public Shared Function AgentPoolUpgradeProfileData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional kubernetesVersion As String = Nothing, Optional osType As ContainerServiceOSType = Nothing, Optional upgrades As IEnumerable(Of AgentPoolUpgradeProfilePropertiesUpgradesItem) = Nothing, Optional latestNodeImageVersion As String = Nothing) As AgentPoolUpgradeProfileData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

kubernetesVersion
String

The Kubernetes version (major.minor.patch).

osType
ContainerServiceOSType

The operating system type. The default is Linux.

upgrades
IEnumerable<AgentPoolUpgradeProfilePropertiesUpgradesItem>

List of orchestrator types and versions available for upgrade.

latestNodeImageVersion
String

The latest AKS supported node image version.

Returns

A new AgentPoolUpgradeProfileData instance for mocking.

Applies to