Partager via


VoiceServicesCommunicationsGatewayCollection.CreateOrUpdate Méthode

Définition

Créer un CommunicationsGateway

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}
  • IdCommunicationsGateways_CreateOrUpdate d’opération
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)

Paramètres

waitUntil
WaitUntil

Completed si la méthode doit attendre pour retourner jusqu’à ce que l’opération de longue durée soit terminée sur le service ; Started si elle doit être retournée après le démarrage de l’opération. Pour plus d’informations sur les opérations de longue durée, consultez Exemples d’opérations de Long-Running Azure.Core.

communicationsGatewayName
String

Identificateur unique pour ce déploiement.

data
VoiceServicesCommunicationsGatewayData

Paramètres de création de ressource.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

communicationsGatewayName est une chaîne vide et devait être non vide.

communicationsGatewayName ou data est null.

S’applique à