CreateScheduledQueryDetails¶
-
class
oci.apm_traces.models.
CreateScheduledQueryDetails
(**kwargs)¶ Bases:
object
Object that contains the details about the scheduled query to be created.
Attributes
SCHEDULED_QUERY_PROCESSING_SUB_TYPE_CUSTOM_METRIC
A constant which can be used with the scheduled_query_processing_sub_type property of a CreateScheduledQueryDetails. SCHEDULED_QUERY_PROCESSING_SUB_TYPE_NONE
A constant which can be used with the scheduled_query_processing_sub_type property of a CreateScheduledQueryDetails. SCHEDULED_QUERY_PROCESSING_SUB_TYPE_OBJECT_STORAGE
A constant which can be used with the scheduled_query_processing_sub_type property of a CreateScheduledQueryDetails. SCHEDULED_QUERY_PROCESSING_SUB_TYPE_STREAMING
A constant which can be used with the scheduled_query_processing_sub_type property of a CreateScheduledQueryDetails. SCHEDULED_QUERY_PROCESSING_TYPE_ALERT
A constant which can be used with the scheduled_query_processing_type property of a CreateScheduledQueryDetails. SCHEDULED_QUERY_PROCESSING_TYPE_EXPORT
A constant which can be used with the scheduled_query_processing_type property of a CreateScheduledQueryDetails. SCHEDULED_QUERY_PROCESSING_TYPE_QUERY
A constant which can be used with the scheduled_query_processing_type property of a CreateScheduledQueryDetails. SCHEDULED_QUERY_RETENTION_CRITERIA_KEEP_DATA_UNTIL_RETENTION_PERIOD
A constant which can be used with the scheduled_query_retention_criteria property of a CreateScheduledQueryDetails. SCHEDULED_QUERY_RETENTION_CRITERIA_UPDATE
A constant which can be used with the scheduled_query_retention_criteria property of a CreateScheduledQueryDetails. defined_tags
Gets the defined_tags of this CreateScheduledQueryDetails. freeform_tags
Gets the freeform_tags of this CreateScheduledQueryDetails. scheduled_query_description
Gets the scheduled_query_description of this CreateScheduledQueryDetails. scheduled_query_maximum_runtime_in_seconds
Gets the scheduled_query_maximum_runtime_in_seconds of this CreateScheduledQueryDetails. scheduled_query_name
Gets the scheduled_query_name of this CreateScheduledQueryDetails. scheduled_query_processing_configuration
Gets the scheduled_query_processing_configuration of this CreateScheduledQueryDetails. scheduled_query_processing_sub_type
Gets the scheduled_query_processing_sub_type of this CreateScheduledQueryDetails. scheduled_query_processing_type
Gets the scheduled_query_processing_type of this CreateScheduledQueryDetails. scheduled_query_retention_criteria
Gets the scheduled_query_retention_criteria of this CreateScheduledQueryDetails. scheduled_query_retention_period_in_ms
Gets the scheduled_query_retention_period_in_ms of this CreateScheduledQueryDetails. scheduled_query_schedule
Gets the scheduled_query_schedule of this CreateScheduledQueryDetails. scheduled_query_text
Gets the scheduled_query_text of this CreateScheduledQueryDetails. Methods
__init__
(**kwargs)Initializes a new CreateScheduledQueryDetails object with values from keyword arguments. -
SCHEDULED_QUERY_PROCESSING_SUB_TYPE_CUSTOM_METRIC
= 'CUSTOM_METRIC'¶ A constant which can be used with the scheduled_query_processing_sub_type property of a CreateScheduledQueryDetails. This constant has a value of “CUSTOM_METRIC”
-
SCHEDULED_QUERY_PROCESSING_SUB_TYPE_NONE
= 'NONE'¶ A constant which can be used with the scheduled_query_processing_sub_type property of a CreateScheduledQueryDetails. This constant has a value of “NONE”
-
SCHEDULED_QUERY_PROCESSING_SUB_TYPE_OBJECT_STORAGE
= 'OBJECT_STORAGE'¶ A constant which can be used with the scheduled_query_processing_sub_type property of a CreateScheduledQueryDetails. This constant has a value of “OBJECT_STORAGE”
-
SCHEDULED_QUERY_PROCESSING_SUB_TYPE_STREAMING
= 'STREAMING'¶ A constant which can be used with the scheduled_query_processing_sub_type property of a CreateScheduledQueryDetails. This constant has a value of “STREAMING”
-
SCHEDULED_QUERY_PROCESSING_TYPE_ALERT
= 'ALERT'¶ A constant which can be used with the scheduled_query_processing_type property of a CreateScheduledQueryDetails. This constant has a value of “ALERT”
-
SCHEDULED_QUERY_PROCESSING_TYPE_EXPORT
= 'EXPORT'¶ A constant which can be used with the scheduled_query_processing_type property of a CreateScheduledQueryDetails. This constant has a value of “EXPORT”
-
SCHEDULED_QUERY_PROCESSING_TYPE_QUERY
= 'QUERY'¶ A constant which can be used with the scheduled_query_processing_type property of a CreateScheduledQueryDetails. This constant has a value of “QUERY”
-
SCHEDULED_QUERY_RETENTION_CRITERIA_KEEP_DATA_UNTIL_RETENTION_PERIOD
= 'KEEP_DATA_UNTIL_RETENTION_PERIOD'¶ A constant which can be used with the scheduled_query_retention_criteria property of a CreateScheduledQueryDetails. This constant has a value of “KEEP_DATA_UNTIL_RETENTION_PERIOD”
-
SCHEDULED_QUERY_RETENTION_CRITERIA_UPDATE
= 'UPDATE'¶ A constant which can be used with the scheduled_query_retention_criteria property of a CreateScheduledQueryDetails. This constant has a value of “UPDATE”
-
__init__
(**kwargs)¶ Initializes a new CreateScheduledQueryDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - scheduled_query_name (str) – The value to assign to the scheduled_query_name property of this CreateScheduledQueryDetails.
- scheduled_query_processing_type (str) – The value to assign to the scheduled_query_processing_type property of this CreateScheduledQueryDetails. Allowed values for this property are: “EXPORT”, “QUERY”, “ALERT”
- scheduled_query_text (str) – The value to assign to the scheduled_query_text property of this CreateScheduledQueryDetails.
- scheduled_query_schedule (str) – The value to assign to the scheduled_query_schedule property of this CreateScheduledQueryDetails.
- scheduled_query_description (str) – The value to assign to the scheduled_query_description property of this CreateScheduledQueryDetails.
- scheduled_query_maximum_runtime_in_seconds (int) – The value to assign to the scheduled_query_maximum_runtime_in_seconds property of this CreateScheduledQueryDetails.
- scheduled_query_retention_period_in_ms (int) – The value to assign to the scheduled_query_retention_period_in_ms property of this CreateScheduledQueryDetails.
- scheduled_query_processing_sub_type (str) – The value to assign to the scheduled_query_processing_sub_type property of this CreateScheduledQueryDetails. Allowed values for this property are: “OBJECT_STORAGE”, “STREAMING”, “CUSTOM_METRIC”, “NONE”
- scheduled_query_processing_configuration (oci.apm_traces.models.ScheduledQueryProcessingConfig) – The value to assign to the scheduled_query_processing_configuration property of this CreateScheduledQueryDetails.
- scheduled_query_retention_criteria (str) – The value to assign to the scheduled_query_retention_criteria property of this CreateScheduledQueryDetails. Allowed values for this property are: “KEEP_DATA_UNTIL_RETENTION_PERIOD”, “UPDATE”
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateScheduledQueryDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateScheduledQueryDetails.
Gets the defined_tags of this CreateScheduledQueryDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this CreateScheduledQueryDetails. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this CreateScheduledQueryDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this CreateScheduledQueryDetails. Return type: dict(str, str)
-
scheduled_query_description
¶ Gets the scheduled_query_description of this CreateScheduledQueryDetails. Description for the scheduled query.
Returns: The scheduled_query_description of this CreateScheduledQueryDetails. Return type: str
-
scheduled_query_maximum_runtime_in_seconds
¶ Gets the scheduled_query_maximum_runtime_in_seconds of this CreateScheduledQueryDetails. Maximum runtime for the scheduled query in seconds.
Returns: The scheduled_query_maximum_runtime_in_seconds of this CreateScheduledQueryDetails. Return type: int
-
scheduled_query_name
¶ Gets the scheduled_query_name of this CreateScheduledQueryDetails. Name of the scheduled query.
Returns: The scheduled_query_name of this CreateScheduledQueryDetails. Return type: str
-
scheduled_query_processing_configuration
¶ Gets the scheduled_query_processing_configuration of this CreateScheduledQueryDetails.
Returns: The scheduled_query_processing_configuration of this CreateScheduledQueryDetails. Return type: oci.apm_traces.models.ScheduledQueryProcessingConfig
-
scheduled_query_processing_sub_type
¶ Gets the scheduled_query_processing_sub_type of this CreateScheduledQueryDetails. Processing sub type of the scheduled query.
Allowed values for this property are: “OBJECT_STORAGE”, “STREAMING”, “CUSTOM_METRIC”, “NONE”
Returns: The scheduled_query_processing_sub_type of this CreateScheduledQueryDetails. Return type: str
-
scheduled_query_processing_type
¶ Gets the scheduled_query_processing_type of this CreateScheduledQueryDetails. Type of the scheduled query.
Allowed values for this property are: “EXPORT”, “QUERY”, “ALERT”
Returns: The scheduled_query_processing_type of this CreateScheduledQueryDetails. Return type: str
-
scheduled_query_retention_criteria
¶ Gets the scheduled_query_retention_criteria of this CreateScheduledQueryDetails. Retention criteria for the scheduled query.
Allowed values for this property are: “KEEP_DATA_UNTIL_RETENTION_PERIOD”, “UPDATE”
Returns: The scheduled_query_retention_criteria of this CreateScheduledQueryDetails. Return type: str
-
scheduled_query_retention_period_in_ms
¶ Gets the scheduled_query_retention_period_in_ms of this CreateScheduledQueryDetails. Retention period for the scheduled query in milliseconds.
Returns: The scheduled_query_retention_period_in_ms of this CreateScheduledQueryDetails. Return type: int
-
scheduled_query_schedule
¶ Gets the scheduled_query_schedule of this CreateScheduledQueryDetails. Schedule for the scheduled query.
Returns: The scheduled_query_schedule of this CreateScheduledQueryDetails. Return type: str
-
scheduled_query_text
¶ Gets the scheduled_query_text of this CreateScheduledQueryDetails. Scheduled query to be run.
Returns: The scheduled_query_text of this CreateScheduledQueryDetails. Return type: str
-