ForecastDefinition Class

The definition of a forecast.

All required parameters must be populated in order to send to Azure.

Inheritance
ForecastDefinition

Constructor

ForecastDefinition(*, type: Union[str, azure.mgmt.costmanagement.models._cost_management_client_enums.ForecastType], timeframe: Union[str, azure.mgmt.costmanagement.models._cost_management_client_enums.ForecastTimeframeType], dataset: azure.mgmt.costmanagement.models._models_py3.QueryDataset, time_period: Optional[azure.mgmt.costmanagement.models._models_py3.QueryTimePeriod] = None, include_actual_cost: Optional[bool] = None, include_fresh_partial_cost: Optional[bool] = None, **kwargs)

Parameters

type
str or ForecastType
Required

Required. The type of the forecast. Possible values include: "Usage", "ActualCost", "AmortizedCost".

timeframe
str or ForecastTimeframeType
Required

Required. The time frame for pulling data for the forecast. If custom, then a specific time period must be provided. Possible values include: "MonthToDate", "BillingMonthToDate", "TheLastMonth", "TheLastBillingMonth", "WeekToDate", "Custom".

time_period
QueryTimePeriod
Required

Has time period for pulling data for the forecast.

dataset
QueryDataset
Required

Required. Has definition for data in this forecast.

include_actual_cost
bool
Required

a boolean determining if actualCost will be included.

include_fresh_partial_cost
bool
Required

a boolean determining if FreshPartialCost will be included.