IamWorkRequestResource¶
-
class
oci.identity.models.IamWorkRequestResource(**kwargs)¶ Bases:
object(For tenancies that support identity domains) A IAM work request resource entry.
Attributes
ACTION_TYPE_CREATEDA constant which can be used with the action_type property of a IamWorkRequestResource. ACTION_TYPE_DELETEDA constant which can be used with the action_type property of a IamWorkRequestResource. ACTION_TYPE_IN_PROGRESSA constant which can be used with the action_type property of a IamWorkRequestResource. ACTION_TYPE_RELATEDA constant which can be used with the action_type property of a IamWorkRequestResource. ACTION_TYPE_UPDATEDA constant which can be used with the action_type property of a IamWorkRequestResource. action_type[Required] Gets the action_type of this IamWorkRequestResource. entity_type[Required] Gets the entity_type of this IamWorkRequestResource. entity_uriGets the entity_uri of this IamWorkRequestResource. identifier[Required] Gets the identifier of this IamWorkRequestResource. Methods
__init__(**kwargs)Initializes a new IamWorkRequestResource object with values from keyword arguments. -
ACTION_TYPE_CREATED= 'CREATED'¶ A constant which can be used with the action_type property of a IamWorkRequestResource. This constant has a value of “CREATED”
-
ACTION_TYPE_DELETED= 'DELETED'¶ A constant which can be used with the action_type property of a IamWorkRequestResource. This constant has a value of “DELETED”
-
ACTION_TYPE_IN_PROGRESS= 'IN_PROGRESS'¶ A constant which can be used with the action_type property of a IamWorkRequestResource. 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 IamWorkRequestResource. This constant has a value of “RELATED”
-
ACTION_TYPE_UPDATED= 'UPDATED'¶ A constant which can be used with the action_type property of a IamWorkRequestResource. This constant has a value of “UPDATED”
-
__init__(**kwargs)¶ Initializes a new IamWorkRequestResource 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 IamWorkRequestResource. Allowed values for this property are: “CREATED”, “UPDATED”, “DELETED”, “RELATED”, “IN_PROGRESS”, ‘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 IamWorkRequestResource.
- identifier (str) – The value to assign to the identifier property of this IamWorkRequestResource.
- entity_uri (str) – The value to assign to the entity_uri property of this IamWorkRequestResource.
-
action_type¶ [Required] Gets the action_type of this IamWorkRequestResource. 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”, “RELATED”, “IN_PROGRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The action_type of this IamWorkRequestResource. Return type: str
-
entity_type¶ [Required] Gets the entity_type of this IamWorkRequestResource. The resource type the work request is affects.
Returns: The entity_type of this IamWorkRequestResource. Return type: str
-
entity_uri¶ Gets the entity_uri of this IamWorkRequestResource. The URI path that the user can do a GET on to access the resource metadata.
Returns: The entity_uri of this IamWorkRequestResource. Return type: str
-
identifier¶ [Required] Gets the identifier of this IamWorkRequestResource. An OCID of the resource that the work request affects.
Returns: The identifier of this IamWorkRequestResource. Return type: str
-