MockableVoiceServicesSubscriptionResource.GetVoiceServicesCommunicationsGatewaysAsync 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.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.