CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_work_requests_varchar2_tbl FORCE IS TABLE OF (varchar2(32767)) NOT PERSISTABLE;
DBMS_CLOUD_OCI_WORK_REQUESTS_ERROR_T Type 🔗
An error code and message from an API request failure.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_work_requests_error_t FORCE AUTHID CURRENT_USER IS OBJECT (
code varchar2(32767),
message varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_work_requests_error_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_work_requests_error_t (
code varchar2,
message varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
code
(required) A short error code that defines the error, meant for programmatic parsing. See API Errors.
message
(required) A human-readable error string.
DBMS_CLOUD_OCI_WORK_REQUESTS_WORK_REQUEST_RESOURCE_T Type 🔗
A resource that is created or operated on by an asynchronous operation that is tracked by a work request.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_work_requests_work_request_resource_t FORCE AUTHID CURRENT_USER IS OBJECT (
action_type varchar2(32767),
entity_type varchar2(32767),
identifier varchar2(32767),
entity_uri varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_work_requests_work_request_resource_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_work_requests_work_request_resource_t (
action_type varchar2,
entity_type varchar2,
identifier varchar2,
entity_uri varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
action_type
(required) The way in which this resource was affected by the operation that spawned the work request.
(required) The resource type the work request affects.
identifier
(required) An OCID or other unique identifier for the resource.
entity_uri
(optional) The URI path that you can use for a GET request to access the resource metadata.
DBMS_CLOUD_OCI_WORK_REQUESTS_WORK_REQUEST_RESOURCE_TBL Type 🔗
Nested table type of dbms_cloud_oci_work_requests_work_request_resource_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_work_requests_work_request_resource_tbl FORCE IS TABLE OF (dbms_cloud_oci_work_requests_work_request_resource_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_WORK_REQUESTS_WORK_REQUEST_T Type 🔗
An asynchronous work request.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_work_requests_work_request_t FORCE AUTHID CURRENT_USER IS OBJECT (
operation_type varchar2(32767),
status varchar2(32767),
id varchar2(32767),
compartment_id varchar2(32767),
resources dbms_cloud_oci_work_requests_work_request_resource_tbl,
percent_complete number,
time_accepted timestamp with time zone,
time_started timestamp with time zone,
time_finished timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_work_requests_work_request_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_work_requests_work_request_t (
operation_type varchar2,
status varchar2,
id varchar2,
compartment_id varchar2,
resources dbms_cloud_oci_work_requests_work_request_resource_tbl,
percent_complete number,
time_accepted timestamp with time zone,
time_started timestamp with time zone,
time_finished timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
operation_type
(required) The asynchronous operation tracked by this work request.
(required) The OCID of the compartment that contains the work request.
resources
(required) The resources that are affected by this work request.
percent_complete
(required) The percentage complete of the operation tracked by this work request.
time_accepted
(required) The date and time the work request was created, in the format defined by RFC3339.
time_started
(optional) The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`, in the format defined by RFC3339.
time_finished
(optional) The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`. Format is defined by RFC3339.
DBMS_CLOUD_OCI_WORK_REQUESTS_WORK_REQUEST_ERROR_T Type 🔗
An error encountered while executing an operation that is tracked by a work request.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_work_requests_work_request_error_t FORCE AUTHID CURRENT_USER IS OBJECT (
code varchar2(32767),
message varchar2(32767),
l_timestamp timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_work_requests_work_request_error_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_work_requests_work_request_error_t (
code varchar2,
message varchar2,
l_timestamp timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
code
(required) A machine-usable code for the error that occured.
message
(required) A human-readable error string.
l_timestamp
(required) The date and time the error occurred.
DBMS_CLOUD_OCI_WORK_REQUESTS_WORK_REQUEST_LOG_ENTRY_T Type 🔗
A log message from executing an operation that is tracked by a work request.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_work_requests_work_request_log_entry_t FORCE AUTHID CURRENT_USER IS OBJECT (
message varchar2(32767),
l_timestamp timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_work_requests_work_request_log_entry_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_work_requests_work_request_log_entry_t (
message varchar2,
l_timestamp timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
message
(required) A human-readable log message.
l_timestamp
(required) The date and time the log message was written.
DBMS_CLOUD_OCI_WORK_REQUESTS_WORK_REQUEST_SUMMARY_T Type 🔗
A summary of the status of a work request.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_work_requests_work_request_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
operation_type varchar2(32767),
status varchar2(32767),
id varchar2(32767),
compartment_id varchar2(32767),
percent_complete number,
time_accepted timestamp with time zone,
time_started timestamp with time zone,
time_finished timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_work_requests_work_request_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_work_requests_work_request_summary_t (
operation_type varchar2,
status varchar2,
id varchar2,
compartment_id varchar2,
percent_complete number,
time_accepted timestamp with time zone,
time_started timestamp with time zone,
time_finished timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
operation_type
(required) The asynchronous operation tracked by this work request.