Share via


VoiceServicesExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.VoiceServices.

public static class VoiceServicesExtensions
type VoiceServicesExtensions = class
Public Module VoiceServicesExtensions
Inheritance
VoiceServicesExtensions

Methods

CheckVoiceServicesNameAvailability(SubscriptionResource, AzureLocation, VoiceServicesCheckNameAvailabilityContent, CancellationToken)

Check whether the resource name is available in the given region.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.VoiceServices/locations/{location}/checkNameAvailability
  • Operation Id: NameAvailability_CheckLocal
  • Default Api Version: 2023-01-31
<item>MockingTo mock this method, please mock CheckVoiceServicesNameAvailability(AzureLocation, VoiceServicesCheckNameAvailabilityContent, CancellationToken) instead.</item>
CheckVoiceServicesNameAvailabilityAsync(SubscriptionResource, AzureLocation, VoiceServicesCheckNameAvailabilityContent, CancellationToken)

Check whether the resource name is available in the given region.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.VoiceServices/locations/{location}/checkNameAvailability
  • Operation Id: NameAvailability_CheckLocal
  • Default Api Version: 2023-01-31
<item>MockingTo mock this method, please mock CheckVoiceServicesNameAvailability(AzureLocation, VoiceServicesCheckNameAvailabilityContent, CancellationToken) instead.</item>
GetVoiceServicesCommunicationsGateway(ResourceGroupResource, String, CancellationToken)

Get a CommunicationsGateway

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}
  • Operation Id: CommunicationsGateways_Get
  • Default Api Version: 2023-01-31
  • Resource: VoiceServicesCommunicationsGatewayResource
<item>MockingTo mock this method, please mock GetVoiceServicesCommunicationsGateway(String, CancellationToken) instead.</item>
GetVoiceServicesCommunicationsGatewayAsync(ResourceGroupResource, String, CancellationToken)

Get a CommunicationsGateway

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}
  • Operation Id: CommunicationsGateways_Get
  • Default Api Version: 2023-01-31
  • Resource: VoiceServicesCommunicationsGatewayResource
<item>MockingTo mock this method, please mock GetVoiceServicesCommunicationsGatewayAsync(String, CancellationToken) instead.</item>
GetVoiceServicesCommunicationsGatewayResource(ArmClient, ResourceIdentifier)

Gets an object representing a VoiceServicesCommunicationsGatewayResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a VoiceServicesCommunicationsGatewayResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetVoiceServicesCommunicationsGatewayResource(ResourceIdentifier) instead.</item>

GetVoiceServicesCommunicationsGateways(ResourceGroupResource)

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

GetVoiceServicesCommunicationsGateways(SubscriptionResource, CancellationToken)

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
<item>MockingTo mock this method, please mock GetVoiceServicesCommunicationsGateways(CancellationToken) instead.</item>
GetVoiceServicesCommunicationsGatewaysAsync(SubscriptionResource, CancellationToken)

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
<item>MockingTo mock this method, please mock GetVoiceServicesCommunicationsGateways(CancellationToken) instead.</item>
GetVoiceServicesTestLineResource(ArmClient, ResourceIdentifier)

Gets an object representing a VoiceServicesTestLineResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a VoiceServicesTestLineResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetVoiceServicesTestLineResource(ResourceIdentifier) instead.</item>

Applies to