ArmHybridContainerServiceModelFactory.KubernetesVersionReadiness Method

Definition

Initializes a new instance of KubernetesVersionReadiness.

public static Azure.ResourceManager.HybridContainerService.Models.KubernetesVersionReadiness KubernetesVersionReadiness (Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceOSType? osType = default, Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceOSSku? osSku = default, bool? ready = default, string errorMessage = default);
static member KubernetesVersionReadiness : Nullable<Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceOSType> * Nullable<Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceOSSku> * Nullable<bool> * string -> Azure.ResourceManager.HybridContainerService.Models.KubernetesVersionReadiness
Public Shared Function KubernetesVersionReadiness (Optional osType As Nullable(Of HybridContainerServiceOSType) = Nothing, Optional osSku As Nullable(Of HybridContainerServiceOSSku) = Nothing, Optional ready As Nullable(Of Boolean) = Nothing, Optional errorMessage As String = Nothing) As KubernetesVersionReadiness

Parameters

osType
Nullable<HybridContainerServiceOSType>

The particular KubernetesVersion Image OS Type (Linux, Windows).

osSku
Nullable<HybridContainerServiceOSSku>

Specifies the OS SKU used by the agent pool. The default is CBLMariner if OSType is Linux. The default is Windows2019 when OSType is Windows.

ready
Nullable<Boolean>

Whether the kubernetes version image is ready or not.

errorMessage
String

The error message for version not being ready.

Returns

A new KubernetesVersionReadiness instance for mocking.

Applies to