BotServicePrivateEndpointConnectionCollection.CreateOrUpdate Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Mettez à jour l’état de la connexion de point de terminaison privé spécifiée associée au bot.
- Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
- IdPrivateEndpointConnections_Create d’opération
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.BotService.BotServicePrivateEndpointConnectionResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string privateEndpointConnectionName, Azure.ResourceManager.BotService.BotServicePrivateEndpointConnectionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.BotService.BotServicePrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.BotService.BotServicePrivateEndpointConnectionResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.BotService.BotServicePrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.BotService.BotServicePrivateEndpointConnectionResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, privateEndpointConnectionName As String, data As BotServicePrivateEndpointConnectionData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of BotServicePrivateEndpointConnectionResource)
Paramètres
- waitUntil
- WaitUntil
Completed si la méthode doit attendre la fin de l’opération de longue durée sur le service ; Started s’il doit retourner 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 Azure.Core Long-Running.
- privateEndpointConnectionName
- String
Nom de la connexion de point de terminaison privé associée à la ressource Azure.
Propriétés de connexion de point de terminaison privé.
- cancellationToken
- CancellationToken
Jeton d’annulation à utiliser.
Retours
Exceptions
privateEndpointConnectionName
est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.
privateEndpointConnectionName
ou data
est null.
S’applique à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour