Partilhar via


PolicyMetadataCollection.GetAllAsync Método

Definição

Obtenha uma lista dos recursos de metadados de política.

  • Caminho da Solicitação/provedores/Microsoft.PolicyInsights/policyMetadata
  • Operação IdPolicyMetadata_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.PolicyInsights.Models.SlimPolicyMetadata> GetAllAsync (Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings policyQuerySettings = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PolicyInsights.Models.SlimPolicyMetadata>
override this.GetAllAsync : Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PolicyInsights.Models.SlimPolicyMetadata>
Public Overridable Function GetAllAsync (Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SlimPolicyMetadata)

Parâmetros

policyQuerySettings
PolicyQuerySettings

Grupo de parâmetros.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de SlimPolicyMetadata que pode levar várias solicitações de serviço para iterar.

Aplica-se a