CostManagementExtensions.DownloadByBillingProfilePriceSheet メソッド

定義

課金プロファイルの現在の月の価格シートをダウンロードする URL を取得します。 この操作は、契約の種類がMicrosoft Partner AgreementまたはMicrosoft 顧客契約の課金アカウントでサポートされています。Azure 製品の増加により、このプレビュー バージョンの Azure 価格シートのダウンロード エクスペリエンスは、1 つの csv ファイルから、それぞれ最大 200,000 件のレコードを含む複数の csv ファイルを含む Zip ファイルに更新されます。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.CostManagement/pricesheets/default/download
  • 操作IdPriceSheet_DownloadByBillingProfile
public static Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.DownloadURL> DownloadByBillingProfilePriceSheet (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.WaitUntil waitUntil, string billingAccountName, string billingProfileName, System.Threading.CancellationToken cancellationToken = default);
static member DownloadByBillingProfilePriceSheet : Azure.ResourceManager.Resources.TenantResource * Azure.WaitUntil * string * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.DownloadURL>
<Extension()>
Public Function DownloadByBillingProfilePriceSheet (tenantResource As TenantResource, waitUntil As WaitUntil, billingAccountName As String, billingProfileName As String, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of DownloadURL)

パラメーター

tenantResource
TenantResource

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

waitUntil
WaitUntil

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

billingAccountName
String

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

billingProfileName
String

課金プロファイルを一意に識別する ID。

cancellationToken
CancellationToken

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

戻り値

例外

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

billingAccountName または billingProfileName が null です。

適用対象