WorkRequestSubResource¶
-
class
oci.database_management.models.
WorkRequestSubResource
(**kwargs)¶ Bases:
object
The resource that is created or operated on by a work request.
Attributes
ACTION_TYPE_ACCEPTED
A constant which can be used with the action_type property of a WorkRequestSubResource. ACTION_TYPE_CREATED
A constant which can be used with the action_type property of a WorkRequestSubResource. ACTION_TYPE_DELETED
A constant which can be used with the action_type property of a WorkRequestSubResource. ACTION_TYPE_DISABLED
A constant which can be used with the action_type property of a WorkRequestSubResource. ACTION_TYPE_ENABLED
A constant which can be used with the action_type property of a WorkRequestSubResource. ACTION_TYPE_FAILED
A constant which can be used with the action_type property of a WorkRequestSubResource. ACTION_TYPE_IN_PROGRESS
A constant which can be used with the action_type property of a WorkRequestSubResource. ACTION_TYPE_RELATED
A constant which can be used with the action_type property of a WorkRequestSubResource. ACTION_TYPE_UPDATED
A constant which can be used with the action_type property of a WorkRequestSubResource. action_type
[Required] Gets the action_type of this WorkRequestSubResource. description
Gets the description of this WorkRequestSubResource. entity_name
[Required] Gets the entity_name of this WorkRequestSubResource. entity_type
[Required] Gets the entity_type of this WorkRequestSubResource. entity_uri
Gets the entity_uri of this WorkRequestSubResource. identifier
Gets the identifier of this WorkRequestSubResource. Methods
__init__
(**kwargs)Initializes a new WorkRequestSubResource object with values from keyword arguments. -
ACTION_TYPE_ACCEPTED
= 'ACCEPTED'¶ A constant which can be used with the action_type property of a WorkRequestSubResource. This constant has a value of “ACCEPTED”
-
ACTION_TYPE_CREATED
= 'CREATED'¶ A constant which can be used with the action_type property of a WorkRequestSubResource. This constant has a value of “CREATED”
-
ACTION_TYPE_DELETED
= 'DELETED'¶ A constant which can be used with the action_type property of a WorkRequestSubResource. This constant has a value of “DELETED”
-
ACTION_TYPE_DISABLED
= 'DISABLED'¶ A constant which can be used with the action_type property of a WorkRequestSubResource. This constant has a value of “DISABLED”
-
ACTION_TYPE_ENABLED
= 'ENABLED'¶ A constant which can be used with the action_type property of a WorkRequestSubResource. This constant has a value of “ENABLED”
-
ACTION_TYPE_FAILED
= 'FAILED'¶ A constant which can be used with the action_type property of a WorkRequestSubResource. 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 WorkRequestSubResource. 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 WorkRequestSubResource. This constant has a value of “RELATED”
-
ACTION_TYPE_UPDATED
= 'UPDATED'¶ A constant which can be used with the action_type property of a WorkRequestSubResource. This constant has a value of “UPDATED”
-
__init__
(**kwargs)¶ Initializes a new WorkRequestSubResource object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - entity_name (str) – The value to assign to the entity_name property of this WorkRequestSubResource.
- entity_type (str) – The value to assign to the entity_type property of this WorkRequestSubResource.
- action_type (str) – The value to assign to the action_type property of this WorkRequestSubResource. Allowed values for this property are: “CREATED”, “UPDATED”, “DELETED”, “IN_PROGRESS”, “RELATED”, “FAILED”, “ACCEPTED”, “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- identifier (str) – The value to assign to the identifier property of this WorkRequestSubResource.
- entity_uri (str) – The value to assign to the entity_uri property of this WorkRequestSubResource.
- description (str) – The value to assign to the description property of this WorkRequestSubResource.
-
action_type
¶ [Required] Gets the action_type of this WorkRequestSubResource. The way in which this resource is affected by the work tracked in the work request. A resource being created, updated, or deleted will remain in the IN_PROGRESS state until work is complete for that resource at which point it will transition to CREATED, UPDATED, or DELETED, respectively.
Allowed values for this property are: “CREATED”, “UPDATED”, “DELETED”, “IN_PROGRESS”, “RELATED”, “FAILED”, “ACCEPTED”, “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The action_type of this WorkRequestSubResource. Return type: str
-
description
¶ Gets the description of this WorkRequestSubResource. Description of the entity
Returns: The description of this WorkRequestSubResource. Return type: str
-
entity_name
¶ [Required] Gets the entity_name of this WorkRequestSubResource. The name of the subresource entity.
Returns: The entity_name of this WorkRequestSubResource. Return type: str
-
entity_type
¶ [Required] Gets the entity_type of this WorkRequestSubResource. The resource type the work request affects.
Returns: The entity_type of this WorkRequestSubResource. Return type: str
-
entity_uri
¶ Gets the entity_uri of this WorkRequestSubResource. The URI path that is used in a GET request to access the resource metadata.
Returns: The entity_uri of this WorkRequestSubResource. Return type: str
-
identifier
¶ Gets the identifier of this WorkRequestSubResource. The OCID or other unique identifier of the resource the work request affects.
Returns: The identifier of this WorkRequestSubResource. Return type: str
-