Freigeben über


VoiceServicesCommunicationsGatewayCollection.GetAsync Methode

Definition

Abrufen eines CommunicationsGateway

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

Parameter

communicationsGatewayName
String

Eindeutiger Bezeichner für diese Bereitstellung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

communicationsGatewayName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

communicationsGatewayName ist NULL.

Gilt für: