Compartir a través de


ApiManagementServiceResource.GetPolicyDescriptions Método

Definición

Muestra todas las descripciones de directivas.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policyDescriptions
  • IdPolicyDescription_ListByService de operaciones
public virtual Azure.Pageable<Azure.ResourceManager.ApiManagement.Models.PolicyDescriptionContractData> GetPolicyDescriptions (Azure.ResourceManager.ApiManagement.Models.PolicyScopeContract? scope = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPolicyDescriptions : Nullable<Azure.ResourceManager.ApiManagement.Models.PolicyScopeContract> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.Models.PolicyDescriptionContractData>
override this.GetPolicyDescriptions : Nullable<Azure.ResourceManager.ApiManagement.Models.PolicyScopeContract> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.Models.PolicyDescriptionContractData>
Public Overridable Function GetPolicyDescriptions (Optional scope As Nullable(Of PolicyScopeContract) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PolicyDescriptionContractData)

Parámetros

scope
Nullable<PolicyScopeContract>

Ámbito de la directiva.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección de que puede tomar varias solicitudes de PolicyDescriptionContractData servicio para iterar.

Se aplica a