UpdateStandardTaskDetails¶
- class oci.log_analytics.models.UpdateStandardTaskDetails(**kwargs)¶
Bases:
UpdateScheduledTaskDetailsThe details for updating a schedule task.
Attributes:
A constant which can be used with the kind property of a UpdateScheduledTaskDetails.
A constant which can be used with the kind property of a UpdateScheduledTaskDetails.
Gets the action of this UpdateStandardTaskDetails.
Gets the defined_tags of this UpdateScheduledTaskDetails.
Gets the description of this UpdateScheduledTaskDetails.
Gets the display_name of this UpdateScheduledTaskDetails.
Gets the freeform_tags of this UpdateScheduledTaskDetails.
[Required] Gets the kind of this UpdateScheduledTaskDetails.
Gets 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'¶
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 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.
description (str) – The value to assign to the description 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.
- property action¶
Gets the action of this UpdateStandardTaskDetails.
- Returns
The action of this UpdateStandardTaskDetails.
- Return type
- 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