MockableVoiceServicesSubscriptionResource.GetVoiceServicesCommunicationsGateways Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
List CommunicationsGateway resources by subscription ID
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.VoiceServices/communicationsGateways
- Operation Id: CommunicationsGateways_ListBySubscription
- Default Api Version: 2023-01-31
- Resource: VoiceServicesCommunicationsGatewayResource
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.