Freigeben über


BillingSubscriptionResource.Update Methode

Definition

Updates die Eigenschaften eines Abrechnungsabonnements.

  • Anfordern von Path/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
  • Vorgang IdBillingSubscriptions_Update
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Billing.BillingSubscriptionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Billing.BillingSubscriptionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Billing.BillingSubscriptionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As BillingSubscriptionData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of BillingSubscriptionResource)

Parameter

waitUntil
WaitUntil

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

data
BillingSubscriptionData

Anforderungsparameter, die für den Updateabrechnungsabonnementvorgang bereitgestellt werden.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: