ArmContainerServiceModelFactory.KubernetesVersion Method

Definition

Initializes a new instance of KubernetesVersion.

public static Azure.ResourceManager.ContainerService.Models.KubernetesVersion KubernetesVersion (string version = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.KubernetesSupportPlan> capabilitiesSupportPlan = default, bool? isPreview = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.ResourceManager.ContainerService.Models.KubernetesPatchVersion> patchVersions = default);
static member KubernetesVersion : string * seq<Azure.ResourceManager.ContainerService.Models.KubernetesSupportPlan> * Nullable<bool> * System.Collections.Generic.IReadOnlyDictionary<string, Azure.ResourceManager.ContainerService.Models.KubernetesPatchVersion> -> Azure.ResourceManager.ContainerService.Models.KubernetesVersion
Public Shared Function KubernetesVersion (Optional version As String = Nothing, Optional capabilitiesSupportPlan As IEnumerable(Of KubernetesSupportPlan) = Nothing, Optional isPreview As Nullable(Of Boolean) = Nothing, Optional patchVersions As IReadOnlyDictionary(Of String, KubernetesPatchVersion) = Nothing) As KubernetesVersion

Parameters

version
String

major.minor version of Kubernetes release.

capabilitiesSupportPlan
IEnumerable<KubernetesSupportPlan>

Capabilities on this Kubernetes version.

isPreview
Nullable<Boolean>

Whether this version is in preview mode.

patchVersions
IReadOnlyDictionary<String,KubernetesPatchVersion>

Patch versions of Kubernetes release.

Returns

A new KubernetesVersion instance for mocking.

Applies to