다음을 통해 공유


Forecast interface

예측을 나타내는 인터페이스입니다.

메서드

externalCloudProviderUsage(string, string, ForecastDefinition, ForecastExternalCloudProviderUsageOptionalParams)

정의된 외부 클라우드 공급자 유형에 대한 예측 요금을 나열합니다.

usage(string, ForecastDefinition, ForecastUsageOptionalParams)

정의된 scope 대한 예측 요금을 나열합니다.

메서드 세부 정보

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 예측 구성 작업에 제공된 매개 변수입니다.

options
ForecastExternalCloudProviderUsageOptionalParams

옵션 매개 변수입니다.

반환

Promise<ForecastResult>

usage(string, ForecastDefinition, ForecastUsageOptionalParams)

정의된 scope 대한 예측 요금을 나열합니다.

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

매개 변수

scope

string

예측 작업과 관련된 scope. 여기에는 구독 scope 대한 '/subscriptions/{subscriptionId}/'가 포함됩니다. scope '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope 및 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' EnrollmentAccount scope 대한 , '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' 관리 그룹 scope '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'의 관리 그룹 scope 대한 '/providers/Microsoft.Management/managementGroups/{managementGroupId}' scope invoiceSection scope 대한 , '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' 및 파트너를 위한 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}'

parameters
ForecastDefinition

CreateOrUpdate 예측 구성 작업에 제공된 매개 변수입니다.

options
ForecastUsageOptionalParams

옵션 매개 변수입니다.

반환

Promise<ForecastResult>