Freigeben über


VoiceServicesExtensions.GetVoiceServicesCommunicationsGatewayAsync Methode

Definition

Abrufen eines CommunicationsGateway

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}
  • Vorgang IdCommunicationsGateways_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>> GetVoiceServicesCommunicationsGatewayAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string communicationsGatewayName, System.Threading.CancellationToken cancellationToken = default);
static member GetVoiceServicesCommunicationsGatewayAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>>
<Extension()>
Public Function GetVoiceServicesCommunicationsGatewayAsync (resourceGroupResource As ResourceGroupResource, communicationsGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VoiceServicesCommunicationsGatewayResource))

Parameter

resourceGroupResource
ResourceGroupResource

Der ResourceGroupResource instance, für den die Methode ausgeführt wird.

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: