次の方法で共有


Forecast interface

予測を表すインターフェイス。

メソッド

externalCloudProviderUsage(string, string, ForecastDefinition, ForecastExternalCloudProviderUsageOptionalParams)

定義されている外部クラウド プロバイダーの種類の予測料金を一覧表示します。

usage(string, ForecastDefinition, ForecastUsageOptionalParams)

定義されたスコープの予測料金を一覧表示します。

メソッドの詳細

externalCloudProviderUsage(string, string, ForecastDefinition, ForecastExternalCloudProviderUsageOptionalParams)

定義されている外部クラウド プロバイダーの種類の予測料金を一覧表示します。

function externalCloudProviderUsage(externalCloudProviderType: string, externalCloudProviderId: string, parameters: ForecastDefinition, options?: ForecastExternalCloudProviderUsageOptionalParams): Promise<ForecastResult>

パラメーター

externalCloudProviderType

string

ディメンション/クエリ操作に関連付けられている外部クラウド プロバイダーの種類。 これには、リンクされたアカウントの 'externalSubscriptions' と統合アカウントの 'externalBillingAccounts' が含まれます。

externalCloudProviderId

string

これは、リンクされたアカウントの場合は '{externalSubscriptionId}'、ディメンション/クエリ操作で使用される統合アカウントの場合は '{externalBillingAccountId}' にすることができます。

parameters
ForecastDefinition

CreateOrUpdate Forecast Config 操作に指定されたパラメーター。

options
ForecastExternalCloudProviderUsageOptionalParams

options パラメーター。

戻り値

Promise<ForecastResult>

usage(string, ForecastDefinition, ForecastUsageOptionalParams)

定義されたスコープの予測料金を一覧表示します。

function usage(scope: string, parameters: ForecastDefinition, options?: ForecastUsageOptionalParams): Promise<ForecastResult>

パラメーター

scope

string

予測操作に関連付けられているスコープ。 これには、サブスクリプション スコープの場合は '/subscriptions/{subscriptionId}/'、resourceGroup スコープの場合は '/subscriptionId}/resourceGroup}/{resourceGroupName}' が含まれます。 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId} for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.

parameters
ForecastDefinition

CreateOrUpdate Forecast Config 操作に指定されたパラメーター。

options
ForecastUsageOptionalParams

options パラメーター。

戻り値

Promise<ForecastResult>