Condividi tramite


ArmAvsModelFactory.WorkloadNetworkDhcpEntity Method

Definition

Initializes a new instance of WorkloadNetworkDhcpEntity.

public static Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpEntity WorkloadNetworkDhcpEntity (string dhcpType = default, string displayName = default, System.Collections.Generic.IEnumerable<string> segments = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpProvisioningState? provisioningState = default, long? revision = default);
public static Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpEntity WorkloadNetworkDhcpEntity (string dhcpType = "Unknown", string displayName = default, System.Collections.Generic.IEnumerable<string> segments = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpProvisioningState? provisioningState = default, long? revision = default);
static member WorkloadNetworkDhcpEntity : string * string * seq<string> * Nullable<Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpProvisioningState> * Nullable<int64> -> Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpEntity
Public Shared Function WorkloadNetworkDhcpEntity (Optional dhcpType As String = Nothing, 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) As WorkloadNetworkDhcpEntity
Public Shared Function WorkloadNetworkDhcpEntity (Optional dhcpType As String = "Unknown", 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) As WorkloadNetworkDhcpEntity

Parameters

dhcpType
String

Type of DHCP: SERVER or RELAY.

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.

Returns

A new WorkloadNetworkDhcpEntity instance for mocking.

Applies to