UpdateStandardTaskDetails¶
-
class
oci.log_analytics.models.UpdateStandardTaskDetails(**kwargs)¶ Bases:
oci.log_analytics.models.update_scheduled_task_details.UpdateScheduledTaskDetailsThe details for updating a schedule task.
Attributes
KIND_ACCELERATIONstr(object=’’) -> str KIND_STANDARDstr(object=’’) -> str actionGets the action of this UpdateStandardTaskDetails. defined_tagsGets the defined_tags of this UpdateScheduledTaskDetails. display_nameGets the display_name of this UpdateScheduledTaskDetails. freeform_tagsGets the freeform_tags of this UpdateScheduledTaskDetails. kind[Required] Gets the kind of this UpdateScheduledTaskDetails. schedulesGets the schedules of this UpdateScheduledTaskDetails. Methods
__init__(**kwargs)Initializes a new UpdateStandardTaskDetails 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'¶
-
KIND_STANDARD= 'STANDARD'¶
-
__init__(**kwargs)¶ Initializes a new UpdateStandardTaskDetails object with values from keyword arguments. The default value of the
kindattribute of this class isSTANDARDand it should not be changed. 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 UpdateStandardTaskDetails. Allowed values for this property are: “ACCELERATION”, “STANDARD”
- display_name (str) – The value to assign to the display_name property of this UpdateStandardTaskDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateStandardTaskDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateStandardTaskDetails.
- schedules (list[oci.log_analytics.models.Schedule]) – The value to assign to the schedules property of this UpdateStandardTaskDetails.
- action (oci.log_analytics.models.Action) – The value to assign to the action property of this UpdateStandardTaskDetails.
-
action¶ Gets the action of this UpdateStandardTaskDetails.
Returns: The action of this UpdateStandardTaskDetails. Return type: oci.log_analytics.models.Action
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))
-
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
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.
-
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
-
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]
-