Forecast Class

A forecast resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.consumption.models._models_py3.Resource
Forecast

Constructor

Forecast(*, grain: Optional[Union[str, azure.mgmt.consumption.models._consumption_management_client_enums.Grain]] = None, charge_type: Optional[Union[str, azure.mgmt.consumption.models._consumption_management_client_enums.ChargeType]] = None, **kwargs)

Parameters

grain
str or Grain
Required

The granularity of forecast. Possible values include: "Daily", "Monthly", "Yearly".

charge_type
str or ChargeType
Required

The type of the charge. Could be actual or forecast. Possible values include: "Actual", "Forecast".

Variables

id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

tags
dict[str, str]

A set of tags. Resource tags.

usage_date
str

The usage date of the forecast.

charge
float

The amount of charge.

currency
str

The ISO currency in which the meter is charged, for example, USD.

confidence_levels
list[ForecastPropertiesConfidenceLevelsItem]

The details about the forecast confidence levels. This is populated only when chargeType is Forecast.