Service Connector Hub Common Types

DBMS_CLOUD_OCI_SCH_VARCHAR2_TBL Type

Nested table type of varchar2(32767).

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_varchar2_tbl FORCE IS TABLE OF (varchar2(32767)) NOT PERSISTABLE;

DBMS_CLOUD_OCI_SCH_CHANGE_SERVICE_CONNECTOR_COMPARTMENT_DETAILS_T Type

The configuration details for moving a service connector to a different compartment.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_change_service_connector_compartment_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  compartment_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_change_service_connector_compartment_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_change_service_connector_compartment_details_t (
    compartment_id varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

compartment_id

(required) The OCID of the compartment to move the service connector to.

DBMS_CLOUD_OCI_SCH_SOURCE_DETAILS_T Type

An object that represents the source of the flow defined by the service connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_source_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  kind varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_source_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_source_details_t (
    kind varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

kind

(required) The type descriminator.

Allowed values are: 'logging', 'monitoring', 'streaming'

DBMS_CLOUD_OCI_SCH_TASK_DETAILS_T Type

An object that represents a task within the flow defined by the service connector. An example task is a filter for error logs. For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_task_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  kind varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_task_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_task_details_t (
    kind varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

kind

(required) The type descriminator.

Allowed values are: 'function', 'logRule'

DBMS_CLOUD_OCI_SCH_TARGET_DETAILS_T Type

An object that represents the target of the flow defined by the service connector. An example target is a stream (Streaming service). For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_target_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  kind varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_target_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_target_details_t (
    kind varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

kind

(required) The type descriminator.

Allowed values are: 'functions', 'loggingAnalytics', 'monitoring', 'notifications', 'objectStorage', 'streaming'

DBMS_CLOUD_OCI_SCH_TASK_DETAILS_TBL Type

Nested table type of dbms_cloud_oci_sch_task_details_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_task_details_tbl FORCE IS TABLE OF (dbms_cloud_oci_sch_task_details_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_SCH_CREATE_SERVICE_CONNECTOR_DETAILS_T Type

The configuration details for creating a service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_create_service_connector_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  display_name varchar2(32767),
  compartment_id varchar2(32767),
  description varchar2(32767),
  source dbms_cloud_oci_sch_source_details_t,
  tasks dbms_cloud_oci_sch_task_details_tbl,
  target dbms_cloud_oci_sch_target_details_t,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_create_service_connector_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_create_service_connector_details_t (
    display_name varchar2,
    compartment_id varchar2,
    description varchar2,
    source dbms_cloud_oci_sch_source_details_t,
    tasks dbms_cloud_oci_sch_task_details_tbl,
    target dbms_cloud_oci_sch_target_details_t,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

display_name

(required) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.

compartment_id

(required) The OCID of the comparment to create the service connector in.

description

(optional) The description of the resource. Avoid entering confidential information.

source

(required)

tasks

(optional) The list of tasks.

target

(required)

freeform_tags

(optional) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`

DBMS_CLOUD_OCI_SCH_DIMENSION_VALUE_DETAILS_T Type

Instructions for extracting the value corresponding to the specified dimension key: Either extract the value as-is (static) or derive the value from a path (evaluated).

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_dimension_value_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  kind varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_dimension_value_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_dimension_value_details_t (
    kind varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

kind

(required) The type of dimension value: static or evaluated.

Allowed values are: 'jmesPath', 'static'

DBMS_CLOUD_OCI_SCH_DIMENSION_DETAILS_T Type

A dimension name and value.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_dimension_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  dimension_value dbms_cloud_oci_sch_dimension_value_details_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_dimension_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_dimension_details_t (
    name varchar2,
    dimension_value dbms_cloud_oci_sch_dimension_value_details_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces. Custom dimension keys are acceptable. Avoid entering confidential information. Due to use by Service Connector Hub, the following dimension names are reserved: `connectorId`, `connectorName`, `connectorSourceType`. For information on valid dimension keys and values, see METRIC_DATA_DETAILS Function. Example: `type`

dimension_value

(required)

DBMS_CLOUD_OCI_SCH_ERROR_T Type

Error Information.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_error_t FORCE AUTHID CURRENT_USER IS OBJECT (
  code varchar2(32767),
  message varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_error_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_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.

message

(required) A human-readable error string.

DBMS_CLOUD_OCI_SCH_FUNCTION_TASK_DETAILS_T Type

The Functions task. Batch input for a function can be limited by either size or time. The first limit reached determines the boundary of the batch. For configuration instructions, see To create a service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_function_task_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_task_details_t (
  function_id varchar2(32767),
  batch_size_in_kbs number,
  batch_time_in_sec number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_function_task_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_function_task_details_t (
    kind varchar2,
    function_id varchar2,
    batch_size_in_kbs number,
    batch_time_in_sec number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_function_task_details_t is a subtype of the dbms_cloud_oci_sch_task_details_t type.

Fields

Field Description

function_id

(required) The OCID of the function to be used as a task.

batch_size_in_kbs

(optional) Size limit (kilobytes) for batch sent to invoke the function.

batch_time_in_sec

(optional) Time limit (seconds) for batch sent to invoke the function.

DBMS_CLOUD_OCI_SCH_FUNCTIONS_TARGET_DETAILS_T Type

The function used for the Functions target. For configuration instructions, see To create a service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_functions_target_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_target_details_t (
  function_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_functions_target_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_functions_target_details_t (
    kind varchar2,
    function_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_functions_target_details_t is a subtype of the dbms_cloud_oci_sch_target_details_t type.

Fields

Field Description

function_id

(required) The OCID of the function.

DBMS_CLOUD_OCI_SCH_JMES_PATH_DIMENSION_VALUE_T Type

Evaluated type of dimension value.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_jmes_path_dimension_value_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_dimension_value_details_t (
  path varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_jmes_path_dimension_value_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_jmes_path_dimension_value_t (
    kind varchar2,
    path varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_jmes_path_dimension_value_t is a subtype of the dbms_cloud_oci_sch_dimension_value_details_t type.

Fields

Field Description

path

(required) The location to use for deriving the dimension value (evaluated). The path must start with `logContent` in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (`.` and `METRIC_DATA_DETAILS Function. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value `\"compartmentId\"` is returned as `compartmentId`.) If the evaluated value is invalid, then the returned value is `SCH_EVAL_INVALID_VALUE`. If the evaluated value is empty, then the returned value is `SCH_EVAL_VALUE_EMPTY`.

DBMS_CLOUD_OCI_SCH_STREAMING_CURSOR_DETAILS_T Type

The type of cursor, which determines the starting point from which the stream will be consumed.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_streaming_cursor_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  kind varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_streaming_cursor_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_streaming_cursor_details_t (
    kind varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

kind

(required) The type descriminator.

Allowed values are: 'LATEST', 'TRIM_HORIZON'

DBMS_CLOUD_OCI_SCH_LATEST_STREAMING_CURSOR_T Type

`LATEST` cursor type. Sets the starting point for consuming the stream at messages published after saving the service connector. For more information about Streaming cursors, see Using Cursors.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_latest_streaming_cursor_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_streaming_cursor_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_latest_streaming_cursor_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_latest_streaming_cursor_t (
    kind varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_latest_streaming_cursor_t is a subtype of the dbms_cloud_oci_sch_streaming_cursor_details_t type.

DBMS_CLOUD_OCI_SCH_LOG_RULE_TASK_DETAILS_T Type

The log rule task. For configuration instructions, see To create a service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_log_rule_task_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_task_details_t (
  condition varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_log_rule_task_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_log_rule_task_details_t (
    kind varchar2,
    condition varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_log_rule_task_details_t is a subtype of the dbms_cloud_oci_sch_task_details_t type.

Fields

Field Description

condition

(required) A filter or mask to limit the source used in the flow defined by the service connector.

DBMS_CLOUD_OCI_SCH_LOG_SOURCE_T Type

The logs for this Logging source.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_log_source_t FORCE AUTHID CURRENT_USER IS OBJECT (
  compartment_id varchar2(32767),
  log_group_id varchar2(32767),
  log_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_log_source_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_log_source_t (
    compartment_id varchar2,
    log_group_id varchar2,
    log_id varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

compartment_id

(required) The OCID of the compartment containing the log source.

log_group_id

(optional) The OCID of the log group.

log_id

(optional) The OCID of the log.

DBMS_CLOUD_OCI_SCH_LOGGING_ANALYTICS_TARGET_DETAILS_T Type

The log group used for the Logging Analytics target. For configuration instructions, see To create a service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_logging_analytics_target_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_target_details_t (
  log_group_id varchar2(32767),
  log_source_identifier varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_logging_analytics_target_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_logging_analytics_target_details_t (
    kind varchar2,
    log_group_id varchar2,
    log_source_identifier varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_logging_analytics_target_details_t is a subtype of the dbms_cloud_oci_sch_target_details_t type.

Fields

Field Description

log_group_id

(required) The OCID of the Logging Analytics log group.

log_source_identifier

(optional) Identifier of the log source that you want to use for processing data received from the service connector source. Applies to `StreamingSource` only. Equivalent to `name` at LOG_ANALYTICS_SOURCE Type.

DBMS_CLOUD_OCI_SCH_LOG_SOURCE_TBL Type

Nested table type of dbms_cloud_oci_sch_log_source_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_log_source_tbl FORCE IS TABLE OF (dbms_cloud_oci_sch_log_source_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_SCH_LOGGING_SOURCE_DETAILS_T Type

The Logging source. For configuration instructions, see To create a service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_logging_source_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_source_details_t (
  log_sources dbms_cloud_oci_sch_log_source_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_logging_source_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_logging_source_details_t (
    kind varchar2,
    log_sources dbms_cloud_oci_sch_log_source_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_logging_source_details_t is a subtype of the dbms_cloud_oci_sch_source_details_t type.

Fields

Field Description

log_sources

(required) The logs for this Logging source.

DBMS_CLOUD_OCI_SCH_MONITORING_SOURCE_NAMESPACE_DETAILS_T Type

Discriminator for namespaces in the compartment-specific list.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_monitoring_source_namespace_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  kind varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_source_namespace_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_source_namespace_details_t (
    kind varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

kind

(required) The type discriminator.

Allowed values are: 'selected'

DBMS_CLOUD_OCI_SCH_MONITORING_SOURCE_T Type

A compartment-specific list of metric namespaces to retrieve data from.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_monitoring_source_t FORCE AUTHID CURRENT_USER IS OBJECT (
  compartment_id varchar2(32767),
  namespace_details dbms_cloud_oci_sch_monitoring_source_namespace_details_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_source_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_source_t (
    compartment_id varchar2,
    namespace_details dbms_cloud_oci_sch_monitoring_source_namespace_details_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

compartment_id

(required) The OCID of the compartment containing the metric namespaces you want to use for the Monitoring source.

namespace_details

(required)

DBMS_CLOUD_OCI_SCH_MONITORING_SOURCE_METRIC_DETAILS_T Type

The metrics to query for the specified metric namespace.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_monitoring_source_metric_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  kind varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_source_metric_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_source_metric_details_t (
    kind varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

kind

(required) The type descriminator.

Allowed values are: 'all'

DBMS_CLOUD_OCI_SCH_MONITORING_SOURCE_ALL_METRICS_T Type

Discriminator for metrics in the compartment-specific list.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_monitoring_source_all_metrics_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_monitoring_source_metric_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_source_all_metrics_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_source_all_metrics_t (
    kind varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_monitoring_source_all_metrics_t is a subtype of the dbms_cloud_oci_sch_monitoring_source_metric_details_t type.

DBMS_CLOUD_OCI_SCH_MONITORING_SOURCE_TBL Type

Nested table type of dbms_cloud_oci_sch_monitoring_source_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_monitoring_source_tbl FORCE IS TABLE OF (dbms_cloud_oci_sch_monitoring_source_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_SCH_MONITORING_SOURCE_DETAILS_T Type

The Monitoring source. For configuration instructions, see To create a service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_monitoring_source_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_source_details_t (
  monitoring_sources dbms_cloud_oci_sch_monitoring_source_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_source_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_source_details_t (
    kind varchar2,
    monitoring_sources dbms_cloud_oci_sch_monitoring_source_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_monitoring_source_details_t is a subtype of the dbms_cloud_oci_sch_source_details_t type.

Fields

Field Description

monitoring_sources

(required) The list of metric namespaces to retrieve data from.

DBMS_CLOUD_OCI_SCH_MONITORING_SOURCE_SELECTED_NAMESPACE_T Type

A metric namespace for the compartment-specific list.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_monitoring_source_selected_namespace_t FORCE AUTHID CURRENT_USER IS OBJECT (
  namespace varchar2(32767),
  metrics dbms_cloud_oci_sch_monitoring_source_metric_details_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_source_selected_namespace_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_source_selected_namespace_t (
    namespace varchar2,
    metrics dbms_cloud_oci_sch_monitoring_source_metric_details_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

namespace

(required) The source service or application to use when querying for metric data points. Must begin with `oci_`. Example: `oci_computeagent`

metrics

(required)

DBMS_CLOUD_OCI_SCH_MONITORING_SOURCE_SELECTED_NAMESPACE_TBL Type

Nested table type of dbms_cloud_oci_sch_monitoring_source_selected_namespace_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_monitoring_source_selected_namespace_tbl FORCE IS TABLE OF (dbms_cloud_oci_sch_monitoring_source_selected_namespace_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_SCH_MONITORING_SOURCE_SELECTED_NAMESPACE_DETAILS_T Type

The namespaces for the compartment-specific list.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_monitoring_source_selected_namespace_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_monitoring_source_namespace_details_t (
  namespaces dbms_cloud_oci_sch_monitoring_source_selected_namespace_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_source_selected_namespace_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_source_selected_namespace_details_t (
    kind varchar2,
    namespaces dbms_cloud_oci_sch_monitoring_source_selected_namespace_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_monitoring_source_selected_namespace_details_t is a subtype of the dbms_cloud_oci_sch_monitoring_source_namespace_details_t type.

Fields

Field Description

namespaces

(required) The namespaces for the compartment-specific list.

DBMS_CLOUD_OCI_SCH_DIMENSION_DETAILS_TBL Type

Nested table type of dbms_cloud_oci_sch_dimension_details_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_dimension_details_tbl FORCE IS TABLE OF (dbms_cloud_oci_sch_dimension_details_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_SCH_MONITORING_TARGET_DETAILS_T Type

The metric and metric namespace used for the Monitoring target. For configuration instructions, see To create a service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_monitoring_target_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_target_details_t (
  compartment_id varchar2(32767),
  metric_namespace varchar2(32767),
  metric varchar2(32767),
  dimensions dbms_cloud_oci_sch_dimension_details_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_target_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_monitoring_target_details_t (
    kind varchar2,
    compartment_id varchar2,
    metric_namespace varchar2,
    metric varchar2,
    dimensions dbms_cloud_oci_sch_dimension_details_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_monitoring_target_details_t is a subtype of the dbms_cloud_oci_sch_target_details_t type.

Fields

Field Description

compartment_id

(required) The OCID of the compartment containing the metric.

metric_namespace

(required) The namespace of the metric. Example: `oci_computeagent`

metric

(required) The name of the metric. Example: `CpuUtilization`

dimensions

(optional) List of dimension names and values.

DBMS_CLOUD_OCI_SCH_NOTIFICATIONS_TARGET_DETAILS_T Type

The topic used for the Notifications target. For configuration instructions, see To create a service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_notifications_target_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_target_details_t (
  topic_id varchar2(32767),
  enable_formatted_messaging number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_notifications_target_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_notifications_target_details_t (
    kind varchar2,
    topic_id varchar2,
    enable_formatted_messaging number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_notifications_target_details_t is a subtype of the dbms_cloud_oci_sch_target_details_t type.

Fields

Field Description

topic_id

(required) The OCID of the topic.

enable_formatted_messaging

(optional) Whether to apply a simplified, user-friendly format to the message. Applies only when friendly formatting is supported by the service connector source and the subscription protocol. Example: `true`

DBMS_CLOUD_OCI_SCH_OBJECT_STORAGE_TARGET_DETAILS_T Type

The bucket used for the Object Storage target. For configuration instructions, see To create a service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_object_storage_target_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_target_details_t (
  namespace varchar2(32767),
  bucket_name varchar2(32767),
  object_name_prefix varchar2(32767),
  batch_rollover_size_in_m_bs number,
  batch_rollover_time_in_ms number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_object_storage_target_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_object_storage_target_details_t (
    kind varchar2,
    namespace varchar2,
    bucket_name varchar2,
    object_name_prefix varchar2,
    batch_rollover_size_in_m_bs number,
    batch_rollover_time_in_ms number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_object_storage_target_details_t is a subtype of the dbms_cloud_oci_sch_target_details_t type.

Fields

Field Description

namespace

(optional) The namespace.

bucket_name

(required) The name of the bucket. Avoid entering confidential information.

object_name_prefix

(optional) The prefix of the objects. Avoid entering confidential information.

batch_rollover_size_in_m_bs

(optional) The batch rollover size in megabytes.

batch_rollover_time_in_ms

(optional) The batch rollover time in milliseconds.

DBMS_CLOUD_OCI_SCH_SERVICE_CONNECTOR_T Type

The configuration details of the flow defined by the service connector. For more information about flows defined by service connectors, see Service Connector Hub Overview.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_service_connector_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  compartment_id varchar2(32767),
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecyle_details varchar2(32767),
  source dbms_cloud_oci_sch_source_details_t,
  tasks dbms_cloud_oci_sch_task_details_tbl,
  target dbms_cloud_oci_sch_target_details_t,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_service_connector_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_service_connector_t (
    id varchar2,
    display_name varchar2,
    description varchar2,
    compartment_id varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecyle_details varchar2,
    source dbms_cloud_oci_sch_source_details_t,
    tasks dbms_cloud_oci_sch_task_details_tbl,
    target dbms_cloud_oci_sch_target_details_t,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of the service connector.

display_name

(required) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.

description

(optional) The description of the resource. Avoid entering confidential information.

compartment_id

(required) The OCID of the compartment containing the service connector.

time_created

(required) The date and time when the service connector was created. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z`

time_updated

(required) The date and time when the service connector was updated. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z`

lifecycle_state

(required) The current state of the service connector.

Allowed values are: 'CREATING', 'UPDATING', 'ACTIVE', 'INACTIVE', 'DELETING', 'DELETED', 'FAILED'

lifecyle_details

(optional) A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a `FAILED` state.

source

(optional)

tasks

(optional) The list of tasks.

target

(optional)

freeform_tags

(optional) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`

system_tags

(optional) The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: `{orcl-cloud: {free-tier-retain: true}}`

DBMS_CLOUD_OCI_SCH_SERVICE_CONNECTOR_SUMMARY_T Type

A summary of properties for the specified service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_service_connector_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  compartment_id varchar2(32767),
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_service_connector_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_service_connector_summary_t (
    id varchar2,
    display_name varchar2,
    description varchar2,
    compartment_id varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of the service connector.

display_name

(required) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.

description

(optional) The description of the resource. Avoid entering confidential information.

compartment_id

(required) The OCID of the compartment containing the service connector.

time_created

(required) The date and time when the service connector was created. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z`

time_updated

(required) The date and time when the service connector was updated. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z`

lifecycle_state

(required) The current state of the service connector.

Allowed values are: 'CREATING', 'UPDATING', 'ACTIVE', 'INACTIVE', 'DELETING', 'DELETED', 'FAILED'

lifecycle_details

(optional) A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a `FAILED` state.

freeform_tags

(optional) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`

system_tags

(optional) The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: `{orcl-cloud: {free-tier-retain: true}}`

DBMS_CLOUD_OCI_SCH_SERVICE_CONNECTOR_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_sch_service_connector_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_service_connector_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_sch_service_connector_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_SCH_SERVICE_CONNECTOR_COLLECTION_T Type

Collection of service connector property summaries.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_service_connector_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  items dbms_cloud_oci_sch_service_connector_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_service_connector_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_service_connector_collection_t (
    items dbms_cloud_oci_sch_service_connector_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

items

(required) The list of items.

DBMS_CLOUD_OCI_SCH_STATIC_DIMENSION_VALUE_T Type

Static type of dimension value (passed as-is).

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_static_dimension_value_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_dimension_value_details_t (
  value varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_static_dimension_value_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_static_dimension_value_t (
    kind varchar2,
    value varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_static_dimension_value_t is a subtype of the dbms_cloud_oci_sch_dimension_value_details_t type.

Fields

Field Description

value

(required) The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see METRIC_DATA_DETAILS Function.

DBMS_CLOUD_OCI_SCH_STREAMING_SOURCE_DETAILS_T Type

The Streaming source.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_streaming_source_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_source_details_t (
  stream_id varchar2(32767),
  l_cursor dbms_cloud_oci_sch_streaming_cursor_details_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_streaming_source_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_streaming_source_details_t (
    kind varchar2,
    stream_id varchar2,
    l_cursor dbms_cloud_oci_sch_streaming_cursor_details_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_streaming_source_details_t is a subtype of the dbms_cloud_oci_sch_source_details_t type.

Fields

Field Description

stream_id

(required) The OCID of the stream.

l_cursor

(optional)

DBMS_CLOUD_OCI_SCH_STREAMING_TARGET_DETAILS_T Type

The stream used for the Streaming target. For configuration instructions, see To create a service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_streaming_target_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_target_details_t (
  stream_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_streaming_target_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_streaming_target_details_t (
    kind varchar2,
    stream_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_streaming_target_details_t is a subtype of the dbms_cloud_oci_sch_target_details_t type.

Fields

Field Description

stream_id

(required) The OCID of the stream.

DBMS_CLOUD_OCI_SCH_TRIM_HORIZON_STREAMING_CURSOR_T Type

`TRIM_HORIZON` cursor type. Sets the starting point for consuming the stream at the oldest available message in the stream. For more information about Streaming cursors, see Using Cursors.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_trim_horizon_streaming_cursor_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_sch_streaming_cursor_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_trim_horizon_streaming_cursor_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_trim_horizon_streaming_cursor_t (
    kind varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_sch_trim_horizon_streaming_cursor_t is a subtype of the dbms_cloud_oci_sch_streaming_cursor_details_t type.

DBMS_CLOUD_OCI_SCH_UPDATE_SERVICE_CONNECTOR_DETAILS_T Type

The configuration details for updating a service connector.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_update_service_connector_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  display_name varchar2(32767),
  description varchar2(32767),
  source dbms_cloud_oci_sch_source_details_t,
  tasks dbms_cloud_oci_sch_task_details_tbl,
  target dbms_cloud_oci_sch_target_details_t,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_update_service_connector_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_update_service_connector_details_t (
    display_name varchar2,
    description varchar2,
    source dbms_cloud_oci_sch_source_details_t,
    tasks dbms_cloud_oci_sch_task_details_tbl,
    target dbms_cloud_oci_sch_target_details_t,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

display_name

(optional) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.

description

(optional) The description of the resource. Avoid entering confidential information.

source

(optional)

tasks

(optional) The list of the tasks.

target

(optional)

freeform_tags

(optional) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`

DBMS_CLOUD_OCI_SCH_WORK_REQUEST_RESOURCE_T Type

A resource created or operated on by a work request.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_work_request_resource_t FORCE AUTHID CURRENT_USER IS OBJECT (
  entity_type varchar2(32767),
  action_type varchar2(32767),
  identifier varchar2(32767),
  entity_uri varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_work_request_resource_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_work_request_resource_t (
    entity_type varchar2,
    action_type varchar2,
    identifier varchar2,
    entity_uri varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

entity_type

(required) The resource type the work request affects.

action_type

(required) 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 are: 'CREATED', 'UPDATED', 'DELETED', 'IN_PROGRESS', 'RELATED'

identifier

(required) An OCID or other unique identifier for the resource affected by the work request.

entity_uri

(optional) The URI path that you can use for a GET request to access the resource metadata.

DBMS_CLOUD_OCI_SCH_WORK_REQUEST_RESOURCE_TBL Type

Nested table type of dbms_cloud_oci_sch_work_request_resource_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_work_request_resource_tbl FORCE IS TABLE OF (dbms_cloud_oci_sch_work_request_resource_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_SCH_WORK_REQUEST_T Type

An object representing an asynchronous work flow. Many of the API requests you use to create and configure service connectors do not take effect immediately. In these cases, the request spawns an asynchronous work flow to fulfill the request. WorkRequest objects provide visibility for in-progress work flows. For more information about work requests, see Viewing the State of a Work Request.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_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_sch_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_sch_work_request_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_work_request_t (
    operation_type varchar2,
    status varchar2,
    id varchar2,
    compartment_id varchar2,
    resources dbms_cloud_oci_sch_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 type of action the work request represents.

Allowed values are: 'CREATE_SERVICE_CONNECTOR', 'UPDATE_SERVICE_CONNECTOR', 'DELETE_SERVICE_CONNECTOR', 'ACTIVATE_SERVICE_CONNECTOR', 'DEACTIVATE_SERVICE_CONNECTOR'

status

(required) Status of current work request.

Allowed values are: 'ACCEPTED', 'IN_PROGRESS', 'FAILED', 'SUCCEEDED', 'CANCELING', 'CANCELED'

id

(required) The OCID of the work request.

compartment_id

(required) The OCID of the compartment containing the work request.

resources

(required) The resources affected by this work request.

percent_complete

(required) Percentage of the request completed.

time_accepted

(required) The date and time when the request was created. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z`

time_started

(optional) The date and time when the request was started. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z`

time_finished

(optional) The date and time when the object finished. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z`

DBMS_CLOUD_OCI_SCH_WORK_REQUEST_TBL Type

Nested table type of dbms_cloud_oci_sch_work_request_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_work_request_tbl FORCE IS TABLE OF (dbms_cloud_oci_sch_work_request_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_SCH_WORK_REQUEST_COLLECTION_T Type

Collection of work requests.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_work_request_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  items dbms_cloud_oci_sch_work_request_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_work_request_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_work_request_collection_t (
    items dbms_cloud_oci_sch_work_request_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

items

(required) The list of items.

DBMS_CLOUD_OCI_SCH_WORK_REQUEST_ERROR_T Type

An error encountered while executing a work request.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_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_sch_work_request_error_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_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. See API Errors.

message

(required) A human readable description of the issue encountered.

l_timestamp

(required) The date and time when the error occurred. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z`

DBMS_CLOUD_OCI_SCH_WORK_REQUEST_ERROR_TBL Type

Nested table type of dbms_cloud_oci_sch_work_request_error_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_work_request_error_tbl FORCE IS TABLE OF (dbms_cloud_oci_sch_work_request_error_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_SCH_WORK_REQUEST_ERROR_COLLECTION_T Type

Collection of work request errors.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_work_request_error_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  items dbms_cloud_oci_sch_work_request_error_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_work_request_error_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_work_request_error_collection_t (
    items dbms_cloud_oci_sch_work_request_error_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

items

(required) The list of items.

DBMS_CLOUD_OCI_SCH_WORK_REQUEST_LOG_ENTRY_T Type

A log message from the execution of a work request.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_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_sch_work_request_log_entry_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_work_request_log_entry_t (
    message varchar2,
    l_timestamp timestamp with time zone
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

message

(required) Human-readable log message.

l_timestamp

(required) The date and time when the log message was written. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z`

DBMS_CLOUD_OCI_SCH_WORK_REQUEST_LOG_ENTRY_TBL Type

Nested table type of dbms_cloud_oci_sch_work_request_log_entry_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_work_request_log_entry_tbl FORCE IS TABLE OF (dbms_cloud_oci_sch_work_request_log_entry_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_SCH_WORK_REQUEST_LOG_ENTRY_COLLECTION_T Type

Collection of work request logs.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_sch_work_request_log_entry_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  items dbms_cloud_oci_sch_work_request_log_entry_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_work_request_log_entry_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_sch_work_request_log_entry_collection_t (
    items dbms_cloud_oci_sch_work_request_log_entry_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

items

(required) The list of items.

Was this article helpful?