Freigeben über


SubscriptionExtensions.EnableSubscription Methode

Definition

Der Vorgang zum Aktivieren eines Abonnements

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.Subscription/enable
  • Vorgang IdSubscription_Enable
public static Azure.Response<Azure.ResourceManager.Subscription.Models.EnabledSubscriptionId> EnableSubscription (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member EnableSubscription : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Subscription.Models.EnabledSubscriptionId>
<Extension()>
Public Function EnableSubscription (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EnabledSubscriptionId)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: