次の方法で共有


SubscriptionExtensions.CancelSubscription メソッド

定義

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Subscription/cancel
  • 操作IdSubscription_Cancel
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)

パラメーター

subscriptionResource
SubscriptionResource

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

cancellationToken
CancellationToken

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

戻り値

適用対象