Udostępnij za pośrednictwem


ArmAvsModelFactory.WorkloadNetworkDhcpRelay Method

Definition

Initializes a new instance of WorkloadNetworkDhcpRelay.

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

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.

serverAddresses
IEnumerable<String>

DHCP Relay Addresses. Max 3.

Returns

A new WorkloadNetworkDhcpRelay instance for mocking.

Applies to