MockableVoiceServicesResourceGroupResource.GetVoiceServicesCommunicationsGatewayAsync Method

Definition

Get a CommunicationsGateway

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}
  • Operation Id: CommunicationsGateways_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>> GetVoiceServicesCommunicationsGatewayAsync (string communicationsGatewayName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetVoiceServicesCommunicationsGatewayAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>>
override this.GetVoiceServicesCommunicationsGatewayAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>>
Public Overridable Function GetVoiceServicesCommunicationsGatewayAsync (communicationsGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VoiceServicesCommunicationsGatewayResource))

Parameters

communicationsGatewayName
String

Unique identifier for this deployment.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

communicationsGatewayName is null.

communicationsGatewayName is an empty string, and was expected to be non-empty.

Applies to