Compartilhar via


DataCollectionRuleResource.GetDataCollectionRuleAssociationsByRuleAsync Método

Definição

Lista associações para a regra de coleta de dados especificada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}/associations
  • IdDataCollectionRuleAssociations_ListByRule de operação
public virtual Azure.AsyncPageable<Azure.ResourceManager.Monitor.DataCollectionRuleAssociationResource> GetDataCollectionRuleAssociationsByRuleAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataCollectionRuleAssociationsByRuleAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.DataCollectionRuleAssociationResource>
override this.GetDataCollectionRuleAssociationsByRuleAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.DataCollectionRuleAssociationResource>
Public Overridable Function GetDataCollectionRuleAssociationsByRuleAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataCollectionRuleAssociationResource)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a