Condividi tramite


WorkloadNetworksOperationsExtensions.GetSegmentAsync Metodo

Definizione

Ottenere 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> GetSegmentAsync (this Microsoft.Azure.Management.Avs.IWorkloadNetworksOperations operations, string resourceGroupName, string privateCloudName, string segmentId, System.Threading.CancellationToken cancellationToken = default);
static member GetSegmentAsync : Microsoft.Azure.Management.Avs.IWorkloadNetworksOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.WorkloadNetworkSegment>
<Extension()>
Public Function GetSegmentAsync (operations As IWorkloadNetworksOperations, resourceGroupName As String, privateCloudName As String, segmentId As String, 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

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Si applica a