WorkRequestResource¶
-
class
oci.container_engine.models.
WorkRequestResource
(**kwargs)¶ Bases:
object
The properties that define a work request resource.
Attributes
ACTION_TYPE_CANCELED_CREATE
A constant which can be used with the action_type property of a WorkRequestResource. ACTION_TYPE_CANCELED_DELETE
A constant which can be used with the action_type property of a WorkRequestResource. ACTION_TYPE_CANCELED_UPDATE
A constant which can be used with the action_type property of a WorkRequestResource. ACTION_TYPE_CREATED
A constant which can be used with the action_type property of a WorkRequestResource. ACTION_TYPE_DELETED
A constant which can be used with the action_type property of a WorkRequestResource. ACTION_TYPE_FAILED
A constant which can be used with the action_type property of a WorkRequestResource. ACTION_TYPE_IN_PROGRESS
A constant which can be used with the action_type property of a WorkRequestResource. ACTION_TYPE_RELATED
A constant which can be used with the action_type property of a WorkRequestResource. ACTION_TYPE_UPDATED
A constant which can be used with the action_type property of a WorkRequestResource. action_type
Gets the action_type of this WorkRequestResource. entity_type
Gets the entity_type of this WorkRequestResource. entity_uri
Gets the entity_uri of this WorkRequestResource. identifier
Gets the identifier of this WorkRequestResource. Methods
__init__
(**kwargs)Initializes a new WorkRequestResource object with values from keyword arguments. -
ACTION_TYPE_CANCELED_CREATE
= 'CANCELED_CREATE'¶ A constant which can be used with the action_type property of a WorkRequestResource. This constant has a value of “CANCELED_CREATE”
-
ACTION_TYPE_CANCELED_DELETE
= 'CANCELED_DELETE'¶ A constant which can be used with the action_type property of a WorkRequestResource. This constant has a value of “CANCELED_DELETE”
-
ACTION_TYPE_CANCELED_UPDATE
= 'CANCELED_UPDATE'¶ A constant which can be used with the action_type property of a WorkRequestResource. This constant has a value of “CANCELED_UPDATE”
-
ACTION_TYPE_CREATED
= 'CREATED'¶ A constant which can be used with the action_type property of a WorkRequestResource. This constant has a value of “CREATED”
-
ACTION_TYPE_DELETED
= 'DELETED'¶ A constant which can be used with the action_type property of a WorkRequestResource. This constant has a value of “DELETED”
-
ACTION_TYPE_FAILED
= 'FAILED'¶ A constant which can be used with the action_type property of a WorkRequestResource. This constant has a value of “FAILED”
-
ACTION_TYPE_IN_PROGRESS
= 'IN_PROGRESS'¶ A constant which can be used with the action_type property of a WorkRequestResource. This constant has a value of “IN_PROGRESS”
-
ACTION_TYPE_RELATED
= 'RELATED'¶ A constant which can be used with the action_type property of a WorkRequestResource. This constant has a value of “RELATED”
-
ACTION_TYPE_UPDATED
= 'UPDATED'¶ A constant which can be used with the action_type property of a WorkRequestResource. This constant has a value of “UPDATED”
-
__init__
(**kwargs)¶ Initializes a new WorkRequestResource object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - action_type (str) – The value to assign to the action_type property of this WorkRequestResource. Allowed values for this property are: “CREATED”, “UPDATED”, “DELETED”, “RELATED”, “IN_PROGRESS”, “FAILED”, “CANCELED_CREATE”, “CANCELED_UPDATE”, “CANCELED_DELETE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- entity_type (str) – The value to assign to the entity_type property of this WorkRequestResource.
- identifier (str) – The value to assign to the identifier property of this WorkRequestResource.
- entity_uri (str) – The value to assign to the entity_uri property of this WorkRequestResource.
-
action_type
¶ Gets the action_type of this WorkRequestResource. The way in which this resource was affected by the work tracked by the work request.
Allowed values for this property are: “CREATED”, “UPDATED”, “DELETED”, “RELATED”, “IN_PROGRESS”, “FAILED”, “CANCELED_CREATE”, “CANCELED_UPDATE”, “CANCELED_DELETE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The action_type of this WorkRequestResource. Return type: str
-
entity_type
¶ Gets the entity_type of this WorkRequestResource. The resource type the work request affects.
Returns: The entity_type of this WorkRequestResource. Return type: str
-
entity_uri
¶ Gets the entity_uri of this WorkRequestResource. The URI path on which the user can issue a GET request to access the resource metadata.
Returns: The entity_uri of this WorkRequestResource. Return type: str
-
identifier
¶ Gets the identifier of this WorkRequestResource. The OCID of the resource the work request affects.
Returns: The identifier of this WorkRequestResource. Return type: str
-