MeterInfo Class
Detailed information about the meter.
- Inheritance
-
msrest.serialization.ModelMeterInfo
Constructor
MeterInfo(*, meter_id: str | None = None, meter_name: str | None = None, meter_category: str | None = None, meter_sub_category: str | None = None, unit: str | None = None, meter_tags: List[str] | None = None, meter_region: str | None = None, meter_rates: Dict[str, float] | None = None, effective_date: datetime | None = None, included_quantity: float | None = None, **kwargs)
Parameters
Name | Description |
---|---|
meter_id
Required
|
The unique identifier of the resource. |
meter_name
Required
|
The name of the meter, within the given meter category. |
meter_category
Required
|
The category of the meter, e.g., 'Cloud services', 'Networking', etc.. |
meter_sub_category
Required
|
The subcategory of the meter, e.g., 'A6 Cloud services', 'ExpressRoute (IXP)', etc.. |
unit
Required
|
The unit in which the meter consumption is charged, e.g., 'Hours', 'GB', etc. |
meter_tags
Required
|
Provides additional meter data. 'Third Party' indicates a meter with no discount. Blanks indicate First Party. |
meter_region
Required
|
The region in which the Azure service is available. |
meter_rates
Required
|
The list of key/value pairs for the meter rates, in the format 'key':'value' where key = the meter quantity, and value = the corresponding price. |
effective_date
Required
|
Indicates the date from which the meter rate is effective. |
included_quantity
Required
|
The resource quantity that is included in the offer at no cost. Consumption beyond this quantity will be charged. |
Keyword-Only Parameters
Name | Description |
---|---|
meter_id
Required
|
|
meter_name
Required
|
|
meter_category
Required
|
|
meter_sub_category
Required
|
|
unit
Required
|
|
meter_tags
Required
|
|
meter_region
Required
|
|
meter_rates
Required
|
|
effective_date
Required
|
|
included_quantity
Required
|
|
Azure SDK for Python