UpdateScheduledQueryDetails¶
-
class
oci.apm_traces.models.UpdateScheduledQueryDetails(**kwargs)¶ Bases:
objectObject that contains the details about the scheduled query to be updated.
Attributes
SCHEDULED_QUERY_PROCESSING_SUB_TYPE_CUSTOM_METRICA constant which can be used with the scheduled_query_processing_sub_type property of a UpdateScheduledQueryDetails. SCHEDULED_QUERY_PROCESSING_SUB_TYPE_NONEA constant which can be used with the scheduled_query_processing_sub_type property of a UpdateScheduledQueryDetails. SCHEDULED_QUERY_PROCESSING_SUB_TYPE_OBJECT_STORAGEA constant which can be used with the scheduled_query_processing_sub_type property of a UpdateScheduledQueryDetails. SCHEDULED_QUERY_PROCESSING_SUB_TYPE_STREAMINGA constant which can be used with the scheduled_query_processing_sub_type property of a UpdateScheduledQueryDetails. SCHEDULED_QUERY_PROCESSING_TYPE_ALERTA constant which can be used with the scheduled_query_processing_type property of a UpdateScheduledQueryDetails. SCHEDULED_QUERY_PROCESSING_TYPE_EXPORTA constant which can be used with the scheduled_query_processing_type property of a UpdateScheduledQueryDetails. SCHEDULED_QUERY_PROCESSING_TYPE_QUERYA constant which can be used with the scheduled_query_processing_type property of a UpdateScheduledQueryDetails. SCHEDULED_QUERY_RETENTION_CRITERIA_KEEP_DATA_UNTIL_RETENTION_PERIODA constant which can be used with the scheduled_query_retention_criteria property of a UpdateScheduledQueryDetails. SCHEDULED_QUERY_RETENTION_CRITERIA_UPDATEA constant which can be used with the scheduled_query_retention_criteria property of a UpdateScheduledQueryDetails. defined_tagsGets the defined_tags of this UpdateScheduledQueryDetails. freeform_tagsGets the freeform_tags of this UpdateScheduledQueryDetails. scheduled_query_descriptionGets the scheduled_query_description of this UpdateScheduledQueryDetails. scheduled_query_maximum_runtime_in_secondsGets the scheduled_query_maximum_runtime_in_seconds of this UpdateScheduledQueryDetails. scheduled_query_nameGets the scheduled_query_name of this UpdateScheduledQueryDetails. scheduled_query_processing_configurationGets the scheduled_query_processing_configuration of this UpdateScheduledQueryDetails. scheduled_query_processing_sub_typeGets the scheduled_query_processing_sub_type of this UpdateScheduledQueryDetails. scheduled_query_processing_typeGets the scheduled_query_processing_type of this UpdateScheduledQueryDetails. scheduled_query_retention_criteriaGets the scheduled_query_retention_criteria of this UpdateScheduledQueryDetails. scheduled_query_retention_period_in_msGets the scheduled_query_retention_period_in_ms of this UpdateScheduledQueryDetails. scheduled_query_scheduleGets the scheduled_query_schedule of this UpdateScheduledQueryDetails. scheduled_query_textGets the scheduled_query_text of this UpdateScheduledQueryDetails. Methods
__init__(**kwargs)Initializes a new UpdateScheduledQueryDetails 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 UpdateScheduledQueryDetails. 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 UpdateScheduledQueryDetails. 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 UpdateScheduledQueryDetails. 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 UpdateScheduledQueryDetails. 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 UpdateScheduledQueryDetails. 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 UpdateScheduledQueryDetails. 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 UpdateScheduledQueryDetails. 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 UpdateScheduledQueryDetails. 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 UpdateScheduledQueryDetails. This constant has a value of “UPDATE”
-
__init__(**kwargs)¶ Initializes a new UpdateScheduledQueryDetails 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 UpdateScheduledQueryDetails.
- scheduled_query_processing_type (str) – The value to assign to the scheduled_query_processing_type property of this UpdateScheduledQueryDetails. Allowed values for this property are: “EXPORT”, “QUERY”, “ALERT”
- scheduled_query_processing_sub_type (str) – The value to assign to the scheduled_query_processing_sub_type property of this UpdateScheduledQueryDetails. Allowed values for this property are: “OBJECT_STORAGE”, “STREAMING”, “CUSTOM_METRIC”, “NONE”
- scheduled_query_text (str) – The value to assign to the scheduled_query_text property of this UpdateScheduledQueryDetails.
- scheduled_query_schedule (str) – The value to assign to the scheduled_query_schedule property of this UpdateScheduledQueryDetails.
- scheduled_query_description (str) – The value to assign to the scheduled_query_description property of this UpdateScheduledQueryDetails.
- scheduled_query_maximum_runtime_in_seconds (int) – The value to assign to the scheduled_query_maximum_runtime_in_seconds property of this UpdateScheduledQueryDetails.
- scheduled_query_retention_period_in_ms (int) – The value to assign to the scheduled_query_retention_period_in_ms property of this UpdateScheduledQueryDetails.
- scheduled_query_processing_configuration (oci.apm_traces.models.ScheduledQueryProcessingConfig) – The value to assign to the scheduled_query_processing_configuration property of this UpdateScheduledQueryDetails.
- scheduled_query_retention_criteria (str) – The value to assign to the scheduled_query_retention_criteria property of this UpdateScheduledQueryDetails. 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 UpdateScheduledQueryDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateScheduledQueryDetails.
Gets the defined_tags of this UpdateScheduledQueryDetails. 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 UpdateScheduledQueryDetails. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this UpdateScheduledQueryDetails. 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 UpdateScheduledQueryDetails. Return type: dict(str, str)
-
scheduled_query_description¶ Gets the scheduled_query_description of this UpdateScheduledQueryDetails. Description for the scheduled query.
Returns: The scheduled_query_description of this UpdateScheduledQueryDetails. Return type: str
-
scheduled_query_maximum_runtime_in_seconds¶ Gets the scheduled_query_maximum_runtime_in_seconds of this UpdateScheduledQueryDetails. Maximum runtime for the scheduled query in seconds.
Returns: The scheduled_query_maximum_runtime_in_seconds of this UpdateScheduledQueryDetails. Return type: int
-
scheduled_query_name¶ Gets the scheduled_query_name of this UpdateScheduledQueryDetails. Name of the scheduled query.
Returns: The scheduled_query_name of this UpdateScheduledQueryDetails. Return type: str
-
scheduled_query_processing_configuration¶ Gets the scheduled_query_processing_configuration of this UpdateScheduledQueryDetails.
Returns: The scheduled_query_processing_configuration of this UpdateScheduledQueryDetails. Return type: oci.apm_traces.models.ScheduledQueryProcessingConfig
-
scheduled_query_processing_sub_type¶ Gets the scheduled_query_processing_sub_type of this UpdateScheduledQueryDetails. 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 UpdateScheduledQueryDetails. Return type: str
-
scheduled_query_processing_type¶ Gets the scheduled_query_processing_type of this UpdateScheduledQueryDetails. Type of the scheduled query.
Allowed values for this property are: “EXPORT”, “QUERY”, “ALERT”
Returns: The scheduled_query_processing_type of this UpdateScheduledQueryDetails. Return type: str
-
scheduled_query_retention_criteria¶ Gets the scheduled_query_retention_criteria of this UpdateScheduledQueryDetails. 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 UpdateScheduledQueryDetails. Return type: str
-
scheduled_query_retention_period_in_ms¶ Gets the scheduled_query_retention_period_in_ms of this UpdateScheduledQueryDetails. Retention period for the scheduled query in milliseconds.
Returns: The scheduled_query_retention_period_in_ms of this UpdateScheduledQueryDetails. Return type: int
-
scheduled_query_schedule¶ Gets the scheduled_query_schedule of this UpdateScheduledQueryDetails. Schedule for the scheduled query.
Returns: The scheduled_query_schedule of this UpdateScheduledQueryDetails. Return type: str
-
scheduled_query_text¶ Gets the scheduled_query_text of this UpdateScheduledQueryDetails. Scheduled query to be run.
Returns: The scheduled_query_text of this UpdateScheduledQueryDetails. Return type: str
-