WorkRequestResource¶
-
class
oci.analytics.models.WorkRequestResource(**kwargs)¶ Bases:
objectWorkRequestResource model.
Attributes
ACTION_RESULT_COMPARTMENT_CHANGEDA constant which can be used with the action_result property of a WorkRequestResource. ACTION_RESULT_CREATEDA constant which can be used with the action_result property of a WorkRequestResource. ACTION_RESULT_DELETEDA constant which can be used with the action_result property of a WorkRequestResource. ACTION_RESULT_NETWORK_ENDPOINT_CHANGEDA constant which can be used with the action_result property of a WorkRequestResource. ACTION_RESULT_NONEA constant which can be used with the action_result property of a WorkRequestResource. ACTION_RESULT_PRIVATE_ACCESS_CHANNEL_CREATEDA constant which can be used with the action_result property of a WorkRequestResource. ACTION_RESULT_PRIVATE_ACCESS_CHANNEL_DELETEDA constant which can be used with the action_result property of a WorkRequestResource. ACTION_RESULT_PRIVATE_ACCESS_CHANNEL_UPDATEDA constant which can be used with the action_result property of a WorkRequestResource. ACTION_RESULT_SCALEDA constant which can be used with the action_result property of a WorkRequestResource. ACTION_RESULT_STARTEDA constant which can be used with the action_result property of a WorkRequestResource. ACTION_RESULT_STOPPEDA constant which can be used with the action_result property of a WorkRequestResource. ACTION_RESULT_VANITY_URL_CREATEDA constant which can be used with the action_result property of a WorkRequestResource. ACTION_RESULT_VANITY_URL_DELETEDA constant which can be used with the action_result property of a WorkRequestResource. ACTION_RESULT_VANITY_URL_UPDATEDA constant which can be used with the action_result property of a WorkRequestResource. RESOURCE_TYPE_ANALYTICS_INSTANCEA constant which can be used with the resource_type property of a WorkRequestResource. action_result[Required] Gets the action_result of this WorkRequestResource. identifier[Required] Gets the identifier of this WorkRequestResource. metadataGets the metadata of this WorkRequestResource. resource_type[Required] Gets the resource_type of this WorkRequestResource. resource_uri[Required] Gets the resource_uri of this WorkRequestResource. Methods
__init__(**kwargs)Initializes a new WorkRequestResource object with values from keyword arguments. -
ACTION_RESULT_COMPARTMENT_CHANGED= 'COMPARTMENT_CHANGED'¶ A constant which can be used with the action_result property of a WorkRequestResource. This constant has a value of “COMPARTMENT_CHANGED”
-
ACTION_RESULT_CREATED= 'CREATED'¶ A constant which can be used with the action_result property of a WorkRequestResource. This constant has a value of “CREATED”
-
ACTION_RESULT_DELETED= 'DELETED'¶ A constant which can be used with the action_result property of a WorkRequestResource. This constant has a value of “DELETED”
-
ACTION_RESULT_NETWORK_ENDPOINT_CHANGED= 'NETWORK_ENDPOINT_CHANGED'¶ A constant which can be used with the action_result property of a WorkRequestResource. This constant has a value of “NETWORK_ENDPOINT_CHANGED”
-
ACTION_RESULT_NONE= 'NONE'¶ A constant which can be used with the action_result property of a WorkRequestResource. This constant has a value of “NONE”
-
ACTION_RESULT_PRIVATE_ACCESS_CHANNEL_CREATED= 'PRIVATE_ACCESS_CHANNEL_CREATED'¶ A constant which can be used with the action_result property of a WorkRequestResource. This constant has a value of “PRIVATE_ACCESS_CHANNEL_CREATED”
-
ACTION_RESULT_PRIVATE_ACCESS_CHANNEL_DELETED= 'PRIVATE_ACCESS_CHANNEL_DELETED'¶ A constant which can be used with the action_result property of a WorkRequestResource. This constant has a value of “PRIVATE_ACCESS_CHANNEL_DELETED”
-
ACTION_RESULT_PRIVATE_ACCESS_CHANNEL_UPDATED= 'PRIVATE_ACCESS_CHANNEL_UPDATED'¶ A constant which can be used with the action_result property of a WorkRequestResource. This constant has a value of “PRIVATE_ACCESS_CHANNEL_UPDATED”
-
ACTION_RESULT_SCALED= 'SCALED'¶ A constant which can be used with the action_result property of a WorkRequestResource. This constant has a value of “SCALED”
-
ACTION_RESULT_STARTED= 'STARTED'¶ A constant which can be used with the action_result property of a WorkRequestResource. This constant has a value of “STARTED”
-
ACTION_RESULT_STOPPED= 'STOPPED'¶ A constant which can be used with the action_result property of a WorkRequestResource. This constant has a value of “STOPPED”
-
ACTION_RESULT_VANITY_URL_CREATED= 'VANITY_URL_CREATED'¶ A constant which can be used with the action_result property of a WorkRequestResource. This constant has a value of “VANITY_URL_CREATED”
-
ACTION_RESULT_VANITY_URL_DELETED= 'VANITY_URL_DELETED'¶ A constant which can be used with the action_result property of a WorkRequestResource. This constant has a value of “VANITY_URL_DELETED”
-
ACTION_RESULT_VANITY_URL_UPDATED= 'VANITY_URL_UPDATED'¶ A constant which can be used with the action_result property of a WorkRequestResource. This constant has a value of “VANITY_URL_UPDATED”
-
RESOURCE_TYPE_ANALYTICS_INSTANCE= 'ANALYTICS_INSTANCE'¶ A constant which can be used with the resource_type property of a WorkRequestResource. This constant has a value of “ANALYTICS_INSTANCE”
-
__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_result (str) – The value to assign to the action_result property of this WorkRequestResource. Allowed values for this property are: “COMPARTMENT_CHANGED”, “CREATED”, “DELETED”, “STARTED”, “STOPPED”, “SCALED”, “NETWORK_ENDPOINT_CHANGED”, “VANITY_URL_CREATED”, “VANITY_URL_UPDATED”, “VANITY_URL_DELETED”, “PRIVATE_ACCESS_CHANNEL_CREATED”, “PRIVATE_ACCESS_CHANNEL_UPDATED”, “PRIVATE_ACCESS_CHANNEL_DELETED”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- resource_type (str) – The value to assign to the resource_type property of this WorkRequestResource. Allowed values for this property are: “ANALYTICS_INSTANCE”, ‘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 WorkRequestResource.
- resource_uri (str) – The value to assign to the resource_uri property of this WorkRequestResource.
- metadata (dict(str, str)) – The value to assign to the metadata property of this WorkRequestResource.
-
action_result¶ [Required] Gets the action_result of this WorkRequestResource. The way in which this resource was affected by this work request.
Allowed values for this property are: “COMPARTMENT_CHANGED”, “CREATED”, “DELETED”, “STARTED”, “STOPPED”, “SCALED”, “NETWORK_ENDPOINT_CHANGED”, “VANITY_URL_CREATED”, “VANITY_URL_UPDATED”, “VANITY_URL_DELETED”, “PRIVATE_ACCESS_CHANNEL_CREATED”, “PRIVATE_ACCESS_CHANNEL_UPDATED”, “PRIVATE_ACCESS_CHANNEL_DELETED”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The action_result of this WorkRequestResource. Return type: str
-
identifier¶ [Required] Gets the identifier of this WorkRequestResource. The OCID of the resource the work request is affecting.
Returns: The identifier of this WorkRequestResource. Return type: str
-
metadata¶ Gets the metadata of this WorkRequestResource. Additional metadata of the resource.
Returns: The metadata of this WorkRequestResource. Return type: dict(str, str)
-
resource_type¶ [Required] Gets the resource_type of this WorkRequestResource. The type of the resource the work request is affecting.
Allowed values for this property are: “ANALYTICS_INSTANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The resource_type of this WorkRequestResource. Return type: str
-
resource_uri¶ [Required] Gets the resource_uri of this WorkRequestResource. The URI of the affected resource.
Returns: The resource_uri of this WorkRequestResource. Return type: str
-