你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmMachineLearningComputeModelFactory.AcsClusterProperties 方法

定义

初始化 AcsClusterProperties 的新实例。

public static Azure.ResourceManager.MachineLearningCompute.Models.AcsClusterProperties AcsClusterProperties (string clusterFqdn = default, Azure.ResourceManager.MachineLearningCompute.Models.OrchestratorType orchestratorType = default, Azure.ResourceManager.MachineLearningCompute.Models.ServicePrincipalProperties orchestratorServicePrincipal = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MachineLearningCompute.Models.SystemService> systemServices = default, int? masterCount = default, int? agentCount = default, Azure.ResourceManager.MachineLearningCompute.Models.AgentVmSizeType? agentVmSize = default);
static member AcsClusterProperties : string * Azure.ResourceManager.MachineLearningCompute.Models.OrchestratorType * Azure.ResourceManager.MachineLearningCompute.Models.ServicePrincipalProperties * seq<Azure.ResourceManager.MachineLearningCompute.Models.SystemService> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.MachineLearningCompute.Models.AgentVmSizeType> -> Azure.ResourceManager.MachineLearningCompute.Models.AcsClusterProperties
Public Shared Function AcsClusterProperties (Optional clusterFqdn As String = Nothing, Optional orchestratorType As OrchestratorType = Nothing, Optional orchestratorServicePrincipal As ServicePrincipalProperties = Nothing, Optional systemServices As IEnumerable(Of SystemService) = Nothing, Optional masterCount As Nullable(Of Integer) = Nothing, Optional agentCount As Nullable(Of Integer) = Nothing, Optional agentVmSize As Nullable(Of AgentVmSizeType) = Nothing) As AcsClusterProperties

参数

clusterFqdn
String

群集的 FQDN。

orchestratorType
OrchestratorType

业务流程协调程序的类型。 创建群集后,无法对其进行更改。

orchestratorServicePrincipal
ServicePrincipalProperties

业务流程协调程序特定的属性。

systemServices
IEnumerable<SystemService>

部署到群集的系统服务。

masterCount
Nullable<Int32>

容器服务中的主节点数。

agentCount
Nullable<Int32>

容器服务中的代理节点数。 可以更改此项以缩放群集。

agentVmSize
Nullable<AgentVmSizeType>

代理 VM 节点的 Azure VM 大小。 创建群集后,无法更改此设置。 此列表不详尽; https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes 有关可能的 VM 大小,请参阅 。

返回

用于模拟的新 AcsClusterProperties 实例。

适用于