CreateQueryDetails¶
-
class
oci.usage_api.models.
CreateQueryDetails
(**kwargs)¶ Bases:
object
New query detail with savedRequestSummarizedUsagesDetails, savedCostAnalysisUI, and displayName.
Methods
__init__
(**kwargs)Initializes a new CreateQueryDetails object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this CreateQueryDetails. query_definition
[Required] Gets the query_definition of this CreateQueryDetails. -
__init__
(**kwargs)¶ Initializes a new CreateQueryDetails 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 CreateQueryDetails.
- query_definition (oci.usage_api.models.QueryDefinition) – The value to assign to the query_definition property of this CreateQueryDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateQueryDetails. The compartment OCID.
Returns: The compartment_id of this CreateQueryDetails. Return type: str
-
query_definition
¶ [Required] Gets the query_definition of this CreateQueryDetails.
Returns: The query_definition of this CreateQueryDetails. Return type: oci.usage_api.models.QueryDefinition
-