Condividi tramite


ArmAvsModelFactory.WorkloadNetworkDhcpServer Method

Definition

Initializes a new instance of 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

Parameters

displayName
String

Display name of the DHCP entity.

segments
IEnumerable<String>

NSX Segments consuming DHCP.

provisioningState
Nullable<WorkloadNetworkDhcpProvisioningState>

The provisioning state.

revision
Nullable<Int64>

NSX revision number.

serverAddress
String

DHCP Server Address.

leaseTime
Nullable<Int64>

DHCP Server Lease Time.

Returns

A new WorkloadNetworkDhcpServer instance for mocking.

Applies to