Compartir a través de


SubscriptionExtensions.CancelSubscription Método

Definición

La operación para cancelar una suscripción

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Subscription/cancel
  • IdSubscription_Cancel de operación
public static Azure.Response<Azure.ResourceManager.Subscription.Models.CanceledSubscriptionId> CancelSubscription (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member CancelSubscription : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Subscription.Models.CanceledSubscriptionId>
<Extension()>
Public Function CancelSubscription (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CanceledSubscriptionId)

Parámetros

subscriptionResource
SubscriptionResource

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

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a