Freigeben über


PolicyOperationsExtensions.ListByServiceAsync Methode

Definition

Listet alle globalen Richtliniendefinitionen des API Management-Diensts auf

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

Parameter

operations
IPolicyOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

serviceName
String

Der Name des API Management-Diensts.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: