CleanEnergyUsage

class oci.usage_api.models.CleanEnergyUsage(**kwargs)

Bases: object

Clean energy usage.

Methods:

__init__(**kwargs)

Initializes a new CleanEnergyUsage object with values from keyword arguments.

Attributes:

ad

Gets the ad of this CleanEnergyUsage.

region

[Required] Gets the region of this CleanEnergyUsage.

usage

[Required] Gets the usage of this CleanEnergyUsage.

__init__(**kwargs)

Initializes a new CleanEnergyUsage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • region (str) – The value to assign to the region property of this CleanEnergyUsage.

  • ad (str) – The value to assign to the ad property of this CleanEnergyUsage.

  • usage (float) – The value to assign to the usage property of this CleanEnergyUsage.

property ad

Gets the ad of this CleanEnergyUsage. The availability domain.

Returns

The ad of this CleanEnergyUsage.

Return type

str

property region

[Required] Gets the region of this CleanEnergyUsage. The region.

Returns

The region of this CleanEnergyUsage.

Return type

str

property usage

[Required] Gets the usage of this CleanEnergyUsage. The percentage of clean enery used.

Returns

The usage of this CleanEnergyUsage.

Return type

float