MonitoredResourceTaskSummary¶
-
class
oci.stack_monitoring.models.MonitoredResourceTaskSummary(**kwargs)¶ Bases:
objectThe summary details for the task.
Attributes
LIFECYCLE_STATE_ACCEPTEDA constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. LIFECYCLE_STATE_CANCELEDA constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. LIFECYCLE_STATE_CANCELINGA constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. LIFECYCLE_STATE_IN_PROGRESSA constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. LIFECYCLE_STATE_NEEDS_ATTENTIONA constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. LIFECYCLE_STATE_SUCCEEDEDA constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. LIFECYCLE_STATE_WAITINGA constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. defined_tagsGets the defined_tags of this MonitoredResourceTaskSummary. freeform_tagsGets the freeform_tags of this MonitoredResourceTaskSummary. id[Required] Gets the id of this MonitoredResourceTaskSummary. lifecycle_stateGets the lifecycle_state of this MonitoredResourceTaskSummary. name[Required] Gets the name of this MonitoredResourceTaskSummary. system_tagsGets the system_tags of this MonitoredResourceTaskSummary. task_details[Required] Gets the task_details of this MonitoredResourceTaskSummary. time_createdGets the time_created of this MonitoredResourceTaskSummary. time_updatedGets the time_updated of this MonitoredResourceTaskSummary. typeGets the type of this MonitoredResourceTaskSummary. work_request_idsGets the work_request_ids of this MonitoredResourceTaskSummary. Methods
__init__(**kwargs)Initializes a new MonitoredResourceTaskSummary object with values from keyword arguments. -
LIFECYCLE_STATE_ACCEPTED= 'ACCEPTED'¶ A constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. This constant has a value of “ACCEPTED”
-
LIFECYCLE_STATE_CANCELED= 'CANCELED'¶ A constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. This constant has a value of “CANCELED”
-
LIFECYCLE_STATE_CANCELING= 'CANCELING'¶ A constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. This constant has a value of “CANCELING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_IN_PROGRESS= 'IN_PROGRESS'¶ A constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. This constant has a value of “IN_PROGRESS”
-
LIFECYCLE_STATE_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶ A constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. This constant has a value of “NEEDS_ATTENTION”
-
LIFECYCLE_STATE_SUCCEEDED= 'SUCCEEDED'¶ A constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. This constant has a value of “SUCCEEDED”
-
LIFECYCLE_STATE_WAITING= 'WAITING'¶ A constant which can be used with the lifecycle_state property of a MonitoredResourceTaskSummary. This constant has a value of “WAITING”
-
__init__(**kwargs)¶ Initializes a new MonitoredResourceTaskSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this MonitoredResourceTaskSummary.
- name (str) – The value to assign to the name property of this MonitoredResourceTaskSummary.
- type (str) – The value to assign to the type property of this MonitoredResourceTaskSummary.
- task_details (oci.stack_monitoring.models.MonitoredResourceTaskDetails) – The value to assign to the task_details property of this MonitoredResourceTaskSummary.
- work_request_ids (list[str]) – The value to assign to the work_request_ids property of this MonitoredResourceTaskSummary.
- time_created (datetime) – The value to assign to the time_created property of this MonitoredResourceTaskSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this MonitoredResourceTaskSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this MonitoredResourceTaskSummary. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “WAITING”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MonitoredResourceTaskSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MonitoredResourceTaskSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MonitoredResourceTaskSummary.
Gets the defined_tags of this MonitoredResourceTaskSummary. 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 MonitoredResourceTaskSummary. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this MonitoredResourceTaskSummary. 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 MonitoredResourceTaskSummary. Return type: dict(str, str)
-
id¶ [Required] Gets the id of this MonitoredResourceTaskSummary. Task identifier OCID.
Returns: The id of this MonitoredResourceTaskSummary. Return type: str
-
lifecycle_state¶ Gets the lifecycle_state of this MonitoredResourceTaskSummary. The current state of the stack monitoring resource task.
Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “WAITING”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this MonitoredResourceTaskSummary. Return type: str
-
name¶ [Required] Gets the name of this MonitoredResourceTaskSummary. Name of the task.
Returns: The name of this MonitoredResourceTaskSummary. Return type: str
Gets the system_tags of this MonitoredResourceTaskSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this MonitoredResourceTaskSummary. Return type: dict(str, dict(str, object))
-
task_details¶ [Required] Gets the task_details of this MonitoredResourceTaskSummary.
Returns: The task_details of this MonitoredResourceTaskSummary. Return type: oci.stack_monitoring.models.MonitoredResourceTaskDetails
-
time_created¶ Gets the time_created of this MonitoredResourceTaskSummary. The date and time when the stack monitoring resource task was created, expressed in RFC 3339 timestamp format.
Returns: The time_created of this MonitoredResourceTaskSummary. Return type: datetime
-
time_updated¶ Gets the time_updated of this MonitoredResourceTaskSummary. The date and time when the stack monitoring resource task was last updated, expressed in RFC 3339 timestamp format.
Returns: The time_updated of this MonitoredResourceTaskSummary. Return type: datetime
-
type¶ Gets the type of this MonitoredResourceTaskSummary. Type of the task.
Returns: The type of this MonitoredResourceTaskSummary. Return type: str
-