Compartir a través de


PolicyOperationsExtensions.ListByServiceAsync Método

Definición

Enumera todas las definiciones de directivas globales del servicio API Management

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)

Parámetros

operations
IPolicyOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

serviceName
String

Nombre del servicio API Management.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a