次の方法で共有


BillingExtensions.GetBillingSubscriptionAliasAsync メソッド

定義

エイリアス ID でサブスクリプションを取得します。 この操作は、シートベースの課金サブスクリプションでサポートされています。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptionAliases/{aliasName}
  • 操作IdBillingSubscriptionsAliases_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.BillingSubscriptionAliasResource>> GetBillingSubscriptionAliasAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string billingAccountName, string aliasName, System.Threading.CancellationToken cancellationToken = default);
static member GetBillingSubscriptionAliasAsync : Azure.ResourceManager.Resources.TenantResource * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.BillingSubscriptionAliasResource>>
<Extension()>
Public Function GetBillingSubscriptionAliasAsync (tenantResource As TenantResource, billingAccountName As String, aliasName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BillingSubscriptionAliasResource))

パラメーター

tenantResource
TenantResource

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

billingAccountName
String

課金アカウントを一意に識別する ID。

aliasName
String

サブスクリプションエイリアスを一意に識別する ID。

cancellationToken
CancellationToken

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

戻り値

例外

billingAccountName または aliasName が空の文字列であり、空でないと想定されていました。

billingAccountName または aliasName が null です。

適用対象