Compartilhar via


ApiManagementServiceResource.GetPolicyDescriptions Método

Definição

Lista todas as descrições de política.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policyDescriptions
  • IdPolicyDescription_ListByService de operação
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>

Escopo da política.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de PolicyDescriptionContractData que pode levar várias solicitações de serviço para iterar.

Aplica-se a