CreateUsageCarbonEmissionsQueryDetails¶
-
class
oci.usage_api.models.
CreateUsageCarbonEmissionsQueryDetails
(**kwargs)¶ Bases:
object
New query detail with savedRequestUsageCarbonEmissionsDetails, savedCostAnalysisUI, and displayName.
Methods
__init__
(**kwargs)Initializes a new CreateUsageCarbonEmissionsQueryDetails object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this CreateUsageCarbonEmissionsQueryDetails. query_definition
[Required] Gets the query_definition of this CreateUsageCarbonEmissionsQueryDetails. -
__init__
(**kwargs)¶ Initializes a new CreateUsageCarbonEmissionsQueryDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this CreateUsageCarbonEmissionsQueryDetails.
- query_definition (oci.usage_api.models.UsageCarbonEmissionsQueryDefinition) – The value to assign to the query_definition property of this CreateUsageCarbonEmissionsQueryDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateUsageCarbonEmissionsQueryDetails. The compartment OCID.
Returns: The compartment_id of this CreateUsageCarbonEmissionsQueryDetails. Return type: str
-
query_definition
¶ [Required] Gets the query_definition of this CreateUsageCarbonEmissionsQueryDetails.
Returns: The query_definition of this CreateUsageCarbonEmissionsQueryDetails. Return type: oci.usage_api.models.UsageCarbonEmissionsQueryDefinition
-