次の方法で共有


SubscriptionExtensions.CancelSubscriptionAsync メソッド

定義

サブスクリプションを取り消す操作

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Subscription/cancel
  • 操作IdSubscription_Cancel
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Subscription.Models.CanceledSubscriptionId>> CancelSubscriptionAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member CancelSubscriptionAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Subscription.Models.CanceledSubscriptionId>>
<Extension()>
Public Function CancelSubscriptionAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CanceledSubscriptionId))

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行するインスタンス。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

適用対象