Freigeben über


SubscriptionAliasResource.UpdateAsync Methode

Definition

Erstellen Eines Aliasabonnements.

  • Anforderungspfad/providers/Microsoft.Subscription/aliases/{aliasName}
  • Vorgangs-IdAlias_Create
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Subscription.SubscriptionAliasResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Subscription.Models.SubscriptionAliasCreateOrUpdateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Subscription.Models.SubscriptionAliasCreateOrUpdateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Subscription.SubscriptionAliasResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Subscription.Models.SubscriptionAliasCreateOrUpdateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Subscription.SubscriptionAliasResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, content As SubscriptionAliasCreateOrUpdateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SubscriptionAliasResource))

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der zeitintensive Vorgang für den Dienst abgeschlossen ist; Started , wenn sie nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführungszeit finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

content
SubscriptionAliasCreateOrUpdateContent

Die zu verwendende SubscriptionAliasCreateOrUpdateContent.The SubscriptionAliasCreateOrUpdateContent to use.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: