次の方法で共有


BillingSubscriptionResource.MergeAsync メソッド

定義

要求で指定された課金サブスクリプションをターゲット課金サブスクリプションとマージします。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/merge
  • 操作IdBillingSubscriptions_Merge
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>> MergeAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Billing.Models.BillingSubscriptionMergeContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member MergeAsync : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionMergeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>>
override this.MergeAsync : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionMergeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>>
Public Overridable Function MergeAsync (waitUntil As WaitUntil, content As BillingSubscriptionMergeContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of BillingSubscriptionResource))

パラメーター

waitUntil
WaitUntil

Completed メソッドがサービスで実行時間の長い操作が完了するまで戻るのを待機する必要がある場合。 Started 操作を開始した後に が返される場合は 。 実行時間の長い操作の詳細については、「 Azure.Core Long-Running 操作のサンプル」を参照してください。

content
BillingSubscriptionMergeContent

2 つの課金サブスクリプションをマージするために提供される要求パラメーター。

cancellationToken
CancellationToken

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

戻り値

例外

content が null です。

適用対象