Compartir a través de


SubscriptionExtensions.GetAcceptOwnershipStatusAsync Método

Definición

Acepte el estado de propiedad de la suscripción.

  • Ruta de acceso de solicitud/providers/Microsoft.Subscription/subscriptions/{subscriptionId}/acceptOwnershipStatus
  • IdSubscription_AcceptOwnershipStatus de operaciones
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Subscription.Models.AcceptOwnershipStatus>> GetAcceptOwnershipStatusAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string subscriptionId, System.Threading.CancellationToken cancellationToken = default);
static member GetAcceptOwnershipStatusAsync : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Subscription.Models.AcceptOwnershipStatus>>
<Extension()>
Public Function GetAcceptOwnershipStatusAsync (tenantResource As TenantResource, subscriptionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AcceptOwnershipStatus))

Parámetros

tenantResource
TenantResource

Instancia TenantResource en la que se ejecutará el método.

subscriptionId
String

Identificador de suscripción

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

subscriptionId es una cadena vacía y se esperaba que no estuviera vacía.

subscriptionId es null.

Se aplica a