Freigeben über


VoiceServicesCommunicationsGatewayCollection.CreateOrUpdate Methode

Definition

Erstellen eines CommunicationsGateway

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

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der zeitintensive Vorgang für den Dienst abgeschlossen ist; Started , wenn sie nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführungszeit finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

communicationsGatewayName
String

Eindeutiger Bezeichner für diese Bereitstellung.

data
VoiceServicesCommunicationsGatewayData

Ressourcenerstellungsparameter.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

communicationsGatewayName oder data ist NULL.

Gilt für: