Freigeben über


PolicyOperationsExtensions.GetAsync Methode

Definition

Ruft die globale Richtlinienkonfiguration des API Management-Diensts ab

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

Parameter

operations
IPolicyOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

serviceName
String

Der Name des API Management-Diensts.

format
String

Format des Richtlinienexports. Mögliche Werte: "xml", "rawxml"

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: