Condividi tramite


WorkloadNetworksOperationsExtensions.CreateDhcpAsync Metodo

Definizione

Creare dhcp per ID in una rete del carico di lavoro cloud privato.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.WorkloadNetworkDhcp> CreateDhcpAsync (this Microsoft.Azure.Management.Avs.IWorkloadNetworksOperations operations, string resourceGroupName, string privateCloudName, string dhcpId, Microsoft.Azure.Management.Avs.Models.WorkloadNetworkDhcp workloadNetworkDhcp, System.Threading.CancellationToken cancellationToken = default);
static member CreateDhcpAsync : Microsoft.Azure.Management.Avs.IWorkloadNetworksOperations * string * string * string * Microsoft.Azure.Management.Avs.Models.WorkloadNetworkDhcp * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.WorkloadNetworkDhcp>
<Extension()>
Public Function CreateDhcpAsync (operations As IWorkloadNetworksOperations, resourceGroupName As String, privateCloudName As String, dhcpId As String, workloadNetworkDhcp As WorkloadNetworkDhcp, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WorkloadNetworkDhcp)

Parametri

operations
IWorkloadNetworksOperations

Gruppo di operazioni per questo metodo di estensione.

resourceGroupName
String

Nome del gruppo di risorse. Per il nome non viene fatta distinzione tra maiuscole e minuscole.

privateCloudName
String

Nome del cloud privato

dhcpId
String

Identificatore DHCP NSX. In genere lo stesso nome visualizzato DHCP

workloadNetworkDhcp
WorkloadNetworkDhcp

NSX DHCP

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Si applica a