Partilhar via


VoiceServicesExtensions.GetVoiceServicesCommunicationsGatewaysAsync Método

Definição

Listar recursos do CommunicationsGateway por ID da assinatura

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.VoiceServices/communicationsGateways
  • Operação IdCommunicationsGateways_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource> GetVoiceServicesCommunicationsGatewaysAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetVoiceServicesCommunicationsGatewaysAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>
<Extension()>
Public Function GetVoiceServicesCommunicationsGatewaysAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VoiceServicesCommunicationsGatewayResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a