Partilhar via


CommunicationExtensions.GetCommunicationServiceResourcesAsync Método

Definição

Manipula solicitações para listar todos os recursos em uma assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Communication/communicationServices
  • IdCommunicationServices_ListBySubscription de operação
public static Azure.AsyncPageable<Azure.ResourceManager.Communication.CommunicationServiceResource> GetCommunicationServiceResourcesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetCommunicationServiceResourcesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Communication.CommunicationServiceResource>
<Extension()>
Public Function GetCommunicationServiceResourcesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CommunicationServiceResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a