VoiceServicesExtensions.GetVoiceServicesCommunicationsGateways Method

Definition

Overloads

GetVoiceServicesCommunicationsGateways(ResourceGroupResource)

Gets a collection of VoiceServicesCommunicationsGatewayResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVoiceServicesCommunicationsGateways() instead.

GetVoiceServicesCommunicationsGateways(SubscriptionResource, CancellationToken)

List CommunicationsGateway resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.VoiceServices/communicationsGateways
  • Operation Id: CommunicationsGateways_ListBySubscription

GetVoiceServicesCommunicationsGateways(ResourceGroupResource)

Source:
VoiceServicesExtensions.cs

Gets a collection of VoiceServicesCommunicationsGatewayResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVoiceServicesCommunicationsGateways() instead.

public static Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayCollection GetVoiceServicesCommunicationsGateways (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetVoiceServicesCommunicationsGateways : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayCollection
<Extension()>
Public Function GetVoiceServicesCommunicationsGateways (resourceGroupResource As ResourceGroupResource) As VoiceServicesCommunicationsGatewayCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of VoiceServicesCommunicationsGatewayResources and their operations over a VoiceServicesCommunicationsGatewayResource.

Exceptions

resourceGroupResource is null.

Applies to

GetVoiceServicesCommunicationsGateways(SubscriptionResource, CancellationToken)

Source:
VoiceServicesExtensions.cs

List CommunicationsGateway resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.VoiceServices/communicationsGateways
  • Operation Id: CommunicationsGateways_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource> GetVoiceServicesCommunicationsGateways (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetVoiceServicesCommunicationsGateways : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>
<Extension()>
Public Function GetVoiceServicesCommunicationsGateways (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VoiceServicesCommunicationsGatewayResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to