你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmHybridContainerServiceModelFactory.KubernetesVersionReadiness Method
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.
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).
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.
- errorMessage
- String
The error message for version not being ready.
Returns
A new KubernetesVersionReadiness instance for mocking.