Share via


MockableVoiceServicesSubscriptionResource.GetVoiceServicesCommunicationsGateways Method

Definition

List CommunicationsGateway resources by subscription ID

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to