Share via


VoiceServicesCommunicationsGatewayCollection.Get 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> Get (string communicationsGatewayName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>
Public Overridable Function Get (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 an empty string, and was expected to be non-empty.

communicationsGatewayName is null.

Applies to