ActivityResourceTarget¶
-
class
oci.fleet_apps_management.models.ActivityResourceTarget(**kwargs)¶ Bases:
objectActivity Resource Target.
Attributes
STATUS_ABORTEDA constant which can be used with the status property of a ActivityResourceTarget. STATUS_ACCEPTEDA constant which can be used with the status property of a ActivityResourceTarget. STATUS_CANCELEDA constant which can be used with the status property of a ActivityResourceTarget. STATUS_FAILEDA constant which can be used with the status property of a ActivityResourceTarget. STATUS_IGNOREDA constant which can be used with the status property of a ActivityResourceTarget. STATUS_IN_PROGRESSA constant which can be used with the status property of a ActivityResourceTarget. STATUS_NOT_APPLICABLEA constant which can be used with the status property of a ActivityResourceTarget. STATUS_PAUSEDA constant which can be used with the status property of a ActivityResourceTarget. STATUS_SKIPPEDA constant which can be used with the status property of a ActivityResourceTarget. STATUS_SUCCEEDEDA constant which can be used with the status property of a ActivityResourceTarget. STATUS_TIMED_OUTA constant which can be used with the status property of a ActivityResourceTarget. STATUS_WAITINGA constant which can be used with the status property of a ActivityResourceTarget. descriptionGets the description of this ActivityResourceTarget. statusGets the status of this ActivityResourceTarget. target_name[Required] Gets the target_name of this ActivityResourceTarget. Methods
__init__(**kwargs)Initializes a new ActivityResourceTarget object with values from keyword arguments. -
STATUS_ABORTED= 'ABORTED'¶ A constant which can be used with the status property of a ActivityResourceTarget. This constant has a value of “ABORTED”
-
STATUS_ACCEPTED= 'ACCEPTED'¶ A constant which can be used with the status property of a ActivityResourceTarget. This constant has a value of “ACCEPTED”
-
STATUS_CANCELED= 'CANCELED'¶ A constant which can be used with the status property of a ActivityResourceTarget. This constant has a value of “CANCELED”
-
STATUS_FAILED= 'FAILED'¶ A constant which can be used with the status property of a ActivityResourceTarget. This constant has a value of “FAILED”
-
STATUS_IGNORED= 'IGNORED'¶ A constant which can be used with the status property of a ActivityResourceTarget. This constant has a value of “IGNORED”
-
STATUS_IN_PROGRESS= 'IN_PROGRESS'¶ A constant which can be used with the status property of a ActivityResourceTarget. This constant has a value of “IN_PROGRESS”
-
STATUS_NOT_APPLICABLE= 'NOT_APPLICABLE'¶ A constant which can be used with the status property of a ActivityResourceTarget. This constant has a value of “NOT_APPLICABLE”
-
STATUS_PAUSED= 'PAUSED'¶ A constant which can be used with the status property of a ActivityResourceTarget. This constant has a value of “PAUSED”
-
STATUS_SKIPPED= 'SKIPPED'¶ A constant which can be used with the status property of a ActivityResourceTarget. This constant has a value of “SKIPPED”
-
STATUS_SUCCEEDED= 'SUCCEEDED'¶ A constant which can be used with the status property of a ActivityResourceTarget. This constant has a value of “SUCCEEDED”
-
STATUS_TIMED_OUT= 'TIMED_OUT'¶ A constant which can be used with the status property of a ActivityResourceTarget. This constant has a value of “TIMED_OUT”
-
STATUS_WAITING= 'WAITING'¶ A constant which can be used with the status property of a ActivityResourceTarget. This constant has a value of “WAITING”
-
__init__(**kwargs)¶ Initializes a new ActivityResourceTarget object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - target_name (str) – The value to assign to the target_name property of this ActivityResourceTarget.
- status (str) – The value to assign to the status property of this ActivityResourceTarget. Allowed values for this property are: “ACCEPTED”, “WAITING”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELED”, “SKIPPED”, “IGNORED”, “NOT_APPLICABLE”, “ABORTED”, “TIMED_OUT”, “PAUSED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- description (str) – The value to assign to the description property of this ActivityResourceTarget.
-
description¶ Gets the description of this ActivityResourceTarget. Description of the Execution status. If there are any errors, this can also include a short error message.
Returns: The description of this ActivityResourceTarget. Return type: str
-
status¶ Gets the status of this ActivityResourceTarget. Status of the Job at target Level.
Allowed values for this property are: “ACCEPTED”, “WAITING”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELED”, “SKIPPED”, “IGNORED”, “NOT_APPLICABLE”, “ABORTED”, “TIMED_OUT”, “PAUSED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this ActivityResourceTarget. Return type: str
-
target_name¶ [Required] Gets the target_name of this ActivityResourceTarget. Target Name.
Returns: The target_name of this ActivityResourceTarget. Return type: str
-