Partager via


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

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.

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 à