UpdateScheduledQueryDetails

class oci.apm_traces.models.UpdateScheduledQueryDetails(**kwargs)

Bases: object

Object that contains the details about the scheduled query to be updated.

Attributes:

SCHEDULED_QUERY_PROCESSING_SUB_TYPE_CUSTOM_METRIC

A constant which can be used with the scheduled_query_processing_sub_type property of a UpdateScheduledQueryDetails.

SCHEDULED_QUERY_PROCESSING_SUB_TYPE_NONE

A constant which can be used with the scheduled_query_processing_sub_type property of a UpdateScheduledQueryDetails.

SCHEDULED_QUERY_PROCESSING_SUB_TYPE_OBJECT_STORAGE

A constant which can be used with the scheduled_query_processing_sub_type property of a UpdateScheduledQueryDetails.

SCHEDULED_QUERY_PROCESSING_SUB_TYPE_STREAMING

A constant which can be used with the scheduled_query_processing_sub_type property of a UpdateScheduledQueryDetails.

SCHEDULED_QUERY_PROCESSING_TYPE_ALERT

A constant which can be used with the scheduled_query_processing_type property of a UpdateScheduledQueryDetails.

SCHEDULED_QUERY_PROCESSING_TYPE_EXPORT

A constant which can be used with the scheduled_query_processing_type property of a UpdateScheduledQueryDetails.

SCHEDULED_QUERY_PROCESSING_TYPE_QUERY

A constant which can be used with the scheduled_query_processing_type property of a UpdateScheduledQueryDetails.

SCHEDULED_QUERY_RETENTION_CRITERIA_KEEP_DATA_UNTIL_RETENTION_PERIOD

A constant which can be used with the scheduled_query_retention_criteria property of a UpdateScheduledQueryDetails.

SCHEDULED_QUERY_RETENTION_CRITERIA_UPDATE

A constant which can be used with the scheduled_query_retention_criteria property of a UpdateScheduledQueryDetails.

defined_tags

Gets the defined_tags of this UpdateScheduledQueryDetails.

freeform_tags

Gets the freeform_tags of this UpdateScheduledQueryDetails.

scheduled_query_description

Gets the scheduled_query_description of this UpdateScheduledQueryDetails.

scheduled_query_maximum_runtime_in_seconds

Gets the scheduled_query_maximum_runtime_in_seconds of this UpdateScheduledQueryDetails.

scheduled_query_name

Gets the scheduled_query_name of this UpdateScheduledQueryDetails.

scheduled_query_processing_configuration

Gets the scheduled_query_processing_configuration of this UpdateScheduledQueryDetails.

scheduled_query_processing_sub_type

Gets the scheduled_query_processing_sub_type of this UpdateScheduledQueryDetails.

scheduled_query_processing_type

Gets the scheduled_query_processing_type of this UpdateScheduledQueryDetails.

scheduled_query_retention_criteria

Gets the scheduled_query_retention_criteria of this UpdateScheduledQueryDetails.

scheduled_query_retention_period_in_ms

Gets the scheduled_query_retention_period_in_ms of this UpdateScheduledQueryDetails.

scheduled_query_schedule

Gets the scheduled_query_schedule of this UpdateScheduledQueryDetails.

scheduled_query_text

Gets 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.

property defined_tags

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))

property freeform_tags

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)

property 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

property 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

property 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

property 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

property 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

property 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

property 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

property 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

property 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

property 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