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

ArmAvsModelFactory.WorkloadNetworkPublicIPData 方法

定义

初始化 WorkloadNetworkPublicIPData 的新实例。

public static Azure.ResourceManager.Avs.WorkloadNetworkPublicIPData WorkloadNetworkPublicIPData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, long? numberOfPublicIPs = default, string publicIPBlock = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkPublicIPProvisioningState? provisioningState = default);
static member WorkloadNetworkPublicIPData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<int64> * string * Nullable<Azure.ResourceManager.Avs.Models.WorkloadNetworkPublicIPProvisioningState> -> Azure.ResourceManager.Avs.WorkloadNetworkPublicIPData
Public Shared Function WorkloadNetworkPublicIPData (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 numberOfPublicIPs As Nullable(Of Long) = Nothing, Optional publicIPBlock As String = Nothing, Optional provisioningState As Nullable(Of WorkloadNetworkPublicIPProvisioningState) = Nothing) As WorkloadNetworkPublicIPData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

displayName
String

公共 IP 块的显示名称。

numberOfPublicIPs
Nullable<Int64>

请求的公共 IP 数。

publicIPBlock
String

公共 IP 块的 CIDR 块。

provisioningState
Nullable<WorkloadNetworkPublicIPProvisioningState>

预配状态。

返回

用于模拟的新 WorkloadNetworkPublicIPData 实例。

适用于