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

ArmAvsModelFactory.WorkloadNetworkVmGroupData 方法

定义

初始化 WorkloadNetworkVmGroupData 的新实例。

public static Azure.ResourceManager.Avs.WorkloadNetworkVmGroupData WorkloadNetworkVmGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, System.Collections.Generic.IEnumerable<string> members = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkVmGroupStatus? status = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkVmGroupProvisioningState? provisioningState = default, long? revision = default);
static member WorkloadNetworkVmGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<string> * Nullable<Azure.ResourceManager.Avs.Models.WorkloadNetworkVmGroupStatus> * Nullable<Azure.ResourceManager.Avs.Models.WorkloadNetworkVmGroupProvisioningState> * Nullable<int64> -> Azure.ResourceManager.Avs.WorkloadNetworkVmGroupData
Public Shared Function WorkloadNetworkVmGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional members As IEnumerable(Of String) = Nothing, Optional status As Nullable(Of WorkloadNetworkVmGroupStatus) = Nothing, Optional provisioningState As Nullable(Of WorkloadNetworkVmGroupProvisioningState) = Nothing, Optional revision As Nullable(Of Long) = Nothing) As WorkloadNetworkVmGroupData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

displayName
String

VM 组的显示名称。

members
IEnumerable<String>

此组的虚拟机成员。

status
Nullable<WorkloadNetworkVmGroupStatus>

VM 组状态。

provisioningState
Nullable<WorkloadNetworkVmGroupProvisioningState>

预配状态。

revision
Nullable<Int64>

NSX 修订号。

返回

用于模拟的新 WorkloadNetworkVmGroupData 实例。

适用于