Forecast interface
表示預測的介面。
方法
方法詳細資料
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 預測配置作的參數。
選項參數。
傳回
Promise<ForecastResult>
usage(string, ForecastDefinition, ForecastUsageOptionalParams)
列出定義的範圍預測費用。
function usage(scope: string, parameters: ForecastDefinition, options?: ForecastUsageOptionalParams): Promise<ForecastResult>
參數
- scope
-
string
與預測作業相關聯的範圍。 這包括訂用帳戶範圍的 '/subscriptions/{subscriptionId}/' 、'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' 資源群組範圍、 計費帳戶範圍的 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' 和 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{EnrollmentAccount 範圍的 enrollmentAccount 範圍,'/providers/Microsoft.Management/managementGroups/{managementGroupId} for Management Group scope, billingProfile 範圍的 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'、'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfileId}/{billingProfileId}/invoiceSections/{invoiceSectionId}' 和 '/providers/Microsoft。Billing/billingAccounts/{billingAccountId}/customers/{customerId}' 特定合作夥伴。
- parameters
- ForecastDefinition
提供給 CreateOrUpdate 預測配置作的參數。
- options
- ForecastUsageOptionalParams
選項參數。
傳回
Promise<ForecastResult>