Condividi tramite


WorkloadNetworksOperationsExtensions.BeginUpdateSegmentsAsync Metodo

Definizione

Creare o aggiornare un segmento in base all'ID in una rete del carico di lavoro del cloud privato.

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

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

segmentId
String

Identificatore segmento NSX. In genere uguale al nome visualizzato del segmento

workloadNetworkSegment
WorkloadNetworkSegment

Segmento NSX

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Si applica a