Partager via


ConnectionMonitorTestResource.UpdateAsync Méthode

Définition

Crée ou met à jour un test de moniteur de connexion avec le nom spécifié sous l’abonnement, le groupe de ressources et le service de peering donnés.

  • Chemin d’accès/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}/connectionMonitorTests/{connectionMonitorTestName}
  • IdConnectionMonitorTests_CreateOrUpdate d’opération
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Peering.ConnectionMonitorTestResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Peering.ConnectionMonitorTestData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Peering.ConnectionMonitorTestData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Peering.ConnectionMonitorTestResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Peering.ConnectionMonitorTestData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Peering.ConnectionMonitorTestResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As ConnectionMonitorTestData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ConnectionMonitorTestResource))

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.

data
ConnectionMonitorTestData

Propriétés nécessaires pour créer un test de moniteur de connexion.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à