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

ArmAvsModelFactory.WorkloadNetworkDhcpServer 方法

定义

初始化 WorkloadNetworkDhcpServer 的新实例。

public static Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpServer WorkloadNetworkDhcpServer (string displayName = default, System.Collections.Generic.IEnumerable<string> segments = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpProvisioningState? provisioningState = default, long? revision = default, string serverAddress = default, long? leaseTime = default);
static member WorkloadNetworkDhcpServer : string * seq<string> * Nullable<Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpProvisioningState> * Nullable<int64> * string * Nullable<int64> -> Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpServer
Public Shared Function WorkloadNetworkDhcpServer (Optional displayName As String = Nothing, Optional segments As IEnumerable(Of String) = Nothing, Optional provisioningState As Nullable(Of WorkloadNetworkDhcpProvisioningState) = Nothing, Optional revision As Nullable(Of Long) = Nothing, Optional serverAddress As String = Nothing, Optional leaseTime As Nullable(Of Long) = Nothing) As WorkloadNetworkDhcpServer

参数

displayName
String

DHCP 实体的显示名称。

segments
IEnumerable<String>

使用 DHCP 的 NSX 段。

provisioningState
Nullable<WorkloadNetworkDhcpProvisioningState>

预配状态。

revision
Nullable<Int64>

NSX 修订号。

serverAddress
String

DHCP 服务器地址。

leaseTime
Nullable<Int64>

DHCP 服务器租用时间。

返回

用于模拟的新 WorkloadNetworkDhcpServer 实例。

适用于