ArmContainerServiceModelFactory.ManagedClusterPoolUpgradeProfile Method

Definition

Initializes a new instance of ManagedClusterPoolUpgradeProfile.

public static Azure.ResourceManager.ContainerService.Models.ManagedClusterPoolUpgradeProfile ManagedClusterPoolUpgradeProfile (string kubernetesVersion = default, string name = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceOSType osType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ManagedClusterPoolUpgradeProfileUpgradesItem> upgrades = default);
static member ManagedClusterPoolUpgradeProfile : string * string * Azure.ResourceManager.ContainerService.Models.ContainerServiceOSType * seq<Azure.ResourceManager.ContainerService.Models.ManagedClusterPoolUpgradeProfileUpgradesItem> -> Azure.ResourceManager.ContainerService.Models.ManagedClusterPoolUpgradeProfile
Public Shared Function ManagedClusterPoolUpgradeProfile (Optional kubernetesVersion As String = Nothing, Optional name As String = Nothing, Optional osType As ContainerServiceOSType = Nothing, Optional upgrades As IEnumerable(Of ManagedClusterPoolUpgradeProfileUpgradesItem) = Nothing) As ManagedClusterPoolUpgradeProfile

Parameters

kubernetesVersion
String

The Kubernetes version (major.minor.patch).

name
String

The Agent Pool name.

osType
ContainerServiceOSType

The operating system type. The default is Linux.

upgrades
IEnumerable<ManagedClusterPoolUpgradeProfileUpgradesItem>

List of orchestrator types and versions available for upgrade.

Returns

A new ManagedClusterPoolUpgradeProfile instance for mocking.

Applies to