CreateScheduledTaskDetails

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

Bases: object

Details for creating a scheduled task.

Attributes

KIND_ACCELERATION A constant which can be used with the kind property of a CreateScheduledTaskDetails.
KIND_STANDARD A constant which can be used with the kind property of a CreateScheduledTaskDetails.
compartment_id [Required] Gets the compartment_id of this CreateScheduledTaskDetails.
defined_tags Gets the defined_tags of this CreateScheduledTaskDetails.
display_name Gets the display_name of this CreateScheduledTaskDetails.
freeform_tags Gets the freeform_tags of this CreateScheduledTaskDetails.
kind [Required] Gets the kind of this CreateScheduledTaskDetails.

Methods

__init__(**kwargs) Initializes a new CreateScheduledTaskDetails 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 CreateScheduledTaskDetails. This constant has a value of “ACCELERATION”

KIND_STANDARD = 'STANDARD'

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

__init__(**kwargs)

Initializes a new CreateScheduledTaskDetails 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 CreateScheduledTaskDetails. Allowed values for this property are: “ACCELERATION”, “STANDARD”
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateScheduledTaskDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateScheduledTaskDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateScheduledTaskDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateScheduledTaskDetails.
compartment_id

[Required] Gets the compartment_id of this CreateScheduledTaskDetails. Compartment Identifier OCID].

Returns:The compartment_id of this CreateScheduledTaskDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateScheduledTaskDetails. 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 CreateScheduledTaskDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this CreateScheduledTaskDetails. 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 CreateScheduledTaskDetails.
Return type:str
freeform_tags

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

kind

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

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

Returns:The kind of this CreateScheduledTaskDetails.
Return type:str