Partager via


PeeringServicePrefixResource.UpdateAsync Méthode

Définition

Crée un préfixe avec le nom spécifié sous l’abonnement, le groupe de ressources et le service de peering donnés.

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

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
PeeringServicePrefixData

Propriétés nécessaires pour créer un préfixe.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à