Compartir a través de


SubscriptionExtensions.GetAcceptOwnershipStatus 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 Azure.Response<Azure.ResourceManager.Subscription.Models.AcceptOwnershipStatus> GetAcceptOwnershipStatus (this Azure.ResourceManager.Resources.TenantResource tenantResource, string subscriptionId, System.Threading.CancellationToken cancellationToken = default);
static member GetAcceptOwnershipStatus : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Subscription.Models.AcceptOwnershipStatus>
<Extension()>
Public Function GetAcceptOwnershipStatus (tenantResource As TenantResource, subscriptionId As String, Optional cancellationToken As CancellationToken = Nothing) As 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 espera que no esté vacía.

subscriptionId es null.

Se aplica a