Partager via


SubscriptionExtensions.EnableSubscription Méthode

Définition

Opération permettant d’activer un abonnement

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.Subscription/enable
  • Opération 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)

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à