你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmHybridContainerServiceModelFactory.ProvisionedClusterProperties 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 ProvisionedClusterProperties.
public static Azure.ResourceManager.HybridContainerService.Models.ProvisionedClusterProperties ProvisionedClusterProperties (System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridContainerService.Models.LinuxSshPublicKey> sshPublicKeys = default, Azure.ResourceManager.HybridContainerService.Models.ProvisionedClusterControlPlaneProfile controlPlane = default, string kubernetesVersion = default, Azure.ResourceManager.HybridContainerService.Models.ProvisionedClusterNetworkProfile networkProfile = default, Azure.ResourceManager.HybridContainerService.Models.StorageProfile storageProfile = default, string clusterVmAccessAuthorizedIPRanges = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceNamedAgentPoolProfile> agentPoolProfiles = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> infraNetworkVnetSubnetIds = default, Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceResourceProvisioningState? provisioningState = default, Azure.ResourceManager.HybridContainerService.Models.ProvisionedClusterStatus status = default, Azure.ResourceManager.HybridContainerService.Models.ProvisionedClusterAzureHybridBenefit? licenseAzureHybridBenefit = default, Azure.ResourceManager.HybridContainerService.Models.ProvisionedClusterPropertiesAutoScalerProfile autoScalerProfile = default);
static member ProvisionedClusterProperties : seq<Azure.ResourceManager.HybridContainerService.Models.LinuxSshPublicKey> * Azure.ResourceManager.HybridContainerService.Models.ProvisionedClusterControlPlaneProfile * string * Azure.ResourceManager.HybridContainerService.Models.ProvisionedClusterNetworkProfile * Azure.ResourceManager.HybridContainerService.Models.StorageProfile * string * seq<Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceNamedAgentPoolProfile> * seq<Azure.Core.ResourceIdentifier> * Nullable<Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceResourceProvisioningState> * Azure.ResourceManager.HybridContainerService.Models.ProvisionedClusterStatus * Nullable<Azure.ResourceManager.HybridContainerService.Models.ProvisionedClusterAzureHybridBenefit> * Azure.ResourceManager.HybridContainerService.Models.ProvisionedClusterPropertiesAutoScalerProfile -> Azure.ResourceManager.HybridContainerService.Models.ProvisionedClusterProperties
Public Shared Function ProvisionedClusterProperties (Optional sshPublicKeys As IEnumerable(Of LinuxSshPublicKey) = Nothing, Optional controlPlane As ProvisionedClusterControlPlaneProfile = Nothing, Optional kubernetesVersion As String = Nothing, Optional networkProfile As ProvisionedClusterNetworkProfile = Nothing, Optional storageProfile As StorageProfile = Nothing, Optional clusterVmAccessAuthorizedIPRanges As String = Nothing, Optional agentPoolProfiles As IEnumerable(Of HybridContainerServiceNamedAgentPoolProfile) = Nothing, Optional infraNetworkVnetSubnetIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional provisioningState As Nullable(Of HybridContainerServiceResourceProvisioningState) = Nothing, Optional status As ProvisionedClusterStatus = Nothing, Optional licenseAzureHybridBenefit As Nullable(Of ProvisionedClusterAzureHybridBenefit) = Nothing, Optional autoScalerProfile As ProvisionedClusterPropertiesAutoScalerProfile = Nothing) As ProvisionedClusterProperties
Parameters
- sshPublicKeys
- IEnumerable<LinuxSshPublicKey>
The profile for Linux VMs in the provisioned cluster.
- controlPlane
- ProvisionedClusterControlPlaneProfile
The profile for control plane of the provisioned cluster.
- kubernetesVersion
- String
The version of Kubernetes in use by the provisioned cluster.
- networkProfile
- ProvisionedClusterNetworkProfile
The network configuration profile for the provisioned cluster.
- storageProfile
- StorageProfile
The storage configuration profile for the provisioned cluster.
- clusterVmAccessAuthorizedIPRanges
- String
The SSH restricted access profile for the VMs in the provisioned cluster.
- agentPoolProfiles
- IEnumerable<HybridContainerServiceNamedAgentPoolProfile>
The agent pool properties for the provisioned cluster.
- infraNetworkVnetSubnetIds
- IEnumerable<ResourceIdentifier>
The profile for the underlying cloud infrastructure provider for the provisioned cluster.
- provisioningState
- Nullable<HybridContainerServiceResourceProvisioningState>
The status of the latest long running operation for the provisioned cluster.
- status
- ProvisionedClusterStatus
The observed status of the provisioned cluster.
- licenseAzureHybridBenefit
- Nullable<ProvisionedClusterAzureHybridBenefit>
The license profile of the provisioned cluster.
- autoScalerProfile
- ProvisionedClusterPropertiesAutoScalerProfile
Parameters to be applied to the cluster-autoscaler when auto scaling is enabled for the provisioned cluster.
Returns
A new ProvisionedClusterProperties instance for mocking.