UpdateScheduledTaskDetails

class oci.log_analytics.models.UpdateScheduledTaskDetails(**kwargs)

Bases: object

The details for updating a schedule task.

Attributes:

KIND_ACCELERATION

A constant which can be used with the kind property of a UpdateScheduledTaskDetails.

KIND_STANDARD

A constant which can be used with the kind property of a UpdateScheduledTaskDetails.

defined_tags

Gets the defined_tags of this UpdateScheduledTaskDetails.

description

Gets the description of this UpdateScheduledTaskDetails.

display_name

Gets the display_name of this UpdateScheduledTaskDetails.

freeform_tags

Gets the freeform_tags of this UpdateScheduledTaskDetails.

kind

[Required] Gets the kind of this UpdateScheduledTaskDetails.

schedules

Gets the schedules of this UpdateScheduledTaskDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateScheduledTaskDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

KIND_ACCELERATION = 'ACCELERATION'

A constant which can be used with the kind property of a UpdateScheduledTaskDetails. This constant has a value of “ACCELERATION”

KIND_STANDARD = 'STANDARD'

A constant which can be used with the kind property of a UpdateScheduledTaskDetails. This constant has a value of “STANDARD”

__init__(**kwargs)

Initializes a new UpdateScheduledTaskDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • kind (str) – The value to assign to the kind property of this UpdateScheduledTaskDetails. Allowed values for this property are: “ACCELERATION”, “STANDARD”

  • display_name (str) – The value to assign to the display_name property of this UpdateScheduledTaskDetails.

  • description (str) – The value to assign to the description property of this UpdateScheduledTaskDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateScheduledTaskDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateScheduledTaskDetails.

  • schedules (list[oci.log_analytics.models.Schedule]) – The value to assign to the schedules property of this UpdateScheduledTaskDetails.

property defined_tags

Gets the defined_tags of this UpdateScheduledTaskDetails. 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 UpdateScheduledTaskDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this UpdateScheduledTaskDetails. Description for this resource.

Returns

The description of this UpdateScheduledTaskDetails.

Return type

str

property display_name

Gets the display_name of this UpdateScheduledTaskDetails. A user-friendly name that is changeable and that does not have to be unique. Format: a leading alphanumeric, followed by zero or more alphanumerics, underscores, spaces, backslashes, or hyphens in any order). No trailing spaces allowed.

Returns

The display_name of this UpdateScheduledTaskDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this UpdateScheduledTaskDetails. 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 UpdateScheduledTaskDetails.

Return type

dict(str, str)

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property kind

[Required] Gets the kind of this UpdateScheduledTaskDetails. Discriminator.

Allowed values for this property are: “ACCELERATION”, “STANDARD”

Returns

The kind of this UpdateScheduledTaskDetails.

Return type

str

property schedules

Gets the schedules of this UpdateScheduledTaskDetails. Schedules may be updated for task types SAVED_SEARCH and PURGE. Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks.

Returns

The schedules of this UpdateScheduledTaskDetails.

Return type

list[oci.log_analytics.models.Schedule]