MockableVoiceServicesSubscriptionResource.GetVoiceServicesCommunicationsGatewaysAsync Method

Definition

List CommunicationsGateway resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.VoiceServices/communicationsGateways
  • Operation Id: CommunicationsGateways_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource> GetVoiceServicesCommunicationsGatewaysAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetVoiceServicesCommunicationsGatewaysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>
override this.GetVoiceServicesCommunicationsGatewaysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>
Public Overridable Function GetVoiceServicesCommunicationsGatewaysAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VoiceServicesCommunicationsGatewayResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of VoiceServicesCommunicationsGatewayResource that may take multiple service requests to iterate over.

Applies to