Compartilhar via


SubscriptionOperationsExtensions.EnableAsync Método

Definição

A operação para habilitar uma assinatura

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Subscription.Models.EnabledSubscriptionId> EnableAsync (this Microsoft.Azure.Management.Subscription.ISubscriptionOperations operations, string subscriptionId, System.Threading.CancellationToken cancellationToken = default);
static member EnableAsync : Microsoft.Azure.Management.Subscription.ISubscriptionOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Subscription.Models.EnabledSubscriptionId>
<Extension()>
Public Function EnableAsync (operations As ISubscriptionOperations, subscriptionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EnabledSubscriptionId)

Parâmetros

operations
ISubscriptionOperations

O grupo de operações para esse método de extensão.

subscriptionId
String

ID da assinatura.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a