UsageCarbonEmissionsQueryDefinition¶
-
class
oci.usage_api.models.
UsageCarbonEmissionsQueryDefinition
(**kwargs)¶ Bases:
object
The common fields for queries.
Methods
__init__
(**kwargs)Initializes a new UsageCarbonEmissionsQueryDefinition object with values from keyword arguments. Attributes
cost_analysis_ui
[Required] Gets the cost_analysis_ui of this UsageCarbonEmissionsQueryDefinition. display_name
[Required] Gets the display_name of this UsageCarbonEmissionsQueryDefinition. report_query
[Required] Gets the report_query of this UsageCarbonEmissionsQueryDefinition. version
[Required] Gets the version of this UsageCarbonEmissionsQueryDefinition. -
__init__
(**kwargs)¶ Initializes a new UsageCarbonEmissionsQueryDefinition object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - display_name (str) – The value to assign to the display_name property of this UsageCarbonEmissionsQueryDefinition.
- report_query (oci.usage_api.models.UsageCarbonEmissionsReportQuery) – The value to assign to the report_query property of this UsageCarbonEmissionsQueryDefinition.
- cost_analysis_ui (oci.usage_api.models.CostAnalysisUI) – The value to assign to the cost_analysis_ui property of this UsageCarbonEmissionsQueryDefinition.
- version (int) – The value to assign to the version property of this UsageCarbonEmissionsQueryDefinition.
-
cost_analysis_ui
¶ [Required] Gets the cost_analysis_ui of this UsageCarbonEmissionsQueryDefinition.
Returns: The cost_analysis_ui of this UsageCarbonEmissionsQueryDefinition. Return type: oci.usage_api.models.CostAnalysisUI
-
display_name
¶ [Required] Gets the display_name of this UsageCarbonEmissionsQueryDefinition. The query display name. Avoid entering confidential information.
Returns: The display_name of this UsageCarbonEmissionsQueryDefinition. Return type: str
-
report_query
¶ [Required] Gets the report_query of this UsageCarbonEmissionsQueryDefinition.
Returns: The report_query of this UsageCarbonEmissionsQueryDefinition. Return type: oci.usage_api.models.UsageCarbonEmissionsReportQuery
-
version
¶ [Required] Gets the version of this UsageCarbonEmissionsQueryDefinition. The saved query version.
Returns: The version of this UsageCarbonEmissionsQueryDefinition. Return type: int
-