Partager via


WorkloadNetworksOperationsExtensions.ListSegmentsAsync Méthode

Définition

Liste des segments d’un réseau de charge de travail de cloud privé.

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

Paramètres

operations
IWorkloadNetworksOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

privateCloudName
String

Nom du cloud privé

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à