Partager via


RegionOperationsExtensions.ListByServiceAsync Méthode

Définition

Répertorie toutes les régions Azure dans lesquelles le service existe.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.RegionContract>> ListByServiceAsync (this Microsoft.Azure.Management.ApiManagement.IRegionOperations operations, string resourceGroupName, string serviceName, System.Threading.CancellationToken cancellationToken = default);
static member ListByServiceAsync : Microsoft.Azure.Management.ApiManagement.IRegionOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.RegionContract>>
<Extension()>
Public Function ListByServiceAsync (operations As IRegionOperations, resourceGroupName As String, serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of RegionContract))

Paramètres

operations
IRegionOperations

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

resourceGroupName
String

Nom du groupe de ressources.

serviceName
String

Nom du service Gestion des API.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à