MockableVoiceServicesResourceGroupResource.GetVoiceServicesCommunicationsGateway Method

Definition

Get a CommunicationsGateway

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