OPSI Common Types

DBMS_CLOUD_OCI_OPSI_VARCHAR2_TBL Type

Nested table type of varchar2(32767).

Syntax

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

DBMS_CLOUD_OCI_OPSI_CREATE_EM_MANAGED_EXTERNAL_EXADATA_MEMBER_ENTITY_DETAILS_T Type

Compartment OCID of the Enterprise Manager member entity (e.g. databases and hosts) associated with an Exadata system.

Syntax

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

Fields

Field Description

enterprise_manager_entity_identifier

(required) Enterprise Manager Entity Unique Identifier

compartment_id

(required) The OCID of the compartment.

DBMS_CLOUD_OCI_OPSI_ADD_EXADATA_INSIGHT_MEMBERS_DETAILS_T Type

The information about the members of Exadata system to be added.

Syntax

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

Fields

Field Description

entity_source

(required) Source of the Exadata system.

Allowed values are: 'EM_MANAGED_EXTERNAL_EXADATA', 'PE_COMANAGED_EXADATA'

DBMS_CLOUD_OCI_OPSI_CREATE_EM_MANAGED_EXTERNAL_EXADATA_MEMBER_ENTITY_DETAILS_TBL Type

Nested table type of dbms_cloud_oci_opsi_create_em_managed_external_exadata_member_entity_details_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_em_managed_external_exadata_member_entity_details_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_create_em_managed_external_exadata_member_entity_details_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ADD_EM_MANAGED_EXTERNAL_EXADATA_INSIGHT_MEMBERS_DETAILS_T Type

The information about the members of Exadata system to be added. If memberEntityDetails is not specified, the the Enterprise Manager entity (e.g. databases and hosts) associated with an Exadata system will be placed in the same compartment as the Exadata system.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_add_em_managed_external_exadata_insight_members_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_add_exadata_insight_members_details_t (
  member_entity_details dbms_cloud_oci_opsi_create_em_managed_external_exadata_member_entity_details_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_add_em_managed_external_exadata_insight_members_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_add_em_managed_external_exadata_insight_members_details_t (
    entity_source varchar2,
    member_entity_details dbms_cloud_oci_opsi_create_em_managed_external_exadata_member_entity_details_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_add_em_managed_external_exadata_insight_members_details_t is a subtype of the dbms_cloud_oci_opsi_add_exadata_insight_members_details_t type.

Fields

Field Description

member_entity_details

(optional)

DBMS_CLOUD_OCI_OPSI_CREDENTIAL_DETAILS_T Type

User credential details to connect to the database. This is supplied via the External Database Service.

Syntax

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

Fields

Field Description

credential_source_name

(required) Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.

credential_type

(required) Credential type.

Allowed values are: 'CREDENTIALS_BY_SOURCE', 'CREDENTIALS_BY_VAULT'

DBMS_CLOUD_OCI_OPSI_PE_COMANAGED_DATABASE_HOST_DETAILS_T Type

Input Host Details used for connection requests for private endpoint accessed db resource.

Syntax

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

Fields

Field Description

host_ip

(optional) Host IP used for connection requests for Cloud DB resource.

port

(optional) Listener port number used for connection requests for rivate endpoint accessed db resource.

DBMS_CLOUD_OCI_OPSI_PE_COMANAGED_DATABASE_HOST_DETAILS_TBL Type

Nested table type of dbms_cloud_oci_opsi_pe_comanaged_database_host_details_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_pe_comanaged_database_host_details_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_pe_comanaged_database_host_details_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_PE_COMANAGED_DATABASE_CONNECTION_DETAILS_T Type

Connection details of the private endpoints.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_pe_comanaged_database_connection_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  hosts dbms_cloud_oci_opsi_pe_comanaged_database_host_details_tbl,
  protocol varchar2(32767),
  service_name varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_database_connection_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_database_connection_details_t (
    hosts dbms_cloud_oci_opsi_pe_comanaged_database_host_details_tbl,
    protocol varchar2,
    service_name varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

hosts

(required) List of hosts and port for private endpoint accessed database resource.

protocol

(optional) Protocol used for connection requests for private endpoint accssed database resource.

Allowed values are: 'TCP', 'TCPS'

service_name

(optional) Database service name used for connection requests.

DBMS_CLOUD_OCI_OPSI_CREATE_DATABASE_INSIGHT_DETAILS_T Type

The information about database to be analyzed.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_database_insight_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  entity_source varchar2(32767),
  compartment_id varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_database_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_database_insight_details_t (
    entity_source varchar2,
    compartment_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

entity_source

(required) Source of the database entity.

Allowed values are: 'EM_MANAGED_EXTERNAL_DATABASE', 'PE_COMANAGED_DATABASE'

compartment_id

(required) Compartment Identifier of database

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_OPSI_CREATE_PE_COMANAGED_DATABASE_INSIGHT_DETAILS_T Type

The information about database to be analyzed. Either an opsiPrivateEndpointId or dbmPrivateEndpointId must be specified. If the dbmPrivateEndpointId is specified, a new Operations Insights private endpoint will be created.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_pe_comanaged_database_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_create_database_insight_details_t (
  database_id varchar2(32767),
  database_resource_type varchar2(32767),
  opsi_private_endpoint_id varchar2(32767),
  dbm_private_endpoint_id varchar2(32767),
  service_name varchar2(32767),
  credential_details dbms_cloud_oci_opsi_credential_details_t,
  connection_details dbms_cloud_oci_opsi_pe_comanaged_database_connection_details_t,
  deployment_type varchar2(32767),
  system_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_pe_comanaged_database_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_pe_comanaged_database_insight_details_t (
    entity_source varchar2,
    compartment_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    database_id varchar2,
    database_resource_type varchar2,
    opsi_private_endpoint_id varchar2,
    dbm_private_endpoint_id varchar2,
    service_name varchar2,
    credential_details dbms_cloud_oci_opsi_credential_details_t,
    connection_details dbms_cloud_oci_opsi_pe_comanaged_database_connection_details_t,
    deployment_type varchar2,
    system_tags json_element_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_create_pe_comanaged_database_insight_details_t is a subtype of the dbms_cloud_oci_opsi_create_database_insight_details_t type.

Fields

Field Description

database_id

(required) The OCID of the database.

database_resource_type

(required) OCI database resource type

opsi_private_endpoint_id

(optional) The OCID of the OPSI private endpoint

dbm_private_endpoint_id

(optional) The OCID of the Database Management private endpoint

service_name

(required) Database service name used for connection requests.

credential_details

(required)

connection_details

(optional)

deployment_type

(required) Database Deployment Type

Allowed values are: 'VIRTUAL_MACHINE', 'BARE_METAL', 'EXACS'

system_tags

(optional) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

DBMS_CLOUD_OCI_OPSI_CREATE_PE_COMANAGED_DATABASE_INSIGHT_DETAILS_TBL Type

Nested table type of dbms_cloud_oci_opsi_create_pe_comanaged_database_insight_details_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_pe_comanaged_database_insight_details_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_create_pe_comanaged_database_insight_details_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_CREATE_PE_COMANAGED_EXADATA_VMCLUSTER_DETAILS_T Type

The information of the VM Cluster which contains databases. Either an opsiPrivateEndpointId or dbmPrivateEndpointId must be specified. If the dbmPrivateEndpointId is specified, a new Operations Insights private endpoint will be created.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_pe_comanaged_exadata_vmcluster_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  vmcluster_id varchar2(32767),
  opsi_private_endpoint_id varchar2(32767),
  dbm_private_endpoint_id varchar2(32767),
  member_database_details dbms_cloud_oci_opsi_create_pe_comanaged_database_insight_details_tbl,
  compartment_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_pe_comanaged_exadata_vmcluster_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_pe_comanaged_exadata_vmcluster_details_t (
    vmcluster_id varchar2,
    opsi_private_endpoint_id varchar2,
    dbm_private_endpoint_id varchar2,
    member_database_details dbms_cloud_oci_opsi_create_pe_comanaged_database_insight_details_tbl,
    compartment_id varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

vmcluster_id

(required) The OCID of the VM Cluster.

opsi_private_endpoint_id

(optional) The OCID of the OPSI private endpoint

dbm_private_endpoint_id

(optional) The OCID of the Database Management private endpoint

member_database_details

(optional) The databases that belong to the VM Cluster

compartment_id

(required) The OCID of the compartment.

DBMS_CLOUD_OCI_OPSI_CREATE_PE_COMANAGED_EXADATA_VMCLUSTER_DETAILS_TBL Type

Nested table type of dbms_cloud_oci_opsi_create_pe_comanaged_exadata_vmcluster_details_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_pe_comanaged_exadata_vmcluster_details_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_create_pe_comanaged_exadata_vmcluster_details_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ADD_PE_COMANAGED_EXADATA_INSIGHT_MEMBERS_DETAILS_T Type

The information about the members of Exadata system to be added.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_add_pe_comanaged_exadata_insight_members_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_add_exadata_insight_members_details_t (
  member_entity_details dbms_cloud_oci_opsi_create_pe_comanaged_exadata_vmcluster_details_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_add_pe_comanaged_exadata_insight_members_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_add_pe_comanaged_exadata_insight_members_details_t (
    entity_source varchar2,
    member_entity_details dbms_cloud_oci_opsi_create_pe_comanaged_exadata_vmcluster_details_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_add_pe_comanaged_exadata_insight_members_details_t is a subtype of the dbms_cloud_oci_opsi_add_exadata_insight_members_details_t type.

Fields

Field Description

member_entity_details

(optional)

DBMS_CLOUD_OCI_OPSI_HOST_INSTANCE_MAP_T Type

Object containing hostname and instance name mapping.

Syntax

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

Fields

Field Description

host_name

(required) The hostname of the database insight resource.

instance_name

(required) The instance name of the database insight resource.

DBMS_CLOUD_OCI_OPSI_HOST_INSTANCE_MAP_TBL Type

Nested table type of dbms_cloud_oci_opsi_host_instance_map_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_instance_map_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_host_instance_map_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_DATABASE_DETAILS_T Type

Partial information about the database which includes id, name, type.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_database_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  database_id varchar2(32767),
  compartment_id varchar2(32767),
  database_name varchar2(32767),
  database_display_name varchar2(32767),
  database_type varchar2(32767),
  database_version varchar2(32767),
  instances dbms_cloud_oci_opsi_host_instance_map_tbl,
  cdb_name varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_details_t (
    id varchar2,
    database_id varchar2,
    compartment_id varchar2,
    database_name varchar2,
    database_display_name varchar2,
    database_type varchar2,
    database_version varchar2,
    instances dbms_cloud_oci_opsi_host_instance_map_tbl,
    cdb_name varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of the database insight resource.

database_id

(required) The OCID of the database.

compartment_id

(required) The OCID of the compartment.

database_name

(required) The database name. The database name is unique within the tenancy.

database_display_name

(optional) The user-friendly name for the database. The name does not have to be unique.

database_type

(required) Operations Insights internal representation of the database type.

database_version

(optional) The version of the database.

instances

(optional) Array of hostname and instance name.

cdb_name

(optional) Name of the CDB.Only applies to PDB.

DBMS_CLOUD_OCI_OPSI_ADDM_DB_SUMMARY_T Type

ADDM summary for a database

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  database_details dbms_cloud_oci_opsi_database_details_t,
  number_of_findings number,
  number_of_addm_tasks number,
  time_first_snapshot_begin timestamp with time zone,
  time_latest_snapshot_end timestamp with time zone,
  snapshot_interval_start varchar2(32767),
  snapshot_interval_end varchar2(32767),
  max_overall_impact number,
  most_frequent_category_name varchar2(32767),
  most_frequent_category_display_name varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_summary_t (
    database_details dbms_cloud_oci_opsi_database_details_t,
    number_of_findings number,
    number_of_addm_tasks number,
    time_first_snapshot_begin timestamp with time zone,
    time_latest_snapshot_end timestamp with time zone,
    snapshot_interval_start varchar2,
    snapshot_interval_end varchar2,
    max_overall_impact number,
    most_frequent_category_name varchar2,
    most_frequent_category_display_name varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

database_details

(required)

number_of_findings

(optional) Number of ADDM findings

number_of_addm_tasks

(optional) Number of ADDM tasks

time_first_snapshot_begin

(optional) The start timestamp that was passed into the request.

time_latest_snapshot_end

(optional) The end timestamp that was passed into the request.

snapshot_interval_start

(optional) AWR snapshot id.

snapshot_interval_end

(optional) AWR snapshot id.

max_overall_impact

(optional) Maximum overall impact in terms of percentage of total activity

most_frequent_category_name

(optional) Category name

most_frequent_category_display_name

(optional) Category display name

DBMS_CLOUD_OCI_OPSI_ADDM_DB_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_addm_db_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_addm_db_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ADDM_DB_COLLECTION_T Type

The result of ADDM databases

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  items dbms_cloud_oci_opsi_addm_db_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    items dbms_cloud_oci_opsi_addm_db_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

items

(required) List of ADDM database summary data

DBMS_CLOUD_OCI_OPSI_ADDM_DB_FINDING_AGGREGATION_T Type

Summarizes a specific ADDM finding

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_finding_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  finding_id varchar2(32767),
  category_name varchar2(32767),
  category_display_name varchar2(32767),
  name varchar2(32767),
  message varchar2(32767),
  impact_overall_percent number,
  impact_max_percent number,
  impact_avg_active_sessions number,
  frequency_count number,
  recommendation_count number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_finding_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_finding_aggregation_t (
    id varchar2,
    finding_id varchar2,
    category_name varchar2,
    category_display_name varchar2,
    name varchar2,
    message varchar2,
    impact_overall_percent number,
    impact_max_percent number,
    impact_avg_active_sessions number,
    frequency_count number,
    recommendation_count number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of the Database insight.

finding_id

(required) Unique finding id

category_name

(required) Category name

category_display_name

(required) Category display name

name

(required) Finding name

message

(required) Finding message

impact_overall_percent

(required) Overall impact in terms of percentage of total activity

impact_max_percent

(required) Maximum impact in terms of percentage of total activity

impact_avg_active_sessions

(optional) Impact in terms of average active sessions

frequency_count

(required) Number of occurrences for this finding

recommendation_count

(required) Number of recommendations for this finding

DBMS_CLOUD_OCI_OPSI_DATABASE_DETAILS_TBL Type

Nested table type of dbms_cloud_oci_opsi_database_details_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_database_details_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_database_details_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ADDM_DB_FINDING_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_addm_db_finding_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_finding_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_addm_db_finding_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ADDM_DB_FINDING_AGGREGATION_COLLECTION_T Type

Summarizes ADDM findings over specified time period

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_finding_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  database_details_items dbms_cloud_oci_opsi_database_details_tbl,
  items dbms_cloud_oci_opsi_addm_db_finding_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_finding_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_finding_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    database_details_items dbms_cloud_oci_opsi_database_details_tbl,
    items dbms_cloud_oci_opsi_addm_db_finding_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

database_details_items

(required) List of database details data

items

(required) List of ADDM finding summaries

DBMS_CLOUD_OCI_OPSI_ADDM_DB_FINDING_CATEGORY_SUMMARY_T Type

Finding category summary

Syntax

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

Fields

Field Description

id

(required) The OCID of the Database insight.

name

(required) Name of finding category

display_name

(required) Display name of finding category

DBMS_CLOUD_OCI_OPSI_ADDM_DB_FINDING_CATEGORY_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_addm_db_finding_category_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_finding_category_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_addm_db_finding_category_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ADDM_DB_FINDING_CATEGORY_COLLECTION_T Type

List of finding categories

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_finding_category_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  database_details_items dbms_cloud_oci_opsi_database_details_tbl,
  items dbms_cloud_oci_opsi_addm_db_finding_category_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_finding_category_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_finding_category_collection_t (
    database_details_items dbms_cloud_oci_opsi_database_details_tbl,
    items dbms_cloud_oci_opsi_addm_db_finding_category_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

database_details_items

(required) List of database details data

items

(required) List of finding categories

DBMS_CLOUD_OCI_OPSI_ADDM_DB_FINDINGS_TIME_SERIES_SUMMARY_T Type

ADDM findings time series data

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_findings_time_series_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  task_id number,
  task_name varchar2(32767),
  finding_id varchar2(32767),
  l_timestamp timestamp with time zone,
  time_analysis_started timestamp with time zone,
  time_analysis_ended timestamp with time zone,
  category_name varchar2(32767),
  category_display_name varchar2(32767),
  name varchar2(32767),
  message varchar2(32767),
  analysis_db_time_in_secs number,
  analysis_avg_active_sessions number,
  impact_db_time_in_secs number,
  impact_percent number,
  impact_avg_active_sessions number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_findings_time_series_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_findings_time_series_summary_t (
    id varchar2,
    task_id number,
    task_name varchar2,
    finding_id varchar2,
    l_timestamp timestamp with time zone,
    time_analysis_started timestamp with time zone,
    time_analysis_ended timestamp with time zone,
    category_name varchar2,
    category_display_name varchar2,
    name varchar2,
    message varchar2,
    analysis_db_time_in_secs number,
    analysis_avg_active_sessions number,
    impact_db_time_in_secs number,
    impact_percent number,
    impact_avg_active_sessions number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of the Database insight.

task_id

(required) Unique ADDM task id

task_name

(required) ADDM task name

finding_id

(required) Unique finding id

l_timestamp

(required) Timestamp when finding was generated

time_analysis_started

(optional) Start Timestamp of snapshot

time_analysis_ended

(optional) End Timestamp of snapshot

category_name

(required) Category name

category_display_name

(required) Category display name

name

(required) Finding name

message

(required) Finding message

analysis_db_time_in_secs

(optional) DB time in seconds for the snapshot

analysis_avg_active_sessions

(optional) DB avg active sessions for the snapshot

impact_db_time_in_secs

(optional) Impact in seconds

impact_percent

(required) Impact in terms of percentage of total activity

impact_avg_active_sessions

(required) Impact in terms of average active sessions

DBMS_CLOUD_OCI_OPSI_ADDM_DB_FINDINGS_TIME_SERIES_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_addm_db_findings_time_series_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_findings_time_series_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_addm_db_findings_time_series_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ADDM_DB_FINDINGS_TIME_SERIES_COLLECTION_T Type

ADDM findings time series response.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_findings_time_series_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  database_details_items dbms_cloud_oci_opsi_database_details_tbl,
  items dbms_cloud_oci_opsi_addm_db_findings_time_series_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_findings_time_series_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_findings_time_series_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    database_details_items dbms_cloud_oci_opsi_database_details_tbl,
    items dbms_cloud_oci_opsi_addm_db_findings_time_series_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

database_details_items

(required) List of database details data

items

(required) List of ADDM finding time series data

DBMS_CLOUD_OCI_OPSI_ADDM_DB_PARAMETER_AGGREGATION_T Type

Summarizes change history for specific database parameter

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_parameter_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  name varchar2(32767),
  inst_num number,
  default_value varchar2(32767),
  begin_value varchar2(32767),
  end_value varchar2(32767),
  is_changed number,
  is_default number,
  value_modified varchar2(32767),
  is_high_impact number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_parameter_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_parameter_aggregation_t (
    id varchar2,
    name varchar2,
    inst_num number,
    default_value varchar2,
    begin_value varchar2,
    end_value varchar2,
    is_changed number,
    is_default number,
    value_modified varchar2,
    is_high_impact number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of the Database insight.

name

(required) Name of parameter

inst_num

(optional) Number of database instance

default_value

(optional) Parameter default value

begin_value

(optional) Parameter value when time period began

end_value

(optional) Parameter value when time period ended

is_changed

(required) Indicates whether the parameter's value changed during the selected time range (TRUE) or did not change during the selected time range (FALSE)

is_default

(optional) Indicates whether the parameter's end value was set to the default value (TRUE) or was specified in the parameter file (FALSE)

value_modified

(optional) Indicates whether the parameter has been modified after instance starup MODIFIED - Parameter has been modified with ALTER SESSION SYSTEM_MOD - Parameter has been modified with ALTER SYSTEM FALSE - Parameter has not been modified after instance starup

is_high_impact

(optional) Indicates whether the parameter is a high impact parameter (TRUE) or not (FALSE)

DBMS_CLOUD_OCI_OPSI_ADDM_DB_PARAMETER_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_addm_db_parameter_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_parameter_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_addm_db_parameter_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ADDM_DB_PARAMETER_AGGREGATION_COLLECTION_T Type

Summarizes AWR parameter change history over specified time period

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_parameter_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  database_details_items dbms_cloud_oci_opsi_database_details_tbl,
  items dbms_cloud_oci_opsi_addm_db_parameter_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_parameter_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_parameter_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    database_details_items dbms_cloud_oci_opsi_database_details_tbl,
    items dbms_cloud_oci_opsi_addm_db_parameter_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

database_details_items

(required) List of database details data

items

(required) List of AWR parameter change summaries

DBMS_CLOUD_OCI_OPSI_ADDM_DB_PARAMETER_CATEGORY_SUMMARY_T Type

Database parameter category summary

Syntax

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

Fields

Field Description

id

(required) The OCID of the Database insight.

name

(required) Name of database parameter category

display_name

(required) Display name of database parameter category

DBMS_CLOUD_OCI_OPSI_ADDM_DB_PARAMETER_CATEGORY_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_addm_db_parameter_category_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_parameter_category_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_addm_db_parameter_category_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ADDM_DB_PARAMETER_CATEGORY_COLLECTION_T Type

List of database parameter categories

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_parameter_category_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  database_details_items dbms_cloud_oci_opsi_database_details_tbl,
  items dbms_cloud_oci_opsi_addm_db_parameter_category_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_parameter_category_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_parameter_category_collection_t (
    database_details_items dbms_cloud_oci_opsi_database_details_tbl,
    items dbms_cloud_oci_opsi_addm_db_parameter_category_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

database_details_items

(required) List of database details data

items

(required) List of database parameter categories

DBMS_CLOUD_OCI_OPSI_ADDM_DB_PARAMETER_CHANGE_AGGREGATION_T Type

Change record for AWR database parameter

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_parameter_change_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  time_begin timestamp with time zone,
  time_end timestamp with time zone,
  inst_num number,
  previous_value varchar2(32767),
  value varchar2(32767),
  snapshot_id number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_parameter_change_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_parameter_change_aggregation_t (
    id varchar2,
    time_begin timestamp with time zone,
    time_end timestamp with time zone,
    inst_num number,
    previous_value varchar2,
    value varchar2,
    snapshot_id number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of the Database insight.

time_begin

(required) Begin time of interval which includes change

time_end

(required) End time of interval which includes change

inst_num

(required) Instance number

previous_value

(optional) Previous value

value

(optional) Current value

snapshot_id

(required) AWR snapshot id which includes the parameter value change

DBMS_CLOUD_OCI_OPSI_ADDM_DB_PARAMETER_CHANGE_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_addm_db_parameter_change_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_parameter_change_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_addm_db_parameter_change_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ADDM_DB_PARAMETER_CHANGE_AGGREGATION_COLLECTION_T Type

Summarizes AWR parameter change history over specified time period for specified parameter

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_parameter_change_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  database_details_items dbms_cloud_oci_opsi_database_details_tbl,
  items dbms_cloud_oci_opsi_addm_db_parameter_change_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_parameter_change_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_parameter_change_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    database_details_items dbms_cloud_oci_opsi_database_details_tbl,
    items dbms_cloud_oci_opsi_addm_db_parameter_change_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

database_details_items

(required) List of database details data

items

(required) List of AWR parameter changes

DBMS_CLOUD_OCI_OPSI_RELATED_OBJECT_TYPE_DETAILS_T Type

Related object details

Syntax

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

Fields

Field Description

l_type

(required) Type of related object

Allowed values are: 'SCHEMA_OBJECT', 'SQL', 'DATABASE_PARAMETER'

DBMS_CLOUD_OCI_OPSI_ADDM_DB_RECOMMENDATION_AGGREGATION_T Type

Summarizes a specific ADDM recommendation

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_recommendation_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  l_type varchar2(32767),
  message varchar2(32767),
  requires_db_restart varchar2(32767),
  implement_actions dbms_cloud_oci_opsi_varchar2_tbl,
  rationale varchar2(32767),
  max_benefit_percent number,
  overall_benefit_percent number,
  max_benefit_avg_active_sessions number,
  frequency_count number,
  related_object dbms_cloud_oci_opsi_related_object_type_details_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_recommendation_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_recommendation_aggregation_t (
    id varchar2,
    l_type varchar2,
    message varchar2,
    requires_db_restart varchar2,
    implement_actions dbms_cloud_oci_opsi_varchar2_tbl,
    rationale varchar2,
    max_benefit_percent number,
    overall_benefit_percent number,
    max_benefit_avg_active_sessions number,
    frequency_count number,
    related_object dbms_cloud_oci_opsi_related_object_type_details_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of the Database insight.

l_type

(optional) Type of recommendation

message

(required) Recommendation message

requires_db_restart

(optional) Indicates implementation of the recommended action requires a database restart in order for it to take effect. Possible values \"Y\", \"N\" and null.

implement_actions

(optional) Actions that can be performed to implement the recommendation (such as 'ALTER PARAMETER', 'RUN SQL TUNING ADVISOR')

rationale

(optional) Recommendation message

max_benefit_percent

(optional) Maximum estimated benefit in terms of percentage of total activity

overall_benefit_percent

(optional) Overall estimated benefit in terms of percentage of total activity

max_benefit_avg_active_sessions

(optional) Maximum estimated benefit in terms of average active sessions

frequency_count

(optional) Number of occurrences for this recommendation

related_object

(optional)

DBMS_CLOUD_OCI_OPSI_ADDM_DB_RECOMMENDATION_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_addm_db_recommendation_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_recommendation_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_addm_db_recommendation_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ADDM_DB_RECOMMENDATION_AGGREGATION_COLLECTION_T Type

Summarizes ADDM recommendations over specified time period

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_recommendation_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  database_details_items dbms_cloud_oci_opsi_database_details_tbl,
  items dbms_cloud_oci_opsi_addm_db_recommendation_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_recommendation_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_recommendation_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    database_details_items dbms_cloud_oci_opsi_database_details_tbl,
    items dbms_cloud_oci_opsi_addm_db_recommendation_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

database_details_items

(required) List of database details data

items

(required) List of ADDM recommendation summaries

DBMS_CLOUD_OCI_OPSI_ADDM_DB_RECOMMENDATION_CATEGORY_SUMMARY_T Type

Recommendation category summary

Syntax

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

Fields

Field Description

id

(required) The OCID of the Database insight.

name

(required) Name of recommendation category

display_name

(required) Display name of recommendation category

DBMS_CLOUD_OCI_OPSI_ADDM_DB_RECOMMENDATION_CATEGORY_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_addm_db_recommendation_category_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_recommendation_category_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_addm_db_recommendation_category_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ADDM_DB_RECOMMENDATION_CATEGORY_COLLECTION_T Type

List of recommendation categories

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_recommendation_category_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  database_details_items dbms_cloud_oci_opsi_database_details_tbl,
  items dbms_cloud_oci_opsi_addm_db_recommendation_category_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_recommendation_category_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_recommendation_category_collection_t (
    database_details_items dbms_cloud_oci_opsi_database_details_tbl,
    items dbms_cloud_oci_opsi_addm_db_recommendation_category_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

database_details_items

(required) List of database details data

items

(required) List of recommendation categories

DBMS_CLOUD_OCI_OPSI_ADDM_DB_RECOMMENDATIONS_TIME_SERIES_SUMMARY_T Type

ADDM recommendation

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_recommendations_time_series_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  task_id number,
  task_name varchar2(32767),
  l_timestamp timestamp with time zone,
  time_analysis_started timestamp with time zone,
  time_analysis_ended timestamp with time zone,
  l_type varchar2(32767),
  analysis_db_time_in_secs number,
  analysis_avg_active_sessions number,
  max_benefit_percent number,
  max_benefit_db_time_in_secs number,
  max_benefit_avg_active_sessions number,
  related_object dbms_cloud_oci_opsi_related_object_type_details_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_recommendations_time_series_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_recommendations_time_series_summary_t (
    id varchar2,
    task_id number,
    task_name varchar2,
    l_timestamp timestamp with time zone,
    time_analysis_started timestamp with time zone,
    time_analysis_ended timestamp with time zone,
    l_type varchar2,
    analysis_db_time_in_secs number,
    analysis_avg_active_sessions number,
    max_benefit_percent number,
    max_benefit_db_time_in_secs number,
    max_benefit_avg_active_sessions number,
    related_object dbms_cloud_oci_opsi_related_object_type_details_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of the Database insight.

task_id

(required) Unique ADDM task id

task_name

(required) ADDM task name

l_timestamp

(required) Timestamp when recommendation was generated

time_analysis_started

(optional) Start Timestamp of snapshot

time_analysis_ended

(optional) End Timestamp of snapshot

l_type

(optional) Type of recommendation

analysis_db_time_in_secs

(optional) DB time in seconds for the snapshot

analysis_avg_active_sessions

(optional) DB avg active sessions for the snapshot

max_benefit_percent

(optional) Maximum estimated benefit in terms of percentage of total activity

max_benefit_db_time_in_secs

(optional) Maximum estimated benefit in terms of seconds

max_benefit_avg_active_sessions

(optional) Maximum estimated benefit in terms of average active sessions

related_object

(optional)

DBMS_CLOUD_OCI_OPSI_ADDM_DB_RECOMMENDATIONS_TIME_SERIES_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_addm_db_recommendations_time_series_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_recommendations_time_series_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_addm_db_recommendations_time_series_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ADDM_DB_RECOMMENDATIONS_TIME_SERIES_COLLECTION_T Type

ADDM recommendations time series

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_recommendations_time_series_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  database_details_items dbms_cloud_oci_opsi_database_details_tbl,
  items dbms_cloud_oci_opsi_addm_db_recommendations_time_series_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_recommendations_time_series_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_recommendations_time_series_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    database_details_items dbms_cloud_oci_opsi_database_details_tbl,
    items dbms_cloud_oci_opsi_addm_db_recommendations_time_series_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

database_details_items

(required) List of database details data

items

(required) List of ADDM recommendations time series data

DBMS_CLOUD_OCI_OPSI_ADDM_DB_SCHEMA_OBJECT_SUMMARY_T Type

Details for a given object id

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_schema_object_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  object_identifier number,
  owner varchar2(32767),
  object_name varchar2(32767),
  sub_object_name varchar2(32767),
  object_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_schema_object_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_schema_object_summary_t (
    id varchar2,
    object_identifier number,
    owner varchar2,
    object_name varchar2,
    sub_object_name varchar2,
    object_type varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of the Database insight.

object_identifier

(required) Object id (from RDBMS)

owner

(required) Owner of object

object_name

(required) Name of object

sub_object_name

(optional) Subobject name; for example, partition name

object_type

(required) Type of the object (such as TABLE, INDEX)

DBMS_CLOUD_OCI_OPSI_ADDM_DB_SCHEMA_OBJECT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_addm_db_schema_object_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_schema_object_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_addm_db_schema_object_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ADDM_DB_SCHEMA_OBJECT_COLLECTION_T Type

Summarizes Schema Objects over specified time period

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_schema_object_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  database_details_items dbms_cloud_oci_opsi_database_details_tbl,
  items dbms_cloud_oci_opsi_addm_db_schema_object_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_schema_object_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_schema_object_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    database_details_items dbms_cloud_oci_opsi_database_details_tbl,
    items dbms_cloud_oci_opsi_addm_db_schema_object_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

database_details_items

(required) List of database details data

items

(required) List of Schema Objects

DBMS_CLOUD_OCI_OPSI_ADDM_DB_SQL_STATEMENT_SUMMARY_T Type

Details for a given SQL ID

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_sql_statement_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  sql_identifier varchar2(32767),
  sql_text varchar2(32767),
  is_sql_text_truncated number,
  sql_command varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_sql_statement_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_sql_statement_summary_t (
    id varchar2,
    sql_identifier varchar2,
    sql_text varchar2,
    is_sql_text_truncated number,
    sql_command varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of the Database insight.

sql_identifier

(required) SQL identifier

sql_text

(required) First 3800 characters of the SQL text

is_sql_text_truncated

(required) SQL identifier

sql_command

(required) SQL command name (such as SELECT, INSERT)

DBMS_CLOUD_OCI_OPSI_ADDM_DB_SQL_STATEMENT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_addm_db_sql_statement_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_sql_statement_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_addm_db_sql_statement_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ADDM_DB_SQL_STATEMENT_COLLECTION_T Type

Summarizes SQL statements over specified time period

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_db_sql_statement_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  database_details_items dbms_cloud_oci_opsi_database_details_tbl,
  items dbms_cloud_oci_opsi_addm_db_sql_statement_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_sql_statement_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_db_sql_statement_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    database_details_items dbms_cloud_oci_opsi_database_details_tbl,
    items dbms_cloud_oci_opsi_addm_db_sql_statement_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

database_details_items

(required) List of database details data

items

(required) List of SQL statements

DBMS_CLOUD_OCI_OPSI_ADDM_REPORT_T Type

ADDM Tasks.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_report_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  task_identifier varchar2(32767),
  database_identifier varchar2(32767),
  snapshot_interval_start varchar2(32767),
  snapshot_interval_end varchar2(32767),
  addm_report varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_report_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_addm_report_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    task_identifier varchar2,
    database_identifier varchar2,
    snapshot_interval_start varchar2,
    snapshot_interval_end varchar2,
    addm_report varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

task_identifier

(required) TASK_ID in the oracle database view DBA_ADDM_TASKS

database_identifier

(required) Internal id of the database.

snapshot_interval_start

(required) AWR snapshot id.

snapshot_interval_end

(required) AWR snapshot id.

addm_report

(required) The complete ADDM report

DBMS_CLOUD_OCI_OPSI_DATABASE_CONFIGURATION_SUMMARY_T Type

Summary of a database configuration for a resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_database_configuration_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  database_insight_id varchar2(32767),
  entity_source varchar2(32767),
  compartment_id varchar2(32767),
  database_name varchar2(32767),
  database_display_name varchar2(32767),
  database_type varchar2(32767),
  database_version varchar2(32767),
  cdb_name varchar2(32767),
  defined_tags json_element_t,
  freeform_tags json_element_t,
  processor_count number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_configuration_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_configuration_summary_t (
    database_insight_id varchar2,
    entity_source varchar2,
    compartment_id varchar2,
    database_name varchar2,
    database_display_name varchar2,
    database_type varchar2,
    database_version varchar2,
    cdb_name varchar2,
    defined_tags json_element_t,
    freeform_tags json_element_t,
    processor_count number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

database_insight_id

(required) The OCID of the database insight resource.

entity_source

(required) Source of the database entity.

Allowed values are: 'AUTONOMOUS_DATABASE', 'EM_MANAGED_EXTERNAL_DATABASE', 'MACS_MANAGED_EXTERNAL_DATABASE', 'PE_COMANAGED_DATABASE'

compartment_id

(required) The OCID of the compartment.

database_name

(required) The database name. The database name is unique within the tenancy.

database_display_name

(required) The user-friendly name for the database. The name does not have to be unique.

database_type

(required) Operations Insights internal representation of the database type.

database_version

(required) The version of the database.

cdb_name

(required) Name of the CDB.Only applies to PDB.

defined_tags

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

freeform_tags

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

processor_count

(optional) Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.

DBMS_CLOUD_OCI_OPSI_AUTONOMOUS_DATABASE_CONFIGURATION_SUMMARY_T Type

Configuration Summary of autonomous database.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_autonomous_database_configuration_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_configuration_summary_t (
  database_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_autonomous_database_configuration_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_autonomous_database_configuration_summary_t (
    database_insight_id varchar2,
    entity_source varchar2,
    compartment_id varchar2,
    database_name varchar2,
    database_display_name varchar2,
    database_type varchar2,
    database_version varchar2,
    cdb_name varchar2,
    defined_tags json_element_t,
    freeform_tags json_element_t,
    processor_count number,
    database_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_autonomous_database_configuration_summary_t is a subtype of the dbms_cloud_oci_opsi_database_configuration_summary_t type.

Fields

Field Description

database_id

(required) The OCID of the database.

DBMS_CLOUD_OCI_OPSI_CONNECTION_DETAILS_T Type

Connection details to connect to the database. HostName, protocol, and port should be specified.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_connection_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  host_name varchar2(32767),
  protocol varchar2(32767),
  port number,
  service_name varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_connection_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_connection_details_t (
    host_name varchar2,
    protocol varchar2,
    port number,
    service_name varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

host_name

(required) Name of the listener host that will be used to create the connect string to the database.

protocol

(required) Protocol used for connection requests.

Allowed values are: 'TCP', 'TCPS'

port

(required) Listener port number used for connection requests.

service_name

(required) Database service name used for connection requests.

DBMS_CLOUD_OCI_OPSI_DATABASE_INSIGHT_T Type

Database insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_database_insight_t FORCE AUTHID CURRENT_USER IS OBJECT (
  entity_source varchar2(32767),
  id varchar2(32767),
  compartment_id varchar2(32767),
  status varchar2(32767),
  database_type varchar2(32767),
  database_version varchar2(32767),
  processor_count number,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  database_connection_status_details varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_insight_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_insight_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    status varchar2,
    database_type varchar2,
    database_version varchar2,
    processor_count number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    database_connection_status_details varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

entity_source

(required) Source of the database entity.

Allowed values are: 'AUTONOMOUS_DATABASE', 'EM_MANAGED_EXTERNAL_DATABASE', 'MACS_MANAGED_EXTERNAL_DATABASE', 'PE_COMANAGED_DATABASE'

id

(required) Database insight identifier

compartment_id

(required) Compartment identifier of the database

status

(required) Indicates the status of a database insight in Operations Insights

Allowed values are: 'DISABLED', 'ENABLED', 'TERMINATED'

database_type

(optional) Operations Insights internal representation of the database type.

database_version

(optional) The version of the database.

processor_count

(optional) Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.

freeform_tags

(required) 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

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

system_tags

(optional) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

time_created

(required) The time the the database insight was first enabled. An RFC3339 formatted datetime string

time_updated

(optional) The time the database insight was updated. An RFC3339 formatted datetime string

lifecycle_state

(required) The current state of the database.

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

database_connection_status_details

(optional) A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.

DBMS_CLOUD_OCI_OPSI_AUTONOMOUS_DATABASE_INSIGHT_T Type

Database insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_autonomous_database_insight_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_insight_t (
  database_id varchar2(32767),
  database_name varchar2(32767),
  database_display_name varchar2(32767),
  database_resource_type varchar2(32767),
  db_additional_details json_element_t,
  opsi_private_endpoint_id varchar2(32767),
  is_advanced_features_enabled number,
  connection_details dbms_cloud_oci_opsi_connection_details_t,
  credential_details dbms_cloud_oci_opsi_credential_details_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_autonomous_database_insight_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_autonomous_database_insight_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    status varchar2,
    database_type varchar2,
    database_version varchar2,
    processor_count number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    database_connection_status_details varchar2,
    database_id varchar2,
    database_name varchar2,
    database_display_name varchar2,
    database_resource_type varchar2,
    db_additional_details json_element_t,
    opsi_private_endpoint_id varchar2,
    is_advanced_features_enabled number,
    connection_details dbms_cloud_oci_opsi_connection_details_t,
    credential_details dbms_cloud_oci_opsi_credential_details_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_autonomous_database_insight_t is a subtype of the dbms_cloud_oci_opsi_database_insight_t type.

Fields

Field Description

database_id

(required) The OCID of the database.

database_name

(required) Name of database

database_display_name

(optional) Display name of database

database_resource_type

(required) OCI database resource type

db_additional_details

(optional) Additional details of a database in JSON format. For autonomous databases, this is the AutonomousDatabase object serialized as a JSON string as defined in https://docs.cloud.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/. For EM, pass in null or an empty string. Note that this string needs to be escaped when specified in the curl command.

opsi_private_endpoint_id

(optional) The OCID of the OPSI private endpoint

is_advanced_features_enabled

(optional) Flag is to identify if advanced features for autonomous database is enabled or not

connection_details

(optional)

credential_details

(optional)

DBMS_CLOUD_OCI_OPSI_DATABASE_INSIGHT_SUMMARY_T Type

Summary of a database insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_database_insight_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  database_id varchar2(32767),
  compartment_id varchar2(32767),
  database_name varchar2(32767),
  database_display_name varchar2(32767),
  database_type varchar2(32767),
  database_version varchar2(32767),
  database_host_names dbms_cloud_oci_opsi_varchar2_tbl,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  entity_source varchar2(32767),
  processor_count number,
  status varchar2(32767),
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  database_connection_status_details varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_insight_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_insight_summary_t (
    id varchar2,
    database_id varchar2,
    compartment_id varchar2,
    database_name varchar2,
    database_display_name varchar2,
    database_type varchar2,
    database_version varchar2,
    database_host_names dbms_cloud_oci_opsi_varchar2_tbl,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    entity_source varchar2,
    processor_count number,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    database_connection_status_details varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

id

(required) The OCID of the database insight resource.

database_id

(required) The OCID of the database.

compartment_id

(optional) The OCID of the compartment.

database_name

(optional) The database name. The database name is unique within the tenancy.

database_display_name

(optional) The user-friendly name for the database. The name does not have to be unique.

database_type

(optional) Operations Insights internal representation of the database type.

database_version

(optional) The version of the database.

database_host_names

(optional) The hostnames for the database.

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

entity_source

(required) Source of the database entity.

Allowed values are: 'AUTONOMOUS_DATABASE', 'EM_MANAGED_EXTERNAL_DATABASE', 'MACS_MANAGED_EXTERNAL_DATABASE', 'PE_COMANAGED_DATABASE'

processor_count

(optional) Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.

status

(optional) Indicates the status of a database insight in Operations Insights

Allowed values are: 'DISABLED', 'ENABLED', 'TERMINATED'

time_created

(optional) The time the the database insight was first enabled. An RFC3339 formatted datetime string

time_updated

(optional) The time the database insight was updated. An RFC3339 formatted datetime string

lifecycle_state

(optional) The current state of the database.

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

database_connection_status_details

(optional) A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.

DBMS_CLOUD_OCI_OPSI_AUTONOMOUS_DATABASE_INSIGHT_SUMMARY_T Type

Summary of a database insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_autonomous_database_insight_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_insight_summary_t (
  database_resource_type varchar2(32767),
  is_advanced_features_enabled number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_autonomous_database_insight_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_autonomous_database_insight_summary_t (
    id varchar2,
    database_id varchar2,
    compartment_id varchar2,
    database_name varchar2,
    database_display_name varchar2,
    database_type varchar2,
    database_version varchar2,
    database_host_names dbms_cloud_oci_opsi_varchar2_tbl,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    entity_source varchar2,
    processor_count number,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    database_connection_status_details varchar2,
    database_resource_type varchar2,
    is_advanced_features_enabled number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_autonomous_database_insight_summary_t is a subtype of the dbms_cloud_oci_opsi_database_insight_summary_t type.

Fields

Field Description

database_resource_type

(optional) OCI database resource type

is_advanced_features_enabled

(optional) Flag is to identify if advanced features for autonomous database is enabled or not

DBMS_CLOUD_OCI_OPSI_NUMBER_TBL Type

Nested table type of number.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_number_tbl FORCE IS TABLE OF (number) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_SUMMARY_T Type

The AWR summary for a database.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  awr_source_database_identifier varchar2(32767),
  db_name varchar2(32767),
  instance_list dbms_cloud_oci_opsi_number_tbl,
  time_db_startup timestamp with time zone,
  time_first_snapshot_begin timestamp with time zone,
  time_latest_snapshot_end timestamp with time zone,
  first_snapshot_identifier number,
  latest_snapshot_identifier number,
  snapshot_count number,
  snapshot_interval_in_min number,
  db_version varchar2(32767),
  snapshot_timezone varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_summary_t (
    awr_source_database_identifier varchar2,
    db_name varchar2,
    instance_list dbms_cloud_oci_opsi_number_tbl,
    time_db_startup timestamp with time zone,
    time_first_snapshot_begin timestamp with time zone,
    time_latest_snapshot_end timestamp with time zone,
    first_snapshot_identifier number,
    latest_snapshot_identifier number,
    snapshot_count number,
    snapshot_interval_in_min number,
    db_version varchar2,
    snapshot_timezone varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

awr_source_database_identifier

(required) The internal ID of the database. The internal ID of the database is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabases

db_name

(required) The name of the database.

instance_list

(optional) The database instance numbers.

time_db_startup

(optional) The timestamp of the database startup.

time_first_snapshot_begin

(optional) The start time of the earliest snapshot.

time_latest_snapshot_end

(optional) The end time of the latest snapshot.

first_snapshot_identifier

(optional) The ID of the earliest snapshot. The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots

latest_snapshot_identifier

(optional) The ID of the latest snapshot. The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots

snapshot_count

(optional) The total number of snapshots.

snapshot_interval_in_min

(optional) The interval time between snapshots (in minutes).

db_version

(optional) The version of the database.

snapshot_timezone

(optional) The time zone of the snapshot. sample - snapshotTimezone=+0 00:00:00

DBMS_CLOUD_OCI_OPSI_AWR_QUERY_RESULT_T Type

The AWR query result.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_query_result_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  version varchar2(32767),
  db_query_time_in_secs number,
  awr_result_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_query_result_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_query_result_t (
    name varchar2,
    version varchar2,
    db_query_time_in_secs number,
    awr_result_type varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

name

(required) The name of the query result.

version

(optional) The version of the query result.

db_query_time_in_secs

(optional) The time taken to query the database tier (in seconds).

awr_result_type

(required) The result type of AWR query.

Allowed values are: 'AWRDB_SET', 'AWRDB_SNAPSHOT_RANGE_SET', 'AWRDB_SNAPSHOT_SET', 'AWRDB_METRICS_SET', 'AWRDB_SYSSTAT_SET', 'AWRDB_TOP_EVENT_SET', 'AWRDB_EVENT_SET', 'AWRDB_EVENT_HISTOGRAM', 'AWRDB_DB_PARAMETER_SET', 'AWRDB_DB_PARAMETER_CHANGE', 'AWRDB_ASH_CPU_USAGE_SET', 'AWRDB_DB_REPORT', 'AWRDB_SQL_REPORT'

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_awr_database_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_awr_database_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_COLLECTION_T Type

The result of AWR query.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_collection_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_awr_query_result_t (
  items dbms_cloud_oci_opsi_awr_database_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_collection_t (
    name varchar2,
    version varchar2,
    db_query_time_in_secs number,
    awr_result_type varchar2,
    items dbms_cloud_oci_opsi_awr_database_summary_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_awr_database_collection_t is a subtype of the dbms_cloud_oci_opsi_awr_query_result_t type.

Fields

Field Description

items

(optional) A list of AWR summary data.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_CPU_USAGE_SUMMARY_T Type

A summary of the AWR CPU resource limits and metrics.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_cpu_usage_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  l_timestamp timestamp with time zone,
  avg_usage_in_secs number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_cpu_usage_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_cpu_usage_summary_t (
    l_timestamp timestamp with time zone,
    avg_usage_in_secs number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

l_timestamp

(optional) The timestamp for the CPU summary data.

avg_usage_in_secs

(optional) The average CPU usage per second.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_CPU_USAGE_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_awr_database_cpu_usage_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_cpu_usage_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_awr_database_cpu_usage_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_CPU_USAGE_COLLECTION_T Type

The AWR CPU usage data.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_cpu_usage_collection_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_awr_query_result_t (
  num_cpu_cores number,
  database_cpu_count number,
  host_cpu_count number,
  items dbms_cloud_oci_opsi_awr_database_cpu_usage_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_cpu_usage_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_cpu_usage_collection_t (
    name varchar2,
    version varchar2,
    db_query_time_in_secs number,
    awr_result_type varchar2,
    num_cpu_cores number,
    database_cpu_count number,
    host_cpu_count number,
    items dbms_cloud_oci_opsi_awr_database_cpu_usage_summary_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_awr_database_cpu_usage_collection_t is a subtype of the dbms_cloud_oci_opsi_awr_query_result_t type.

Fields

Field Description

num_cpu_cores

(optional) The number of available CPU cores, which include subcores of multicore and single-core CPUs.

database_cpu_count

(optional) The number of CPUs available for the database to use.

host_cpu_count

(optional) The number of available CPUs or processors.

items

(optional) A list of AWR CPU usage summary data.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_METRIC_SUMMARY_T Type

The summary of the AWR metric data for a particular metric at a specific time.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_metric_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  l_timestamp timestamp with time zone,
  avg_value number,
  min_value number,
  max_value number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_metric_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_metric_summary_t (
    name varchar2,
    l_timestamp timestamp with time zone,
    avg_value number,
    min_value number,
    max_value number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) The name of the metric.

l_timestamp

(optional) The time of the sampling.

avg_value

(optional) The average value of the sampling period.

min_value

(optional) The minimum value of the sampling period.

max_value

(optional) The maximum value of the sampling period.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_METRIC_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_awr_database_metric_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_metric_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_awr_database_metric_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_METRIC_COLLECTION_T Type

The AWR metrics time series summary data.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_metric_collection_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_awr_query_result_t (
  items dbms_cloud_oci_opsi_awr_database_metric_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_metric_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_metric_collection_t (
    name varchar2,
    version varchar2,
    db_query_time_in_secs number,
    awr_result_type varchar2,
    items dbms_cloud_oci_opsi_awr_database_metric_summary_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_awr_database_metric_collection_t is a subtype of the dbms_cloud_oci_opsi_awr_query_result_t type.

Fields

Field Description

items

(optional) A list of AWR metric summary data.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_PARAMETER_CHANGE_SUMMARY_T Type

A summary of the changes made to a single AWR database parameter.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_parameter_change_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_begin timestamp with time zone,
  time_end timestamp with time zone,
  instance_number number,
  previous_value varchar2(32767),
  value varchar2(32767),
  snapshot_identifier number,
  value_modified varchar2(32767),
  is_default number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_parameter_change_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_parameter_change_summary_t (
    time_begin timestamp with time zone,
    time_end timestamp with time zone,
    instance_number number,
    previous_value varchar2,
    value varchar2,
    snapshot_identifier number,
    value_modified varchar2,
    is_default number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_begin

(optional) The start time of the interval.

time_end

(optional) The end time of the interval.

instance_number

(optional) The database instance number.

previous_value

(optional) The previous value of the database parameter.

value

(optional) The current value of the database parameter.

snapshot_identifier

(required) The ID of the snapshot with the parameter value changed. The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots

value_modified

(optional) Indicates whether the parameter has been modified after instance startup: - MODIFIED - Parameter has been modified with ALTER SESSION - SYSTEM_MOD - Parameter has been modified with ALTER SYSTEM (which causes all the currently logged in sessions values to be modified) - FALSE - Parameter has not been modified after instance startup

is_default

(optional) Indicates whether the parameter value in the end snapshot is the default.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_PARAMETER_CHANGE_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_awr_database_parameter_change_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_parameter_change_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_awr_database_parameter_change_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_PARAMETER_CHANGE_COLLECTION_T Type

The AWR database parameter change history.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_parameter_change_collection_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_awr_query_result_t (
  items dbms_cloud_oci_opsi_awr_database_parameter_change_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_parameter_change_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_parameter_change_collection_t (
    name varchar2,
    version varchar2,
    db_query_time_in_secs number,
    awr_result_type varchar2,
    items dbms_cloud_oci_opsi_awr_database_parameter_change_summary_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_awr_database_parameter_change_collection_t is a subtype of the dbms_cloud_oci_opsi_awr_query_result_t type.

Fields

Field Description

items

(optional) A list of AWR database parameter change summary data.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_PARAMETER_SUMMARY_T Type

The summary of the AWR change history data for a single database parameter.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_parameter_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  instance_number number,
  begin_value varchar2(32767),
  end_value varchar2(32767),
  is_changed number,
  value_modified varchar2(32767),
  is_default number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_parameter_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_parameter_summary_t (
    name varchar2,
    instance_number number,
    begin_value varchar2,
    end_value varchar2,
    is_changed number,
    value_modified varchar2,
    is_default number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) The name of the parameter.

instance_number

(optional) The database instance number.

begin_value

(optional) The parameter value when the period began.

end_value

(optional) The parameter value when the period ended.

is_changed

(optional) Indicates whether the parameter value changed within the period.

value_modified

(optional) Indicates whether the parameter has been modified after instance startup: - MODIFIED - Parameter has been modified with ALTER SESSION - SYSTEM_MOD - Parameter has been modified with ALTER SYSTEM (which causes all the currently logged in sessions values to be modified) - FALSE - Parameter has not been modified after instance startup

is_default

(optional) Indicates whether the parameter value in the end snapshot is the default.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_PARAMETER_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_awr_database_parameter_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_parameter_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_awr_database_parameter_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_PARAMETER_COLLECTION_T Type

The AWR database parameter data.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_parameter_collection_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_awr_query_result_t (
  items dbms_cloud_oci_opsi_awr_database_parameter_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_parameter_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_parameter_collection_t (
    name varchar2,
    version varchar2,
    db_query_time_in_secs number,
    awr_result_type varchar2,
    items dbms_cloud_oci_opsi_awr_database_parameter_summary_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_awr_database_parameter_collection_t is a subtype of the dbms_cloud_oci_opsi_awr_query_result_t type.

Fields

Field Description

items

(optional) A list of AWR database parameter summary data.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_REPORT_T Type

The result of the AWR report.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_report_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_awr_query_result_t (
  content varchar2(32767),
  format varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_report_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_report_t (
    name varchar2,
    version varchar2,
    db_query_time_in_secs number,
    awr_result_type varchar2,
    content varchar2,
    format varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_awr_database_report_t is a subtype of the dbms_cloud_oci_opsi_awr_query_result_t type.

Fields

Field Description

content

(optional) The content of the report.

format

(optional) The format of the report.

Allowed values are: 'HTML', 'TEXT', 'XML'

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_SNAPSHOT_SUMMARY_T Type

The AWR snapshot summary of one snapshot.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_snapshot_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  awr_source_database_identifier varchar2(32767),
  instance_number number,
  time_db_startup timestamp with time zone,
  time_begin timestamp with time zone,
  time_end timestamp with time zone,
  snapshot_identifier number,
  error_count number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_snapshot_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_snapshot_summary_t (
    awr_source_database_identifier varchar2,
    instance_number number,
    time_db_startup timestamp with time zone,
    time_begin timestamp with time zone,
    time_end timestamp with time zone,
    snapshot_identifier number,
    error_count number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

awr_source_database_identifier

(required) Internal ID of the database. The internal ID of the database is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabases

instance_number

(optional) The database instance number.

time_db_startup

(optional) The timestamp of the database startup.

time_begin

(optional) The start time of the snapshot.

time_end

(optional) The end time of the snapshot.

snapshot_identifier

(required) The ID of the snapshot. The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDbSnapshots

error_count

(optional) The total number of errors.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_SNAPSHOT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_awr_database_snapshot_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_snapshot_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_awr_database_snapshot_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_SNAPSHOT_COLLECTION_T Type

The list of AWR snapshots for one database.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_snapshot_collection_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_awr_query_result_t (
  items dbms_cloud_oci_opsi_awr_database_snapshot_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_snapshot_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_snapshot_collection_t (
    name varchar2,
    version varchar2,
    db_query_time_in_secs number,
    awr_result_type varchar2,
    items dbms_cloud_oci_opsi_awr_database_snapshot_summary_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_awr_database_snapshot_collection_t is a subtype of the dbms_cloud_oci_opsi_awr_query_result_t type.

Fields

Field Description

items

(optional) A list of AWR snapshot summary data.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_SNAPSHOT_RANGE_SUMMARY_T Type

The summary data for a range of AWR snapshots.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_snapshot_range_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  awr_source_database_identifier varchar2(32767),
  db_name varchar2(32767),
  instance_list dbms_cloud_oci_opsi_number_tbl,
  time_db_startup timestamp with time zone,
  time_first_snapshot_begin timestamp with time zone,
  time_latest_snapshot_end timestamp with time zone,
  first_snapshot_identifier number,
  latest_snapshot_identifier number,
  snapshot_count number,
  snapshot_interval_in_min number,
  db_version varchar2(32767),
  snapshot_timezone varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_snapshot_range_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_snapshot_range_summary_t (
    awr_source_database_identifier varchar2,
    db_name varchar2,
    instance_list dbms_cloud_oci_opsi_number_tbl,
    time_db_startup timestamp with time zone,
    time_first_snapshot_begin timestamp with time zone,
    time_latest_snapshot_end timestamp with time zone,
    first_snapshot_identifier number,
    latest_snapshot_identifier number,
    snapshot_count number,
    snapshot_interval_in_min number,
    db_version varchar2,
    snapshot_timezone varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

awr_source_database_identifier

(required) The internal ID of the database. The internal ID of the database is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabases

db_name

(required) The name of the database.

instance_list

(optional) The database instance numbers.

time_db_startup

(optional) The timestamp of the database startup.

time_first_snapshot_begin

(optional) The start time of the earliest snapshot.

time_latest_snapshot_end

(optional) The end time of the latest snapshot.

first_snapshot_identifier

(optional) The ID of the earliest snapshot. The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots

latest_snapshot_identifier

(optional) The ID of the latest snapshot. The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots

snapshot_count

(optional) The total number of snapshots.

snapshot_interval_in_min

(optional) The interval time between snapshots (in minutes).

db_version

(optional) The version of the database.

snapshot_timezone

(optional) The time zone of the snapshot. sample - snapshotTimezone=+0 00:00:00

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_SNAPSHOT_RANGE_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_awr_database_snapshot_range_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_snapshot_range_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_awr_database_snapshot_range_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_SNAPSHOT_RANGE_COLLECTION_T Type

The AWR snapshot range list.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_snapshot_range_collection_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_awr_query_result_t (
  items dbms_cloud_oci_opsi_awr_database_snapshot_range_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_snapshot_range_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_snapshot_range_collection_t (
    name varchar2,
    version varchar2,
    db_query_time_in_secs number,
    awr_result_type varchar2,
    items dbms_cloud_oci_opsi_awr_database_snapshot_range_summary_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_awr_database_snapshot_range_collection_t is a subtype of the dbms_cloud_oci_opsi_awr_query_result_t type.

Fields

Field Description

items

(optional) A list of AWR snapshot range summary data.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_SQL_REPORT_T Type

The result of the AWR SQL report.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_sql_report_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_awr_query_result_t (
  content varchar2(32767),
  format varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_sql_report_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_sql_report_t (
    name varchar2,
    version varchar2,
    db_query_time_in_secs number,
    awr_result_type varchar2,
    content varchar2,
    format varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_awr_database_sql_report_t is a subtype of the dbms_cloud_oci_opsi_awr_query_result_t type.

Fields

Field Description

content

(optional) The content of the report.

format

(optional) The format of the report.

Allowed values are: 'HTML', 'TEXT'

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_SYSSTAT_SUMMARY_T Type

The summary of the AWR SYSSTAT data.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_sysstat_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  category varchar2(32767),
  time_begin timestamp with time zone,
  time_end timestamp with time zone,
  avg_value number,
  current_value number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_sysstat_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_sysstat_summary_t (
    name varchar2,
    category varchar2,
    time_begin timestamp with time zone,
    time_end timestamp with time zone,
    avg_value number,
    current_value number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) The name of the SYSSTAT.

category

(optional) The name of the SYSSTAT category.

time_begin

(optional) The start time of the SYSSTAT.

time_end

(optional) The end time of the SYSSTAT.

avg_value

(optional) The average value of the SYSSTAT. The units are stats name/val per the time period {timeBegin - timeEnd}.

current_value

(optional) The last value of the SYSSTAT. The units are stats name/val per the time period {timeBegin - timeEnd}.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_SYSSTAT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_awr_database_sysstat_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_sysstat_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_awr_database_sysstat_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_SYSSTAT_COLLECTION_T Type

The AWR SYSSTAT time series summary data.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_sysstat_collection_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_awr_query_result_t (
  items dbms_cloud_oci_opsi_awr_database_sysstat_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_sysstat_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_sysstat_collection_t (
    name varchar2,
    version varchar2,
    db_query_time_in_secs number,
    awr_result_type varchar2,
    items dbms_cloud_oci_opsi_awr_database_sysstat_summary_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_awr_database_sysstat_collection_t is a subtype of the dbms_cloud_oci_opsi_awr_query_result_t type.

Fields

Field Description

items

(optional) A list of AWR SYSSTAT summary data.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_TOP_WAIT_EVENT_SUMMARY_T Type

A summary of the AWR top wait event data for one event.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_top_wait_event_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  waits_per_sec number,
  avg_wait_time_per_sec number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_top_wait_event_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_top_wait_event_summary_t (
    name varchar2,
    waits_per_sec number,
    avg_wait_time_per_sec number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) The name of the event.

waits_per_sec

(optional) The wait count per second.

avg_wait_time_per_sec

(optional) The average wait time per second.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_TOP_WAIT_EVENT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_awr_database_top_wait_event_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_top_wait_event_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_awr_database_top_wait_event_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_TOP_WAIT_EVENT_COLLECTION_T Type

The AWR top wait event data.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_top_wait_event_collection_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_awr_query_result_t (
  items dbms_cloud_oci_opsi_awr_database_top_wait_event_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_top_wait_event_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_top_wait_event_collection_t (
    name varchar2,
    version varchar2,
    db_query_time_in_secs number,
    awr_result_type varchar2,
    items dbms_cloud_oci_opsi_awr_database_top_wait_event_summary_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_awr_database_top_wait_event_collection_t is a subtype of the dbms_cloud_oci_opsi_awr_query_result_t type.

Fields

Field Description

items

(optional) A list of AWR top event summary data.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_WAIT_EVENT_BUCKET_SUMMARY_T Type

A summary of the AWR wait event bucket and waits percentage.

Syntax

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

Fields

Field Description

category

(required) The name of the wait event frequency category. Normally, it is the upper range of the waits within the AWR wait event bucket.

percentage

(required) The percentage of waits in a wait event bucket over the total waits of the database.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_WAIT_EVENT_BUCKET_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_awr_database_wait_event_bucket_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_wait_event_bucket_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_awr_database_wait_event_bucket_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_WAIT_EVENT_BUCKET_COLLECTION_T Type

The percentage distribution of waits in the AWR wait event buckets.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_wait_event_bucket_collection_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_awr_query_result_t (
  total_waits number,
  items dbms_cloud_oci_opsi_awr_database_wait_event_bucket_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_wait_event_bucket_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_wait_event_bucket_collection_t (
    name varchar2,
    version varchar2,
    db_query_time_in_secs number,
    awr_result_type varchar2,
    total_waits number,
    items dbms_cloud_oci_opsi_awr_database_wait_event_bucket_summary_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_awr_database_wait_event_bucket_collection_t is a subtype of the dbms_cloud_oci_opsi_awr_query_result_t type.

Fields

Field Description

total_waits

(optional) The total waits of the database.

items

(optional) A list of AWR wait event buckets.

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_WAIT_EVENT_SUMMARY_T Type

The summary of the AWR wait event time series data for one event.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_wait_event_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  time_begin timestamp with time zone,
  time_end timestamp with time zone,
  waits_per_sec number,
  avg_wait_time_per_sec number,
  snapshot_identifier number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_wait_event_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_wait_event_summary_t (
    name varchar2,
    time_begin timestamp with time zone,
    time_end timestamp with time zone,
    waits_per_sec number,
    avg_wait_time_per_sec number,
    snapshot_identifier number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) The name of the event.

time_begin

(optional) The begin time of the wait event.

time_end

(optional) The end time of the wait event.

waits_per_sec

(optional) The wait count per second.

avg_wait_time_per_sec

(optional) The average wait time per second.

snapshot_identifier

(optional) The ID of the snapshot. The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_WAIT_EVENT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_awr_database_wait_event_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_wait_event_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_awr_database_wait_event_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_AWR_DATABASE_WAIT_EVENT_COLLECTION_T Type

The AWR wait event data.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_database_wait_event_collection_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_awr_query_result_t (
  items dbms_cloud_oci_opsi_awr_database_wait_event_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_wait_event_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_database_wait_event_collection_t (
    name varchar2,
    version varchar2,
    db_query_time_in_secs number,
    awr_result_type varchar2,
    items dbms_cloud_oci_opsi_awr_database_wait_event_summary_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_awr_database_wait_event_collection_t is a subtype of the dbms_cloud_oci_opsi_awr_query_result_t type.

Fields

Field Description

items

(optional) A list of AWR wait events.

DBMS_CLOUD_OCI_OPSI_AWR_HUB_T Type

Awr Hub resource.

Syntax

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

Fields

Field Description

operations_insights_warehouse_id

(required) OPSI Warehouse OCID

id

(required) AWR Hub OCID

compartment_id

(required) The OCID of the compartment.

display_name

(required) User-friedly name of AWR Hub that does not have to be unique.

object_storage_bucket_name

(required) Object Storage Bucket Name

awr_mailbox_url

(optional) Mailbox URL required for AWR hub and AWR source setup.

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

time_created

(required) The time at which the resource was first created. An RFC3339 formatted datetime string

time_updated

(optional) The time at which the resource was last updated. An RFC3339 formatted datetime string

lifecycle_state

(required) Possible lifecycle states

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

hub_dst_timezone_version

(optional) Dst Time Zone Version of the AWR Hub

DBMS_CLOUD_OCI_OPSI_AWR_HUB_OBJECTS_T Type

Logical grouping used for Awr Hub Object operations.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_hub_objects_t FORCE AUTHID CURRENT_USER IS OBJECT (
  awr_snapshots json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_hub_objects_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_hub_objects_t (
    awr_snapshots json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

awr_snapshots

(optional) Awr Hub Object.

DBMS_CLOUD_OCI_OPSI_AWR_HUB_SOURCE_T Type

Awr hub source object

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_hub_source_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  awr_hub_id varchar2(32767),
  compartment_id varchar2(32767),
  l_type varchar2(32767),
  id varchar2(32767),
  awr_hub_opsi_source_id varchar2(32767),
  source_mail_box_url varchar2(32767),
  associated_resource_id varchar2(32767),
  associated_opsi_id varchar2(32767),
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  is_registered_with_awr_hub number,
  awr_source_database_id varchar2(32767),
  min_snapshot_identifier number,
  max_snapshot_identifier number,
  time_first_snapshot_generated timestamp with time zone,
  time_last_snapshot_generated timestamp with time zone,
  hours_since_last_import number,
  lifecycle_state varchar2(32767),
  status varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_hub_source_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_hub_source_t (
    name varchar2,
    awr_hub_id varchar2,
    compartment_id varchar2,
    l_type varchar2,
    id varchar2,
    awr_hub_opsi_source_id varchar2,
    source_mail_box_url varchar2,
    associated_resource_id varchar2,
    associated_opsi_id varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    is_registered_with_awr_hub number,
    awr_source_database_id varchar2,
    min_snapshot_identifier number,
    max_snapshot_identifier number,
    time_first_snapshot_generated timestamp with time zone,
    time_last_snapshot_generated timestamp with time zone,
    hours_since_last_import number,
    lifecycle_state varchar2,
    status varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) The name of the Awr Hub source database.

awr_hub_id

(required) AWR Hub OCID

compartment_id

(required) The OCID of the compartment.

l_type

(required) source type of the database

Allowed values are: 'ADW_S', 'ATP_S', 'ADW_D', 'ATP_D', 'EXTERNAL_PDB', 'EXTERNAL_NONCDB', 'COMANAGED_VM_CDB', 'COMANAGED_VM_PDB', 'COMANAGED_VM_NONCDB', 'COMANAGED_BM_CDB', 'COMANAGED_BM_PDB', 'COMANAGED_BM_NONCDB', 'COMANAGED_EXACS_CDB', 'COMANAGED_EXACS_PDB', 'COMANAGED_EXACS_NONCDB', 'UNDEFINED'

id

(required) The OCID of the Awr Hub source database.

awr_hub_opsi_source_id

(required) The shorted string of the Awr Hub source database identifier.

source_mail_box_url

(required) Opsi Mailbox URL based on the Awr Hub and Awr Hub source.

associated_resource_id

(optional) The OCID of the database id.

associated_opsi_id

(optional) The OCID of the database id.

time_created

(required) The time at which the resource was first created. An RFC3339 formatted datetime string

time_updated

(optional) The time at which the resource was last updated. An RFC3339 formatted datetime string

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

is_registered_with_awr_hub

(optional) This is `true` if the source databse is registered with a Awr Hub, otherwise `false`

awr_source_database_id

(optional) DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.

min_snapshot_identifier

(optional) The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.

max_snapshot_identifier

(optional) The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.

time_first_snapshot_generated

(optional) The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string

time_last_snapshot_generated

(optional) The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string

hours_since_last_import

(optional) Number of hours since last AWR snapshots import happened from the Source database.

lifecycle_state

(required) the current state of the source database

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

status

(required) Indicates the status of a source database in Operations Insights

Allowed values are: 'ACCEPTING', 'NOT_ACCEPTING', 'NOT_REGISTERED', 'TERMINATED'

DBMS_CLOUD_OCI_OPSI_AWR_HUB_SOURCE_SUMMARY_T Type

Awr hub source object

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_hub_source_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  awr_hub_id varchar2(32767),
  compartment_id varchar2(32767),
  l_type varchar2(32767),
  id varchar2(32767),
  awr_hub_opsi_source_id varchar2(32767),
  source_mail_box_url varchar2(32767),
  associated_resource_id varchar2(32767),
  associated_opsi_id varchar2(32767),
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  is_registered_with_awr_hub number,
  awr_source_database_id varchar2(32767),
  min_snapshot_identifier number,
  max_snapshot_identifier number,
  time_first_snapshot_generated timestamp with time zone,
  time_last_snapshot_generated timestamp with time zone,
  hours_since_last_import number,
  lifecycle_state varchar2(32767),
  status varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_hub_source_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_hub_source_summary_t (
    name varchar2,
    awr_hub_id varchar2,
    compartment_id varchar2,
    l_type varchar2,
    id varchar2,
    awr_hub_opsi_source_id varchar2,
    source_mail_box_url varchar2,
    associated_resource_id varchar2,
    associated_opsi_id varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    is_registered_with_awr_hub number,
    awr_source_database_id varchar2,
    min_snapshot_identifier number,
    max_snapshot_identifier number,
    time_first_snapshot_generated timestamp with time zone,
    time_last_snapshot_generated timestamp with time zone,
    hours_since_last_import number,
    lifecycle_state varchar2,
    status varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) The name of the Awr Hub source database.

awr_hub_id

(required) AWR Hub OCID

compartment_id

(required) The OCID of the compartment.

l_type

(required) source type of the database

Allowed values are: 'ADW_S', 'ATP_S', 'ADW_D', 'ATP_D', 'EXTERNAL_PDB', 'EXTERNAL_NONCDB', 'COMANAGED_VM_CDB', 'COMANAGED_VM_PDB', 'COMANAGED_VM_NONCDB', 'COMANAGED_BM_CDB', 'COMANAGED_BM_PDB', 'COMANAGED_BM_NONCDB', 'COMANAGED_EXACS_CDB', 'COMANAGED_EXACS_PDB', 'COMANAGED_EXACS_NONCDB', 'UNDEFINED'

id

(required) The OCID of the Awr Hub source database.

awr_hub_opsi_source_id

(required) The shorted string of the Awr Hub source database identifier.

source_mail_box_url

(required) Opsi Mailbox URL based on the Awr Hub and Awr Hub source.

associated_resource_id

(optional) The OCID of the database id.

associated_opsi_id

(optional) The OCID of the database id.

time_created

(required) The time at which the resource was first created. An RFC3339 formatted datetime string

time_updated

(optional) The time at which the resource was last updated. An RFC3339 formatted datetime string

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

is_registered_with_awr_hub

(optional) This is `true` if the source databse is registered with a Awr Hub, otherwise `false`

awr_source_database_id

(optional) DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.

min_snapshot_identifier

(optional) The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.

max_snapshot_identifier

(optional) The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.

time_first_snapshot_generated

(optional) The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string

time_last_snapshot_generated

(optional) The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string

hours_since_last_import

(optional) Number of hours since last AWR snapshots import happened from the Source database.

lifecycle_state

(required) the current state of the source database

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

status

(required) Indicates the status of a source database in Operations Insights

Allowed values are: 'ACCEPTING', 'NOT_ACCEPTING', 'NOT_REGISTERED', 'TERMINATED'

DBMS_CLOUD_OCI_OPSI_AWR_HUB_SOURCE_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_awr_hub_source_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_hub_source_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_awr_hub_source_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_AWR_HUB_SOURCE_SUMMARY_COLLECTION_T Type

Collection of Awr Hub sources.

Syntax

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

Fields

Field Description

items

(required) Array of Awr Hub source objects.

DBMS_CLOUD_OCI_OPSI_AWR_HUB_SOURCES_T Type

Logical grouping used for Awr Hub Source operations.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_hub_sources_t FORCE AUTHID CURRENT_USER IS OBJECT (
  awr_hub_sources json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_hub_sources_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_hub_sources_t (
    awr_hub_sources json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

awr_hub_sources

(optional) Awr Hub Source Object.

DBMS_CLOUD_OCI_OPSI_AWR_HUB_SUMMARY_T Type

Summary Hub resource.

Syntax

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

Fields

Field Description

operations_insights_warehouse_id

(required) OPSI Warehouse OCID

id

(required) AWR Hub OCID

compartment_id

(required) The OCID of the compartment.

display_name

(required) User-friedly name of AWR Hub that does not have to be unique.

object_storage_bucket_name

(required) Object Storage Bucket Name

awr_mailbox_url

(optional) Mailbox URL required for AWR hub and AWR source setup.

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

time_created

(required) The time at which the resource was first created. An RFC3339 formatted datetime string

time_updated

(optional) The time at which the resource was last updated. An RFC3339 formatted datetime string

lifecycle_state

(required) Possible lifecycle states

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

DBMS_CLOUD_OCI_OPSI_AWR_HUB_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_awr_hub_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_hub_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_awr_hub_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_AWR_HUB_SUMMARY_COLLECTION_T Type

Collection of Hub resources.

Syntax

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

Fields

Field Description

items

(required) Array of Hub summary objects.

DBMS_CLOUD_OCI_OPSI_AWR_HUBS_T Type

Logical grouping used for Awr Hub operations.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_hubs_t FORCE AUTHID CURRENT_USER IS OBJECT (
  awr_hubs json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_hubs_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_hubs_t (
    awr_hubs json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

awr_hubs

(optional) Awr Hub Object.

DBMS_CLOUD_OCI_OPSI_AWR_REPORT_T Type

The result of the AWR report.

Syntax

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

Fields

Field Description

content

(optional) The content of the report.

format

(required) The format of the report.

Allowed values are: 'HTML', 'TEXT'

DBMS_CLOUD_OCI_OPSI_AWR_SNAPSHOT_SUMMARY_T Type

The AWR snapshot summary of one snapshot.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_snapshot_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  awr_source_database_id varchar2(32767),
  instance_number number,
  time_db_startup timestamp with time zone,
  time_snapshot_begin timestamp with time zone,
  time_snapshot_end timestamp with time zone,
  snapshot_identifier number,
  error_count number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_snapshot_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_snapshot_summary_t (
    awr_source_database_id varchar2,
    instance_number number,
    time_db_startup timestamp with time zone,
    time_snapshot_begin timestamp with time zone,
    time_snapshot_end timestamp with time zone,
    snapshot_identifier number,
    error_count number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

awr_source_database_id

(required) DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.

instance_number

(optional) The database instance number.

time_db_startup

(optional) The timestamp of the database startup.

time_snapshot_begin

(optional) The start time of the snapshot.

time_snapshot_end

(optional) The end time of the snapshot.

snapshot_identifier

(required) The identifier of the snapshot.

error_count

(optional) The total number of errors.

DBMS_CLOUD_OCI_OPSI_AWR_SNAPSHOT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_awr_snapshot_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_snapshot_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_awr_snapshot_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_AWR_SNAPSHOT_COLLECTION_T Type

The list of AWR snapshots for one database.

Syntax

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

Fields

Field Description

items

(required) A list of AWR snapshot summary data.

DBMS_CLOUD_OCI_OPSI_AWR_SOURCE_SUMMARY_T Type

Summary of an AwrSource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_source_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  awr_hub_id varchar2(32767),
  name varchar2(32767),
  awr_source_database_id varchar2(32767),
  snapshots_uploaded number,
  min_snapshot_identifier number,
  max_snapshot_identifier number,
  time_first_snapshot_generated timestamp with time zone,
  time_last_snapshot_generated timestamp with time zone,
  hours_since_last_import number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_source_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_awr_source_summary_t (
    awr_hub_id varchar2,
    name varchar2,
    awr_source_database_id varchar2,
    snapshots_uploaded number,
    min_snapshot_identifier number,
    max_snapshot_identifier number,
    time_first_snapshot_generated timestamp with time zone,
    time_last_snapshot_generated timestamp with time zone,
    hours_since_last_import number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

awr_hub_id

(required) AWR Hub OCID

name

(required) Database name of the Source database for which AWR Data will be uploaded to AWR Hub.

awr_source_database_id

(required) DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.

snapshots_uploaded

(required) Number of AWR snapshots uploaded from the Source database.

min_snapshot_identifier

(required) The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.

max_snapshot_identifier

(required) The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.

time_first_snapshot_generated

(required) The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string

time_last_snapshot_generated

(required) The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string

hours_since_last_import

(required) Number of hours since last AWR snapshots import happened from the Source database.

DBMS_CLOUD_OCI_OPSI_CONFIGURATION_ITEM_UNIT_DETAILS_T Type

Unit details of configuration item.

Syntax

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

Fields

Field Description

unit

(optional) Unit of configuration item.

display_name

(optional) User-friendly display name for the configuration item unit.

DBMS_CLOUD_OCI_OPSI_CONFIGURATION_ITEM_ALLOWED_VALUE_DETAILS_T Type

Allowed value details of configuration item, to validate what value can be assigned to a configuration item.

Syntax

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

Fields

Field Description

allowed_value_type

(required) Allowed value type of configuration item.

Allowed values are: 'LIMIT', 'PICK', 'FREE_TEXT'

DBMS_CLOUD_OCI_OPSI_CONFIGURATION_ITEM_METADATA_T Type

Configuration item metadata.

Syntax

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

Fields

Field Description

config_item_type

(required) Type of configuration item.

Allowed values are: 'BASIC'

DBMS_CLOUD_OCI_OPSI_BASIC_CONFIGURATION_ITEM_METADATA_T Type

Basic configuration item metadata.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_basic_configuration_item_metadata_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_configuration_item_metadata_t (
  display_name varchar2(32767),
  description varchar2(32767),
  data_type varchar2(32767),
  unit_details dbms_cloud_oci_opsi_configuration_item_unit_details_t,
  value_input_details dbms_cloud_oci_opsi_configuration_item_allowed_value_details_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_basic_configuration_item_metadata_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_basic_configuration_item_metadata_t (
    config_item_type varchar2,
    display_name varchar2,
    description varchar2,
    data_type varchar2,
    unit_details dbms_cloud_oci_opsi_configuration_item_unit_details_t,
    value_input_details dbms_cloud_oci_opsi_configuration_item_allowed_value_details_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_basic_configuration_item_metadata_t is a subtype of the dbms_cloud_oci_opsi_configuration_item_metadata_t type.

Fields

Field Description

display_name

(optional) User-friendly display name for the configuration item.

description

(optional) Description of configuration item .

data_type

(optional) Data type of configuration item. Examples: STRING, BOOLEAN, NUMBER

unit_details

(optional)

value_input_details

(optional)

DBMS_CLOUD_OCI_OPSI_CONFIGURATION_ITEM_SUMMARY_T Type

Configuration item summary.

Syntax

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

Fields

Field Description

config_item_type

(required) Type of configuration item.

Allowed values are: 'BASIC'

DBMS_CLOUD_OCI_OPSI_BASIC_CONFIGURATION_ITEM_SUMMARY_T Type

Basic configuration item summary. Value field contain the most preferred value for the specified scope (compartmentId), which could be from any of the ConfigurationItemValueSourceConfigurationType. Default value field contains the default value from Operations Insights.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_basic_configuration_item_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_configuration_item_summary_t (
  name varchar2(32767),
  value varchar2(32767),
  value_source_config varchar2(32767),
  default_value varchar2(32767),
  applicable_contexts dbms_cloud_oci_opsi_varchar2_tbl,
  metadata dbms_cloud_oci_opsi_configuration_item_metadata_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_basic_configuration_item_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_basic_configuration_item_summary_t (
    config_item_type varchar2,
    name varchar2,
    value varchar2,
    value_source_config varchar2,
    default_value varchar2,
    applicable_contexts dbms_cloud_oci_opsi_varchar2_tbl,
    metadata dbms_cloud_oci_opsi_configuration_item_metadata_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_basic_configuration_item_summary_t is a subtype of the dbms_cloud_oci_opsi_configuration_item_summary_t type.

Fields

Field Description

name

(optional) Name of configuration item.

value

(optional) Value of configuration item.

value_source_config

(optional) Source configuration from where the value is taken for a configuration item.

Allowed values are: 'DEFAULT', 'TENANT', 'COMPARTMENT'

default_value

(optional) Value of configuration item.

applicable_contexts

(optional) List of contexts in Operations Insights where this configuration item is applicable.

metadata

(optional)

DBMS_CLOUD_OCI_OPSI_CHANGE_AUTONOMOUS_DATABASE_INSIGHT_ADVANCED_FEATURES_DETAILS_T Type

Advanced feature details of autonomous database insight.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_change_autonomous_database_insight_advanced_features_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  connection_details dbms_cloud_oci_opsi_connection_details_t,
  credential_details dbms_cloud_oci_opsi_credential_details_t,
  opsi_private_endpoint_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_change_autonomous_database_insight_advanced_features_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_change_autonomous_database_insight_advanced_features_details_t (
    connection_details dbms_cloud_oci_opsi_connection_details_t,
    credential_details dbms_cloud_oci_opsi_credential_details_t,
    opsi_private_endpoint_id varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

connection_details

(required)

credential_details

(required)

opsi_private_endpoint_id

(optional) The OCID of the OPSI private endpoint

DBMS_CLOUD_OCI_OPSI_CHANGE_AWR_HUB_SOURCE_COMPARTMENT_DETAILS_T Type

The information to be updated.

Syntax

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

Fields

Field Description

compartment_id

(required) The OCID of the compartment into which the resource should be moved.

DBMS_CLOUD_OCI_OPSI_CHANGE_DATABASE_INSIGHT_COMPARTMENT_DETAILS_T Type

The information to be updated.

Syntax

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

Fields

Field Description

compartment_id

(required) The OCID of the compartment into which the resource should be moved.

DBMS_CLOUD_OCI_OPSI_CHANGE_ENTERPRISE_MANAGER_BRIDGE_COMPARTMENT_DETAILS_T Type

The information to be updated.

Syntax

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

Fields

Field Description

compartment_id

(required) The OCID of the compartment into which the resource should be moved.

DBMS_CLOUD_OCI_OPSI_CHANGE_EXADATA_INSIGHT_COMPARTMENT_DETAILS_T Type

The information to be updated.

Syntax

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

Fields

Field Description

compartment_id

(required) The OCID of the compartment into which the resource should be moved.

DBMS_CLOUD_OCI_OPSI_CHANGE_HOST_INSIGHT_COMPARTMENT_DETAILS_T Type

The information to be updated.

Syntax

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

Fields

Field Description

compartment_id

(required) The OCID of the compartment into which the resource should be moved.

DBMS_CLOUD_OCI_OPSI_CHANGE_NEWS_REPORT_COMPARTMENT_DETAILS_T Type

The information to be updated.

Syntax

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

Fields

Field Description

compartment_id

(required) The OCID of the compartment into which the resource will be moved.

DBMS_CLOUD_OCI_OPSI_CHANGE_OPERATIONS_INSIGHTS_PRIVATE_ENDPOINT_COMPARTMENT_DETAILS_T Type

The details used to change the compartment of a Operation Insights private endpoint.

Syntax

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

Fields

Field Description

compartment_id

(optional) The new compartment OCID of the Private service accessed database.

DBMS_CLOUD_OCI_OPSI_CHANGE_OPERATIONS_INSIGHTS_WAREHOUSE_COMPARTMENT_DETAILS_T Type

The information to be updated.

Syntax

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

Fields

Field Description

compartment_id

(required) The OCID of the compartment.

DBMS_CLOUD_OCI_OPSI_CHANGE_OPSI_CONFIGURATION_COMPARTMENT_DETAILS_T Type

The information used to change the compartment of an OPSI configuration resource.

Syntax

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

Fields

Field Description

compartment_id

(required) OCID of the compartment into which the resource should be moved.

DBMS_CLOUD_OCI_OPSI_CHANGE_PE_COMANAGED_DATABASE_INSIGHT_DETAILS_T Type

Details of a Private Endpoint co-managed database insight.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_change_pe_comanaged_database_insight_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  service_name varchar2(32767),
  credential_details dbms_cloud_oci_opsi_credential_details_t,
  connection_details dbms_cloud_oci_opsi_pe_comanaged_database_connection_details_t,
  opsi_private_endpoint_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_change_pe_comanaged_database_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_change_pe_comanaged_database_insight_details_t (
    service_name varchar2,
    credential_details dbms_cloud_oci_opsi_credential_details_t,
    connection_details dbms_cloud_oci_opsi_pe_comanaged_database_connection_details_t,
    opsi_private_endpoint_id varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

service_name

(required) Database service name used for connection requests.

credential_details

(required)

connection_details

(optional)

opsi_private_endpoint_id

(required) The OCID of the OPSI private endpoint

DBMS_CLOUD_OCI_OPSI_IMPORTABLE_COMPUTE_ENTITY_SUMMARY_T Type

A compute entity that can be imported into Operations Insights.

Syntax

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

Fields

Field Description

entity_source

(required) Source of the importable agent entity.

Allowed values are: 'MACS_MANAGED_EXTERNAL_HOST', 'MACS_MANAGED_CLOUD_HOST'

compute_id

(required) The OCID of the Compute Instance

compute_display_name

(required) The Display Name of the Compute Instance

compartment_id

(required) The OCID of the compartment.

DBMS_CLOUD_OCI_OPSI_CLOUD_IMPORTABLE_COMPUTE_ENTITY_SUMMARY_T Type

A compute host entity that can be imported into Operations Insights.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_cloud_importable_compute_entity_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_importable_compute_entity_summary_t (
  host_name varchar2(32767),
  platform_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_cloud_importable_compute_entity_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_cloud_importable_compute_entity_summary_t (
    entity_source varchar2,
    compute_id varchar2,
    compute_display_name varchar2,
    compartment_id varchar2,
    host_name varchar2,
    platform_type varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_cloud_importable_compute_entity_summary_t is a subtype of the dbms_cloud_oci_opsi_importable_compute_entity_summary_t type.

Fields

Field Description

host_name

(required) The host name. The host name is unique amongst the hosts managed by the same management agent.

platform_type

(required) Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].

Allowed values are: 'LINUX', 'SOLARIS', 'SUNOS', 'ZLINUX', 'WINDOWS', 'AIX', 'HP_UX'

DBMS_CLOUD_OCI_OPSI_CONFIGURATION_ITEM_FREE_TEXT_ALLOWED_VALUE_DETAILS_T Type

Allowed value details of configuration item for FREE_TEXT type.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_configuration_item_free_text_allowed_value_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_configuration_item_allowed_value_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_configuration_item_free_text_allowed_value_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_configuration_item_free_text_allowed_value_details_t (
    allowed_value_type varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_configuration_item_free_text_allowed_value_details_t is a subtype of the dbms_cloud_oci_opsi_configuration_item_allowed_value_details_t type.

DBMS_CLOUD_OCI_OPSI_CONFIGURATION_ITEM_LIMIT_ALLOWED_VALUE_DETAILS_T Type

Allowed value details of configuration item for LIMIT type. Value has to be between minValue and maxValue.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_configuration_item_limit_allowed_value_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_configuration_item_allowed_value_details_t (
  min_value varchar2(32767),
  max_value varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_configuration_item_limit_allowed_value_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_configuration_item_limit_allowed_value_details_t (
    allowed_value_type varchar2,
    min_value varchar2,
    max_value varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_configuration_item_limit_allowed_value_details_t is a subtype of the dbms_cloud_oci_opsi_configuration_item_allowed_value_details_t type.

Fields

Field Description

min_value

(optional) Minimum value limit for the configuration item.

max_value

(optional) Maximum value limit for the configuration item.

DBMS_CLOUD_OCI_OPSI_CONFIGURATION_ITEM_PICK_ALLOWED_VALUE_DETAILS_T Type

Allowed value details of configuration item for PICK type. Value has to be from one of the possibleValues.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_configuration_item_pick_allowed_value_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_configuration_item_allowed_value_details_t (
  possible_values dbms_cloud_oci_opsi_varchar2_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_configuration_item_pick_allowed_value_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_configuration_item_pick_allowed_value_details_t (
    allowed_value_type varchar2,
    possible_values dbms_cloud_oci_opsi_varchar2_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_configuration_item_pick_allowed_value_details_t is a subtype of the dbms_cloud_oci_opsi_configuration_item_allowed_value_details_t type.

Fields

Field Description

possible_values

(optional) Allowed values to pick for the configuration item.

DBMS_CLOUD_OCI_OPSI_CONFIGURATION_ITEM_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_configuration_item_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_configuration_item_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_configuration_item_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_CONFIGURATION_ITEMS_COLLECTION_T Type

Collection of configuration item summary objects.

Syntax

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

Fields

Field Description

opsi_config_type

(required) OPSI configuration type.

Allowed values are: 'UX_CONFIGURATION'

config_items

(optional) Array of configuration item summary objects.

DBMS_CLOUD_OCI_OPSI_CREATE_AWR_HUB_DETAILS_T Type

The information about Hub to be analyzed. Input compartmentId MUST be the root compartment.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_awr_hub_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  operations_insights_warehouse_id varchar2(32767),
  compartment_id varchar2(32767),
  display_name varchar2(32767),
  object_storage_bucket_name varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_awr_hub_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_awr_hub_details_t (
    operations_insights_warehouse_id varchar2,
    compartment_id varchar2,
    display_name varchar2,
    object_storage_bucket_name varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

operations_insights_warehouse_id

(required) OPSI Warehouse OCID

compartment_id

(required) The OCID of the compartment.

display_name

(required) User-friedly name of AWR Hub that does not have to be unique.

object_storage_bucket_name

(optional) Object Storage Bucket Name

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_OPSI_CREATE_AWR_HUB_SOURCE_DETAILS_T Type

payload to register Awr Hub source

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_awr_hub_source_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  awr_hub_id varchar2(32767),
  compartment_id varchar2(32767),
  associated_resource_id varchar2(32767),
  associated_opsi_id varchar2(32767),
  l_type varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_awr_hub_source_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_awr_hub_source_details_t (
    name varchar2,
    awr_hub_id varchar2,
    compartment_id varchar2,
    associated_resource_id varchar2,
    associated_opsi_id varchar2,
    l_type varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) The name of the Awr Hub source database.

awr_hub_id

(required) AWR Hub OCID

compartment_id

(required) The OCID of the compartment.

associated_resource_id

(optional) The OCID of the database id.

associated_opsi_id

(optional) The OCID of the database id.

l_type

(required) source type of the database

Allowed values are: 'ADW_S', 'ATP_S', 'ADW_D', 'ATP_D', 'EXTERNAL_PDB', 'EXTERNAL_NONCDB', 'COMANAGED_VM_CDB', 'COMANAGED_VM_PDB', 'COMANAGED_VM_NONCDB', 'COMANAGED_BM_CDB', 'COMANAGED_BM_PDB', 'COMANAGED_BM_NONCDB', 'COMANAGED_EXACS_CDB', 'COMANAGED_EXACS_PDB', 'COMANAGED_EXACS_NONCDB', 'UNDEFINED'

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_OPSI_CREATE_CONFIGURATION_ITEM_DETAILS_T Type

Configuration item details for OPSI configuration creation.

Syntax

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

Fields

Field Description

config_item_type

(required) Type of configuration item.

Allowed values are: 'BASIC'

DBMS_CLOUD_OCI_OPSI_CREATE_BASIC_CONFIGURATION_ITEM_DETAILS_T Type

Basic configuration item details for OPSI configuration creation.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_basic_configuration_item_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_create_configuration_item_details_t (
  name varchar2(32767),
  value varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_basic_configuration_item_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_basic_configuration_item_details_t (
    config_item_type varchar2,
    name varchar2,
    value varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_create_basic_configuration_item_details_t is a subtype of the dbms_cloud_oci_opsi_create_configuration_item_details_t type.

Fields

Field Description

name

(optional) Name of configuration item.

value

(optional) Value of configuration item.

DBMS_CLOUD_OCI_OPSI_CREATE_EM_MANAGED_EXTERNAL_DATABASE_INSIGHT_DETAILS_T Type

The information about database to be analyzed.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_em_managed_external_database_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_create_database_insight_details_t (
  enterprise_manager_identifier varchar2(32767),
  enterprise_manager_bridge_id varchar2(32767),
  enterprise_manager_entity_identifier varchar2(32767),
  exadata_insight_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_em_managed_external_database_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_em_managed_external_database_insight_details_t (
    entity_source varchar2,
    compartment_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    enterprise_manager_identifier varchar2,
    enterprise_manager_bridge_id varchar2,
    enterprise_manager_entity_identifier varchar2,
    exadata_insight_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_create_em_managed_external_database_insight_details_t is a subtype of the dbms_cloud_oci_opsi_create_database_insight_details_t type.

Fields

Field Description

enterprise_manager_identifier

(required) Enterprise Manager Unique Identifier

enterprise_manager_bridge_id

(required) OPSI Enterprise Manager Bridge OCID

enterprise_manager_entity_identifier

(required) Enterprise Manager Entity Unique Identifier

exadata_insight_id

(optional) The OCID of the Exadata insight.

DBMS_CLOUD_OCI_OPSI_CREATE_EXADATA_INSIGHT_DETAILS_T Type

The information about the Exadata system to be analyzed.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_exadata_insight_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  entity_source varchar2(32767),
  compartment_id varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_exadata_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_exadata_insight_details_t (
    entity_source varchar2,
    compartment_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

entity_source

(required) Source of the Exadata system.

Allowed values are: 'EM_MANAGED_EXTERNAL_EXADATA', 'PE_COMANAGED_EXADATA'

compartment_id

(required) Compartment Identifier of Exadata insight

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_OPSI_CREATE_EM_MANAGED_EXTERNAL_EXADATA_INSIGHT_DETAILS_T Type

The information about the Exadata system to be analyzed. If memberEntityDetails is not specified, the the Enterprise Manager entity (e.g. databases and hosts) associated with an Exadata system will be placed in the same compartment as the Exadata system.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_em_managed_external_exadata_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_create_exadata_insight_details_t (
  enterprise_manager_identifier varchar2(32767),
  enterprise_manager_bridge_id varchar2(32767),
  enterprise_manager_entity_identifier varchar2(32767),
  member_entity_details dbms_cloud_oci_opsi_create_em_managed_external_exadata_member_entity_details_tbl,
  is_auto_sync_enabled number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_em_managed_external_exadata_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_em_managed_external_exadata_insight_details_t (
    entity_source varchar2,
    compartment_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    enterprise_manager_identifier varchar2,
    enterprise_manager_bridge_id varchar2,
    enterprise_manager_entity_identifier varchar2,
    member_entity_details dbms_cloud_oci_opsi_create_em_managed_external_exadata_member_entity_details_tbl,
    is_auto_sync_enabled number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_create_em_managed_external_exadata_insight_details_t is a subtype of the dbms_cloud_oci_opsi_create_exadata_insight_details_t type.

Fields

Field Description

enterprise_manager_identifier

(required) Enterprise Manager Unique Identifier

enterprise_manager_bridge_id

(required) OPSI Enterprise Manager Bridge OCID

enterprise_manager_entity_identifier

(required) Enterprise Manager Entity Unique Identifier

member_entity_details

(optional)

is_auto_sync_enabled

(optional) Set to true to enable automatic enablement and disablement of related targets from Enterprise Manager. New resources (e.g. Database Insights) will be placed in the same compartment as the related Exadata Insight.

DBMS_CLOUD_OCI_OPSI_CREATE_HOST_INSIGHT_DETAILS_T Type

The information about the host to be analyzed.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_host_insight_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  entity_source varchar2(32767),
  compartment_id varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_host_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_host_insight_details_t (
    entity_source varchar2,
    compartment_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

entity_source

(required) Source of the host entity.

Allowed values are: 'MACS_MANAGED_EXTERNAL_HOST', 'EM_MANAGED_EXTERNAL_HOST', 'MACS_MANAGED_CLOUD_HOST', 'PE_COMANAGED_HOST'

compartment_id

(required) Compartment Identifier of host

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_OPSI_CREATE_EM_MANAGED_EXTERNAL_HOST_INSIGHT_DETAILS_T Type

The information about the EM-managed external host to be analyzed.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_em_managed_external_host_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_create_host_insight_details_t (
  enterprise_manager_identifier varchar2(32767),
  enterprise_manager_bridge_id varchar2(32767),
  enterprise_manager_entity_identifier varchar2(32767),
  exadata_insight_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_em_managed_external_host_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_em_managed_external_host_insight_details_t (
    entity_source varchar2,
    compartment_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    enterprise_manager_identifier varchar2,
    enterprise_manager_bridge_id varchar2,
    enterprise_manager_entity_identifier varchar2,
    exadata_insight_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_create_em_managed_external_host_insight_details_t is a subtype of the dbms_cloud_oci_opsi_create_host_insight_details_t type.

Fields

Field Description

enterprise_manager_identifier

(required) Enterprise Manager Unique Identifier

enterprise_manager_bridge_id

(required) OPSI Enterprise Manager Bridge OCID

enterprise_manager_entity_identifier

(required) Enterprise Manager Entity Unique Identifier

exadata_insight_id

(optional) The OCID of the Exadata insight.

DBMS_CLOUD_OCI_OPSI_CREATE_ENTERPRISE_MANAGER_BRIDGE_DETAILS_T Type

The information about a Enterprise Manager bridge resource to be created

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_enterprise_manager_bridge_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  compartment_id varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  object_storage_bucket_name varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_enterprise_manager_bridge_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_enterprise_manager_bridge_details_t (
    compartment_id varchar2,
    display_name varchar2,
    description varchar2,
    object_storage_bucket_name varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

compartment_id

(required) Compartment identifier of the Enterprise Manager bridge

display_name

(required) User-friedly name of Enterprise Manager Bridge that does not have to be unique.

description

(optional) Description of Enterprise Manager Bridge

object_storage_bucket_name

(required) Object Storage Bucket Name

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_OPSI_CREATE_MACS_MANAGED_CLOUD_HOST_INSIGHT_DETAILS_T Type

The information about the Compute Instance host to be analyzed.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_macs_managed_cloud_host_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_create_host_insight_details_t (
  compute_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_macs_managed_cloud_host_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_macs_managed_cloud_host_insight_details_t (
    entity_source varchar2,
    compartment_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    compute_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_create_macs_managed_cloud_host_insight_details_t is a subtype of the dbms_cloud_oci_opsi_create_host_insight_details_t type.

Fields

Field Description

compute_id

(required) The OCID of the Compute Instance

DBMS_CLOUD_OCI_OPSI_CREATE_MACS_MANAGED_EXTERNAL_HOST_INSIGHT_DETAILS_T Type

The information about the MACS-managed external host to be analyzed.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_macs_managed_external_host_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_create_host_insight_details_t (
  management_agent_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_macs_managed_external_host_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_macs_managed_external_host_insight_details_t (
    entity_source varchar2,
    compartment_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    management_agent_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_create_macs_managed_external_host_insight_details_t is a subtype of the dbms_cloud_oci_opsi_create_host_insight_details_t type.

Fields

Field Description

management_agent_id

(required) The OCID of the Management Agent

DBMS_CLOUD_OCI_OPSI_NEWS_CONTENT_TYPES_T Type

Content types that the news report can handle.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_news_content_types_t FORCE AUTHID CURRENT_USER IS OBJECT (
  capacity_planning_resources dbms_cloud_oci_opsi_varchar2_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_news_content_types_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_news_content_types_t (
    capacity_planning_resources dbms_cloud_oci_opsi_varchar2_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

capacity_planning_resources

(required) Supported resources for capacity planning content type.

DBMS_CLOUD_OCI_OPSI_CREATE_NEWS_REPORT_DETAILS_T Type

The information about the news report to be created.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_news_report_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  news_frequency varchar2(32767),
  description varchar2(32767),
  ons_topic_id varchar2(32767),
  compartment_id varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  content_types dbms_cloud_oci_opsi_news_content_types_t,
  locale varchar2(32767),
  status varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_news_report_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_news_report_details_t (
    name varchar2,
    news_frequency varchar2,
    description varchar2,
    ons_topic_id varchar2,
    compartment_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    content_types dbms_cloud_oci_opsi_news_content_types_t,
    locale varchar2,
    status varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) The news report name.

news_frequency

(required) News report frequency.

Allowed values are: 'WEEKLY'

description

(required) The description of the news report.

ons_topic_id

(required) The OCID of the ONS topic.

compartment_id

(required) Compartment Identifier where the news report will be created.

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\"}}`

content_types

(required)

locale

(required) Language of the news report.

Allowed values are: 'EN'

status

(optional) Defines if the news report will be enabled or disabled.

Allowed values are: 'DISABLED', 'ENABLED', 'TERMINATED'

DBMS_CLOUD_OCI_OPSI_CREATE_OPERATIONS_INSIGHTS_PRIVATE_ENDPOINT_DETAILS_T Type

The details used to create a new Operation Insights private endpoint.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_operations_insights_private_endpoint_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  display_name varchar2(32767),
  compartment_id varchar2(32767),
  vcn_id varchar2(32767),
  subnet_id varchar2(32767),
  is_used_for_rac_dbs number,
  description varchar2(32767),
  nsg_ids dbms_cloud_oci_opsi_varchar2_tbl,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_operations_insights_private_endpoint_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_operations_insights_private_endpoint_details_t (
    display_name varchar2,
    compartment_id varchar2,
    vcn_id varchar2,
    subnet_id varchar2,
    is_used_for_rac_dbs number,
    description varchar2,
    nsg_ids dbms_cloud_oci_opsi_varchar2_tbl,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

display_name

(required) The display name for the private endpoint. It is changeable.

compartment_id

(required) The compartment OCID of the Private service accessed database.

vcn_id

(required) The VCN OCID of the Private service accessed database.

subnet_id

(required) The Subnet OCID of the Private service accessed database.

is_used_for_rac_dbs

(required) The flag to identify if private endpoint is used for rac database or not

description

(optional) The description of the private endpoint.

nsg_ids

(optional) The OCID of the network security groups that the private endpoint belongs to.

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_OPSI_CREATE_OPERATIONS_INSIGHTS_WAREHOUSE_DETAILS_T Type

The information about a Operations Insights Warehouse resource to be created. Input compartmentId MUST be the root compartment.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_operations_insights_warehouse_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  compartment_id varchar2(32767),
  display_name varchar2(32767),
  cpu_allocated number,
  storage_allocated_in_g_bs number,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_operations_insights_warehouse_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_operations_insights_warehouse_details_t (
    compartment_id varchar2,
    display_name varchar2,
    cpu_allocated number,
    storage_allocated_in_g_bs number,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

compartment_id

(required) The OCID of the compartment.

display_name

(required) User-friedly name of Operations Insights Warehouse that does not have to be unique.

cpu_allocated

(required) Number of OCPUs allocated to OPSI Warehouse ADW.

storage_allocated_in_g_bs

(optional) Storage allocated to OPSI Warehouse ADW.

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_OPSI_CREATE_OPERATIONS_INSIGHTS_WAREHOUSE_USER_DETAILS_T Type

The information about a Operations Insights Warehouse User to be created. Input compartmentId MUST be the root compartment.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_operations_insights_warehouse_user_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  operations_insights_warehouse_id varchar2(32767),
  compartment_id varchar2(32767),
  name varchar2(32767),
  connection_password varchar2(32767),
  is_awr_data_access number,
  is_em_data_access number,
  is_opsi_data_access number,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_operations_insights_warehouse_user_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_operations_insights_warehouse_user_details_t (
    operations_insights_warehouse_id varchar2,
    compartment_id varchar2,
    name varchar2,
    connection_password varchar2,
    is_awr_data_access number,
    is_em_data_access number,
    is_opsi_data_access number,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

operations_insights_warehouse_id

(required) OPSI Warehouse OCID

compartment_id

(required) The OCID of the compartment.

name

(required) Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

connection_password

(required) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

is_awr_data_access

(required) Indicate whether user has access to AWR data.

is_em_data_access

(optional) Indicate whether user has access to EM data.

is_opsi_data_access

(optional) Indicate whether user has access to OPSI data.

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_OPSI_CREATE_CONFIGURATION_ITEM_DETAILS_TBL Type

Nested table type of dbms_cloud_oci_opsi_create_configuration_item_details_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_configuration_item_details_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_create_configuration_item_details_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_CREATE_OPSI_CONFIGURATION_DETAILS_T Type

Information about OPSI configuration to be created.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_opsi_configuration_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  compartment_id varchar2(32767),
  opsi_config_type varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  config_items dbms_cloud_oci_opsi_create_configuration_item_details_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_opsi_configuration_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_opsi_configuration_details_t (
    compartment_id varchar2,
    opsi_config_type varchar2,
    display_name varchar2,
    description varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    config_items dbms_cloud_oci_opsi_create_configuration_item_details_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

compartment_id

(optional) The OCID of the compartment.

opsi_config_type

(required) OPSI configuration type.

Allowed values are: 'UX_CONFIGURATION'

display_name

(optional) User-friendly display name for the OPSI configuration. The name does not have to be unique.

description

(optional) Description of OPSI configuration.

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

config_items

(optional) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array.

DBMS_CLOUD_OCI_OPSI_CREATE_OPSI_UX_CONFIGURATION_DETAILS_T Type

Information about OPSI UX configuration to be created.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_opsi_ux_configuration_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_create_opsi_configuration_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_opsi_ux_configuration_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_opsi_ux_configuration_details_t (
    compartment_id varchar2,
    opsi_config_type varchar2,
    display_name varchar2,
    description varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    config_items dbms_cloud_oci_opsi_create_configuration_item_details_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_create_opsi_ux_configuration_details_t is a subtype of the dbms_cloud_oci_opsi_create_opsi_configuration_details_t type.

DBMS_CLOUD_OCI_OPSI_CREATE_PE_COMANAGED_EXADATA_INSIGHT_DETAILS_T Type

The information about the Exadata system to be analyzed.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_create_pe_comanaged_exadata_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_create_exadata_insight_details_t (
  exadata_infra_id varchar2(32767),
  member_vm_cluster_details dbms_cloud_oci_opsi_create_pe_comanaged_exadata_vmcluster_details_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_pe_comanaged_exadata_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_create_pe_comanaged_exadata_insight_details_t (
    entity_source varchar2,
    compartment_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    exadata_infra_id varchar2,
    member_vm_cluster_details dbms_cloud_oci_opsi_create_pe_comanaged_exadata_vmcluster_details_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_create_pe_comanaged_exadata_insight_details_t is a subtype of the dbms_cloud_oci_opsi_create_exadata_insight_details_t type.

Fields

Field Description

exadata_infra_id

(required) The OCID of the Exadata Infrastructure.

member_vm_cluster_details

(optional)

DBMS_CLOUD_OCI_OPSI_CREDENTIAL_BY_VAULT_T Type

Vault Credential Details to connect to the database.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_credential_by_vault_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_credential_details_t (
  user_name varchar2(32767),
  password_secret_id varchar2(32767),
  wallet_secret_id varchar2(32767),
  role varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_credential_by_vault_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_credential_by_vault_t (
    credential_source_name varchar2,
    credential_type varchar2,
    user_name varchar2,
    password_secret_id varchar2,
    wallet_secret_id varchar2,
    role varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_credential_by_vault_t is a subtype of the dbms_cloud_oci_opsi_credential_details_t type.

Fields

Field Description

user_name

(optional) database user name.

password_secret_id

(optional) The secret OCID mapping to the database credentials.

wallet_secret_id

(optional) The OCID of the Secret where the database keystore contents are stored. This is used for TCPS support in BM/VM/ExaCS cases.

role

(optional) database user role.

Allowed values are: 'NORMAL'

DBMS_CLOUD_OCI_OPSI_CREDENTIALS_BY_SOURCE_T Type

Credential Source to connect to the database.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_credentials_by_source_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_credential_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_credentials_by_source_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_credentials_by_source_t (
    credential_source_name varchar2,
    credential_type varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_credentials_by_source_t is a subtype of the dbms_cloud_oci_opsi_credential_details_t type.

DBMS_CLOUD_OCI_OPSI_DATABASE_CONFIGURATION_METRIC_GROUP_T Type

Supported configuration metric groups for database capacity planning service.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_database_configuration_metric_group_t FORCE AUTHID CURRENT_USER IS OBJECT (
  metric_name varchar2(32767),
  time_collected timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_configuration_metric_group_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_configuration_metric_group_t (
    metric_name varchar2,
    time_collected timestamp with time zone
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

metric_name

(required) Name of the metric group.

Allowed values are: 'DB_EXTERNAL_PROPERTIES', 'DB_EXTERNAL_INSTANCE', 'DB_OS_CONFIG_INSTANCE', 'DB_PARAMETERS'

time_collected

(optional) Collection timestamp Example: `\"2020-05-06T00:00:00.000Z\"`

DBMS_CLOUD_OCI_OPSI_DB_EXTERNAL_INSTANCE_T Type

Configuration parameters defined for external databases instance level.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_db_external_instance_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_configuration_metric_group_t (
  instance_name varchar2(32767),
  host_name varchar2(32767),
  cpu_count number,
  host_memory_capacity number,
  version varchar2(32767),
  parallel varchar2(32767),
  instance_role varchar2(32767),
  logins varchar2(32767),
  database_status varchar2(32767),
  status varchar2(32767),
  edition varchar2(32767),
  startup_time timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_db_external_instance_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_db_external_instance_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    instance_name varchar2,
    host_name varchar2,
    cpu_count number,
    host_memory_capacity number,
    version varchar2,
    parallel varchar2,
    instance_role varchar2,
    logins varchar2,
    database_status varchar2,
    status varchar2,
    edition varchar2,
    startup_time timestamp with time zone
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_db_external_instance_t is a subtype of the dbms_cloud_oci_opsi_database_configuration_metric_group_t type.

Fields

Field Description

instance_name

(required) Name of the database instance.

host_name

(required) Host name of the database instance.

cpu_count

(optional) Total number of CPUs allocated for the host.

host_memory_capacity

(optional) Total amount of usable Physical RAM Memory available in gigabytes.

version

(optional) Database version.

parallel

(optional) Indicates whether the instance is mounted in cluster database mode (YES) or not (NO).

instance_role

(optional) Role (permissions) of the database instance.

logins

(optional) Indicates if logins are allowed or restricted.

database_status

(optional) Status of the database.

status

(optional) Status of the instance.

edition

(optional) The edition of the database.

startup_time

(optional) Start up time of the database instance.

DBMS_CLOUD_OCI_OPSI_DB_EXTERNAL_PROPERTIES_T Type

Configuration parameters defined for external databases.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_db_external_properties_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_configuration_metric_group_t (
  name varchar2(32767),
  log_mode varchar2(32767),
  cdb varchar2(32767),
  open_mode varchar2(32767),
  database_role varchar2(32767),
  guard_status varchar2(32767),
  platform_name varchar2(32767),
  control_file_type varchar2(32767),
  switchover_status varchar2(32767),
  created timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_db_external_properties_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_db_external_properties_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    name varchar2,
    log_mode varchar2,
    cdb varchar2,
    open_mode varchar2,
    database_role varchar2,
    guard_status varchar2,
    platform_name varchar2,
    control_file_type varchar2,
    switchover_status varchar2,
    created timestamp with time zone
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_db_external_properties_t is a subtype of the dbms_cloud_oci_opsi_database_configuration_metric_group_t type.

Fields

Field Description

name

(optional) Name of the database.

log_mode

(optional) Archive log mode.

cdb

(optional) Indicates if it is a CDB or not. This would be 'yes' or 'no'.

open_mode

(optional) Open mode information.

database_role

(optional) Current role of the database.

guard_status

(optional) Data protection policy.

platform_name

(optional) Platform name of the database, OS with architecture.

control_file_type

(optional) Type of control file.

switchover_status

(optional) Indicates whether switchover is allowed.

created

(optional) Creation time.

DBMS_CLOUD_OCI_OPSI_DBOS_CONFIG_INSTANCE_T Type

Configuration parameters defined for external databases instance level.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_dbos_config_instance_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_configuration_metric_group_t (
  instance_name varchar2(32767),
  host_name varchar2(32767),
  num_cp_us number,
  num_cpu_cores number,
  num_cpu_sockets number,
  physical_memory_bytes number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_dbos_config_instance_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_dbos_config_instance_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    instance_name varchar2,
    host_name varchar2,
    num_cp_us number,
    num_cpu_cores number,
    num_cpu_sockets number,
    physical_memory_bytes number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_dbos_config_instance_t is a subtype of the dbms_cloud_oci_opsi_database_configuration_metric_group_t type.

Fields

Field Description

instance_name

(required) Name of the database instance.

host_name

(required) Host name of the database instance.

num_cp_us

(optional) Total number of CPUs available.

num_cpu_cores

(optional) Number of CPU cores available (includes subcores of multicore CPUs as well as single-core CPUs).

num_cpu_sockets

(optional) Number of CPU Sockets available.

physical_memory_bytes

(optional) Total number of bytes of physical memory.

DBMS_CLOUD_OCI_OPSI_DB_PARAMETERS_T Type

Initialization parameters for a database.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_db_parameters_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_configuration_metric_group_t (
  instance_number number,
  parameter_name varchar2(32767),
  parameter_value varchar2(32767),
  snapshot_id number,
  is_changed varchar2(32767),
  is_default varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_db_parameters_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_db_parameters_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    instance_number number,
    parameter_name varchar2,
    parameter_value varchar2,
    snapshot_id number,
    is_changed varchar2,
    is_default varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_db_parameters_t is a subtype of the dbms_cloud_oci_opsi_database_configuration_metric_group_t type.

Fields

Field Description

instance_number

(required) Database instance number.

parameter_name

(required) Database parameter name.

parameter_value

(required) Database parameter value.

snapshot_id

(optional) AWR snapshot id for the parameter value

is_changed

(optional) Indicates whether the parameter's value changed in given snapshot or not.

is_default

(optional) Indicates whether this value is the default value or not.

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_BIND_PARAMETER_T Type

Details for a bind parameter used in data object query.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_bind_parameter_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  value json_element_t,
  data_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_bind_parameter_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_bind_parameter_t (
    name varchar2,
    value json_element_t,
    data_type varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) Name of the bind parameter.

value

(required) Value for the bind parameter.

data_type

(required) Data type of the bind parameter.

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_COLUMN_UNIT_T Type

Unit details of a data object column.

Syntax

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

Fields

Field Description

unit_category

(required) Category of the column's unit.

Allowed values are: 'DATA_SIZE', 'TIME', 'POWER', 'TEMPERATURE', 'CORE', 'RATE', 'FREQUENCY', 'OTHER_STANDARD', 'CUSTOM'

display_name

(optional) Display name of the column's unit.

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_COLUMN_METADATA_T Type

Metadata of a column in a data object resultset.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_column_metadata_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  category varchar2(32767),
  data_type varchar2(32767),
  data_type_name varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  group_name varchar2(32767),
  unit_details dbms_cloud_oci_opsi_data_object_column_unit_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_column_metadata_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_column_metadata_t (
    name varchar2,
    category varchar2,
    data_type varchar2,
    data_type_name varchar2,
    display_name varchar2,
    description varchar2,
    group_name varchar2,
    unit_details dbms_cloud_oci_opsi_data_object_column_unit_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) Name of the column.

category

(optional) Category of the column.

Allowed values are: 'DIMENSION', 'METRIC', 'TIME_DIMENSION', 'UNKNOWN'

data_type

(optional) Type of a data object column.

data_type_name

(optional) Type name of a data object column.

Allowed values are: 'NUMBER', 'TIMESTAMP', 'VARCHAR2', 'OTHER'

display_name

(optional) Display name of the column.

description

(optional) Description of the column.

group_name

(optional) Group name of the column.

unit_details

(optional)

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_CORE_COLUMN_UNIT_T Type

Unit details of a data object column of CORE unit category.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_core_column_unit_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_data_object_column_unit_t (
  unit varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_core_column_unit_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_core_column_unit_t (
    unit_category varchar2,
    display_name varchar2,
    unit varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_data_object_core_column_unit_t is a subtype of the dbms_cloud_oci_opsi_data_object_column_unit_t type.

Fields

Field Description

unit

(optional) Core unit.

Allowed values are: 'CORE', 'MILLI_CORE'

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_CUSTOM_COLUMN_UNIT_T Type

Unit details of a data object column of CUSTOM unit category.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_custom_column_unit_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_data_object_column_unit_t (
  unit varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_custom_column_unit_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_custom_column_unit_t (
    unit_category varchar2,
    display_name varchar2,
    unit varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_data_object_custom_column_unit_t is a subtype of the dbms_cloud_oci_opsi_data_object_column_unit_t type.

Fields

Field Description

unit

(optional) Custom column unit.

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_DATA_SIZE_COLUMN_UNIT_T Type

Unit details of a data object column of DATA_SIZE unit category.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_data_size_column_unit_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_data_object_column_unit_t (
  unit varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_data_size_column_unit_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_data_size_column_unit_t (
    unit_category varchar2,
    display_name varchar2,
    unit varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_data_object_data_size_column_unit_t is a subtype of the dbms_cloud_oci_opsi_data_object_column_unit_t type.

Fields

Field Description

unit

(optional) Data size unit.

Allowed values are: 'CHARACTER', 'BLOCK', 'BIT', 'BYTE', 'KILO_BYTE', 'MEGA_BYTE', 'GIGA_BYTE', 'TERA_BYTE', 'PETA_BYTE', 'EXA_BYTE', 'ZETTA_BYTE', 'YOTTA_BYTE'

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_FREQUENCY_COLUMN_UNIT_T Type

Unit details of a data object column of FREQEUENCY unit category.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_frequency_column_unit_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_data_object_column_unit_t (
  unit varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_frequency_column_unit_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_frequency_column_unit_t (
    unit_category varchar2,
    display_name varchar2,
    unit varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_data_object_frequency_column_unit_t is a subtype of the dbms_cloud_oci_opsi_data_object_column_unit_t type.

Fields

Field Description

unit

(optional) Frequency unit.

Allowed values are: 'HERTZ', 'KILO_HERTZ', 'MEGA_HERTZ', 'GIGA_HERTZ', 'TERA_HERTZ'

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_OTHER_STANDARD_COLUMN_UNIT_T Type

Unit details of a data object column of OTHER_STANDARD unit category.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_other_standard_column_unit_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_data_object_column_unit_t (
  unit varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_other_standard_column_unit_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_other_standard_column_unit_t (
    unit_category varchar2,
    display_name varchar2,
    unit varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_data_object_other_standard_column_unit_t is a subtype of the dbms_cloud_oci_opsi_data_object_column_unit_t type.

Fields

Field Description

unit

(optional) Other standard column unit.

Allowed values are: 'PERCENTAGE', 'COUNT', 'IO', 'BOOLEAN', 'OPERATION', 'TRANSACTION', 'CONNECTION', 'ACCESS', 'REQUEST', 'MESSAGE', 'EXECUTION', 'LOGONS', 'THREAD', 'ERROR'

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_POWER_COLUMN_UNIT_T Type

Unit details of a data object column of POWER unit category.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_power_column_unit_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_data_object_column_unit_t (
  unit varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_power_column_unit_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_power_column_unit_t (
    unit_category varchar2,
    display_name varchar2,
    unit varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_data_object_power_column_unit_t is a subtype of the dbms_cloud_oci_opsi_data_object_column_unit_t type.

Fields

Field Description

unit

(optional) Power unit.

Allowed values are: 'AMP', 'WATT', 'KILO_WATT', 'MEGA_WATT', 'GIGA_WATT'

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_BIND_PARAMETER_TBL Type

Nested table type of dbms_cloud_oci_opsi_data_object_bind_parameter_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_bind_parameter_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_data_object_bind_parameter_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_QUERY_T Type

Information required to form and execute query on a data object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_query_t FORCE AUTHID CURRENT_USER IS OBJECT (
  query_type varchar2(32767),
  bind_params dbms_cloud_oci_opsi_data_object_bind_parameter_tbl,
  query_execution_timeout_in_seconds number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_query_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_query_t (
    query_type varchar2,
    bind_params dbms_cloud_oci_opsi_data_object_bind_parameter_tbl,
    query_execution_timeout_in_seconds number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

query_type

(required) Type of Query

Allowed values are: 'TEMPLATIZED_QUERY', 'STANDARD_QUERY'

bind_params

(optional) List of bind parameters to be applied in the query.

query_execution_timeout_in_seconds

(optional) Timeout (in seconds) to be set for the data object query execution.

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_QUERY_TIME_FILTERS_T Type

Time filters to be applied in the data object query.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_query_time_filters_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_period varchar2(32767),
  time_start timestamp with time zone,
  time_end timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_query_time_filters_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_query_time_filters_t (
    time_period varchar2,
    time_start timestamp with time zone,
    time_end timestamp with time zone
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_period

(optional) Specify time period in ISO 8601 format with respect to current time. Default is last 30 days represented by P30D. If timePeriod is specified, then timeStart and timeEnd will be ignored. Examples: P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months).

time_start

(optional) Start time in UTC in RFC3339 formatted datetime string. Example: 2021-10-30T00:00:00.000Z. timeStart and timeEnd are used together. If timePeriod is specified, this parameter is ignored.

time_end

(optional) End time in UTC in RFC3339 formatted datetime string. Example: 2021-10-30T00:00:00.000Z. timeStart and timeEnd are used together. If timePeriod is specified, this parameter is ignored. If timeEnd is not specified, current time is used as timeEnd.

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_RATE_COLUMN_UNIT_T Type

Unit details of a data object column of RATE unit category.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_rate_column_unit_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_data_object_column_unit_t (
  numerator dbms_cloud_oci_opsi_data_object_column_unit_t,
  denominator dbms_cloud_oci_opsi_data_object_column_unit_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_rate_column_unit_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_rate_column_unit_t (
    unit_category varchar2,
    display_name varchar2,
    numerator dbms_cloud_oci_opsi_data_object_column_unit_t,
    denominator dbms_cloud_oci_opsi_data_object_column_unit_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_data_object_rate_column_unit_t is a subtype of the dbms_cloud_oci_opsi_data_object_column_unit_t type.

Fields

Field Description

numerator

(optional)

denominator

(optional)

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_STANDARD_QUERY_T Type

Information required to execute query on data objects. Query is given in standard SQL syntax providing flexibility to form complex queries such as queries with joins and nested queries.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_standard_query_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_data_object_query_t (
  statement varchar2(32767),
  time_filters dbms_cloud_oci_opsi_data_object_query_time_filters_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_standard_query_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_standard_query_t (
    query_type varchar2,
    bind_params dbms_cloud_oci_opsi_data_object_bind_parameter_tbl,
    query_execution_timeout_in_seconds number,
    statement varchar2,
    time_filters dbms_cloud_oci_opsi_data_object_query_time_filters_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_data_object_standard_query_t is a subtype of the dbms_cloud_oci_opsi_data_object_query_t type.

Fields

Field Description

statement

(optional) SQL query statement with standard Oracle supported SQL syntax. - When Warehouse (e.g: Awr hub) data objects are queried, use the actual names of underlying data objects (e.g: tables, views) in the query. The same query that works through JDBC connection with the OperationsInsightsWarehouseUsers credentials will work here and vice-versa. SCHEMA.VIEW syntax can also be used here. - When OPSI data objects are queried, use name of the respective OPSI data object, just like how views are used in a query. Identifier of the OPSI data object cannot be used in the query.

time_filters

(optional)

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_TEMPERATURE_COLUMN_UNIT_T Type

Unit details of a data object column of TEMPERATURE unit category.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_temperature_column_unit_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_data_object_column_unit_t (
  unit varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_temperature_column_unit_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_temperature_column_unit_t (
    unit_category varchar2,
    display_name varchar2,
    unit varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_data_object_temperature_column_unit_t is a subtype of the dbms_cloud_oci_opsi_data_object_column_unit_t type.

Fields

Field Description

unit

(optional) Temparature unit.

Allowed values are: 'CELSIUS', 'FAHRENHEIT'

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_TEMPLATIZED_QUERY_T Type

Information required in a structured template to form and execute query on a data object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_templatized_query_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_data_object_query_t (
  select_list dbms_cloud_oci_opsi_varchar2_tbl,
  from_clause varchar2(32767),
  where_conditions_list dbms_cloud_oci_opsi_varchar2_tbl,
  group_by_list dbms_cloud_oci_opsi_varchar2_tbl,
  having_conditions_list dbms_cloud_oci_opsi_varchar2_tbl,
  order_by_list dbms_cloud_oci_opsi_varchar2_tbl,
  time_filters dbms_cloud_oci_opsi_data_object_query_time_filters_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_templatized_query_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_templatized_query_t (
    query_type varchar2,
    bind_params dbms_cloud_oci_opsi_data_object_bind_parameter_tbl,
    query_execution_timeout_in_seconds number,
    select_list dbms_cloud_oci_opsi_varchar2_tbl,
    from_clause varchar2,
    where_conditions_list dbms_cloud_oci_opsi_varchar2_tbl,
    group_by_list dbms_cloud_oci_opsi_varchar2_tbl,
    having_conditions_list dbms_cloud_oci_opsi_varchar2_tbl,
    order_by_list dbms_cloud_oci_opsi_varchar2_tbl,
    time_filters dbms_cloud_oci_opsi_data_object_query_time_filters_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_data_object_templatized_query_t is a subtype of the dbms_cloud_oci_opsi_data_object_query_t type.

Fields

Field Description

select_list

(optional) List of items to be added into the SELECT clause of the query; items will be added with comma separation.

from_clause

(optional) Unique data object name that will be added into the FROM clause of the query, just like a view name in FROM clause. - Use actual name of the data objects (e.g: tables, views) in case of Warehouse (e.g: Awr hub) data objects query. SCHEMA.VIEW name syntax can also be used here. e.g: SYS.DBA_HIST_SNAPSHOT or DBA_HIST_SNAPSHOT - Use name of the data object (e.g: SQL_STATS_DO) in case of OPSI data objects. Identifier of the OPSI data object cannot be used here.

where_conditions_list

(optional) List of items to be added into the WHERE clause of the query; items will be added with AND separation. Item can contain a single condition or multiple conditions. Single condition e.g: \"optimizer_mode='mode1'\" Multiple conditions e.g: (module='module1' OR module='module2')

group_by_list

(optional) List of items to be added into the GROUP BY clause of the query; items will be added with comma separation.

having_conditions_list

(optional) List of items to be added into the HAVING clause of the query; items will be added with AND separation.

order_by_list

(optional) List of items to be added into the ORDER BY clause of the query; items will be added with comma separation.

time_filters

(optional)

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_TIME_COLUMN_UNIT_T Type

Unit details of a data object column of TIME unit category.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_time_column_unit_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_data_object_column_unit_t (
  unit varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_time_column_unit_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_data_object_time_column_unit_t (
    unit_category varchar2,
    display_name varchar2,
    unit varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_data_object_time_column_unit_t is a subtype of the dbms_cloud_oci_opsi_data_object_column_unit_t type.

Fields

Field Description

unit

(optional) Time unit.

Allowed values are: 'NANO_SECOND', 'MICRO_SECOND', 'MILLI_SECOND', 'CENTI_SECOND', 'SECOND', 'HOUR', 'DAY', 'WEEK', 'MONTH', 'YEAR', 'MINUTE'

DBMS_CLOUD_OCI_OPSI_DATABASE_CONFIGURATION_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_database_configuration_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_database_configuration_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_database_configuration_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_DATABASE_CONFIGURATION_COLLECTION_T Type

Collection of database insight configuration summary objects.

Syntax

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

Fields

Field Description

items

(required) Array of database insight configurations summary objects.

DBMS_CLOUD_OCI_OPSI_DATABASE_INSIGHTS_T Type

Logical grouping used for Operations Insights database-targeted operations.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_database_insights_t FORCE AUTHID CURRENT_USER IS OBJECT (
  database_insights json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_insights_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_insights_t (
    database_insights json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

database_insights

(optional) Database Insights Object.

DBMS_CLOUD_OCI_OPSI_DATABASE_INSIGHT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_database_insight_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_database_insight_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_database_insight_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_DATABASE_INSIGHTS_COLLECTION_T Type

Collection of database insight summary objects.

Syntax

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

Fields

Field Description

items

(required) Array of database insight summary objects.

DBMS_CLOUD_OCI_OPSI_OPSI_DATA_OBJECT_SUPPORTED_QUERY_PARAM_T Type

Details of query parameter supported by an OPSI data object.

Syntax

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

Fields

Field Description

name

(required) Name of the query parameter.

description

(optional) Description of the query parameter.

data_type

(optional) Data type of the for the query parameter.

DBMS_CLOUD_OCI_OPSI_DATA_OBJECT_COLUMN_METADATA_TBL Type

Nested table type of dbms_cloud_oci_opsi_data_object_column_metadata_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_data_object_column_metadata_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_data_object_column_metadata_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_OPSI_DATA_OBJECT_SUPPORTED_QUERY_PARAM_TBL Type

Nested table type of dbms_cloud_oci_opsi_opsi_data_object_supported_query_param_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_opsi_data_object_supported_query_param_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_opsi_data_object_supported_query_param_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_OPSI_DATA_OBJECT_T Type

OPSI data object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_opsi_data_object_t FORCE AUTHID CURRENT_USER IS OBJECT (
  identifier varchar2(32767),
  data_object_type varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  name varchar2(32767),
  group_names dbms_cloud_oci_opsi_varchar2_tbl,
  supported_query_time_period varchar2(32767),
  columns_metadata dbms_cloud_oci_opsi_data_object_column_metadata_tbl,
  supported_query_params dbms_cloud_oci_opsi_opsi_data_object_supported_query_param_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_data_object_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_data_object_t (
    identifier varchar2,
    data_object_type varchar2,
    display_name varchar2,
    description varchar2,
    name varchar2,
    group_names dbms_cloud_oci_opsi_varchar2_tbl,
    supported_query_time_period varchar2,
    columns_metadata dbms_cloud_oci_opsi_data_object_column_metadata_tbl,
    supported_query_params dbms_cloud_oci_opsi_opsi_data_object_supported_query_param_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

identifier

(required) Unique identifier of OPSI data object.

data_object_type

(required) Type of OPSI data object.

Allowed values are: 'DATABASE_INSIGHTS_DATA_OBJECT', 'HOST_INSIGHTS_DATA_OBJECT', 'EXADATA_INSIGHTS_DATA_OBJECT'

display_name

(required) User-friendly name of OPSI data object.

description

(optional) Description of OPSI data object.

name

(optional) Name of the data object, which can be used in data object queries just like how view names are used in a query.

group_names

(optional) Names of all the groups to which the data object belongs to.

supported_query_time_period

(optional) Time period supported by the data object for quering data. Time period is in ISO 8601 format with respect to current time. Default is last 30 days represented by P30D. Examples: P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months).

columns_metadata

(required) Metadata of columns in a data object.

supported_query_params

(optional) Supported query parameters by this OPSI data object that can be configured while a data object query involving this data object is executed.

DBMS_CLOUD_OCI_OPSI_DATABASE_INSIGHTS_DATA_OBJECT_T Type

Database insights data object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_database_insights_data_object_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_opsi_data_object_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_insights_data_object_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_insights_data_object_t (
    identifier varchar2,
    data_object_type varchar2,
    display_name varchar2,
    description varchar2,
    name varchar2,
    group_names dbms_cloud_oci_opsi_varchar2_tbl,
    supported_query_time_period varchar2,
    columns_metadata dbms_cloud_oci_opsi_data_object_column_metadata_tbl,
    supported_query_params dbms_cloud_oci_opsi_opsi_data_object_supported_query_param_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_database_insights_data_object_t is a subtype of the dbms_cloud_oci_opsi_opsi_data_object_t type.

DBMS_CLOUD_OCI_OPSI_OPSI_DATA_OBJECT_SUMMARY_T Type

Summary of an OPSI data object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_opsi_data_object_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  identifier varchar2(32767),
  data_object_type varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  name varchar2(32767),
  group_names dbms_cloud_oci_opsi_varchar2_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_data_object_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_data_object_summary_t (
    identifier varchar2,
    data_object_type varchar2,
    display_name varchar2,
    description varchar2,
    name varchar2,
    group_names dbms_cloud_oci_opsi_varchar2_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

identifier

(required) Unique identifier of OPSI data object.

data_object_type

(required) Type of OPSI data object.

Allowed values are: 'DATABASE_INSIGHTS_DATA_OBJECT', 'HOST_INSIGHTS_DATA_OBJECT', 'EXADATA_INSIGHTS_DATA_OBJECT'

display_name

(required) User-friendly name of OPSI data object.

description

(optional) Description of OPSI data object.

name

(optional) Name of the data object, which can be used in data object queries just like how view names are used in a query.

group_names

(optional) Names of all the groups to which the data object belongs to.

DBMS_CLOUD_OCI_OPSI_DATABASE_INSIGHTS_DATA_OBJECT_SUMMARY_T Type

Summary of a database insights data object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_database_insights_data_object_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_opsi_data_object_summary_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_insights_data_object_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_insights_data_object_summary_t (
    identifier varchar2,
    data_object_type varchar2,
    display_name varchar2,
    description varchar2,
    name varchar2,
    group_names dbms_cloud_oci_opsi_varchar2_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_database_insights_data_object_summary_t is a subtype of the dbms_cloud_oci_opsi_opsi_data_object_summary_t type.

DBMS_CLOUD_OCI_OPSI_DATABASE_PARAMETER_TYPE_DETAILS_T Type

Database parameter details

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_database_parameter_type_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_related_object_type_details_t (
  name varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_parameter_type_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_database_parameter_type_details_t (
    l_type varchar2,
    name varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_database_parameter_type_details_t is a subtype of the dbms_cloud_oci_opsi_related_object_type_details_t type.

Fields

Field Description

name

(required) Name of database parameter

DBMS_CLOUD_OCI_OPSI_DISK_GROUP_DETAILS_T Type

Information about a diskgroup which includes diskgroup name and ASM name.

Syntax

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

Fields

Field Description

diskgroup_name

(required) The diskgroup name.

asm_name

(required) The ASM name.

DBMS_CLOUD_OCI_OPSI_DISK_STATISTICS_T Type

Aggregated data per disk.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_disk_statistics_t FORCE AUTHID CURRENT_USER IS OBJECT (
  disk_name varchar2(32767),
  disk_unallocated_in_g_bs number,
  disk_usage_in_g_bs number,
  disk_size_in_g_bs number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_disk_statistics_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_disk_statistics_t (
    disk_name varchar2,
    disk_unallocated_in_g_bs number,
    disk_usage_in_g_bs number,
    disk_size_in_g_bs number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

disk_name

(required) Name of the disk.

disk_unallocated_in_g_bs

(required) Value for unallocated space in a disk.

disk_usage_in_g_bs

(required) Disk usage.

disk_size_in_g_bs

(required) Size of the disk.

DBMS_CLOUD_OCI_OPSI_DOWNLOAD_OPERATIONS_INSIGHTS_WAREHOUSE_WALLET_DETAILS_T Type

Download Wallet details.

Syntax

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

Fields

Field Description

operations_insights_warehouse_wallet_password

(required) User provided ADW wallet password for the Operations Insights Warehouse.

DBMS_CLOUD_OCI_OPSI_EXADATA_DETAILS_T Type

Partial information about the exadata which includes id, name and vmclusterNames.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  name varchar2(32767),
  vmcluster_names dbms_cloud_oci_opsi_varchar2_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_details_t (
    id varchar2,
    name varchar2,
    vmcluster_names dbms_cloud_oci_opsi_varchar2_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of exadata insight resource.

name

(required) Name of exadata insight resource.

vmcluster_names

(optional) Array of vm cluster names. Applicable for ExaCC and ExaCS.

DBMS_CLOUD_OCI_OPSI_EM_MANAGED_EXTERNAL_DATABASE_CONFIGURATION_SUMMARY_T Type

Configuration summary of a EM Managed External database.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_em_managed_external_database_configuration_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_configuration_summary_t (
  enterprise_manager_identifier varchar2(32767),
  enterprise_manager_bridge_id varchar2(32767),
  instances dbms_cloud_oci_opsi_host_instance_map_tbl,
  exadata_details dbms_cloud_oci_opsi_exadata_details_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_database_configuration_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_database_configuration_summary_t (
    database_insight_id varchar2,
    entity_source varchar2,
    compartment_id varchar2,
    database_name varchar2,
    database_display_name varchar2,
    database_type varchar2,
    database_version varchar2,
    cdb_name varchar2,
    defined_tags json_element_t,
    freeform_tags json_element_t,
    processor_count number,
    enterprise_manager_identifier varchar2,
    enterprise_manager_bridge_id varchar2,
    instances dbms_cloud_oci_opsi_host_instance_map_tbl,
    exadata_details dbms_cloud_oci_opsi_exadata_details_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_em_managed_external_database_configuration_summary_t is a subtype of the dbms_cloud_oci_opsi_database_configuration_summary_t type.

Fields

Field Description

enterprise_manager_identifier

(required) Enterprise Manager Unique Identifier

enterprise_manager_bridge_id

(required) OPSI Enterprise Manager Bridge OCID

instances

(required) Array of hostname and instance name.

exadata_details

(required)

DBMS_CLOUD_OCI_OPSI_EM_MANAGED_EXTERNAL_DATABASE_INSIGHT_T Type

Database insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_em_managed_external_database_insight_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_insight_t (
  enterprise_manager_identifier varchar2(32767),
  enterprise_manager_entity_name varchar2(32767),
  enterprise_manager_entity_type varchar2(32767),
  enterprise_manager_entity_identifier varchar2(32767),
  enterprise_manager_entity_display_name varchar2(32767),
  enterprise_manager_bridge_id varchar2(32767),
  exadata_insight_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_database_insight_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_database_insight_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    status varchar2,
    database_type varchar2,
    database_version varchar2,
    processor_count number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    database_connection_status_details varchar2,
    enterprise_manager_identifier varchar2,
    enterprise_manager_entity_name varchar2,
    enterprise_manager_entity_type varchar2,
    enterprise_manager_entity_identifier varchar2,
    enterprise_manager_entity_display_name varchar2,
    enterprise_manager_bridge_id varchar2,
    exadata_insight_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_em_managed_external_database_insight_t is a subtype of the dbms_cloud_oci_opsi_database_insight_t type.

Fields

Field Description

enterprise_manager_identifier

(required) Enterprise Manager Unique Identifier

enterprise_manager_entity_name

(required) Enterprise Manager Entity Name

enterprise_manager_entity_type

(required) Enterprise Manager Entity Type

enterprise_manager_entity_identifier

(required) Enterprise Manager Entity Unique Identifier

enterprise_manager_entity_display_name

(optional) Enterprise Manager Entity Display Name

enterprise_manager_bridge_id

(required) OPSI Enterprise Manager Bridge OCID

exadata_insight_id

(optional) The OCID of the Exadata insight.

DBMS_CLOUD_OCI_OPSI_EM_MANAGED_EXTERNAL_DATABASE_INSIGHT_SUMMARY_T Type

Summary of a database insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_em_managed_external_database_insight_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_insight_summary_t (
  enterprise_manager_identifier varchar2(32767),
  enterprise_manager_entity_name varchar2(32767),
  enterprise_manager_entity_type varchar2(32767),
  enterprise_manager_entity_identifier varchar2(32767),
  enterprise_manager_entity_display_name varchar2(32767),
  enterprise_manager_bridge_id varchar2(32767),
  exadata_insight_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_database_insight_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_database_insight_summary_t (
    id varchar2,
    database_id varchar2,
    compartment_id varchar2,
    database_name varchar2,
    database_display_name varchar2,
    database_type varchar2,
    database_version varchar2,
    database_host_names dbms_cloud_oci_opsi_varchar2_tbl,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    entity_source varchar2,
    processor_count number,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    database_connection_status_details varchar2,
    enterprise_manager_identifier varchar2,
    enterprise_manager_entity_name varchar2,
    enterprise_manager_entity_type varchar2,
    enterprise_manager_entity_identifier varchar2,
    enterprise_manager_entity_display_name varchar2,
    enterprise_manager_bridge_id varchar2,
    exadata_insight_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_em_managed_external_database_insight_summary_t is a subtype of the dbms_cloud_oci_opsi_database_insight_summary_t type.

Fields

Field Description

enterprise_manager_identifier

(required) Enterprise Manager Unique Identifier

enterprise_manager_entity_name

(required) Enterprise Manager Entity Name

enterprise_manager_entity_type

(required) Enterprise Manager Entity Type

enterprise_manager_entity_identifier

(required) Enterprise Manager Entity Unique Identifier

enterprise_manager_entity_display_name

(optional) Enterprise Manager Entity Display Name

enterprise_manager_bridge_id

(required) OPSI Enterprise Manager Bridge OCID

exadata_insight_id

(optional) The OCID of the Exadata insight.

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHT_T Type

Exadata insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insight_t FORCE AUTHID CURRENT_USER IS OBJECT (
  entity_source varchar2(32767),
  id varchar2(32767),
  compartment_id varchar2(32767),
  exadata_name varchar2(32767),
  exadata_display_name varchar2(32767),
  exadata_type varchar2(32767),
  exadata_rack_type varchar2(32767),
  is_virtualized_exadata number,
  status varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insight_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insight_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    exadata_name varchar2,
    exadata_display_name varchar2,
    exadata_type varchar2,
    exadata_rack_type varchar2,
    is_virtualized_exadata number,
    status varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

entity_source

(required) Source of the Exadata system.

Allowed values are: 'EM_MANAGED_EXTERNAL_EXADATA', 'PE_COMANAGED_EXADATA'

id

(required) Exadata insight identifier

compartment_id

(required) Compartment identifier of the Exadata insight resource

exadata_name

(required) The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.

exadata_display_name

(optional) The user-friendly name for the Exadata system. The name does not have to be unique.

exadata_type

(optional) Operations Insights internal representation of the the Exadata system type.

Allowed values are: 'DBMACHINE', 'EXACS', 'EXACC'

exadata_rack_type

(optional) Exadata rack type.

Allowed values are: 'FULL', 'HALF', 'QUARTER', 'EIGHTH', 'FLEX'

is_virtualized_exadata

(optional) true if virtualization is used in the Exadata system

status

(required) Indicates the status of an Exadata insight in Operations Insights

Allowed values are: 'DISABLED', 'ENABLED', 'TERMINATED'

freeform_tags

(required) 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

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

system_tags

(optional) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

time_created

(required) The time the the Exadata insight was first enabled. An RFC3339 formatted datetime string

time_updated

(optional) The time the Exadata insight was updated. An RFC3339 formatted datetime string

lifecycle_state

(required) The current state of the Exadata insight.

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

DBMS_CLOUD_OCI_OPSI_EM_MANAGED_EXTERNAL_EXADATA_INSIGHT_T Type

EM-managed Exadata insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_em_managed_external_exadata_insight_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_exadata_insight_t (
  enterprise_manager_identifier varchar2(32767),
  enterprise_manager_entity_name varchar2(32767),
  enterprise_manager_entity_type varchar2(32767),
  enterprise_manager_entity_identifier varchar2(32767),
  enterprise_manager_entity_display_name varchar2(32767),
  enterprise_manager_bridge_id varchar2(32767),
  is_auto_sync_enabled number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_exadata_insight_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_exadata_insight_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    exadata_name varchar2,
    exadata_display_name varchar2,
    exadata_type varchar2,
    exadata_rack_type varchar2,
    is_virtualized_exadata number,
    status varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    enterprise_manager_identifier varchar2,
    enterprise_manager_entity_name varchar2,
    enterprise_manager_entity_type varchar2,
    enterprise_manager_entity_identifier varchar2,
    enterprise_manager_entity_display_name varchar2,
    enterprise_manager_bridge_id varchar2,
    is_auto_sync_enabled number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_em_managed_external_exadata_insight_t is a subtype of the dbms_cloud_oci_opsi_exadata_insight_t type.

Fields

Field Description

enterprise_manager_identifier

(required) Enterprise Manager Unique Identifier

enterprise_manager_entity_name

(required) Enterprise Manager Entity Name

enterprise_manager_entity_type

(required) Enterprise Manager Entity Type

enterprise_manager_entity_identifier

(required) Enterprise Manager Entity Unique Identifier

enterprise_manager_entity_display_name

(optional) Enterprise Manager Entity Display Name

enterprise_manager_bridge_id

(required) OPSI Enterprise Manager Bridge OCID

is_auto_sync_enabled

(optional) Set to true to enable automatic enablement and disablement of related targets from Enterprise Manager. New resources (e.g. Database Insights) will be placed in the same compartment as the related Exadata Insight.

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHT_SUMMARY_T Type

Summary of an Exadata insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insight_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  entity_source varchar2(32767),
  id varchar2(32767),
  compartment_id varchar2(32767),
  exadata_name varchar2(32767),
  exadata_display_name varchar2(32767),
  exadata_type varchar2(32767),
  exadata_rack_type varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  status varchar2(32767),
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insight_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insight_summary_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    exadata_name varchar2,
    exadata_display_name varchar2,
    exadata_type varchar2,
    exadata_rack_type varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

entity_source

(required) Source of the Exadata system.

Allowed values are: 'EM_MANAGED_EXTERNAL_EXADATA', 'PE_COMANAGED_EXADATA'

id

(required) The OCID of the Exadata insight resource.

compartment_id

(required) The OCID of the compartment.

exadata_name

(required) The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.

exadata_display_name

(optional) The user-friendly name for the Exadata system. The name does not have to be unique.

exadata_type

(optional) Operations Insights internal representation of the the Exadata system type.

Allowed values are: 'DBMACHINE', 'EXACS', 'EXACC'

exadata_rack_type

(optional) Operations Insights internal representation of the the Exadata system rack type.

Allowed values are: 'FULL', 'HALF', 'QUARTER', 'EIGHTH', 'FLEX'

freeform_tags

(required) 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

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

system_tags

(optional) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

status

(required) Indicates the status of an Exadata insight in Operations Insights

Allowed values are: 'DISABLED', 'ENABLED', 'TERMINATED'

time_created

(required) The time the the Exadata insight was first enabled. An RFC3339 formatted datetime string

time_updated

(optional) The time the Exadata insight was updated. An RFC3339 formatted datetime string

lifecycle_state

(required) The current state of the Exadata insight.

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

DBMS_CLOUD_OCI_OPSI_EM_MANAGED_EXTERNAL_EXADATA_INSIGHT_SUMMARY_T Type

Summary of an Exadata insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_em_managed_external_exadata_insight_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_exadata_insight_summary_t (
  enterprise_manager_identifier varchar2(32767),
  enterprise_manager_entity_name varchar2(32767),
  enterprise_manager_entity_type varchar2(32767),
  enterprise_manager_entity_identifier varchar2(32767),
  enterprise_manager_entity_display_name varchar2(32767),
  enterprise_manager_bridge_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_exadata_insight_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_exadata_insight_summary_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    exadata_name varchar2,
    exadata_display_name varchar2,
    exadata_type varchar2,
    exadata_rack_type varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    enterprise_manager_identifier varchar2,
    enterprise_manager_entity_name varchar2,
    enterprise_manager_entity_type varchar2,
    enterprise_manager_entity_identifier varchar2,
    enterprise_manager_entity_display_name varchar2,
    enterprise_manager_bridge_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_em_managed_external_exadata_insight_summary_t is a subtype of the dbms_cloud_oci_opsi_exadata_insight_summary_t type.

Fields

Field Description

enterprise_manager_identifier

(required) Enterprise Manager Unique Identifier

enterprise_manager_entity_name

(required) Enterprise Manager Entity Name

enterprise_manager_entity_type

(required) Enterprise Manager Entity Type

enterprise_manager_entity_identifier

(required) Enterprise Manager Entity Unique Identifier

enterprise_manager_entity_display_name

(optional) Enterprise Manager Entity Display Name

enterprise_manager_bridge_id

(required) OPSI Enterprise Manager Bridge OCID

DBMS_CLOUD_OCI_OPSI_HOST_CONFIGURATION_SUMMARY_T Type

Summary of a host configuration for a resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_configuration_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  host_insight_id varchar2(32767),
  entity_source varchar2(32767),
  compartment_id varchar2(32767),
  host_name varchar2(32767),
  platform_type varchar2(32767),
  platform_version varchar2(32767),
  platform_vendor varchar2(32767),
  total_cpus number,
  total_memory_in_g_bs number,
  cpu_architecture varchar2(32767),
  cpu_cache_in_m_bs number,
  cpu_vendor varchar2(32767),
  cpu_frequency_in_mhz number,
  cpu_implementation varchar2(32767),
  cores_per_socket number,
  total_sockets number,
  threads_per_socket number,
  is_hyper_threading_enabled number,
  defined_tags json_element_t,
  freeform_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_configuration_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_configuration_summary_t (
    host_insight_id varchar2,
    entity_source varchar2,
    compartment_id varchar2,
    host_name varchar2,
    platform_type varchar2,
    platform_version varchar2,
    platform_vendor varchar2,
    total_cpus number,
    total_memory_in_g_bs number,
    cpu_architecture varchar2,
    cpu_cache_in_m_bs number,
    cpu_vendor varchar2,
    cpu_frequency_in_mhz number,
    cpu_implementation varchar2,
    cores_per_socket number,
    total_sockets number,
    threads_per_socket number,
    is_hyper_threading_enabled number,
    defined_tags json_element_t,
    freeform_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

host_insight_id

(required) The OCID of the host insight resource.

entity_source

(required) Source of the host entity.

Allowed values are: 'MACS_MANAGED_EXTERNAL_HOST', 'EM_MANAGED_EXTERNAL_HOST', 'MACS_MANAGED_CLOUD_HOST', 'PE_COMANAGED_HOST'

compartment_id

(required) The OCID of the compartment.

host_name

(required) The host name. The host name is unique amongst the hosts managed by the same management agent.

platform_type

(required) Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].

Allowed values are: 'LINUX', 'SOLARIS', 'SUNOS', 'ZLINUX', 'WINDOWS', 'AIX', 'HP_UX'

platform_version

(required) Platform version.

platform_vendor

(required) Platform vendor.

total_cpus

(required) Total CPU on this host.

total_memory_in_g_bs

(required) Total amount of usable physical memory in gibabytes

cpu_architecture

(required) CPU architechure

cpu_cache_in_m_bs

(required) Size of cache memory in megabytes.

cpu_vendor

(required) Name of the CPU vendor.

cpu_frequency_in_mhz

(required) Clock frequency of the processor in megahertz.

cpu_implementation

(required) Model name of processor.

cores_per_socket

(required) Number of cores per socket.

total_sockets

(required) Number of total sockets.

threads_per_socket

(required) Number of threads per socket.

is_hyper_threading_enabled

(required) Indicates if hyper-threading is enabled or not

defined_tags

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

freeform_tags

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

DBMS_CLOUD_OCI_OPSI_EM_MANAGED_EXTERNAL_HOST_CONFIGURATION_SUMMARY_T Type

Configuration summary of a EM Managed External host.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_em_managed_external_host_configuration_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_configuration_summary_t (
  enterprise_manager_identifier varchar2(32767),
  enterprise_manager_bridge_id varchar2(32767),
  exadata_details dbms_cloud_oci_opsi_exadata_details_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_host_configuration_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_host_configuration_summary_t (
    host_insight_id varchar2,
    entity_source varchar2,
    compartment_id varchar2,
    host_name varchar2,
    platform_type varchar2,
    platform_version varchar2,
    platform_vendor varchar2,
    total_cpus number,
    total_memory_in_g_bs number,
    cpu_architecture varchar2,
    cpu_cache_in_m_bs number,
    cpu_vendor varchar2,
    cpu_frequency_in_mhz number,
    cpu_implementation varchar2,
    cores_per_socket number,
    total_sockets number,
    threads_per_socket number,
    is_hyper_threading_enabled number,
    defined_tags json_element_t,
    freeform_tags json_element_t,
    enterprise_manager_identifier varchar2,
    enterprise_manager_bridge_id varchar2,
    exadata_details dbms_cloud_oci_opsi_exadata_details_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_em_managed_external_host_configuration_summary_t is a subtype of the dbms_cloud_oci_opsi_host_configuration_summary_t type.

Fields

Field Description

enterprise_manager_identifier

(required) Enterprise Manager Unique Identifier

enterprise_manager_bridge_id

(required) OPSI Enterprise Manager Bridge OCID

exadata_details

(required)

DBMS_CLOUD_OCI_OPSI_HOST_INSIGHT_T Type

Host insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_insight_t FORCE AUTHID CURRENT_USER IS OBJECT (
  entity_source varchar2(32767),
  id varchar2(32767),
  compartment_id varchar2(32767),
  host_name varchar2(32767),
  host_display_name varchar2(32767),
  host_type varchar2(32767),
  processor_count number,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  status varchar2(32767),
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_insight_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_insight_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    host_name varchar2,
    host_display_name varchar2,
    host_type varchar2,
    processor_count number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

entity_source

(required) Source of the host entity.

Allowed values are: 'MACS_MANAGED_EXTERNAL_HOST', 'EM_MANAGED_EXTERNAL_HOST', 'MACS_MANAGED_CLOUD_HOST', 'PE_COMANAGED_HOST'

id

(required) The OCID of the host insight resource.

compartment_id

(required) The OCID of the compartment.

host_name

(required) The host name. The host name is unique amongst the hosts managed by the same management agent.

host_display_name

(optional) The user-friendly name for the host. The name does not have to be unique.

host_type

(optional) Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST.

processor_count

(optional) Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.

freeform_tags

(required) 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

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

system_tags

(optional) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

status

(required) Indicates the status of a host insight in Operations Insights

Allowed values are: 'DISABLED', 'ENABLED', 'TERMINATED'

time_created

(required) The time the the host insight was first enabled. An RFC3339 formatted datetime string

time_updated

(optional) The time the host insight was updated. An RFC3339 formatted datetime string

lifecycle_state

(required) The current state of the host.

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

DBMS_CLOUD_OCI_OPSI_EM_MANAGED_EXTERNAL_HOST_INSIGHT_T Type

EM-managed external host insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_em_managed_external_host_insight_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_insight_t (
  enterprise_manager_identifier varchar2(32767),
  enterprise_manager_entity_name varchar2(32767),
  enterprise_manager_entity_type varchar2(32767),
  enterprise_manager_entity_identifier varchar2(32767),
  enterprise_manager_entity_display_name varchar2(32767),
  enterprise_manager_bridge_id varchar2(32767),
  platform_type varchar2(32767),
  platform_name varchar2(32767),
  platform_version varchar2(32767),
  exadata_insight_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_host_insight_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_host_insight_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    host_name varchar2,
    host_display_name varchar2,
    host_type varchar2,
    processor_count number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    enterprise_manager_identifier varchar2,
    enterprise_manager_entity_name varchar2,
    enterprise_manager_entity_type varchar2,
    enterprise_manager_entity_identifier varchar2,
    enterprise_manager_entity_display_name varchar2,
    enterprise_manager_bridge_id varchar2,
    platform_type varchar2,
    platform_name varchar2,
    platform_version varchar2,
    exadata_insight_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_em_managed_external_host_insight_t is a subtype of the dbms_cloud_oci_opsi_host_insight_t type.

Fields

Field Description

enterprise_manager_identifier

(required) Enterprise Manager Unique Identifier

enterprise_manager_entity_name

(required) Enterprise Manager Entity Name

enterprise_manager_entity_type

(required) Enterprise Manager Entity Type

enterprise_manager_entity_identifier

(required) Enterprise Manager Entity Unique Identifier

enterprise_manager_entity_display_name

(optional) Enterprise Manager Entity Display Name

enterprise_manager_bridge_id

(required) OPSI Enterprise Manager Bridge OCID

platform_type

(optional) Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].

Allowed values are: 'LINUX', 'SOLARIS', 'SUNOS', 'ZLINUX', 'WINDOWS', 'AIX', 'HP_UX'

platform_name

(optional) Platform name.

platform_version

(optional) Platform version.

exadata_insight_id

(optional) The OCID of the Exadata insight.

DBMS_CLOUD_OCI_OPSI_HOST_INSIGHT_SUMMARY_T Type

Summary of a host insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_insight_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  entity_source varchar2(32767),
  id varchar2(32767),
  compartment_id varchar2(32767),
  host_name varchar2(32767),
  host_display_name varchar2(32767),
  host_type varchar2(32767),
  processor_count number,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  opsi_private_endpoint_id varchar2(32767),
  status varchar2(32767),
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_insight_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_insight_summary_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    host_name varchar2,
    host_display_name varchar2,
    host_type varchar2,
    processor_count number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    opsi_private_endpoint_id varchar2,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

entity_source

(required) Source of the host entity.

Allowed values are: 'MACS_MANAGED_EXTERNAL_HOST', 'EM_MANAGED_EXTERNAL_HOST', 'MACS_MANAGED_CLOUD_HOST', 'PE_COMANAGED_HOST'

id

(required) The OCID of the host insight resource.

compartment_id

(required) The OCID of the compartment.

host_name

(required) The host name. The host name is unique amongst the hosts managed by the same management agent.

host_display_name

(optional) The user-friendly name for the host. The name does not have to be unique.

host_type

(optional) Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST.

processor_count

(optional) Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

opsi_private_endpoint_id

(optional) The OCID of the OPSI private endpoint

status

(optional) Indicates the status of a host insight in Operations Insights

Allowed values are: 'DISABLED', 'ENABLED', 'TERMINATED'

time_created

(optional) The time the the host insight was first enabled. An RFC3339 formatted datetime string

time_updated

(optional) The time the host insight was updated. An RFC3339 formatted datetime string

lifecycle_state

(optional) The current state of the host.

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

DBMS_CLOUD_OCI_OPSI_EM_MANAGED_EXTERNAL_HOST_INSIGHT_SUMMARY_T Type

Summary of an EM-managed external host insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_em_managed_external_host_insight_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_insight_summary_t (
  enterprise_manager_identifier varchar2(32767),
  enterprise_manager_entity_name varchar2(32767),
  enterprise_manager_entity_type varchar2(32767),
  enterprise_manager_entity_identifier varchar2(32767),
  enterprise_manager_entity_display_name varchar2(32767),
  enterprise_manager_bridge_id varchar2(32767),
  platform_type varchar2(32767),
  exadata_insight_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_host_insight_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_em_managed_external_host_insight_summary_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    host_name varchar2,
    host_display_name varchar2,
    host_type varchar2,
    processor_count number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    opsi_private_endpoint_id varchar2,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    enterprise_manager_identifier varchar2,
    enterprise_manager_entity_name varchar2,
    enterprise_manager_entity_type varchar2,
    enterprise_manager_entity_identifier varchar2,
    enterprise_manager_entity_display_name varchar2,
    enterprise_manager_bridge_id varchar2,
    platform_type varchar2,
    exadata_insight_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_em_managed_external_host_insight_summary_t is a subtype of the dbms_cloud_oci_opsi_host_insight_summary_t type.

Fields

Field Description

enterprise_manager_identifier

(required) Enterprise Manager Unique Identifier

enterprise_manager_entity_name

(required) Enterprise Manager Entity Name

enterprise_manager_entity_type

(required) Enterprise Manager Entity Type

enterprise_manager_entity_identifier

(required) Enterprise Manager Entity Unique Identifier

enterprise_manager_entity_display_name

(optional) Enterprise Manager Entity Display Name

enterprise_manager_bridge_id

(required) OPSI Enterprise Manager Bridge OCID

platform_type

(optional) Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].

Allowed values are: 'LINUX', 'SOLARIS', 'SUNOS', 'ZLINUX', 'WINDOWS', 'AIX', 'HP_UX'

exadata_insight_id

(optional) The OCID of the Exadata insight.

DBMS_CLOUD_OCI_OPSI_ENABLE_AUTONOMOUS_DATABASE_INSIGHT_ADVANCED_FEATURES_DETAILS_T Type

The advanced feature details for autonomous database to be enabled.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_enable_autonomous_database_insight_advanced_features_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  opsi_private_endpoint_id varchar2(32767),
  connection_details dbms_cloud_oci_opsi_connection_details_t,
  credential_details dbms_cloud_oci_opsi_credential_details_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_autonomous_database_insight_advanced_features_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_autonomous_database_insight_advanced_features_details_t (
    opsi_private_endpoint_id varchar2,
    connection_details dbms_cloud_oci_opsi_connection_details_t,
    credential_details dbms_cloud_oci_opsi_credential_details_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

opsi_private_endpoint_id

(optional) The OCID of the OPSI private endpoint

connection_details

(required)

credential_details

(required)

DBMS_CLOUD_OCI_OPSI_ENABLE_DATABASE_INSIGHT_DETAILS_T Type

The information about database to be analyzed.

Syntax

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

Fields

Field Description

entity_source

(required) Source of the database entity.

Allowed values are: 'EM_MANAGED_EXTERNAL_DATABASE', 'PE_COMANAGED_DATABASE'

DBMS_CLOUD_OCI_OPSI_ENABLE_EM_MANAGED_EXTERNAL_DATABASE_INSIGHT_DETAILS_T Type

The information about database to be analyzed.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_enable_em_managed_external_database_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_enable_database_insight_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_em_managed_external_database_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_em_managed_external_database_insight_details_t (
    entity_source varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_enable_em_managed_external_database_insight_details_t is a subtype of the dbms_cloud_oci_opsi_enable_database_insight_details_t type.

DBMS_CLOUD_OCI_OPSI_ENABLE_EXADATA_INSIGHT_DETAILS_T Type

The information about the Exadata system to be analyzed.

Syntax

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

Fields

Field Description

entity_source

(required) Source of the Exadata system.

Allowed values are: 'EM_MANAGED_EXTERNAL_EXADATA', 'PE_COMANAGED_EXADATA'

DBMS_CLOUD_OCI_OPSI_ENABLE_EM_MANAGED_EXTERNAL_EXADATA_INSIGHT_DETAILS_T Type

The information about the Exadata system to be analyzed.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_enable_em_managed_external_exadata_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_enable_exadata_insight_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_em_managed_external_exadata_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_em_managed_external_exadata_insight_details_t (
    entity_source varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_enable_em_managed_external_exadata_insight_details_t is a subtype of the dbms_cloud_oci_opsi_enable_exadata_insight_details_t type.

DBMS_CLOUD_OCI_OPSI_ENABLE_HOST_INSIGHT_DETAILS_T Type

The information about the host to be analyzed.

Syntax

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

Fields

Field Description

entity_source

(required) Source of the host entity.

Allowed values are: 'MACS_MANAGED_EXTERNAL_HOST', 'EM_MANAGED_EXTERNAL_HOST', 'MACS_MANAGED_CLOUD_HOST', 'PE_COMANAGED_HOST'

DBMS_CLOUD_OCI_OPSI_ENABLE_EM_MANAGED_EXTERNAL_HOST_INSIGHT_DETAILS_T Type

The information about the EM-managed external host to be analyzed.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_enable_em_managed_external_host_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_enable_host_insight_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_em_managed_external_host_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_em_managed_external_host_insight_details_t (
    entity_source varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_enable_em_managed_external_host_insight_details_t is a subtype of the dbms_cloud_oci_opsi_enable_host_insight_details_t type.

DBMS_CLOUD_OCI_OPSI_ENABLE_MACS_MANAGED_CLOUD_HOST_INSIGHT_DETAILS_T Type

The information about the MACS-managed external host to be analyzed.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_enable_macs_managed_cloud_host_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_enable_host_insight_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_macs_managed_cloud_host_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_macs_managed_cloud_host_insight_details_t (
    entity_source varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_enable_macs_managed_cloud_host_insight_details_t is a subtype of the dbms_cloud_oci_opsi_enable_host_insight_details_t type.

DBMS_CLOUD_OCI_OPSI_ENABLE_MACS_MANAGED_EXTERNAL_HOST_INSIGHT_DETAILS_T Type

The information about the MACS-managed external host to be analyzed.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_enable_macs_managed_external_host_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_enable_host_insight_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_macs_managed_external_host_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_macs_managed_external_host_insight_details_t (
    entity_source varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_enable_macs_managed_external_host_insight_details_t is a subtype of the dbms_cloud_oci_opsi_enable_host_insight_details_t type.

DBMS_CLOUD_OCI_OPSI_ENABLE_PE_COMANAGED_DATABASE_INSIGHT_DETAILS_T Type

The information about database to be analyzed.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_enable_pe_comanaged_database_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_enable_database_insight_details_t (
  compartment_id varchar2(32767),
  opsi_private_endpoint_id varchar2(32767),
  service_name varchar2(32767),
  credential_details dbms_cloud_oci_opsi_credential_details_t,
  connection_details dbms_cloud_oci_opsi_pe_comanaged_database_connection_details_t,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_pe_comanaged_database_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_pe_comanaged_database_insight_details_t (
    entity_source varchar2,
    compartment_id varchar2,
    opsi_private_endpoint_id varchar2,
    service_name varchar2,
    credential_details dbms_cloud_oci_opsi_credential_details_t,
    connection_details dbms_cloud_oci_opsi_pe_comanaged_database_connection_details_t,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_enable_pe_comanaged_database_insight_details_t is a subtype of the dbms_cloud_oci_opsi_enable_database_insight_details_t type.

Fields

Field Description

compartment_id

(required) The compartment OCID of the Private service accessed database.

opsi_private_endpoint_id

(required) The OCID of the OPSI private endpoint

service_name

(required) Database service name used for connection requests.

credential_details

(required)

connection_details

(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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

DBMS_CLOUD_OCI_OPSI_ENABLE_PE_COMANAGED_EXADATA_INSIGHT_DETAILS_T Type

The information about the Exadata system to be analyzed. (ExaCS)

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_enable_pe_comanaged_exadata_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_enable_exadata_insight_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_pe_comanaged_exadata_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enable_pe_comanaged_exadata_insight_details_t (
    entity_source varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_enable_pe_comanaged_exadata_insight_details_t is a subtype of the dbms_cloud_oci_opsi_enable_exadata_insight_details_t type.

DBMS_CLOUD_OCI_OPSI_ENTERPRISE_MANAGER_BRIDGE_T Type

Enterprise Manager bridge resource.

Syntax

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

Fields

Field Description

id

(required) Enterprise Manager bridge identifier

compartment_id

(required) Compartment identifier of the Enterprise Manager bridge

display_name

(required) User-friedly name of Enterprise Manager Bridge that does not have to be unique.

description

(optional) Description of Enterprise Manager Bridge

object_storage_namespace_name

(required) Object Storage Namespace Name

object_storage_bucket_name

(required) Object Storage Bucket Name

object_storage_bucket_status_details

(optional) A message describing status of the object storage bucket of this resource. For example, it can be used to provide actionable information about the permission and content validity of the bucket.

freeform_tags

(required) 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

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

system_tags

(optional) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

time_created

(required) The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string

time_updated

(optional) The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string

lifecycle_state

(required) The current state of the Enterprise Manager bridge.

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

DBMS_CLOUD_OCI_OPSI_ENTERPRISE_MANAGER_BRIDGE_SUMMARY_T Type

Summary of a Enterprise Manager bridge resource.

Syntax

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

Fields

Field Description

id

(required) Enterprise Manager bridge identifier

compartment_id

(required) Compartment identifier of the Enterprise Manager bridge

display_name

(required) User-friedly name of Enterprise Manager Bridge that does not have to be unique.

object_storage_namespace_name

(required) Object Storage Namespace Name

object_storage_bucket_name

(required) Object Storage Bucket Name

object_storage_bucket_status_details

(optional) A message describing status of the object storage bucket of this resource. For example, it can be used to provide actionable information about the permission and content validity of the bucket.

freeform_tags

(required) 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

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

system_tags

(optional) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

time_created

(required) The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string

time_updated

(optional) The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string

lifecycle_state

(required) The current state of the Enterprise Manager bridge.

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

DBMS_CLOUD_OCI_OPSI_ENTERPRISE_MANAGER_BRIDGE_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_enterprise_manager_bridge_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_enterprise_manager_bridge_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_enterprise_manager_bridge_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_ENTERPRISE_MANAGER_BRIDGE_COLLECTION_T Type

Collection of Enterprose Manager bridge summary objects.

Syntax

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

Fields

Field Description

items

(required) Array of Enterprose Manager bridge summary objects.

DBMS_CLOUD_OCI_OPSI_ENTERPRISE_MANAGER_BRIDGES_T Type

Logical grouping used for Operations Insights Enterprise Manager Bridge operations.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_enterprise_manager_bridges_t FORCE AUTHID CURRENT_USER IS OBJECT (
  enterprise_manager_bridges json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enterprise_manager_bridges_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_enterprise_manager_bridges_t (
    enterprise_manager_bridges json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

enterprise_manager_bridges

(optional) Enterprise Manager Bridge Object.

DBMS_CLOUD_OCI_OPSI_ERROR_T Type

An error has occurred.

Syntax

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

Partial information about the VM Cluster which includes name, memory allocated etc.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_vm_cluster_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  vmcluster_name varchar2(32767),
  memory_allocated_in_g_bs number,
  cpu_allocated number,
  db_nodes_count number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_vm_cluster_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_vm_cluster_summary_t (
    vmcluster_name varchar2,
    memory_allocated_in_g_bs number,
    cpu_allocated number,
    db_nodes_count number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

vmcluster_name

(required) The name of the vm cluster.

memory_allocated_in_g_bs

(optional) The memory allocated on a vm cluster.

cpu_allocated

(optional) The cpu allocated on a vm cluster.

db_nodes_count

(optional) The number of DB nodes on a vm cluster.

DBMS_CLOUD_OCI_OPSI_VM_CLUSTER_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_vm_cluster_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_vm_cluster_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_vm_cluster_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_EXADATA_CONFIGURATION_SUMMARY_T Type

Summary of a exadata configuration for a resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_configuration_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  exadata_insight_id varchar2(32767),
  entity_source varchar2(32767),
  compartment_id varchar2(32767),
  exadata_name varchar2(32767),
  exadata_display_name varchar2(32767),
  exadata_type varchar2(32767),
  exadata_rack_type varchar2(32767),
  defined_tags json_element_t,
  freeform_tags json_element_t,
  vmcluster_details dbms_cloud_oci_opsi_vm_cluster_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_configuration_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_configuration_summary_t (
    exadata_insight_id varchar2,
    entity_source varchar2,
    compartment_id varchar2,
    exadata_name varchar2,
    exadata_display_name varchar2,
    exadata_type varchar2,
    exadata_rack_type varchar2,
    defined_tags json_element_t,
    freeform_tags json_element_t,
    vmcluster_details dbms_cloud_oci_opsi_vm_cluster_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

exadata_insight_id

(required) The OCID of the Exadata insight.

entity_source

(required) Source of the exadata entity.

Allowed values are: 'EM_MANAGED_EXTERNAL_EXADATA', 'PE_COMANAGED_EXADATA'

compartment_id

(required) The OCID of the compartment.

exadata_name

(required) The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.

exadata_display_name

(required) The user-friendly name for the Exadata system. The name does not have to be unique.

exadata_type

(required) Operations Insights internal representation of the the Exadata system type.

Allowed values are: 'DBMACHINE', 'EXACS', 'EXACC'

exadata_rack_type

(required) Exadata rack type.

Allowed values are: 'FULL', 'HALF', 'QUARTER', 'EIGHTH', 'FLEX'

defined_tags

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

freeform_tags

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

vmcluster_details

(optional) Array of objects containing VM cluster information.

DBMS_CLOUD_OCI_OPSI_EXADATA_CONFIGURATION_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_exadata_configuration_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_configuration_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_exadata_configuration_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_EXADATA_CONFIGURATION_COLLECTION_T Type

Collection of exadata insight configuration summary objects.

Syntax

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

Fields

Field Description

items

(required) Array of exadata insight configurations summary objects.

DBMS_CLOUD_OCI_OPSI_EXADATA_DATABASE_MACHINE_CONFIGURATION_SUMMARY_T Type

Configuration summary of a database machine.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_database_machine_configuration_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_exadata_configuration_summary_t (
  enterprise_manager_identifier varchar2(32767),
  enterprise_manager_bridge_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_database_machine_configuration_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_database_machine_configuration_summary_t (
    exadata_insight_id varchar2,
    entity_source varchar2,
    compartment_id varchar2,
    exadata_name varchar2,
    exadata_display_name varchar2,
    exadata_type varchar2,
    exadata_rack_type varchar2,
    defined_tags json_element_t,
    freeform_tags json_element_t,
    vmcluster_details dbms_cloud_oci_opsi_vm_cluster_summary_tbl,
    enterprise_manager_identifier varchar2,
    enterprise_manager_bridge_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_exadata_database_machine_configuration_summary_t is a subtype of the dbms_cloud_oci_opsi_exadata_configuration_summary_t type.

Fields

Field Description

enterprise_manager_identifier

(required) Enterprise Manager Unique Identifier

enterprise_manager_bridge_id

(required) OPSI Enterprise Manager Bridge OCID

DBMS_CLOUD_OCI_OPSI_INSTANCE_METRICS_T Type

Object containing instance metrics.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_instance_metrics_t FORCE AUTHID CURRENT_USER IS OBJECT (
  host_name varchar2(32767),
  instance_name varchar2(32767),
  usage number,
  l_capacity number,
  total_host_capacity number,
  utilization_percent number,
  usage_change_percent number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_instance_metrics_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_instance_metrics_t (
    host_name varchar2,
    instance_name varchar2,
    usage number,
    l_capacity number,
    total_host_capacity number,
    utilization_percent number,
    usage_change_percent number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

host_name

(optional) The hostname of the database insight resource.

instance_name

(optional) The instance name of the database insight resource.

usage

(optional) Total amount used of the resource metric type (CPU, STORAGE).

l_capacity

(optional) The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

total_host_capacity

(optional) The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.

utilization_percent

(optional) Resource utilization in percentage

usage_change_percent

(optional) Change in resource utilization in percentage

DBMS_CLOUD_OCI_OPSI_INSTANCE_METRICS_TBL Type

Nested table type of dbms_cloud_oci_opsi_instance_metrics_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_instance_metrics_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_instance_metrics_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHT_RESOURCE_STATISTICS_T Type

Contains resource statistics with usage unit

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insight_resource_statistics_t FORCE AUTHID CURRENT_USER IS OBJECT (
  usage number,
  l_capacity number,
  total_host_capacity number,
  utilization_percent number,
  usage_change_percent number,
  instance_metrics dbms_cloud_oci_opsi_instance_metrics_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insight_resource_statistics_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insight_resource_statistics_t (
    usage number,
    l_capacity number,
    total_host_capacity number,
    utilization_percent number,
    usage_change_percent number,
    instance_metrics dbms_cloud_oci_opsi_instance_metrics_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

usage

(required) Total amount used of the resource metric type (CPU, STORAGE).

l_capacity

(required) The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

total_host_capacity

(optional) The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.

utilization_percent

(required) Resource utilization in percentage

usage_change_percent

(required) Change in resource utilization in percentage

instance_metrics

(optional) Array of instance metrics

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHT_RESOURCE_STATISTICS_AGGREGATION_T Type

Contains resource details and current statistics

Syntax

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

Fields

Field Description

exadata_resource_type

(required) Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)

Allowed values are: 'DATABASE', 'HOST', 'STORAGE_SERVER', 'DISKGROUP'

DBMS_CLOUD_OCI_OPSI_EXADATA_DATABASE_STATISTICS_SUMMARY_T Type

Database details and statistics.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_database_statistics_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_exadata_insight_resource_statistics_aggregation_t (
  resource_details dbms_cloud_oci_opsi_database_details_t,
  current_statistics dbms_cloud_oci_opsi_exadata_insight_resource_statistics_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_database_statistics_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_database_statistics_summary_t (
    exadata_resource_type varchar2,
    resource_details dbms_cloud_oci_opsi_database_details_t,
    current_statistics dbms_cloud_oci_opsi_exadata_insight_resource_statistics_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_exadata_database_statistics_summary_t is a subtype of the dbms_cloud_oci_opsi_exadata_insight_resource_statistics_aggregation_t type.

Fields

Field Description

resource_details

(required)

current_statistics

(required)

DBMS_CLOUD_OCI_OPSI_EXADATA_DISKGROUP_STATISTICS_SUMMARY_T Type

Diskgroup details and statistics.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_diskgroup_statistics_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_exadata_insight_resource_statistics_aggregation_t (
  resource_details dbms_cloud_oci_opsi_disk_group_details_t,
  current_statistics dbms_cloud_oci_opsi_exadata_insight_resource_statistics_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_diskgroup_statistics_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_diskgroup_statistics_summary_t (
    exadata_resource_type varchar2,
    resource_details dbms_cloud_oci_opsi_disk_group_details_t,
    current_statistics dbms_cloud_oci_opsi_exadata_insight_resource_statistics_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_exadata_diskgroup_statistics_summary_t is a subtype of the dbms_cloud_oci_opsi_exadata_insight_resource_statistics_aggregation_t type.

Fields

Field Description

resource_details

(required)

current_statistics

(required)

DBMS_CLOUD_OCI_OPSI_EXADATA_EXACS_CONFIGURATION_SUMMARY_T Type

Configuration summary of a Exacs exadata machine.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_exacs_configuration_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_exadata_configuration_summary_t (
  opsi_private_endpoint_id varchar2(32767),
  parent_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_exacs_configuration_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_exacs_configuration_summary_t (
    exadata_insight_id varchar2,
    entity_source varchar2,
    compartment_id varchar2,
    exadata_name varchar2,
    exadata_display_name varchar2,
    exadata_type varchar2,
    exadata_rack_type varchar2,
    defined_tags json_element_t,
    freeform_tags json_element_t,
    vmcluster_details dbms_cloud_oci_opsi_vm_cluster_summary_tbl,
    opsi_private_endpoint_id varchar2,
    parent_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_exadata_exacs_configuration_summary_t is a subtype of the dbms_cloud_oci_opsi_exadata_configuration_summary_t type.

Fields

Field Description

opsi_private_endpoint_id

(required) The OCID of the OPSI private endpoint

parent_id

(required) The OCID of the database.

DBMS_CLOUD_OCI_OPSI_HOST_DETAILS_T Type

Partial information about a host which includes id, name, type.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  compartment_id varchar2(32767),
  host_name varchar2(32767),
  host_display_name varchar2(32767),
  platform_type varchar2(32767),
  agent_identifier varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_details_t (
    id varchar2,
    compartment_id varchar2,
    host_name varchar2,
    host_display_name varchar2,
    platform_type varchar2,
    agent_identifier varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of the host.

compartment_id

(required) The OCID of the compartment.

host_name

(required) The host name. The host name is unique amongst the hosts managed by the same management agent.

host_display_name

(optional) The user-friendly name for the host. The name does not have to be unique.

platform_type

(required) Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].

Allowed values are: 'LINUX', 'SOLARIS', 'SUNOS', 'ZLINUX', 'WINDOWS', 'AIX', 'HP_UX'

agent_identifier

(required) The identifier of the agent.

DBMS_CLOUD_OCI_OPSI_EXADATA_HOST_STATISTICS_SUMMARY_T Type

Host details and statistics.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_host_statistics_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_exadata_insight_resource_statistics_aggregation_t (
  resource_details dbms_cloud_oci_opsi_host_details_t,
  current_statistics dbms_cloud_oci_opsi_exadata_insight_resource_statistics_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_host_statistics_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_host_statistics_summary_t (
    exadata_resource_type varchar2,
    resource_details dbms_cloud_oci_opsi_host_details_t,
    current_statistics dbms_cloud_oci_opsi_exadata_insight_resource_statistics_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_exadata_host_statistics_summary_t is a subtype of the dbms_cloud_oci_opsi_exadata_insight_resource_statistics_aggregation_t type.

Fields

Field Description

resource_details

(required)

current_statistics

(required)

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHT_RESOURCE_CAPACITY_TREND_AGGREGATION_T Type

Resource Capacity samples

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  end_timestamp timestamp with time zone,
  l_capacity number,
  total_host_capacity number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_aggregation_t (
    end_timestamp timestamp with time zone,
    l_capacity number,
    total_host_capacity number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

end_timestamp

(required) The timestamp in which the current sampling period ends in RFC 3339 format.

l_capacity

(required) The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

total_host_capacity

(optional) The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHT_RESOURCE_CAPACITY_TREND_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHT_RESOURCE_CAPACITY_TREND_SUMMARY_T Type

List of resource id, name , capacity time series data

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  name varchar2(32767),
  capacity_data dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_summary_t (
    id varchar2,
    name varchar2,
    capacity_data dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of the database insight resource.

name

(required) The name of the resource.

capacity_data

(required) Time series data for capacity

DBMS_CLOUD_OCI_OPSI_HISTORICAL_DATA_ITEM_T Type

The historical timestamp and the corresponding resource value.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_historical_data_item_t FORCE AUTHID CURRENT_USER IS OBJECT (
  end_timestamp timestamp with time zone,
  usage number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_historical_data_item_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_historical_data_item_t (
    end_timestamp timestamp with time zone,
    usage number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

end_timestamp

(required) The timestamp in which the current sampling period ends in RFC 3339 format.

usage

(required) Total amount used of the resource metric type (CPU, STORAGE).

DBMS_CLOUD_OCI_OPSI_PROJECTED_DATA_ITEM_T Type

The timestamp of the projected event and their corresponding resource value. `highValue` and `lowValue` are the uncertainty bounds of the corresponding value.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_projected_data_item_t FORCE AUTHID CURRENT_USER IS OBJECT (
  end_timestamp timestamp with time zone,
  usage number,
  high_value number,
  low_value number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_projected_data_item_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_projected_data_item_t (
    end_timestamp timestamp with time zone,
    usage number,
    high_value number,
    low_value number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

end_timestamp

(required) The timestamp in which the current sampling period ends in RFC 3339 format.

usage

(required) Total amount used of the resource metric type (CPU, STORAGE).

high_value

(required) Upper uncertainty bound of the current usage value.

low_value

(required) Lower uncertainty bound of the current usage value.

DBMS_CLOUD_OCI_OPSI_HISTORICAL_DATA_ITEM_TBL Type

Nested table type of dbms_cloud_oci_opsi_historical_data_item_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_historical_data_item_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_historical_data_item_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_PROJECTED_DATA_ITEM_TBL Type

Nested table type of dbms_cloud_oci_opsi_projected_data_item_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_projected_data_item_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_projected_data_item_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHT_RESOURCE_FORECAST_TREND_SUMMARY_T Type

List of resource id, name , capacity insight value, pattern, historical usage and projected data.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insight_resource_forecast_trend_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  name varchar2(32767),
  days_to_reach_capacity number,
  selected_forecast_algorithm varchar2(32767),
  pattern varchar2(32767),
  historical_data dbms_cloud_oci_opsi_historical_data_item_tbl,
  projected_data dbms_cloud_oci_opsi_projected_data_item_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insight_resource_forecast_trend_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insight_resource_forecast_trend_summary_t (
    id varchar2,
    name varchar2,
    days_to_reach_capacity number,
    selected_forecast_algorithm varchar2,
    pattern varchar2,
    historical_data dbms_cloud_oci_opsi_historical_data_item_tbl,
    projected_data dbms_cloud_oci_opsi_projected_data_item_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of the database insight resource.

name

(required) The name of the resource.

days_to_reach_capacity

(required) Days to reach capacity for a storage server

selected_forecast_algorithm

(optional) Auto-ML algorithm leveraged for the forecast. Only applicable for Auto-ML forecast.

pattern

(required) Time series patterns used in the forecasting.

Allowed values are: 'LINEAR', 'MONTHLY_SEASONS', 'MONTHLY_AND_YEARLY_SEASONS', 'WEEKLY_SEASONS', 'WEEKLY_AND_MONTHLY_SEASONS', 'WEEKLY_MONTHLY_AND_YEARLY_SEASONS', 'WEEKLY_AND_YEARLY_SEASONS', 'YEARLY_SEASONS'

historical_data

(required) Time series data used for the forecast analysis.

projected_data

(required) Time series data result of the forecasting analysis.

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHT_RESOURCE_INSIGHT_UTILIZATION_ITEM_T Type

Object containing current utilization, projected utilization, id and daysToReach high and low utilization value.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insight_resource_insight_utilization_item_t FORCE AUTHID CURRENT_USER IS OBJECT (
  exadata_insight_id varchar2(32767),
  exadata_display_name varchar2(32767),
  current_utilization number,
  projected_utilization number,
  days_to_reach_high_utilization number,
  days_to_reach_low_utilization number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insight_resource_insight_utilization_item_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insight_resource_insight_utilization_item_t (
    exadata_insight_id varchar2,
    exadata_display_name varchar2,
    current_utilization number,
    projected_utilization number,
    days_to_reach_high_utilization number,
    days_to_reach_low_utilization number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

exadata_insight_id

(required) The OCID of the Exadata insight.

exadata_display_name

(optional) The user-friendly name for the Exadata system. The name does not have to be unique.

current_utilization

(required) Current utilization

projected_utilization

(required) Projected utilization

days_to_reach_high_utilization

(required) Days to reach projected high utilization

days_to_reach_low_utilization

(required) Days to reach projected low utilization

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_exadata_insight_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insight_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_exadata_insight_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHT_SUMMARY_COLLECTION_T Type

Collection of Exadata insight summary objects.

Syntax

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

Fields

Field Description

items

(required) Array of Exadata insight summary objects.

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHTS_T Type

Logical grouping used for Operations Insights Exadata related operations.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insights_t FORCE AUTHID CURRENT_USER IS OBJECT (
  exadata_insights json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insights_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insights_t (
    exadata_insights json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

exadata_insights

(optional) Exadata Insights Object.

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHTS_DATA_OBJECT_T Type

Exadata insights data object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insights_data_object_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_opsi_data_object_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insights_data_object_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insights_data_object_t (
    identifier varchar2,
    data_object_type varchar2,
    display_name varchar2,
    description varchar2,
    name varchar2,
    group_names dbms_cloud_oci_opsi_varchar2_tbl,
    supported_query_time_period varchar2,
    columns_metadata dbms_cloud_oci_opsi_data_object_column_metadata_tbl,
    supported_query_params dbms_cloud_oci_opsi_opsi_data_object_supported_query_param_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_exadata_insights_data_object_t is a subtype of the dbms_cloud_oci_opsi_opsi_data_object_t type.

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHTS_DATA_OBJECT_SUMMARY_T Type

Summary of an exadata insights data object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insights_data_object_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_opsi_data_object_summary_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insights_data_object_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_insights_data_object_summary_t (
    identifier varchar2,
    data_object_type varchar2,
    display_name varchar2,
    description varchar2,
    name varchar2,
    group_names dbms_cloud_oci_opsi_varchar2_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_exadata_insights_data_object_summary_t is a subtype of the dbms_cloud_oci_opsi_opsi_data_object_summary_t type.

DBMS_CLOUD_OCI_OPSI_EXADATA_MEMBER_SUMMARY_T Type

Lists name, display name and type of exadata member.

Syntax

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

Fields

Field Description

name

(required) Name of exadata member target

display_name

(required) Display Name of exadata member target

entity_type

(required) Entity type of exadata member target

Allowed values are: 'DATABASE', 'ILOM_SERVER', 'PDU', 'STORAGE_SERVER', 'CLUSTER_ASM', 'INFINIBAND_SWITCH', 'ETHERNET_SWITCH', 'HOST', 'VM_CLUSTER'

DBMS_CLOUD_OCI_OPSI_EXADATA_MEMBER_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_exadata_member_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_member_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_exadata_member_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_EXADATA_MEMBER_COLLECTION_T Type

Partial definition of the exadata insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_member_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  exadata_insight_id varchar2(32767),
  exadata_name varchar2(32767),
  exadata_display_name varchar2(32767),
  exadata_type varchar2(32767),
  exadata_rack_type varchar2(32767),
  items dbms_cloud_oci_opsi_exadata_member_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_member_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_member_collection_t (
    exadata_insight_id varchar2,
    exadata_name varchar2,
    exadata_display_name varchar2,
    exadata_type varchar2,
    exadata_rack_type varchar2,
    items dbms_cloud_oci_opsi_exadata_member_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

exadata_insight_id

(required) The OCID of the Exadata insight.

exadata_name

(required) The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.

exadata_display_name

(required) The user-friendly name for the Exadata system. The name does not have to be unique.

exadata_type

(required) Operations Insights internal representation of the the Exadata system type.

Allowed values are: 'DBMACHINE', 'EXACS', 'EXACC'

exadata_rack_type

(required) Exadata rack type.

Allowed values are: 'FULL', 'HALF', 'QUARTER', 'EIGHTH', 'FLEX'

items

(required) Collection of Exadata members

DBMS_CLOUD_OCI_OPSI_STORAGE_SERVER_DETAILS_T Type

Partial information about a storage server which includes name and displayName.

Syntax

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

Fields

Field Description

storage_server_name

(required) The storage server name.

storage_server_display_name

(required) The user-friendly name for the storage server. The name does not have to be unique.

DBMS_CLOUD_OCI_OPSI_EXADATA_STORAGE_SERVER_STATISTICS_SUMMARY_T Type

Storage server details and statistics.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_storage_server_statistics_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_exadata_insight_resource_statistics_aggregation_t (
  resource_details dbms_cloud_oci_opsi_storage_server_details_t,
  current_statistics dbms_cloud_oci_opsi_exadata_insight_resource_statistics_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_storage_server_statistics_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_exadata_storage_server_statistics_summary_t (
    exadata_resource_type varchar2,
    resource_details dbms_cloud_oci_opsi_storage_server_details_t,
    current_statistics dbms_cloud_oci_opsi_exadata_insight_resource_statistics_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_exadata_storage_server_statistics_summary_t is a subtype of the dbms_cloud_oci_opsi_exadata_insight_resource_statistics_aggregation_t type.

Fields

Field Description

resource_details

(required)

current_statistics

(required)

DBMS_CLOUD_OCI_OPSI_HOST_CONFIGURATION_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_host_configuration_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_configuration_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_host_configuration_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_HOST_CONFIGURATION_COLLECTION_T Type

Collection of host insight configuration summary objects.

Syntax

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

Fields

Field Description

items

(required) Array of host insight configurations summary objects.

DBMS_CLOUD_OCI_OPSI_HOST_CONFIGURATION_METRIC_GROUP_T Type

Base Metric Group for Host configuration metrics

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_configuration_metric_group_t FORCE AUTHID CURRENT_USER IS OBJECT (
  metric_name varchar2(32767),
  time_collected timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_configuration_metric_group_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_configuration_metric_group_t (
    metric_name varchar2,
    time_collected timestamp with time zone
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

metric_name

(required) Name of the metric group

Allowed values are: 'HOST_PRODUCT', 'HOST_RESOURCE_ALLOCATION', 'HOST_MEMORY_CONFIGURATION', 'HOST_HARDWARE_CONFIGURATION', 'HOST_CPU_HARDWARE_CONFIGURATION', 'HOST_NETWORK_CONFIGURATION', 'HOST_ENTITES', 'HOST_FILESYSTEM_CONFIGURATION'

time_collected

(required) Collection timestamp Example: `\"2020-05-06T00:00:00.000Z\"`

DBMS_CLOUD_OCI_OPSI_HOST_CPU_HARDWARE_CONFIGURATION_T Type

CPU Hardware Configuration metric for the host

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_cpu_hardware_configuration_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_configuration_metric_group_t (
  total_sockets number,
  vendor_name varchar2(32767),
  frequency_in_mhz number,
  cache_in_mb number,
  cpu_implementation varchar2(32767),
  model varchar2(32767),
  cpu_family varchar2(32767),
  cores_per_socket number,
  threads_per_socket number,
  hyper_threading_enabled varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_cpu_hardware_configuration_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_cpu_hardware_configuration_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    total_sockets number,
    vendor_name varchar2,
    frequency_in_mhz number,
    cache_in_mb number,
    cpu_implementation varchar2,
    model varchar2,
    cpu_family varchar2,
    cores_per_socket number,
    threads_per_socket number,
    hyper_threading_enabled varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_cpu_hardware_configuration_t is a subtype of the dbms_cloud_oci_opsi_host_configuration_metric_group_t type.

Fields

Field Description

total_sockets

(optional) Total number of CPU Sockets

vendor_name

(optional) Name of the CPU vendor

frequency_in_mhz

(optional) Clock frequency of the processor in megahertz

cache_in_mb

(optional) Size of cache memory in megabytes

cpu_implementation

(optional) Model name of processor

model

(optional) CPU model

cpu_family

(optional) Type of processor in the system

cores_per_socket

(optional) Number of cores per socket

threads_per_socket

(optional) Number of threads per socket

hyper_threading_enabled

(optional) Indicates if hyper-threading is enabled or not

DBMS_CLOUD_OCI_OPSI_HOST_INSIGHT_HOST_RECOMMENDATIONS_T Type

Contains recommendations depending of resource metric received.

Syntax

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

Fields

Field Description

metric_recommendation_name

(required) Name of recommendations depending of resource metric received.

Allowed values are: 'HOST_CPU_RECOMMENDATIONS'

DBMS_CLOUD_OCI_OPSI_HOST_CPU_RECOMMENDATIONS_T Type

Contains CPU recommendation.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_cpu_recommendations_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_insight_host_recommendations_t (
  burstable varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_cpu_recommendations_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_cpu_recommendations_t (
    metric_recommendation_name varchar2,
    burstable varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_cpu_recommendations_t is a subtype of the dbms_cloud_oci_opsi_host_insight_host_recommendations_t type.

Fields

Field Description

burstable

(optional) Show if OPSI recommend to convert an instance to a burstable instance and show recommended cpu baseline if positive recommendation.

Allowed values are: 'BASELINE_1_8', 'BASELINE_1_2', 'NO_RECOMMENDATION', 'DISABLE_BURSTABLE'

DBMS_CLOUD_OCI_OPSI_SUMMARY_STATISTICS_T Type

Contains common summary statistics.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summary_statistics_t FORCE AUTHID CURRENT_USER IS OBJECT (
  minimum number,
  maximum number,
  average number,
  median number,
  lower_quartile number,
  upper_quartile number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summary_statistics_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summary_statistics_t (
    minimum number,
    maximum number,
    average number,
    median number,
    lower_quartile number,
    upper_quartile number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

minimum

(required) The smallest number in the data set.

maximum

(required) The largest number in the data set.

average

(required) The average number in the data set.

median

(required) The middle number in the data set.

lower_quartile

(required) The middle number between the smallest number and the median of the data set. It's also known as the 25th quartile.

upper_quartile

(required) The middle number between the median and the largest number of the data set. It's also known as the 75th quartile.

DBMS_CLOUD_OCI_OPSI_HOST_RESOURCE_STATISTICS_T Type

Contains host resource base statistics.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_resource_statistics_t FORCE AUTHID CURRENT_USER IS OBJECT (
  usage number,
  l_capacity number,
  utilization_percent number,
  usage_change_percent number,
  resource_name varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_resource_statistics_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_resource_statistics_t (
    usage number,
    l_capacity number,
    utilization_percent number,
    usage_change_percent number,
    resource_name varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

usage

(required) Total amount used of the resource metric type (CPU, STORAGE).

l_capacity

(required) The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

utilization_percent

(required) Resource utilization in percentage.

usage_change_percent

(required) Change in resource utilization in percentage

resource_name

(required) Name of resource for host

Allowed values are: 'HOST_CPU_STATISTICS', 'HOST_MEMORY_STATISTICS', 'HOST_STORAGE_STATISTICS', 'HOST_NETWORK_STATISTICS'

DBMS_CLOUD_OCI_OPSI_HOST_CPU_STATISTICS_T Type

Contains CPU statistics.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_cpu_statistics_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_resource_statistics_t (
  cpu_baseline number,
  load dbms_cloud_oci_opsi_summary_statistics_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_cpu_statistics_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_cpu_statistics_t (
    usage number,
    l_capacity number,
    utilization_percent number,
    usage_change_percent number,
    resource_name varchar2,
    cpu_baseline number,
    load dbms_cloud_oci_opsi_summary_statistics_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_cpu_statistics_t is a subtype of the dbms_cloud_oci_opsi_host_resource_statistics_t type.

Fields

Field Description

cpu_baseline

(optional) The baseline utilization is a fraction of each CPU core expressed in percentages, either 12.5% or 50%. The baseline provides the minimum CPUs that can be used constantly.

load

(optional)

DBMS_CLOUD_OCI_OPSI_HOST_PERFORMANCE_METRIC_GROUP_T Type

Base Metric Group for Host performance metrics

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_performance_metric_group_t FORCE AUTHID CURRENT_USER IS OBJECT (
  metric_name varchar2(32767),
  time_collected timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_performance_metric_group_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_performance_metric_group_t (
    metric_name varchar2,
    time_collected timestamp with time zone
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

metric_name

(required) Name of the metric group

Allowed values are: 'HOST_CPU_USAGE', 'HOST_MEMORY_USAGE', 'HOST_NETWORK_ACTIVITY_SUMMARY', 'HOST_TOP_PROCESSES', 'HOST_FILESYSTEM_USAGE'

time_collected

(required) Collection timestamp Example: `\"2020-05-06T00:00:00.000Z\"`

DBMS_CLOUD_OCI_OPSI_HOST_CPU_USAGE_T Type

CPU Usage metric for the host

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_cpu_usage_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_performance_metric_group_t (
  cpu_user_mode_in_percent number,
  cpu_system_mode_in_percent number,
  cpu_usage_in_sec number,
  cpu_utilization_in_percent number,
  cpu_stolen_in_percent number,
  cpu_idle_in_percent number,
  cpu_load1min number,
  cpu_load5min number,
  cpu_load15min number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_cpu_usage_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_cpu_usage_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    cpu_user_mode_in_percent number,
    cpu_system_mode_in_percent number,
    cpu_usage_in_sec number,
    cpu_utilization_in_percent number,
    cpu_stolen_in_percent number,
    cpu_idle_in_percent number,
    cpu_load1min number,
    cpu_load5min number,
    cpu_load15min number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_cpu_usage_t is a subtype of the dbms_cloud_oci_opsi_host_performance_metric_group_t type.

Fields

Field Description

cpu_user_mode_in_percent

(optional) Percentage of CPU time spent in user mode

cpu_system_mode_in_percent

(optional) Percentage of CPU time spent in system mode

cpu_usage_in_sec

(optional) Amount of CPU Time spent in seconds

cpu_utilization_in_percent

(optional) Amount of CPU Time spent in percentage

cpu_stolen_in_percent

(optional) Amount of CPU time stolen in percentage

cpu_idle_in_percent

(optional) Amount of CPU idle time in percentage

cpu_load1min

(optional) Load average in the last 1 minute

cpu_load5min

(optional) Load average in the last 5 minutes

cpu_load15min

(optional) Load average in the last 15 minutes

DBMS_CLOUD_OCI_OPSI_HOST_ENTITIES_T Type

Database entities running on the host

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_entities_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_configuration_metric_group_t (
  entity_name varchar2(32767),
  entity_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_entities_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_entities_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    entity_name varchar2,
    entity_type varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_entities_t is a subtype of the dbms_cloud_oci_opsi_host_configuration_metric_group_t type.

Fields

Field Description

entity_name

(required) Name of the database entity

entity_type

(required) Type of the database entity

DBMS_CLOUD_OCI_OPSI_HOST_FILESYSTEM_CONFIGURATION_T Type

Filesystem Configuration metric for the host.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_filesystem_configuration_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_configuration_metric_group_t (
  file_system_name varchar2(32767),
  mount_point varchar2(32767),
  file_system_size_in_gb number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_filesystem_configuration_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_filesystem_configuration_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    file_system_name varchar2,
    mount_point varchar2,
    file_system_size_in_gb number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_filesystem_configuration_t is a subtype of the dbms_cloud_oci_opsi_host_configuration_metric_group_t type.

Fields

Field Description

file_system_name

(required) Name of filesystem

mount_point

(required) Mount points are specialized NTFS filesystem objects

file_system_size_in_gb

(required) Size of filesystem

DBMS_CLOUD_OCI_OPSI_HOST_FILESYSTEM_USAGE_T Type

Filesystem Usage metric for the host.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_filesystem_usage_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_performance_metric_group_t (
  mount_point varchar2(32767),
  file_system_usage_in_gb number,
  file_system_avail_in_percent number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_filesystem_usage_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_filesystem_usage_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    mount_point varchar2,
    file_system_usage_in_gb number,
    file_system_avail_in_percent number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_filesystem_usage_t is a subtype of the dbms_cloud_oci_opsi_host_performance_metric_group_t type.

Fields

Field Description

mount_point

(optional) Mount points are specialized NTFS filesystem objects

file_system_usage_in_gb

(optional)

file_system_avail_in_percent

(optional)

DBMS_CLOUD_OCI_OPSI_HOST_HARDWARE_CONFIGURATION_T Type

Hardware Configuration metric for the host

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_hardware_configuration_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_configuration_metric_group_t (
  cpu_architecture varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_hardware_configuration_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_hardware_configuration_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    cpu_architecture varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_hardware_configuration_t is a subtype of the dbms_cloud_oci_opsi_host_configuration_metric_group_t type.

Fields

Field Description

cpu_architecture

(required) Processor architecture used by the platform

DBMS_CLOUD_OCI_OPSI_IMPORTABLE_AGENT_ENTITY_SUMMARY_T Type

An agent entity that can be imported into Operations Insights.

Syntax

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

Fields

Field Description

entity_source

(required) Source of the importable agent entity.

Allowed values are: 'MACS_MANAGED_EXTERNAL_HOST', 'MACS_MANAGED_CLOUD_HOST'

management_agent_id

(required) The OCID of the Management Agent

management_agent_display_name

(required) The Display Name of the Management Agent

DBMS_CLOUD_OCI_OPSI_HOST_IMPORTABLE_AGENT_ENTITY_SUMMARY_T Type

An agent host entity that can be imported into Operations Insights.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_importable_agent_entity_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_importable_agent_entity_summary_t (
  host_name varchar2(32767),
  platform_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_importable_agent_entity_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_importable_agent_entity_summary_t (
    entity_source varchar2,
    management_agent_id varchar2,
    management_agent_display_name varchar2,
    host_name varchar2,
    platform_type varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_importable_agent_entity_summary_t is a subtype of the dbms_cloud_oci_opsi_importable_agent_entity_summary_t type.

Fields

Field Description

host_name

(required) The host name. The host name is unique amongst the hosts managed by the same management agent.

platform_type

(required) Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].

Allowed values are: 'LINUX', 'SOLARIS', 'SUNOS', 'ZLINUX', 'WINDOWS', 'AIX', 'HP_UX'

DBMS_CLOUD_OCI_OPSI_HOST_INSIGHT_RESOURCE_STATISTICS_AGGREGATION_T Type

Contains host details and resource statistics.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_insight_resource_statistics_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  host_details dbms_cloud_oci_opsi_host_details_t,
  current_statistics dbms_cloud_oci_opsi_host_resource_statistics_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_insight_resource_statistics_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_insight_resource_statistics_aggregation_t (
    host_details dbms_cloud_oci_opsi_host_details_t,
    current_statistics dbms_cloud_oci_opsi_host_resource_statistics_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

host_details

(required)

current_statistics

(required)

DBMS_CLOUD_OCI_OPSI_HOST_INSIGHT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_host_insight_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_insight_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_host_insight_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_HOST_INSIGHT_SUMMARY_COLLECTION_T Type

Collection of host insight summary objects.

Syntax

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

Fields

Field Description

items

(required) Array of host insight summary objects.

DBMS_CLOUD_OCI_OPSI_HOST_INSIGHTS_T Type

Logical grouping used for Operations Insights host related operations.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_insights_t FORCE AUTHID CURRENT_USER IS OBJECT (
  host_insights json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_insights_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_insights_t (
    host_insights json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

host_insights

(optional) Host Insights Object.

DBMS_CLOUD_OCI_OPSI_HOST_INSIGHTS_DATA_OBJECT_T Type

Host insights data object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_insights_data_object_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_opsi_data_object_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_insights_data_object_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_insights_data_object_t (
    identifier varchar2,
    data_object_type varchar2,
    display_name varchar2,
    description varchar2,
    name varchar2,
    group_names dbms_cloud_oci_opsi_varchar2_tbl,
    supported_query_time_period varchar2,
    columns_metadata dbms_cloud_oci_opsi_data_object_column_metadata_tbl,
    supported_query_params dbms_cloud_oci_opsi_opsi_data_object_supported_query_param_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_insights_data_object_t is a subtype of the dbms_cloud_oci_opsi_opsi_data_object_t type.

DBMS_CLOUD_OCI_OPSI_HOST_INSIGHTS_DATA_OBJECT_SUMMARY_T Type

Summary of a host insights data object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_insights_data_object_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_opsi_data_object_summary_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_insights_data_object_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_insights_data_object_summary_t (
    identifier varchar2,
    data_object_type varchar2,
    display_name varchar2,
    description varchar2,
    name varchar2,
    group_names dbms_cloud_oci_opsi_varchar2_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_insights_data_object_summary_t is a subtype of the dbms_cloud_oci_opsi_opsi_data_object_summary_t type.

DBMS_CLOUD_OCI_OPSI_HOST_MEMORY_CONFIGURATION_T Type

Memory Configuration metric for the host

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_memory_configuration_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_configuration_metric_group_t (
  page_size_in_kb number,
  page_tables_in_kb number,
  swap_total_in_kb number,
  huge_page_size_in_kb number,
  huge_pages_total number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_memory_configuration_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_memory_configuration_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    page_size_in_kb number,
    page_tables_in_kb number,
    swap_total_in_kb number,
    huge_page_size_in_kb number,
    huge_pages_total number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_memory_configuration_t is a subtype of the dbms_cloud_oci_opsi_host_configuration_metric_group_t type.

Fields

Field Description

page_size_in_kb

(optional) Page size in kilobytes

page_tables_in_kb

(optional) Amount of memory used for page tables in kilobytes

swap_total_in_kb

(optional) Amount of total swap space in kilobytes

huge_page_size_in_kb

(optional) Size of huge pages in kilobytes

huge_pages_total

(optional) Total number of huge pages

DBMS_CLOUD_OCI_OPSI_HOST_MEMORY_STATISTICS_T Type

Contains memory statistics.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_memory_statistics_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_resource_statistics_t (
  free_memory number,
  available_memory number,
  huge_pages_total number,
  huge_page_size_in_mb number,
  huge_pages_free number,
  huge_pages_reserved number,
  load dbms_cloud_oci_opsi_summary_statistics_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_memory_statistics_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_memory_statistics_t (
    usage number,
    l_capacity number,
    utilization_percent number,
    usage_change_percent number,
    resource_name varchar2,
    free_memory number,
    available_memory number,
    huge_pages_total number,
    huge_page_size_in_mb number,
    huge_pages_free number,
    huge_pages_reserved number,
    load dbms_cloud_oci_opsi_summary_statistics_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_memory_statistics_t is a subtype of the dbms_cloud_oci_opsi_host_resource_statistics_t type.

Fields

Field Description

free_memory

(optional)

available_memory

(optional)

huge_pages_total

(optional) Total number of huge pages.

huge_page_size_in_mb

(optional) Size of huge pages in megabytes.

huge_pages_free

(optional) Total number of available huge pages.

huge_pages_reserved

(optional) Total number of huge pages which are used or reserved.

load

(optional)

DBMS_CLOUD_OCI_OPSI_HOST_MEMORY_USAGE_T Type

Memory usage metric for the host

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_memory_usage_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_performance_metric_group_t (
  memory_used_in_gb number,
  memory_utilization_in_percent number,
  memory_load_in_gb number,
  real_memory_in_kb number,
  free_memory_in_kb number,
  logical_memory_used_in_gb number,
  logical_memory_utilization_in_percent number,
  free_logical_memory_in_kb number,
  major_page_faults number,
  swap_free_in_kb number,
  anon_huge_pages_in_kb number,
  huge_pages_free number,
  huge_pages_reserved number,
  huge_pages_surplus number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_memory_usage_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_memory_usage_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    memory_used_in_gb number,
    memory_utilization_in_percent number,
    memory_load_in_gb number,
    real_memory_in_kb number,
    free_memory_in_kb number,
    logical_memory_used_in_gb number,
    logical_memory_utilization_in_percent number,
    free_logical_memory_in_kb number,
    major_page_faults number,
    swap_free_in_kb number,
    anon_huge_pages_in_kb number,
    huge_pages_free number,
    huge_pages_reserved number,
    huge_pages_surplus number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_memory_usage_t is a subtype of the dbms_cloud_oci_opsi_host_performance_metric_group_t type.

Fields

Field Description

memory_used_in_gb

(optional) Amount of physical memory used in gigabytes

memory_utilization_in_percent

(optional) Amount of physical memory used in percentage

memory_load_in_gb

(optional) Load on memory in gigabytes

real_memory_in_kb

(optional) Amount of usable physical memory in kilobytes

free_memory_in_kb

(optional) Amount of available physical memory in kilobytes

logical_memory_used_in_gb

(optional) Memory used excluding buffers and cache in gigabytes

logical_memory_utilization_in_percent

(optional) Amount of logical memory used in percentage

free_logical_memory_in_kb

(optional) Amount of avaiable virtual memory in kilobytes

major_page_faults

(optional) Number of major page faults

swap_free_in_kb

(optional) Amount of available swap space in kilobytes

anon_huge_pages_in_kb

(optional) Amount of memory used for anon huge pages in kilobytes

huge_pages_free

(optional) Number of available huge pages

huge_pages_reserved

(optional) Number of reserved huge pages

huge_pages_surplus

(optional) Number of surplus huge pages

DBMS_CLOUD_OCI_OPSI_HOST_NETWORK_ACTIVITY_SUMMARY_T Type

Network Activity Summary metric for the host

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_network_activity_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_performance_metric_group_t (
  interface_name varchar2(32767),
  all_network_read_in_mbps number,
  all_network_write_in_mbps number,
  all_network_io_in_mbps number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_network_activity_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_network_activity_summary_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    interface_name varchar2,
    all_network_read_in_mbps number,
    all_network_write_in_mbps number,
    all_network_io_in_mbps number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_network_activity_summary_t is a subtype of the dbms_cloud_oci_opsi_host_performance_metric_group_t type.

Fields

Field Description

interface_name

(optional) Name of the network interface

all_network_read_in_mbps

(optional) All network interfaces read rate in Mbps

all_network_write_in_mbps

(optional) All network interfaces write rate in Mbps

all_network_io_in_mbps

(optional) All network interfaces IO rate in Mbps

DBMS_CLOUD_OCI_OPSI_HOST_NETWORK_CONFIGURATION_T Type

Network Configuration metric for the host

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_network_configuration_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_configuration_metric_group_t (
  interface_name varchar2(32767),
  ip_address varchar2(32767),
  mac_address varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_network_configuration_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_network_configuration_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    interface_name varchar2,
    ip_address varchar2,
    mac_address varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_network_configuration_t is a subtype of the dbms_cloud_oci_opsi_host_configuration_metric_group_t type.

Fields

Field Description

interface_name

(required) Name of the network interface

ip_address

(required) IP address (IPv4 or IPv6) of the network interface

mac_address

(optional) MAC address of the network interface. MAC address is a 12-digit hexadecimal number separated by colons or dashes or dots. Following formats are accepted: MM:MM:MM:SS:SS:SS, MM-MM-MM-SS-SS-SS, MM.MM.MM.SS.SS.SS, MMM:MMM:SSS:SSS, MMM-MMM-SSS-SSS, MMM.MMM.SSS.SSS, MMMM:MMSS:SSSS, MMMM-MMSS-SSSS, MMMM.MMSS.SSSS

DBMS_CLOUD_OCI_OPSI_HOST_NETWORK_STATISTICS_T Type

Contains network statistics.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_network_statistics_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_resource_statistics_t (
  network_read_in_m_bs number,
  network_write_in_m_bs number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_network_statistics_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_network_statistics_t (
    usage number,
    l_capacity number,
    utilization_percent number,
    usage_change_percent number,
    resource_name varchar2,
    network_read_in_m_bs number,
    network_write_in_m_bs number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_network_statistics_t is a subtype of the dbms_cloud_oci_opsi_host_resource_statistics_t type.

Fields

Field Description

network_read_in_m_bs

(optional)

network_write_in_m_bs

(optional)

DBMS_CLOUD_OCI_OPSI_HOST_PRODUCT_T Type

Product metric for the host

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_product_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_configuration_metric_group_t (
  vendor varchar2(32767),
  name varchar2(32767),
  version varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_product_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_product_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    vendor varchar2,
    name varchar2,
    version varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_product_t is a subtype of the dbms_cloud_oci_opsi_host_configuration_metric_group_t type.

Fields

Field Description

vendor

(optional) Vendor of the product

name

(optional) Name of the product

version

(optional) Version of the product

DBMS_CLOUD_OCI_OPSI_HOST_RESOURCE_ALLOCATION_T Type

Resource Allocation metric for the host

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_resource_allocation_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_configuration_metric_group_t (
  total_cpus number,
  total_memory_in_gb number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_resource_allocation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_resource_allocation_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    total_cpus number,
    total_memory_in_gb number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_resource_allocation_t is a subtype of the dbms_cloud_oci_opsi_host_configuration_metric_group_t type.

Fields

Field Description

total_cpus

(optional) Total number of CPUs available

total_memory_in_gb

(optional) Total amount of usable physical memory in gibabytes

DBMS_CLOUD_OCI_OPSI_HOST_RESOURCE_CAPACITY_TREND_AGGREGATION_T Type

Host Resource Capacity samples

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_resource_capacity_trend_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  end_timestamp timestamp with time zone,
  l_capacity number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_resource_capacity_trend_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_resource_capacity_trend_aggregation_t (
    end_timestamp timestamp with time zone,
    l_capacity number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

end_timestamp

(required) The timestamp in which the current sampling period ends in RFC 3339 format.

l_capacity

(required) The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

DBMS_CLOUD_OCI_OPSI_HOST_STORAGE_STATISTICS_T Type

Contains storage statistics.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_storage_statistics_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_resource_statistics_t (
  filesystem_available_in_percent number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_storage_statistics_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_storage_statistics_t (
    usage number,
    l_capacity number,
    utilization_percent number,
    usage_change_percent number,
    resource_name varchar2,
    filesystem_available_in_percent number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_storage_statistics_t is a subtype of the dbms_cloud_oci_opsi_host_resource_statistics_t type.

Fields

Field Description

filesystem_available_in_percent

(optional)

DBMS_CLOUD_OCI_OPSI_HOST_TOP_PROCESSES_T Type

Top Processes metric for the host

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_top_processes_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_performance_metric_group_t (
  pid number,
  user_name varchar2(32767),
  memory_utilization_percent number,
  cpu_utilization_percent number,
  cpu_usage_in_seconds number,
  command varchar2(32767),
  virtual_memory_in_m_bs number,
  physical_memory_in_m_bs number,
  start_time timestamp with time zone,
  total_processes number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_top_processes_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_host_top_processes_t (
    metric_name varchar2,
    time_collected timestamp with time zone,
    pid number,
    user_name varchar2,
    memory_utilization_percent number,
    cpu_utilization_percent number,
    cpu_usage_in_seconds number,
    command varchar2,
    virtual_memory_in_m_bs number,
    physical_memory_in_m_bs number,
    start_time timestamp with time zone,
    total_processes number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_host_top_processes_t is a subtype of the dbms_cloud_oci_opsi_host_performance_metric_group_t type.

Fields

Field Description

pid

(optional) process id

user_name

(optional) User that started the process

memory_utilization_percent

(optional) Memory utilization percentage

cpu_utilization_percent

(optional) CPU utilization percentage

cpu_usage_in_seconds

(optional) CPU usage in seconds

command

(optional) Command line executed for the process

virtual_memory_in_m_bs

(optional) Virtual memory in megabytes

physical_memory_in_m_bs

(optional) Physical memory in megabytes

start_time

(optional) Process Start Time Example: `\"2020-03-31T00:00:00.000Z\"`

total_processes

(optional) Number of processes running at the time of collection

DBMS_CLOUD_OCI_OPSI_HOSTED_ENTITY_SUMMARY_T Type

Information about a hosted entity which includes identifier, name, and type.

Syntax

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

Fields

Field Description

entity_identifier

(required) The identifier of the entity.

entity_name

(required) The entity name.

entity_type

(required) The entity type.

DBMS_CLOUD_OCI_OPSI_HOSTED_ENTITY_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_hosted_entity_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_hosted_entity_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_hosted_entity_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_HOSTED_ENTITY_COLLECTION_T Type

Returns a list of hosted entities for the specific host.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_hosted_entity_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  items dbms_cloud_oci_opsi_hosted_entity_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_hosted_entity_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_hosted_entity_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    items dbms_cloud_oci_opsi_hosted_entity_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

items

(required) List of hosted entities details.

DBMS_CLOUD_OCI_OPSI_IMPORTABLE_AGENT_ENTITY_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_importable_agent_entity_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_importable_agent_entity_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_importable_agent_entity_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_IMPORTABLE_AGENT_ENTITY_SUMMARY_COLLECTION_T Type

Collection of importable agent entity objects.

Syntax

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

Fields

Field Description

items

(required) Array of importable agent entity objects.

DBMS_CLOUD_OCI_OPSI_IMPORTABLE_COMPUTE_ENTITY_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_importable_compute_entity_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_importable_compute_entity_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_importable_compute_entity_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_IMPORTABLE_COMPUTE_ENTITY_SUMMARY_COLLECTION_T Type

Collection of importable compute entity objects.

Syntax

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

Fields

Field Description

items

(required) Array of importable compute entity objects.

DBMS_CLOUD_OCI_OPSI_IMPORTABLE_ENTERPRISE_MANAGER_ENTITY_T Type

An Enterprise Manager entity that can be imported into Operations Insights.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_importable_enterprise_manager_entity_t FORCE AUTHID CURRENT_USER IS OBJECT (
  enterprise_manager_identifier varchar2(32767),
  enterprise_manager_entity_name varchar2(32767),
  enterprise_manager_entity_type varchar2(32767),
  enterprise_manager_entity_identifier varchar2(32767),
  opsi_entity_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_importable_enterprise_manager_entity_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_importable_enterprise_manager_entity_t (
    enterprise_manager_identifier varchar2,
    enterprise_manager_entity_name varchar2,
    enterprise_manager_entity_type varchar2,
    enterprise_manager_entity_identifier varchar2,
    opsi_entity_type varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

enterprise_manager_identifier

(required) Enterprise Manager Unique Identifier

enterprise_manager_entity_name

(required) Enterprise Manager Entity Name

enterprise_manager_entity_type

(required) Enterprise Manager Entity Type

enterprise_manager_entity_identifier

(required) Enterprise Manager Entity Unique Identifier

opsi_entity_type

(optional) Operations Insights internal representation of the resource type.

DBMS_CLOUD_OCI_OPSI_IMPORTABLE_ENTERPRISE_MANAGER_ENTITY_TBL Type

Nested table type of dbms_cloud_oci_opsi_importable_enterprise_manager_entity_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_importable_enterprise_manager_entity_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_importable_enterprise_manager_entity_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_IMPORTABLE_ENTERPRISE_MANAGER_ENTITY_COLLECTION_T Type

Collection of importable Enterprise Manager entity objects.

Syntax

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

Fields

Field Description

items

(required) Array of importable Enterprise Manager entity objects.

DBMS_CLOUD_OCI_OPSI_OPSI_DATA_OBJECT_QUERY_PARAM_T Type

Details for a query parameter to be applied on an OPSI data object, when a data object query is executed.

Syntax

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

Fields

Field Description

name

(required) Name of the query parameter.

value

(required) Value for the query parameter.

DBMS_CLOUD_OCI_OPSI_OPSI_DATA_OBJECT_QUERY_PARAM_TBL Type

Nested table type of dbms_cloud_oci_opsi_opsi_data_object_query_param_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_opsi_data_object_query_param_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_opsi_data_object_query_param_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_OPSI_DATA_OBJECT_DETAILS_IN_QUERY_T Type

Details for OPSI data object used in a data object query.

Syntax

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

Fields

Field Description

data_object_details_target

(required) Data objects to which this OpsiDataObjectDetailsInQuery is applicable.

Allowed values are: 'INDIVIDUAL_OPSIDATAOBJECT', 'OPSIDATAOBJECTTYPE_OPSIDATAOBJECTS'

query_params

(optional) An array of query parameters to be applied, for the OPSI data objects targetted by dataObjectDetailsTarget, before executing the query. Refer to supportedQueryParams of OpsiDataObject for the supported query parameters.

DBMS_CLOUD_OCI_OPSI_INDIVIDUAL_OPSI_DATA_OBJECT_DETAILS_IN_QUERY_T Type

Details applicable for an individual OPSI data object used in a data object query.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_individual_opsi_data_object_details_in_query_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_opsi_data_object_details_in_query_t (
  data_object_identifier varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_individual_opsi_data_object_details_in_query_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_individual_opsi_data_object_details_in_query_t (
    data_object_details_target varchar2,
    query_params dbms_cloud_oci_opsi_opsi_data_object_query_param_tbl,
    data_object_identifier varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_individual_opsi_data_object_details_in_query_t is a subtype of the dbms_cloud_oci_opsi_opsi_data_object_details_in_query_t type.

Fields

Field Description

data_object_identifier

(required) Unique OPSI data object identifier.

DBMS_CLOUD_OCI_OPSI_ADDM_REPORT_TBL Type

Nested table type of dbms_cloud_oci_opsi_addm_report_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_addm_report_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_addm_report_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_INGEST_ADDM_REPORTS_DETAILS_T Type

Collection of Addm reports

Syntax

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

Fields

Field Description

items

(required) List of Addm reports

DBMS_CLOUD_OCI_OPSI_INGEST_ADDM_REPORTS_RESPONSE_DETAILS_T Type

The response object returned from IngestAddmReports operation.

Syntax

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

Fields

Field Description

message

(required) Success message returned as a result of the upload.

DBMS_CLOUD_OCI_OPSI_DATABASE_CONFIGURATION_METRIC_GROUP_TBL Type

Nested table type of dbms_cloud_oci_opsi_database_configuration_metric_group_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_database_configuration_metric_group_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_database_configuration_metric_group_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_INGEST_DATABASE_CONFIGURATION_DETAILS_T Type

Database Configuration Metrics details.

Syntax

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

Fields

Field Description

items

(required) Array of one or more database configuration metrics objects.

DBMS_CLOUD_OCI_OPSI_INGEST_DATABASE_CONFIGURATION_RESPONSE_DETAILS_T Type

The response object returned from IngestDatabaseConfiguration operation.

Syntax

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

Fields

Field Description

message

(required) Success message returned as a result of the upload.

DBMS_CLOUD_OCI_OPSI_HOST_CONFIGURATION_METRIC_GROUP_TBL Type

Nested table type of dbms_cloud_oci_opsi_host_configuration_metric_group_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_configuration_metric_group_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_host_configuration_metric_group_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_INGEST_HOST_CONFIGURATION_DETAILS_T Type

Contains the data to ingest for one or more host configuration metrics

Syntax

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

Fields

Field Description

items

(required) Collection of one or more host configuration metric data points

DBMS_CLOUD_OCI_OPSI_INGEST_HOST_CONFIGURATION_RESPONSE_DETAILS_T Type

The response object returned from IngestHostConfiguration operation.

Syntax

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

Fields

Field Description

message

(required) Success message returned as a result of the upload.

DBMS_CLOUD_OCI_OPSI_HOST_PERFORMANCE_METRIC_GROUP_TBL Type

Nested table type of dbms_cloud_oci_opsi_host_performance_metric_group_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_performance_metric_group_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_host_performance_metric_group_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_INGEST_HOST_METRICS_DETAILS_T Type

Contains the data to ingest for one or more host performance metrics

Syntax

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

Fields

Field Description

items

(required) Collection of one or more host performance metric data points

DBMS_CLOUD_OCI_OPSI_INGEST_HOST_METRICS_RESPONSE_DETAILS_T Type

The response object returned from IngestHostMetrics operation.

Syntax

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

Fields

Field Description

message

(required) Success message returned as a result of the upload.

DBMS_CLOUD_OCI_OPSI_MY_SQL_SQL_TEXT_T Type

MySql SQL Text type object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_my_sql_sql_text_t FORCE AUTHID CURRENT_USER IS OBJECT (
  schema_name varchar2(32767),
  digest varchar2(32767),
  time_collected timestamp with time zone,
  command_type varchar2(32767),
  digest_text varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_my_sql_sql_text_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_my_sql_sql_text_t (
    schema_name varchar2,
    digest varchar2,
    time_collected timestamp with time zone,
    command_type varchar2,
    digest_text varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

schema_name

(optional) Name of Database Schema. Example: `\"performance_schema\"`

digest

(required) digest Example: `\"323k3k99ua09a90adf\"`

time_collected

(required) Collection timestamp. Example: `\"2020-05-06T00:00:00.000Z\"`

command_type

(optional) SQL event name Example: `\"SELECT\"`

digest_text

(required) The normalized statement string. Example: `\"SELECT username,profile,default_tablespace,temporary_tablespace FROM dba_users\"`

DBMS_CLOUD_OCI_OPSI_MY_SQL_SQL_TEXT_TBL Type

Nested table type of dbms_cloud_oci_opsi_my_sql_sql_text_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_my_sql_sql_text_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_my_sql_sql_text_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_INGEST_MY_SQL_SQL_TEXT_DETAILS_T Type

Collection of SQL Text Entries

Syntax

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

Fields

Field Description

items

(optional) List of SQL Text Entries.

DBMS_CLOUD_OCI_OPSI_INGEST_MY_SQL_SQL_TEXT_RESPONSE_DETAILS_T Type

The response object returned from IngestMySqlSqlTextDetails operation.

Syntax

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

Fields

Field Description

message

(required) Success message returned as a result of the upload.

DBMS_CLOUD_OCI_OPSI_SQL_BUCKET_T Type

Sql bucket type object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_bucket_t FORCE AUTHID CURRENT_USER IS OBJECT (
  version number,
  database_type varchar2(32767),
  time_collected timestamp with time zone,
  sql_identifier varchar2(32767),
  plan_hash number,
  bucket_id varchar2(32767),
  executions_count number,
  cpu_time_in_sec number,
  io_time_in_sec number,
  other_wait_time_in_sec number,
  total_time_in_sec number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_bucket_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_bucket_t (
    version number,
    database_type varchar2,
    time_collected timestamp with time zone,
    sql_identifier varchar2,
    plan_hash number,
    bucket_id varchar2,
    executions_count number,
    cpu_time_in_sec number,
    io_time_in_sec number,
    other_wait_time_in_sec number,
    total_time_in_sec number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

version

(optional) Version Example: `1`

database_type

(optional) Operations Insights internal representation of the database type.

time_collected

(required) Collection timestamp Example: `\"2020-03-31T00:00:00.000Z\"`

sql_identifier

(required) Unique SQL_ID for a SQL Statement.

plan_hash

(required) Plan hash value for the SQL Execution Plan

bucket_id

(required) SQL Bucket ID, examples <= 3 secs, 3-10 secs, 10-60 secs, 1-5 min, > 5 min Example: `\"<= 3 secs\"`

executions_count

(optional) Total number of executions Example: `60`

cpu_time_in_sec

(optional) Total CPU time Example: `1046`

io_time_in_sec

(optional) Total IO time Example: `5810`

other_wait_time_in_sec

(optional) Total other wait time Example: `24061`

total_time_in_sec

(optional) Total time Example: `30917`

DBMS_CLOUD_OCI_OPSI_SQL_BUCKET_TBL Type

Nested table type of dbms_cloud_oci_opsi_sql_bucket_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_bucket_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_sql_bucket_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_INGEST_SQL_BUCKET_DETAILS_T Type

Collection of SQL Bucket Metric Entries

Syntax

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

Fields

Field Description

items

(optional) List of SQL Bucket Metric Entries.

DBMS_CLOUD_OCI_OPSI_INGEST_SQL_BUCKET_RESPONSE_DETAILS_T Type

The response object returned from IngestSqlBucketDetails operation.

Syntax

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

Fields

Field Description

message

(required) Success message returned as a result of the upload.

DBMS_CLOUD_OCI_OPSI_SQL_PLAN_LINE_T Type

SQL Plan Line type object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_plan_line_t FORCE AUTHID CURRENT_USER IS OBJECT (
  version number,
  sql_identifier varchar2(32767),
  plan_hash number,
  time_collected timestamp with time zone,
  operation varchar2(32767),
  remark varchar2(32767),
  options varchar2(32767),
  object_node varchar2(32767),
  object_owner varchar2(32767),
  object_name varchar2(32767),
  object_alias varchar2(32767),
  object_instance number,
  object_type varchar2(32767),
  optimizer varchar2(32767),
  search_columns number,
  identifier number,
  parent_identifier number,
  depth number,
  position number,
  cost number,
  cardinality number,
  bytes number,
  other varchar2(32767),
  other_tag varchar2(32767),
  partition_start varchar2(32767),
  partition_stop varchar2(32767),
  partition_identifier number,
  distribution varchar2(32767),
  cpu_cost number,
  io_cost number,
  temp_space number,
  access_predicates varchar2(32767),
  filter_predicates varchar2(32767),
  projection varchar2(32767),
  qblock_name varchar2(32767),
  elapsed_time_in_sec number,
  other_xml varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_plan_line_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_plan_line_t (
    version number,
    sql_identifier varchar2,
    plan_hash number,
    time_collected timestamp with time zone,
    operation varchar2,
    remark varchar2,
    options varchar2,
    object_node varchar2,
    object_owner varchar2,
    object_name varchar2,
    object_alias varchar2,
    object_instance number,
    object_type varchar2,
    optimizer varchar2,
    search_columns number,
    identifier number,
    parent_identifier number,
    depth number,
    position number,
    cost number,
    cardinality number,
    bytes number,
    other varchar2,
    other_tag varchar2,
    partition_start varchar2,
    partition_stop varchar2,
    partition_identifier number,
    distribution varchar2,
    cpu_cost number,
    io_cost number,
    temp_space number,
    access_predicates varchar2,
    filter_predicates varchar2,
    projection varchar2,
    qblock_name varchar2,
    elapsed_time_in_sec number,
    other_xml varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

version

(optional) Version Example: `1`

sql_identifier

(required) Unique SQL_ID for a SQL Statement.

plan_hash

(required) Plan hash value for the SQL Execution Plan

time_collected

(required) Collection time stamp Example: `\"2020-05-06T00:00:00.000Z\"`

operation

(required) Operation Example: `\"SELECT STATEMENT\"`

remark

(optional) Remark Example: `\"\"`

options

(optional) Options Example: `\"RANGE SCAN\"`

object_node

(optional) Object Node Example: `\"Q4000\"`

object_owner

(optional) Object Owner Example: `\"TENANT_A#SCHEMA\"`

object_name

(optional) Object Name Example: `\"PLAN_LINES_PK\"`

object_alias

(optional) Object Alias Example: `\"PLAN_LINES@SEL$1\"`

object_instance

(optional) Object Instance Example: `37472`

object_type

(optional) Object Type Example: `\"INDEX (UNIQUE)\"`

optimizer

(optional) Optimizer Example: `\"CLUSTER\"`

search_columns

(optional) Search Columns Example: `3`

identifier

(required) Identifier Example: `3`

parent_identifier

(optional) Parent Identifier Example: `2`

depth

(optional) Depth Example: `3`

position

(optional) Position Example: `1`

cost

(optional) Cost Example: `1`

cardinality

(optional) Cardinality Example: `1`

bytes

(optional) Bytes Example: `150`

other

(optional) Other Example: ``

other_tag

(optional) Other Tag Example: `\"PARALLEL_COMBINED_WITH_PARENT\"`

partition_start

(optional) Partition start Example: `1`

partition_stop

(optional) Partition stop Example: `2`

partition_identifier

(optional) Partition identifier Example: `8`

distribution

(optional) Distribution Example: `\"QC (RANDOM)\"`

cpu_cost

(optional) CPU cost Example: `7321`

io_cost

(optional) IO cost Example: `1`

temp_space

(optional) Time space Example: `15614000`

access_predicates

(optional) Access predicates Example: `\"\\\"RESOURCE_ID\\\"=:1 AND \\\"QUERY_ID\\\"=:2\"`

filter_predicates

(optional) Filter predicates Example: `\"(INTERNAL_FUNCTION(\\\"J\\\".\\\"DATABASE_ROLE\\\") OR (\\\"J\\\".\\\"DATABASE_ROLE\\\" IS NULL AND SYS_CONTEXT('userenv','database_role')='PRIMARY'))\"`

projection

(optional) Projection Example: `\"COUNT(*)[22]\"`

qblock_name

(optional) Qblock Name Example: `\"SEL$1\"`

elapsed_time_in_sec

(optional) Total elapsed time Example: `1.2`

other_xml

(optional) Other SQL Example: `\"<other_xml><info type=\\\"db_version\\\">18.0.0.0</info><info type=\\\"parse_schema\\\"><![CDATA[\\\"SYS\\\"]]></info><info type=\\\"plan_hash_full\\\">483892784</info><info type=\\\"plan_hash\\\">2709293936</info><info type=\\\"plan_hash_2\\\">483892784</info><outline_data><hint><![CDATA[IGNORE_OPTIM_EMBEDDED_HINTS]]></hint><hint><![CDATA[OPTIMIZER_FEATURES_ENABLE('18.1.0')]]></hint><hint><![CDATA[DB_VERSION('18.1.0')]]></hint><hint><![CDATA[OPT_PARAM('_b_tree_bitmap_plans' 'false')]]></hint><hint><![CDATA[OPT_PARAM('_optim_peek_user_binds' 'false')]]></hint><hint><![CDATA[OPT_PARAM('result_cache_mode' 'FORCE')]]></hint><hint><![CDATA[OPT_PARAM('_fix_control' '20648883:0 27745220:1 30001331:1 30142527:1 30539126:1')]]></hint><hint><![CDATA[OUTLINE_LEAF(@\\\"SEL$1\\\")]]></hint><hint><![CDATA[INDEX(@\\\"SEL$1\\\" \\\"USER$\\\"@\\\"SEL$1\\\" \\\"I_USER#\\\")]]></hint></outline_data></other_xml>\"`

DBMS_CLOUD_OCI_OPSI_SQL_PLAN_LINE_TBL Type

Nested table type of dbms_cloud_oci_opsi_sql_plan_line_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_plan_line_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_sql_plan_line_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_INGEST_SQL_PLAN_LINES_DETAILS_T Type

Collection of SQL Plan Line Entries

Syntax

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

Fields

Field Description

items

(optional) List of SQL Plan Line Entries.

DBMS_CLOUD_OCI_OPSI_INGEST_SQL_PLAN_LINES_RESPONSE_DETAILS_T Type

The response object returned from IngestSqlPlanLines operation.

Syntax

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

Fields

Field Description

message

(required) Success message returned as a result of the upload.

DBMS_CLOUD_OCI_OPSI_SQL_STATS_T Type

Sql Stats type object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_stats_t FORCE AUTHID CURRENT_USER IS OBJECT (
  sql_identifier varchar2(32767),
  plan_hash_value number,
  time_collected timestamp with time zone,
  instance_name varchar2(32767),
  last_active_time varchar2(32767),
  parse_calls number,
  disk_reads number,
  direct_reads number,
  direct_writes number,
  buffer_gets number,
  rows_processed number,
  serializable_aborts number,
  fetches number,
  executions number,
  avoided_executions number,
  end_of_fetch_count number,
  loads number,
  version_count number,
  invalidations number,
  obsolete_count number,
  px_servers_executions number,
  cpu_time_in_us number,
  elapsed_time_in_us number,
  avg_hard_parse_time_in_us number,
  concurrency_wait_time_in_us number,
  application_wait_time_in_us number,
  cluster_wait_time_in_us number,
  user_io_wait_time_in_us number,
  plsql_exec_time_in_us number,
  java_exec_time_in_us number,
  sorts number,
  sharable_mem number,
  total_sharable_mem number,
  type_check_mem number,
  io_cell_offload_eligible_bytes number,
  io_interconnect_bytes number,
  physical_read_requests number,
  physical_read_bytes number,
  physical_write_requests number,
  physical_write_bytes number,
  exact_matching_signature varchar2(32767),
  force_matching_signature varchar2(32767),
  io_cell_uncompressed_bytes number,
  io_cell_offload_returned_bytes number,
  child_number number,
  command_type number,
  users_opening number,
  users_executing number,
  optimizer_cost number,
  full_plan_hash_value varchar2(32767),
  module varchar2(32767),
  service varchar2(32767),
  action varchar2(32767),
  sql_profile varchar2(32767),
  sql_patch varchar2(32767),
  sql_plan_baseline varchar2(32767),
  delta_execution_count number,
  delta_cpu_time number,
  delta_io_bytes number,
  delta_cpu_rank number,
  delta_execs_rank number,
  sharable_mem_rank number,
  delta_io_rank number,
  harmonic_sum number,
  wt_harmonic_sum number,
  total_sql_count number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_stats_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_stats_t (
    sql_identifier varchar2,
    plan_hash_value number,
    time_collected timestamp with time zone,
    instance_name varchar2,
    last_active_time varchar2,
    parse_calls number,
    disk_reads number,
    direct_reads number,
    direct_writes number,
    buffer_gets number,
    rows_processed number,
    serializable_aborts number,
    fetches number,
    executions number,
    avoided_executions number,
    end_of_fetch_count number,
    loads number,
    version_count number,
    invalidations number,
    obsolete_count number,
    px_servers_executions number,
    cpu_time_in_us number,
    elapsed_time_in_us number,
    avg_hard_parse_time_in_us number,
    concurrency_wait_time_in_us number,
    application_wait_time_in_us number,
    cluster_wait_time_in_us number,
    user_io_wait_time_in_us number,
    plsql_exec_time_in_us number,
    java_exec_time_in_us number,
    sorts number,
    sharable_mem number,
    total_sharable_mem number,
    type_check_mem number,
    io_cell_offload_eligible_bytes number,
    io_interconnect_bytes number,
    physical_read_requests number,
    physical_read_bytes number,
    physical_write_requests number,
    physical_write_bytes number,
    exact_matching_signature varchar2,
    force_matching_signature varchar2,
    io_cell_uncompressed_bytes number,
    io_cell_offload_returned_bytes number,
    child_number number,
    command_type number,
    users_opening number,
    users_executing number,
    optimizer_cost number,
    full_plan_hash_value varchar2,
    module varchar2,
    service varchar2,
    action varchar2,
    sql_profile varchar2,
    sql_patch varchar2,
    sql_plan_baseline varchar2,
    delta_execution_count number,
    delta_cpu_time number,
    delta_io_bytes number,
    delta_cpu_rank number,
    delta_execs_rank number,
    sharable_mem_rank number,
    delta_io_rank number,
    harmonic_sum number,
    wt_harmonic_sum number,
    total_sql_count number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

sql_identifier

(required) Unique SQL_ID for a SQL Statement.

plan_hash_value

(required) Plan hash value for the SQL Execution Plan

time_collected

(required) Collection timestamp Example: `\"2020-03-31T00:00:00.000Z\"`

instance_name

(required) Name of Database Instance Example: `\"DB10902_1\"`

last_active_time

(optional) last_active_time Example: `\"0000000099CCE300\"`

parse_calls

(optional) Total integer of parse calls Example: `60`

disk_reads

(optional) Number of disk reads

direct_reads

(optional) Number of direct reads

direct_writes

(optional) Number of Direct writes

buffer_gets

(optional) Number of Buffer Gets

rows_processed

(optional) Number of row processed

serializable_aborts

(optional) Number of serializable aborts

fetches

(optional) Number of fetches

executions

(optional) Number of executions

avoided_executions

(optional) Number of executions attempted on this object, but prevented due to the SQL statement being in quarantine

end_of_fetch_count

(optional) Number of times this cursor was fully executed since the cursor was brought into the library cache

loads

(optional) Number of times the object was either loaded or reloaded

version_count

(optional) Number of cursors present in the cache with this SQL text and plan

invalidations

(optional) Number of times this child cursor has been invalidated

obsolete_count

(optional) Number of times that a parent cursor became obsolete

px_servers_executions

(optional) Total number of executions performed by parallel execution servers (0 when the statement has never been executed in parallel)

cpu_time_in_us

(optional) CPU time (in microseconds) used by this cursor for parsing, executing, and fetching

elapsed_time_in_us

(optional) Elapsed time (in microseconds) used by this cursor for parsing, executing, and fetching.

avg_hard_parse_time_in_us

(optional) Average hard parse time (in microseconds) used by this cursor

concurrency_wait_time_in_us

(optional) Concurrency wait time (in microseconds)

application_wait_time_in_us

(optional) Application wait time (in microseconds)

cluster_wait_time_in_us

(optional) Cluster wait time (in microseconds). This value is specific to Oracle RAC

user_io_wait_time_in_us

(optional) User I/O wait time (in microseconds)

plsql_exec_time_in_us

(optional) PL/SQL execution time (in microseconds)

java_exec_time_in_us

(optional) Java execution time (in microseconds)

sorts

(optional) Number of sorts that were done for the child cursor

sharable_mem

(optional) Total shared memory (in bytes) currently occupied by all cursors with this SQL text and plan

total_sharable_mem

(optional) Total shared memory (in bytes) occupied by all cursors with this SQL text and plan if they were to be fully loaded in the shared pool (that is, cursor size)

type_check_mem

(optional) Typecheck memory

io_cell_offload_eligible_bytes

(optional) Number of I/O bytes which can be filtered by the Exadata storage system

io_interconnect_bytes

(optional) Number of I/O bytes exchanged between Oracle Database and the storage system. Typically used for Cache Fusion or parallel queries

physical_read_requests

(optional) Number of physical read I/O requests issued by the monitored SQL. The requests may not be disk reads

physical_read_bytes

(optional) Number of bytes read from disks by the monitored SQL

physical_write_requests

(optional) Number of physical write I/O requests issued by the monitored SQL

physical_write_bytes

(optional) Number of bytes written to disks by the monitored SQL

exact_matching_signature

(optional) exact_matching_signature Example: `\"18067345456756876713\"`

force_matching_signature

(optional) force_matching_signature Example: `\"18067345456756876713\"`

io_cell_uncompressed_bytes

(optional) Number of uncompressed bytes (that is, size after decompression) that are offloaded to the Exadata cells

io_cell_offload_returned_bytes

(optional) Number of bytes that are returned by Exadata cell through the regular I/O path

child_number

(optional) Number of this child cursor

command_type

(optional) Oracle command type definition

users_opening

(optional) Number of users that have any of the child cursors open

users_executing

(optional) Number of users executing the statement

optimizer_cost

(optional) Cost of this query given by the optimizer

full_plan_hash_value

(optional) Total Number of rows in SQLStats table

module

(optional) Module name

service

(optional) Service name

action

(optional) Contains the name of the action that was executing when the SQL statement was first parsed, which is set by calling DBMS_APPLICATION_INFO.SET_ACTION

sql_profile

(optional) SQL profile used for this statement, if any

sql_patch

(optional) SQL patch used for this statement, if any

sql_plan_baseline

(optional) SQL plan baseline used for this statement, if any

delta_execution_count

(optional) Number of executions for the cursor since the last AWR snapshot

delta_cpu_time

(optional) CPU time (in microseconds) for the cursor since the last AWR snapshot

delta_io_bytes

(optional) Number of I/O bytes exchanged between the Oracle database and the storage system for the cursor since the last AWR snapshot

delta_cpu_rank

(optional) Rank based on CPU Consumption

delta_execs_rank

(optional) Rank based on number of execution

sharable_mem_rank

(optional) Rank based on sharable memory

delta_io_rank

(optional) Rank based on I/O Consumption

harmonic_sum

(optional) Harmonic sum based on ranking parameters

wt_harmonic_sum

(optional) Weight based harmonic sum of ranking parameters

total_sql_count

(optional) Total number of rows in SQLStats table

DBMS_CLOUD_OCI_OPSI_SQL_STATS_TBL Type

Nested table type of dbms_cloud_oci_opsi_sql_stats_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_stats_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_sql_stats_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_INGEST_SQL_STATS_DETAILS_T Type

Collection of SQL Stats Metric Entries

Syntax

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

Fields

Field Description

items

(optional) List of SQL Stats Metric Entries.

DBMS_CLOUD_OCI_OPSI_INGEST_SQL_STATS_RESPONSE_DETAILS_T Type

The response object returned from IngestSqlStats operation.

Syntax

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

Fields

Field Description

message

(required) Success message returned as a result of the upload.

DBMS_CLOUD_OCI_OPSI_SQL_TEXT_T Type

SQL Text type object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_text_t FORCE AUTHID CURRENT_USER IS OBJECT (
  version number,
  sql_identifier varchar2(32767),
  time_collected timestamp with time zone,
  sql_command varchar2(32767),
  exact_matching_signature varchar2(32767),
  force_matching_signature varchar2(32767),
  sql_full_text varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_text_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_text_t (
    version number,
    sql_identifier varchar2,
    time_collected timestamp with time zone,
    sql_command varchar2,
    exact_matching_signature varchar2,
    force_matching_signature varchar2,
    sql_full_text varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

version

(optional) Version Example: `1`

sql_identifier

(required) Unique SQL_ID for a SQL Statement.

time_collected

(required) Collection timestamp Example: `\"2020-05-06T00:00:00.000Z\"`

sql_command

(required) SQL command Example: `\"SELECT\"`

exact_matching_signature

(optional) Exact matching signature Example: `\"18067345456756876713\"`

force_matching_signature

(optional) Force matching signature Example: `\"18067345456756876713\"`

sql_full_text

(required) Full SQL Text Example: `\"SELECT username,profile,default_tablespace,temporary_tablespace FROM dba_users\"` Disclaimer: SQL text being uploaded explicitly via APIs is not masked. Any sensitive literals contained in the sqlFullText column should be masked prior to ingestion.

DBMS_CLOUD_OCI_OPSI_SQL_TEXT_TBL Type

Nested table type of dbms_cloud_oci_opsi_sql_text_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_text_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_sql_text_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_INGEST_SQL_TEXT_DETAILS_T Type

Collection of SQL Text Entries

Syntax

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

Fields

Field Description

items

(optional) List of SQL Text Entries.

DBMS_CLOUD_OCI_OPSI_INGEST_SQL_TEXT_RESPONSE_DETAILS_T Type

The response object returned from IngestSqlTextDetails operation.

Syntax

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

Fields

Field Description

message

(required) Success message returned as a result of the upload.

DBMS_CLOUD_OCI_OPSI_OBJECT_SUMMARY_T Type

Summary resource object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_object_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  l_size number,
  md5 varchar2(32767),
  time_created timestamp with time zone,
  etag varchar2(32767),
  storage_tier varchar2(32767),
  archival_state varchar2(32767),
  time_modified timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_object_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_object_summary_t (
    name varchar2,
    l_size number,
    md5 varchar2,
    time_created timestamp with time zone,
    etag varchar2,
    storage_tier varchar2,
    archival_state varchar2,
    time_modified timestamp with time zone
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(optional) The name of the Awr Hub object.

l_size

(optional) Size of the Awr Hub object in bytes.

md5

(optional) Base64-encoded MD5 hash of the Awr Hub object data.

time_created

(optional) The time at which the resource was first created. An RFC3339 formatted datetime string

etag

(optional) For optimistic concurrency control. See `if-match`.

storage_tier

(optional) The object's storage tier.

Allowed values are: 'STANDARD', 'INFREQUENTACCESS', 'ARCHIVE'

archival_state

(optional) Archival state of an object for those in the archival tier.

Allowed values are: 'ARCHIVED', 'RESTORING', 'RESTORED'

time_modified

(optional) The date and time the Awr Hub object was modified

DBMS_CLOUD_OCI_OPSI_OBJECT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_object_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_object_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_object_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_LIST_OBJECTS_T Type

List of the objects.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_list_objects_t FORCE AUTHID CURRENT_USER IS OBJECT (
  prefixes dbms_cloud_oci_opsi_varchar2_tbl,
  next_start_with varchar2(32767),
  objects dbms_cloud_oci_opsi_object_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_list_objects_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_list_objects_t (
    prefixes dbms_cloud_oci_opsi_varchar2_tbl,
    next_start_with varchar2,
    objects dbms_cloud_oci_opsi_object_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

prefixes

(optional) Array comprising of all the prefixes.

next_start_with

(optional) Object names returned by a list query must be greater or equal to this parameter.

objects

(required) List of the object summary data.

DBMS_CLOUD_OCI_OPSI_MACS_MANAGED_CLOUD_HOST_CONFIGURATION_SUMMARY_T Type

Configuration Summary of a Macs Managed Cloud host.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_macs_managed_cloud_host_configuration_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_configuration_summary_t (
  compute_id varchar2(32767),
  management_agent_id varchar2(32767),
  connector_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_cloud_host_configuration_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_cloud_host_configuration_summary_t (
    host_insight_id varchar2,
    entity_source varchar2,
    compartment_id varchar2,
    host_name varchar2,
    platform_type varchar2,
    platform_version varchar2,
    platform_vendor varchar2,
    total_cpus number,
    total_memory_in_g_bs number,
    cpu_architecture varchar2,
    cpu_cache_in_m_bs number,
    cpu_vendor varchar2,
    cpu_frequency_in_mhz number,
    cpu_implementation varchar2,
    cores_per_socket number,
    total_sockets number,
    threads_per_socket number,
    is_hyper_threading_enabled number,
    defined_tags json_element_t,
    freeform_tags json_element_t,
    compute_id varchar2,
    management_agent_id varchar2,
    connector_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_macs_managed_cloud_host_configuration_summary_t is a subtype of the dbms_cloud_oci_opsi_host_configuration_summary_t type.

Fields

Field Description

compute_id

(required) The OCID of the Compute Instance

management_agent_id

(required) The OCID of the Management Agent

connector_id

(optional) The OCID of External Database Connector

DBMS_CLOUD_OCI_OPSI_MACS_MANAGED_CLOUD_HOST_INSIGHT_T Type

MACS-managed OCI Compute host insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_macs_managed_cloud_host_insight_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_insight_t (
  compute_id varchar2(32767),
  management_agent_id varchar2(32767),
  platform_name varchar2(32767),
  platform_type varchar2(32767),
  platform_version varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_cloud_host_insight_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_cloud_host_insight_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    host_name varchar2,
    host_display_name varchar2,
    host_type varchar2,
    processor_count number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    compute_id varchar2,
    management_agent_id varchar2,
    platform_name varchar2,
    platform_type varchar2,
    platform_version varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_macs_managed_cloud_host_insight_t is a subtype of the dbms_cloud_oci_opsi_host_insight_t type.

Fields

Field Description

compute_id

(required) The OCID of the Compute Instance

management_agent_id

(required) The OCID of the Management Agent

platform_name

(optional) Platform name.

platform_type

(optional) Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].

Allowed values are: 'LINUX', 'SOLARIS', 'SUNOS', 'ZLINUX', 'WINDOWS', 'AIX', 'HP_UX'

platform_version

(optional) Platform version.

DBMS_CLOUD_OCI_OPSI_MACS_MANAGED_CLOUD_HOST_INSIGHT_SUMMARY_T Type

Summary of a MACS-managed cloud host insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_macs_managed_cloud_host_insight_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_insight_summary_t (
  compute_id varchar2(32767),
  management_agent_id varchar2(32767),
  platform_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_cloud_host_insight_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_cloud_host_insight_summary_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    host_name varchar2,
    host_display_name varchar2,
    host_type varchar2,
    processor_count number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    opsi_private_endpoint_id varchar2,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    compute_id varchar2,
    management_agent_id varchar2,
    platform_type varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_macs_managed_cloud_host_insight_summary_t is a subtype of the dbms_cloud_oci_opsi_host_insight_summary_t type.

Fields

Field Description

compute_id

(required) The OCID of the Compute Instance

management_agent_id

(required) The OCID of the Management Agent

platform_type

(optional) Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].

Allowed values are: 'LINUX', 'SOLARIS', 'SUNOS', 'ZLINUX', 'WINDOWS', 'AIX', 'HP_UX'

DBMS_CLOUD_OCI_OPSI_MACS_MANAGED_EXTERNAL_DATABASE_CONFIGURATION_SUMMARY_T Type

Configuration Summary of a Macs Managed External database.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_macs_managed_external_database_configuration_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_configuration_summary_t (
  database_id varchar2(32767),
  management_agent_id varchar2(32767),
  connector_id varchar2(32767),
  instances dbms_cloud_oci_opsi_host_instance_map_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_external_database_configuration_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_external_database_configuration_summary_t (
    database_insight_id varchar2,
    entity_source varchar2,
    compartment_id varchar2,
    database_name varchar2,
    database_display_name varchar2,
    database_type varchar2,
    database_version varchar2,
    cdb_name varchar2,
    defined_tags json_element_t,
    freeform_tags json_element_t,
    processor_count number,
    database_id varchar2,
    management_agent_id varchar2,
    connector_id varchar2,
    instances dbms_cloud_oci_opsi_host_instance_map_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_macs_managed_external_database_configuration_summary_t is a subtype of the dbms_cloud_oci_opsi_database_configuration_summary_t type.

Fields

Field Description

database_id

(required) The OCID of the database.

management_agent_id

(required) The OCID of the Management Agent

connector_id

(required) The OCID of External Database Connector

instances

(required) Array of hostname and instance name.

DBMS_CLOUD_OCI_OPSI_MACS_MANAGED_EXTERNAL_DATABASE_INSIGHT_T Type

Database insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_macs_managed_external_database_insight_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_insight_t (
  management_agent_id varchar2(32767),
  connector_id varchar2(32767),
  connection_details dbms_cloud_oci_opsi_connection_details_t,
  connection_credential_details dbms_cloud_oci_opsi_credential_details_t,
  database_id varchar2(32767),
  database_name varchar2(32767),
  database_display_name varchar2(32767),
  database_resource_type varchar2(32767),
  db_additional_details json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_external_database_insight_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_external_database_insight_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    status varchar2,
    database_type varchar2,
    database_version varchar2,
    processor_count number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    database_connection_status_details varchar2,
    management_agent_id varchar2,
    connector_id varchar2,
    connection_details dbms_cloud_oci_opsi_connection_details_t,
    connection_credential_details dbms_cloud_oci_opsi_credential_details_t,
    database_id varchar2,
    database_name varchar2,
    database_display_name varchar2,
    database_resource_type varchar2,
    db_additional_details json_element_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_macs_managed_external_database_insight_t is a subtype of the dbms_cloud_oci_opsi_database_insight_t type.

Fields

Field Description

management_agent_id

(optional) The OCID of the Management Agent

connector_id

(optional) The OCID of External Database Connector

connection_details

(optional)

connection_credential_details

(optional)

database_id

(required) The OCID of the database.

database_name

(required) Name of database

database_display_name

(optional) Display name of database

database_resource_type

(required) OCI database resource type

db_additional_details

(optional) Additional details of a database in JSON format. For autonomous databases, this is the AutonomousDatabase object serialized as a JSON string as defined in https://docs.cloud.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/. For EM, pass in null or an empty string. Note that this string needs to be escaped when specified in the curl command.

DBMS_CLOUD_OCI_OPSI_MACS_MANAGED_EXTERNAL_DATABASE_INSIGHT_SUMMARY_T Type

Summary of a database insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_macs_managed_external_database_insight_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_insight_summary_t (
  database_resource_type varchar2(32767),
  management_agent_id varchar2(32767),
  connector_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_external_database_insight_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_external_database_insight_summary_t (
    id varchar2,
    database_id varchar2,
    compartment_id varchar2,
    database_name varchar2,
    database_display_name varchar2,
    database_type varchar2,
    database_version varchar2,
    database_host_names dbms_cloud_oci_opsi_varchar2_tbl,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    entity_source varchar2,
    processor_count number,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    database_connection_status_details varchar2,
    database_resource_type varchar2,
    management_agent_id varchar2,
    connector_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_macs_managed_external_database_insight_summary_t is a subtype of the dbms_cloud_oci_opsi_database_insight_summary_t type.

Fields

Field Description

database_resource_type

(optional) OCI database resource type

management_agent_id

(optional) The OCID of the Management Agent

connector_id

(optional) The OCID of External Database Connector

DBMS_CLOUD_OCI_OPSI_MACS_MANAGED_EXTERNAL_HOST_CONFIGURATION_SUMMARY_T Type

Configuration Summary of a Macs Managed External host.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_macs_managed_external_host_configuration_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_configuration_summary_t (
  management_agent_id varchar2(32767),
  connector_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_external_host_configuration_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_external_host_configuration_summary_t (
    host_insight_id varchar2,
    entity_source varchar2,
    compartment_id varchar2,
    host_name varchar2,
    platform_type varchar2,
    platform_version varchar2,
    platform_vendor varchar2,
    total_cpus number,
    total_memory_in_g_bs number,
    cpu_architecture varchar2,
    cpu_cache_in_m_bs number,
    cpu_vendor varchar2,
    cpu_frequency_in_mhz number,
    cpu_implementation varchar2,
    cores_per_socket number,
    total_sockets number,
    threads_per_socket number,
    is_hyper_threading_enabled number,
    defined_tags json_element_t,
    freeform_tags json_element_t,
    management_agent_id varchar2,
    connector_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_macs_managed_external_host_configuration_summary_t is a subtype of the dbms_cloud_oci_opsi_host_configuration_summary_t type.

Fields

Field Description

management_agent_id

(required) The OCID of the Management Agent

connector_id

(optional) The OCID of External Database Connector

DBMS_CLOUD_OCI_OPSI_MACS_MANAGED_EXTERNAL_HOST_INSIGHT_T Type

MACS-managed external host insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_macs_managed_external_host_insight_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_insight_t (
  management_agent_id varchar2(32767),
  platform_name varchar2(32767),
  platform_type varchar2(32767),
  platform_version varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_external_host_insight_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_external_host_insight_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    host_name varchar2,
    host_display_name varchar2,
    host_type varchar2,
    processor_count number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    management_agent_id varchar2,
    platform_name varchar2,
    platform_type varchar2,
    platform_version varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_macs_managed_external_host_insight_t is a subtype of the dbms_cloud_oci_opsi_host_insight_t type.

Fields

Field Description

management_agent_id

(required) The OCID of the Management Agent

platform_name

(optional) Platform name.

platform_type

(optional) Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].

Allowed values are: 'LINUX', 'SOLARIS', 'SUNOS', 'ZLINUX', 'WINDOWS', 'AIX', 'HP_UX'

platform_version

(optional) Platform version.

DBMS_CLOUD_OCI_OPSI_MACS_MANAGED_EXTERNAL_HOST_INSIGHT_SUMMARY_T Type

Summary of a MACS-managed external host insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_macs_managed_external_host_insight_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_insight_summary_t (
  management_agent_id varchar2(32767),
  platform_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_external_host_insight_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_macs_managed_external_host_insight_summary_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    host_name varchar2,
    host_display_name varchar2,
    host_type varchar2,
    processor_count number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    opsi_private_endpoint_id varchar2,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    management_agent_id varchar2,
    platform_type varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_macs_managed_external_host_insight_summary_t is a subtype of the dbms_cloud_oci_opsi_host_insight_summary_t type.

Fields

Field Description

management_agent_id

(required) The OCID of the Management Agent

platform_type

(optional) Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].

Allowed values are: 'LINUX', 'SOLARIS', 'SUNOS', 'ZLINUX', 'WINDOWS', 'AIX', 'HP_UX'

DBMS_CLOUD_OCI_OPSI_NETWORK_USAGE_TREND_T Type

Usage data samples.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_network_usage_trend_t FORCE AUTHID CURRENT_USER IS OBJECT (
  end_timestamp timestamp with time zone,
  all_network_read_in_mbps number,
  all_network_write_in_mbps number,
  all_network_io_in_mbps number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_network_usage_trend_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_network_usage_trend_t (
    end_timestamp timestamp with time zone,
    all_network_read_in_mbps number,
    all_network_write_in_mbps number,
    all_network_io_in_mbps number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

end_timestamp

(required) The timestamp in which the current sampling period ends in RFC 3339 format.

all_network_read_in_mbps

(required) Network read in Mbps.

all_network_write_in_mbps

(required) Network write in Mbps.

all_network_io_in_mbps

(required) Network input/output in Mbps.

DBMS_CLOUD_OCI_OPSI_NETWORK_USAGE_TREND_TBL Type

Nested table type of dbms_cloud_oci_opsi_network_usage_trend_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_network_usage_trend_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_network_usage_trend_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_NETWORK_USAGE_TREND_AGGREGATION_T Type

Usage data per network interface.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_network_usage_trend_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  interface_name varchar2(32767),
  ip_address varchar2(32767),
  mac_address varchar2(32767),
  usage_data dbms_cloud_oci_opsi_network_usage_trend_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_network_usage_trend_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_network_usage_trend_aggregation_t (
    interface_name varchar2,
    ip_address varchar2,
    mac_address varchar2,
    usage_data dbms_cloud_oci_opsi_network_usage_trend_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

interface_name

(required) Name of interface.

ip_address

(required) Address that is connected to a computer network that uses the Internet Protocol for communication.

mac_address

(required) Unique identifier assigned to a network interface.

usage_data

(required) List of usage data samples for a network interface.

DBMS_CLOUD_OCI_OPSI_NEWS_REPORT_T Type

News report resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_news_report_t FORCE AUTHID CURRENT_USER IS OBJECT (
  news_frequency varchar2(32767),
  content_types dbms_cloud_oci_opsi_news_content_types_t,
  locale varchar2(32767),
  id varchar2(32767),
  description varchar2(32767),
  compartment_id varchar2(32767),
  name varchar2(32767),
  ons_topic_id varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  status varchar2(32767),
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_news_report_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_news_report_t (
    news_frequency varchar2,
    content_types dbms_cloud_oci_opsi_news_content_types_t,
    locale varchar2,
    id varchar2,
    description varchar2,
    compartment_id varchar2,
    name varchar2,
    ons_topic_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

news_frequency

(required) News report frequency.

Allowed values are: 'WEEKLY'

content_types

(required)

locale

(optional) Language of the news report.

Allowed values are: 'EN'

id

(required) The OCID of the news report resource.

description

(optional) The description of the news report.

compartment_id

(required) The OCID of the compartment.

name

(optional) The news report name.

ons_topic_id

(required) The OCID of the ONS topic.

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

status

(optional) Indicates the status of a news report in Operations Insights.

Allowed values are: 'DISABLED', 'ENABLED', 'TERMINATED'

time_created

(optional) The time the the news report was first enabled. An RFC3339 formatted datetime string.

time_updated

(optional) The time the news report was updated. An RFC3339 formatted datetime string.

lifecycle_state

(optional) The current state of the news report.

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

DBMS_CLOUD_OCI_OPSI_NEWS_REPORT_SUMMARY_T Type

Summary of a news report resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_news_report_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  news_frequency varchar2(32767),
  content_types dbms_cloud_oci_opsi_news_content_types_t,
  locale varchar2(32767),
  id varchar2(32767),
  description varchar2(32767),
  compartment_id varchar2(32767),
  name varchar2(32767),
  ons_topic_id varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  status varchar2(32767),
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_news_report_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_news_report_summary_t (
    news_frequency varchar2,
    content_types dbms_cloud_oci_opsi_news_content_types_t,
    locale varchar2,
    id varchar2,
    description varchar2,
    compartment_id varchar2,
    name varchar2,
    ons_topic_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

news_frequency

(required) News report frequency.

Allowed values are: 'WEEKLY'

content_types

(required)

locale

(optional) Language of the news report.

Allowed values are: 'EN'

id

(required) The OCID of the news report resource.

description

(optional) The description of the news report.

compartment_id

(required) The OCID of the compartment.

name

(optional) The news report name.

ons_topic_id

(optional) The OCID of the ONS topic.

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

status

(optional) Indicates the status of a news report in Operations Insights.

Allowed values are: 'DISABLED', 'ENABLED', 'TERMINATED'

time_created

(optional) The time the the news report was first enabled. An RFC3339 formatted datetime string.

time_updated

(optional) The time the news report was updated. An RFC3339 formatted datetime string.

lifecycle_state

(optional) The current state of the news report.

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

DBMS_CLOUD_OCI_OPSI_NEWS_REPORT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_news_report_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_news_report_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_news_report_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_NEWS_REPORT_COLLECTION_T Type

Collection of news reports summary objects.

Syntax

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

Fields

Field Description

items

(required) Array of news reports summary objects.

DBMS_CLOUD_OCI_OPSI_NEWS_REPORTS_T Type

Logical grouping used for Operations Insights news reports related operations.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_news_reports_t FORCE AUTHID CURRENT_USER IS OBJECT (
  news_reports json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_news_reports_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_news_reports_t (
    news_reports json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

news_reports

(optional) News report object.

DBMS_CLOUD_OCI_OPSI_OPERATIONS_INSIGHTS_PRIVATE_ENDPOINT_T Type

A private endpoint that allows Operation Insights services to connect to databases in a customer's virtual cloud network (VCN).

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_operations_insights_private_endpoint_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  display_name varchar2(32767),
  compartment_id varchar2(32767),
  vcn_id varchar2(32767),
  subnet_id varchar2(32767),
  private_ip varchar2(32767),
  description varchar2(32767),
  time_created timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  private_endpoint_status_details varchar2(32767),
  is_used_for_rac_dbs number,
  nsg_ids dbms_cloud_oci_opsi_varchar2_tbl,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_operations_insights_private_endpoint_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_operations_insights_private_endpoint_t (
    id varchar2,
    display_name varchar2,
    compartment_id varchar2,
    vcn_id varchar2,
    subnet_id varchar2,
    private_ip varchar2,
    description varchar2,
    time_created timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    private_endpoint_status_details varchar2,
    is_used_for_rac_dbs number,
    nsg_ids dbms_cloud_oci_opsi_varchar2_tbl,
    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 Private service accessed database.

display_name

(required) The display name of the private endpoint.

compartment_id

(required) The compartment OCID of the Private service accessed database.

vcn_id

(required) The OCID of the VCN.

subnet_id

(required) The OCID of the subnet.

private_ip

(optional) The private IP addresses assigned to the private endpoint. All IP addresses will be concatenated if it is RAC DBs.

description

(optional) The description of the private endpoint.

time_created

(optional) The date and time the private endpoint was created, in the format defined by RFC3339.

lifecycle_state

(required) The current state of the private endpoint.

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

private_endpoint_status_details

(optional) A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection.

is_used_for_rac_dbs

(optional) The flag is to identify if private endpoint is used for rac database or not

nsg_ids

(optional) The OCIDs of the network security groups that the private endpoint belongs to.

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

DBMS_CLOUD_OCI_OPSI_OPERATIONS_INSIGHTS_PRIVATE_ENDPOINT_SUMMARY_T Type

Summary of a Operation Insights private endpoint.

Syntax

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

Fields

Field Description

id

(required) The OCID of the Private service accessed database.

display_name

(required) The display name of the private endpoint.

compartment_id

(required) The compartment OCID of the Private service accessed database.

vcn_id

(required) The OCID of the VCN.

subnet_id

(required) The OCID of the subnet.

is_used_for_rac_dbs

(optional) The flag to identify if private endpoint is used for rac database or not

description

(optional) The description of the private endpoint.

time_created

(required) The date and time the private endpoint was created, in the format defined by RFC3339.

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

lifecycle_state

(required) Private endpoint lifecycle states

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

private_endpoint_status_details

(optional) A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection.

DBMS_CLOUD_OCI_OPSI_OPERATIONS_INSIGHTS_PRIVATE_ENDPOINT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_operations_insights_private_endpoint_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_operations_insights_private_endpoint_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_operations_insights_private_endpoint_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_OPERATIONS_INSIGHTS_PRIVATE_ENDPOINT_COLLECTION_T Type

A collection of Operation Insights private endpoint objects.

Syntax

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

Fields

Field Description

items

(required) A list of OperationsInsightsPrivateEndpointSummary objects.

DBMS_CLOUD_OCI_OPSI_OPERATIONS_INSIGHTS_WAREHOUSE_T Type

OPSI warehouse resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_operations_insights_warehouse_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  compartment_id varchar2(32767),
  display_name varchar2(32767),
  cpu_allocated number,
  cpu_used number,
  storage_allocated_in_g_bs number,
  storage_used_in_g_bs number,
  dynamic_group_id varchar2(32767),
  operations_insights_tenancy_id varchar2(32767),
  time_last_wallet_rotated timestamp with time zone,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_operations_insights_warehouse_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_operations_insights_warehouse_t (
    id varchar2,
    compartment_id varchar2,
    display_name varchar2,
    cpu_allocated number,
    cpu_used number,
    storage_allocated_in_g_bs number,
    storage_used_in_g_bs number,
    dynamic_group_id varchar2,
    operations_insights_tenancy_id varchar2,
    time_last_wallet_rotated timestamp with time zone,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) OPSI Warehouse OCID

compartment_id

(required) The OCID of the compartment.

display_name

(required) User-friedly name of Operations Insights Warehouse that does not have to be unique.

cpu_allocated

(required) Number of OCPUs allocated to OPSI Warehouse ADW.

cpu_used

(optional) Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.

storage_allocated_in_g_bs

(optional) Storage allocated to OPSI Warehouse ADW.

storage_used_in_g_bs

(optional) Storage by OPSI Warehouse ADW in GB.

dynamic_group_id

(optional) OCID of the dynamic group created for the warehouse

operations_insights_tenancy_id

(optional) Tenancy Identifier of Operations Insights service

time_last_wallet_rotated

(optional) The time at which the ADW wallet was last rotated for the Operations Insights Warehouse. An RFC3339 formatted datetime string

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

time_created

(required) The time at which the resource was first created. An RFC3339 formatted datetime string

time_updated

(optional) The time at which the resource was last updated. An RFC3339 formatted datetime string

lifecycle_state

(required) Possible lifecycle states

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

DBMS_CLOUD_OCI_OPSI_OPERATIONS_INSIGHTS_WAREHOUSE_SUMMARY_T Type

Summary of a Operations Insights Warehouse resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_operations_insights_warehouse_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  compartment_id varchar2(32767),
  display_name varchar2(32767),
  cpu_allocated number,
  cpu_used number,
  storage_allocated_in_g_bs number,
  storage_used_in_g_bs number,
  dynamic_group_id varchar2(32767),
  operations_insights_tenancy_id varchar2(32767),
  time_last_wallet_rotated timestamp with time zone,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_operations_insights_warehouse_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_operations_insights_warehouse_summary_t (
    id varchar2,
    compartment_id varchar2,
    display_name varchar2,
    cpu_allocated number,
    cpu_used number,
    storage_allocated_in_g_bs number,
    storage_used_in_g_bs number,
    dynamic_group_id varchar2,
    operations_insights_tenancy_id varchar2,
    time_last_wallet_rotated timestamp with time zone,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) OPSI Warehouse OCID

compartment_id

(required) The OCID of the compartment.

display_name

(required) User-friedly name of Operations Insights Warehouse that does not have to be unique.

cpu_allocated

(required) Number of OCPUs allocated to OPSI Warehouse ADW.

cpu_used

(optional) Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.

storage_allocated_in_g_bs

(optional) Storage allocated to OPSI Warehouse ADW.

storage_used_in_g_bs

(optional) Storage by OPSI Warehouse ADW in GB.

dynamic_group_id

(optional) OCID of the dynamic group created for the warehouse

operations_insights_tenancy_id

(optional) Tenancy Identifier of Operations Insights service

time_last_wallet_rotated

(optional) The time at which the ADW wallet was last rotated for the Operations Insights Warehouse. An RFC3339 formatted datetime string

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

time_created

(required) The time at which the resource was first created. An RFC3339 formatted datetime string

time_updated

(required) The time at which the resource was last updated. An RFC3339 formatted datetime string

lifecycle_state

(required) Possible lifecycle states

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

DBMS_CLOUD_OCI_OPSI_OPERATIONS_INSIGHTS_WAREHOUSE_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_operations_insights_warehouse_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_operations_insights_warehouse_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_operations_insights_warehouse_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_OPERATIONS_INSIGHTS_WAREHOUSE_SUMMARY_COLLECTION_T Type

Collection of Operations Insights Warehouse summary objects.

Syntax

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

Fields

Field Description

items

(required) Array of Operations Insights Warehouse summary objects.

DBMS_CLOUD_OCI_OPSI_OPERATIONS_INSIGHTS_WAREHOUSE_USER_T Type

OPSI warehouse User.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_operations_insights_warehouse_user_t FORCE AUTHID CURRENT_USER IS OBJECT (
  operations_insights_warehouse_id varchar2(32767),
  id varchar2(32767),
  compartment_id varchar2(32767),
  name varchar2(32767),
  connection_password varchar2(32767),
  is_awr_data_access number,
  is_em_data_access number,
  is_opsi_data_access number,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_operations_insights_warehouse_user_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_operations_insights_warehouse_user_t (
    operations_insights_warehouse_id varchar2,
    id varchar2,
    compartment_id varchar2,
    name varchar2,
    connection_password varchar2,
    is_awr_data_access number,
    is_em_data_access number,
    is_opsi_data_access number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

operations_insights_warehouse_id

(required) OPSI Warehouse OCID

id

(required) Hub User OCID

compartment_id

(required) The OCID of the compartment.

name

(required) Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

connection_password

(optional) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

is_awr_data_access

(required) Indicate whether user has access to AWR data.

is_em_data_access

(optional) Indicate whether user has access to EM data.

is_opsi_data_access

(optional) Indicate whether user has access to OPSI data.

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

time_created

(required) The time at which the resource was first created. An RFC3339 formatted datetime string

time_updated

(optional) The time at which the resource was last updated. An RFC3339 formatted datetime string

lifecycle_state

(required) Possible lifecycle states

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

DBMS_CLOUD_OCI_OPSI_OPERATIONS_INSIGHTS_WAREHOUSE_USER_SUMMARY_T Type

Summary of a Operations Insights Warehouse User.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_operations_insights_warehouse_user_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  operations_insights_warehouse_id varchar2(32767),
  id varchar2(32767),
  compartment_id varchar2(32767),
  name varchar2(32767),
  connection_password varchar2(32767),
  is_awr_data_access number,
  is_em_data_access number,
  is_opsi_data_access number,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_operations_insights_warehouse_user_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_operations_insights_warehouse_user_summary_t (
    operations_insights_warehouse_id varchar2,
    id varchar2,
    compartment_id varchar2,
    name varchar2,
    connection_password varchar2,
    is_awr_data_access number,
    is_em_data_access number,
    is_opsi_data_access number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

operations_insights_warehouse_id

(required) OPSI Warehouse OCID

id

(required) Hub User OCID

compartment_id

(required) The OCID of the compartment.

name

(required) Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

connection_password

(optional) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

is_awr_data_access

(required) Indicate whether user has access to AWR data.

is_em_data_access

(optional) Indicate whether user has access to EM data.

is_opsi_data_access

(optional) Indicate whether user has access to OPSI data.

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

time_created

(required) The time at which the resource was first created. An RFC3339 formatted datetime string

time_updated

(optional) The time at which the resource was last updated. An RFC3339 formatted datetime string

lifecycle_state

(required) Possible lifecycle states

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

DBMS_CLOUD_OCI_OPSI_OPERATIONS_INSIGHTS_WAREHOUSE_USER_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_operations_insights_warehouse_user_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_operations_insights_warehouse_user_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_operations_insights_warehouse_user_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_OPERATIONS_INSIGHTS_WAREHOUSE_USER_SUMMARY_COLLECTION_T Type

Collection of Operations Insights Warehouse User summary objects.

Syntax

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

Fields

Field Description

items

(required) Array of Operations Insights Warehouse user summary objects.

DBMS_CLOUD_OCI_OPSI_OPERATIONS_INSIGHTS_WAREHOUSE_USERS_T Type

Logical grouping used for Operations Insights Warehouse User operations.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_operations_insights_warehouse_users_t FORCE AUTHID CURRENT_USER IS OBJECT (
  operations_insights_warehouse_users json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_operations_insights_warehouse_users_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_operations_insights_warehouse_users_t (
    operations_insights_warehouse_users json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

operations_insights_warehouse_users

(optional) Operations Insights Warehouse User Object.

DBMS_CLOUD_OCI_OPSI_OPERATIONS_INSIGHTS_WAREHOUSES_T Type

Logical grouping used for Operations Insights Warehouse operations.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_operations_insights_warehouses_t FORCE AUTHID CURRENT_USER IS OBJECT (
  operations_insights_warehouses json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_operations_insights_warehouses_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_operations_insights_warehouses_t (
    operations_insights_warehouses json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

operations_insights_warehouses

(optional) Operations Insights Warehouse Object.

DBMS_CLOUD_OCI_OPSI_OPSI_CONFIGURATION_CONFIGURATION_ITEM_SUMMARY_T Type

Configuration item summary.

Syntax

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

Fields

Field Description

config_item_type

(required) Type of configuration item.

Allowed values are: 'BASIC'

DBMS_CLOUD_OCI_OPSI_OPSI_CONFIGURATION_CONFIGURATION_ITEM_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_opsi_configuration_configuration_item_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_opsi_configuration_configuration_item_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_opsi_configuration_configuration_item_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_OPSI_CONFIGURATION_T Type

OPSI configuration.

Syntax

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

Fields

Field Description

id

(optional) OCID of OPSI configuration resource.

compartment_id

(optional) The OCID of the compartment.

opsi_config_type

(required) OPSI configuration type.

Allowed values are: 'UX_CONFIGURATION'

display_name

(optional) User-friendly display name for the OPSI configuration. The name does not have to be unique.

description

(optional) Description of OPSI configuration.

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

time_created

(optional) The time at which the resource was first created. An RFC3339 formatted datetime string

time_updated

(optional) The time at which the resource was last updated. An RFC3339 formatted datetime string

lifecycle_state

(optional) OPSI configuration resource lifecycle state.

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

config_items

(optional) Array of configuration item summary objects.

DBMS_CLOUD_OCI_OPSI_OPSI_CONFIGURATION_BASIC_CONFIGURATION_ITEM_SUMMARY_T Type

Basic configuration item summary. Value and defaultValue fields will contain the custom value stored in the resource and default value from Operations Insights respectively.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_opsi_configuration_basic_configuration_item_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_opsi_configuration_configuration_item_summary_t (
  name varchar2(32767),
  value varchar2(32767),
  default_value varchar2(32767),
  applicable_contexts dbms_cloud_oci_opsi_varchar2_tbl,
  metadata dbms_cloud_oci_opsi_configuration_item_metadata_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_configuration_basic_configuration_item_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_configuration_basic_configuration_item_summary_t (
    config_item_type varchar2,
    name varchar2,
    value varchar2,
    default_value varchar2,
    applicable_contexts dbms_cloud_oci_opsi_varchar2_tbl,
    metadata dbms_cloud_oci_opsi_configuration_item_metadata_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_opsi_configuration_basic_configuration_item_summary_t is a subtype of the dbms_cloud_oci_opsi_opsi_configuration_configuration_item_summary_t type.

Fields

Field Description

name

(optional) Name of configuration item.

value

(optional) Value of configuration item.

default_value

(optional) Value of configuration item.

applicable_contexts

(optional) List of contexts in Operations Insights where this configuration item is applicable.

metadata

(optional)

DBMS_CLOUD_OCI_OPSI_OPSI_CONFIGURATION_SUMMARY_T Type

OPSI configuration summary.

Syntax

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

Fields

Field Description

id

(optional) OCID of OPSI configuration resource.

compartment_id

(optional) The OCID of the compartment.

opsi_config_type

(required) OPSI configuration type.

Allowed values are: 'UX_CONFIGURATION'

display_name

(optional) User-friendly display name for the OPSI configuration. The name does not have to be unique.

description

(optional) Description of OPSI configuration.

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

time_created

(optional) The time at which the resource was first created. An RFC3339 formatted datetime string

time_updated

(optional) The time at which the resource was last updated. An RFC3339 formatted datetime string

lifecycle_state

(optional) OPSI configuration resource lifecycle state.

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

lifecycle_details

(optional) A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

DBMS_CLOUD_OCI_OPSI_OPSI_CONFIGURATIONS_T Type

An OPSI configuration resource is a container for storing custom values for customizable configuration items exposed by Operations Insights. Operations Insights exposes different sets of customizable configuration items through different OPSI configuration types. UX_CONFIGURATION: OPSI configuration resource of this type can be created only once in each compartment. It is a compartment level singleton resource. When configuration values, for an OPSI configuration type that supports compartment level singleton (e.g: UX_CONFIGURATION) resource, are queried for a compartment, following will be the order of preference. 1. If the specified compartment has an OPSI configuration resource, first preference will be given to the custom values inside that. 2. If the root compartment has an OPSI configuration resource, it will be considered as applicable to all compartments of that tenency, hence second preference will be given to the custom values inside that. 3. Default configuration will be considered as a final fallback option.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_opsi_configurations_t FORCE AUTHID CURRENT_USER IS OBJECT (
  opsi_configurations json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_configurations_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_configurations_t (
    opsi_configurations json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

opsi_configurations

(optional) OPSI Configuration Object.

DBMS_CLOUD_OCI_OPSI_OPSI_CONFIGURATION_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_opsi_configuration_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_opsi_configuration_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_opsi_configuration_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_OPSI_CONFIGURATIONS_COLLECTION_T Type

Collection of OPSI configuration summary objects.

Syntax

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

Fields

Field Description

items

(required) Array of OPSI configuration summary objects.

DBMS_CLOUD_OCI_OPSI_OPSI_DATA_OBJECT_TYPE_OPSI_DATA_OBJECT_DETAILS_IN_QUERY_T Type

Details applicable for all OPSI data objects of a specific OpsiDataObjectType used in a data object query.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_opsi_data_object_type_opsi_data_object_details_in_query_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_opsi_data_object_details_in_query_t (
  data_object_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_data_object_type_opsi_data_object_details_in_query_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_data_object_type_opsi_data_object_details_in_query_t (
    data_object_details_target varchar2,
    query_params dbms_cloud_oci_opsi_opsi_data_object_query_param_tbl,
    data_object_type varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_opsi_data_object_type_opsi_data_object_details_in_query_t is a subtype of the dbms_cloud_oci_opsi_opsi_data_object_details_in_query_t type.

Fields

Field Description

data_object_type

(required) Type of OPSI data object.

Allowed values are: 'DATABASE_INSIGHTS_DATA_OBJECT', 'HOST_INSIGHTS_DATA_OBJECT', 'EXADATA_INSIGHTS_DATA_OBJECT'

DBMS_CLOUD_OCI_OPSI_OPSI_DATA_OBJECTS_T Type

Logical grouping used for OPSI data object targeted operations.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_opsi_data_objects_t FORCE AUTHID CURRENT_USER IS OBJECT (
  opsi_data_objects json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_data_objects_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_data_objects_t (
    opsi_data_objects json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

opsi_data_objects

(optional) OPSI Data Object.

DBMS_CLOUD_OCI_OPSI_OPSI_DATA_OBJECT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_opsi_data_object_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_opsi_data_object_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_opsi_data_object_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_OPSI_DATA_OBJECTS_COLLECTION_T Type

Collection of OPSI data object summary objects.

Syntax

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

Fields

Field Description

items

(required) Array of OPSI data object summary objects.

DBMS_CLOUD_OCI_OPSI_OPSI_UX_CONFIGURATION_T Type

OPSI UX configuration.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_opsi_ux_configuration_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_opsi_configuration_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_ux_configuration_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_ux_configuration_t (
    id varchar2,
    compartment_id varchar2,
    opsi_config_type varchar2,
    display_name varchar2,
    description varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    config_items dbms_cloud_oci_opsi_opsi_configuration_configuration_item_summary_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_opsi_ux_configuration_t is a subtype of the dbms_cloud_oci_opsi_opsi_configuration_t type.

DBMS_CLOUD_OCI_OPSI_OPSI_UX_CONFIGURATION_SUMMARY_T Type

OPSI UX configuration summary.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_opsi_ux_configuration_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_opsi_configuration_summary_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_ux_configuration_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_ux_configuration_summary_t (
    id varchar2,
    compartment_id varchar2,
    opsi_config_type varchar2,
    display_name varchar2,
    description varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_opsi_ux_configuration_summary_t is a subtype of the dbms_cloud_oci_opsi_opsi_configuration_summary_t type.

DBMS_CLOUD_OCI_OPSI_OPSI_WAREHOUSE_DATA_OBJECTS_T Type

Logical grouping used for Operations Insights Warehouse data objects operations.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_opsi_warehouse_data_objects_t FORCE AUTHID CURRENT_USER IS OBJECT (
  opsi_warehouse_data_objects json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_warehouse_data_objects_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_opsi_warehouse_data_objects_t (
    opsi_warehouse_data_objects json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

opsi_warehouse_data_objects

(optional) Operations Insights Warehouse Data Object.

DBMS_CLOUD_OCI_OPSI_PE_COMANAGED_DATABASE_INSIGHT_T Type

Database insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_pe_comanaged_database_insight_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_insight_t (
  opsi_private_endpoint_id varchar2(32767),
  connection_details dbms_cloud_oci_opsi_pe_comanaged_database_connection_details_t,
  credential_details dbms_cloud_oci_opsi_credential_details_t,
  database_id varchar2(32767),
  database_name varchar2(32767),
  database_display_name varchar2(32767),
  database_resource_type varchar2(32767),
  parent_id varchar2(32767),
  root_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_database_insight_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_database_insight_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    status varchar2,
    database_type varchar2,
    database_version varchar2,
    processor_count number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    database_connection_status_details varchar2,
    opsi_private_endpoint_id varchar2,
    connection_details dbms_cloud_oci_opsi_pe_comanaged_database_connection_details_t,
    credential_details dbms_cloud_oci_opsi_credential_details_t,
    database_id varchar2,
    database_name varchar2,
    database_display_name varchar2,
    database_resource_type varchar2,
    parent_id varchar2,
    root_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_pe_comanaged_database_insight_t is a subtype of the dbms_cloud_oci_opsi_database_insight_t type.

Fields

Field Description

opsi_private_endpoint_id

(optional) The OCID of the OPSI private endpoint

connection_details

(optional)

credential_details

(optional)

database_id

(required) The OCID of the database.

database_name

(required) Name of database

database_display_name

(optional) Display name of database

database_resource_type

(required) OCI database resource type

parent_id

(optional) The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.

root_id

(optional) The OCID of the Exadata Infrastructure.

DBMS_CLOUD_OCI_OPSI_PE_COMANAGED_DATABASE_INSIGHT_SUMMARY_T Type

Summary of a database insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_pe_comanaged_database_insight_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_insight_summary_t (
  database_resource_type varchar2(32767),
  opsi_private_endpoint_id varchar2(32767),
  parent_id varchar2(32767),
  root_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_database_insight_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_database_insight_summary_t (
    id varchar2,
    database_id varchar2,
    compartment_id varchar2,
    database_name varchar2,
    database_display_name varchar2,
    database_type varchar2,
    database_version varchar2,
    database_host_names dbms_cloud_oci_opsi_varchar2_tbl,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    entity_source varchar2,
    processor_count number,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    database_connection_status_details varchar2,
    database_resource_type varchar2,
    opsi_private_endpoint_id varchar2,
    parent_id varchar2,
    root_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_pe_comanaged_database_insight_summary_t is a subtype of the dbms_cloud_oci_opsi_database_insight_summary_t type.

Fields

Field Description

database_resource_type

(optional) OCI database resource type

opsi_private_endpoint_id

(optional) The OCID of the OPSI private endpoint

parent_id

(optional) The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.

root_id

(optional) The OCID of the root resource for a composite target. e.g. for ExaCS members the rootId will be the OCID of the Exadata Infrastructure resource.

DBMS_CLOUD_OCI_OPSI_PE_COMANAGED_EXADATA_INSIGHT_T Type

Private endpoint managed Exadata insight resource (ExaCS).

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_pe_comanaged_exadata_insight_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_exadata_insight_t (
  exadata_infra_id varchar2(32767),
  exadata_infra_resource_type varchar2(32767),
  exadata_shape varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_exadata_insight_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_exadata_insight_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    exadata_name varchar2,
    exadata_display_name varchar2,
    exadata_type varchar2,
    exadata_rack_type varchar2,
    is_virtualized_exadata number,
    status varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    exadata_infra_id varchar2,
    exadata_infra_resource_type varchar2,
    exadata_shape varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_pe_comanaged_exadata_insight_t is a subtype of the dbms_cloud_oci_opsi_exadata_insight_t type.

Fields

Field Description

exadata_infra_id

(required) The OCID of the Exadata Infrastructure.

exadata_infra_resource_type

(required) OCI exadata infrastructure resource type

Allowed values are: 'cloudExadataInfrastructure'

exadata_shape

(required) The shape of the Exadata Infrastructure.

DBMS_CLOUD_OCI_OPSI_PE_COMANAGED_EXADATA_INSIGHT_SUMMARY_T Type

Summary of a Private endpoint managed Exadata insight resource (ExaCS).

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_pe_comanaged_exadata_insight_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_exadata_insight_summary_t (
  exadata_infra_id varchar2(32767),
  exadata_infra_resource_type varchar2(32767),
  exadata_shape varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_exadata_insight_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_exadata_insight_summary_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    exadata_name varchar2,
    exadata_display_name varchar2,
    exadata_type varchar2,
    exadata_rack_type varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    exadata_infra_id varchar2,
    exadata_infra_resource_type varchar2,
    exadata_shape varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_pe_comanaged_exadata_insight_summary_t is a subtype of the dbms_cloud_oci_opsi_exadata_insight_summary_t type.

Fields

Field Description

exadata_infra_id

(required) The OCID of the Exadata Infrastructure.

exadata_infra_resource_type

(required) OCI exadata infrastructure resource type

Allowed values are: 'cloudExadataInfrastructure'

exadata_shape

(required) The shape of the Exadata Infrastructure.

DBMS_CLOUD_OCI_OPSI_PE_COMANAGED_HOST_CONFIGURATION_SUMMARY_T Type

Configuration Summary of a PeComanaged host.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_pe_comanaged_host_configuration_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_configuration_summary_t (
  opsi_private_endpoint_id varchar2(32767),
  parent_id varchar2(32767),
  exadata_details dbms_cloud_oci_opsi_exadata_details_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_host_configuration_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_host_configuration_summary_t (
    host_insight_id varchar2,
    entity_source varchar2,
    compartment_id varchar2,
    host_name varchar2,
    platform_type varchar2,
    platform_version varchar2,
    platform_vendor varchar2,
    total_cpus number,
    total_memory_in_g_bs number,
    cpu_architecture varchar2,
    cpu_cache_in_m_bs number,
    cpu_vendor varchar2,
    cpu_frequency_in_mhz number,
    cpu_implementation varchar2,
    cores_per_socket number,
    total_sockets number,
    threads_per_socket number,
    is_hyper_threading_enabled number,
    defined_tags json_element_t,
    freeform_tags json_element_t,
    opsi_private_endpoint_id varchar2,
    parent_id varchar2,
    exadata_details dbms_cloud_oci_opsi_exadata_details_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_pe_comanaged_host_configuration_summary_t is a subtype of the dbms_cloud_oci_opsi_host_configuration_summary_t type.

Fields

Field Description

opsi_private_endpoint_id

(required) The OCID of the OPSI private endpoint

parent_id

(required) The OCID of the database.

exadata_details

(required)

DBMS_CLOUD_OCI_OPSI_PE_COMANAGED_HOST_INSIGHT_T Type

Private Endpoint host insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_pe_comanaged_host_insight_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_insight_t (
  opsi_private_endpoint_id varchar2(32767),
  platform_type varchar2(32767),
  parent_id varchar2(32767),
  root_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_host_insight_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_host_insight_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    host_name varchar2,
    host_display_name varchar2,
    host_type varchar2,
    processor_count number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    opsi_private_endpoint_id varchar2,
    platform_type varchar2,
    parent_id varchar2,
    root_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_pe_comanaged_host_insight_t is a subtype of the dbms_cloud_oci_opsi_host_insight_t type.

Fields

Field Description

opsi_private_endpoint_id

(required) The OCID of the OPSI private endpoint

platform_type

(optional) Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].

Allowed values are: 'LINUX', 'SOLARIS', 'SUNOS', 'ZLINUX', 'WINDOWS', 'AIX', 'HP_UX'

parent_id

(optional) The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.

root_id

(optional) The OCID of the Exadata Infrastructure.

DBMS_CLOUD_OCI_OPSI_PE_COMANAGED_HOST_INSIGHT_SUMMARY_T Type

Summary of a Private Endpoint host insight resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_pe_comanaged_host_insight_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_host_insight_summary_t (
  platform_type varchar2(32767),
  parent_id varchar2(32767),
  root_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_host_insight_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_host_insight_summary_t (
    entity_source varchar2,
    id varchar2,
    compartment_id varchar2,
    host_name varchar2,
    host_display_name varchar2,
    host_type varchar2,
    processor_count number,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    opsi_private_endpoint_id varchar2,
    status varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    platform_type varchar2,
    parent_id varchar2,
    root_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_pe_comanaged_host_insight_summary_t is a subtype of the dbms_cloud_oci_opsi_host_insight_summary_t type.

Fields

Field Description

platform_type

(optional) Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].

Allowed values are: 'LINUX', 'SOLARIS', 'SUNOS', 'ZLINUX', 'WINDOWS', 'AIX', 'HP_UX'

parent_id

(optional) The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.

root_id

(optional) The OCID of the Exadata Infrastructure.

DBMS_CLOUD_OCI_OPSI_PE_COMANAGED_MANAGED_EXTERNAL_DATABASE_CONFIGURATION_SUMMARY_T Type

Configuration Summary of a Private Endpoint Co-managed External database.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_pe_comanaged_managed_external_database_configuration_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_database_configuration_summary_t (
  database_id varchar2(32767),
  parent_id varchar2(32767),
  opsi_private_endpoint_id varchar2(32767),
  instances dbms_cloud_oci_opsi_host_instance_map_tbl,
  exadata_details dbms_cloud_oci_opsi_exadata_details_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_managed_external_database_configuration_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_pe_comanaged_managed_external_database_configuration_summary_t (
    database_insight_id varchar2,
    entity_source varchar2,
    compartment_id varchar2,
    database_name varchar2,
    database_display_name varchar2,
    database_type varchar2,
    database_version varchar2,
    cdb_name varchar2,
    defined_tags json_element_t,
    freeform_tags json_element_t,
    processor_count number,
    database_id varchar2,
    parent_id varchar2,
    opsi_private_endpoint_id varchar2,
    instances dbms_cloud_oci_opsi_host_instance_map_tbl,
    exadata_details dbms_cloud_oci_opsi_exadata_details_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_pe_comanaged_managed_external_database_configuration_summary_t is a subtype of the dbms_cloud_oci_opsi_database_configuration_summary_t type.

Fields

Field Description

database_id

(required) The OCID of the database.

parent_id

(required) The OCID of the database.

opsi_private_endpoint_id

(required) The OCID of the OPSI private endpoint

instances

(required) Array of hostname and instance name.

exadata_details

(required)

DBMS_CLOUD_OCI_OPSI_QUERY_DATA_OBJECT_RESULT_SET_COLUMN_METADATA_T Type

Metadata of a column in a data object query result set.

Syntax

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

Fields

Field Description

name

(required) Name of the column in a data object query result set.

data_type

(optional) Type of the column in a data object query result.

data_type_name

(optional) Type name of the column in a data object query result set.

Allowed values are: 'NUMBER', 'TIMESTAMP', 'VARCHAR2', 'OTHER'

DBMS_CLOUD_OCI_OPSI_QUERY_DATA_OBJECT_RESULT_SET_ROWS_COLLECTION_T Type

Collection of result set rows from the data object query.

Syntax

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

Fields

Field Description

format

(required) Format type of data object query result set.

Allowed values are: 'JSON'

DBMS_CLOUD_OCI_OPSI_JSON_ELEMENT_T_TBL Type

Nested table type of json_element_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_json_element_t_tbl FORCE IS TABLE OF (json_element_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_QUERY_DATA_OBJECT_RESULT_SET_COLUMN_METADATA_TBL Type

Nested table type of dbms_cloud_oci_opsi_query_data_object_result_set_column_metadata_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_query_data_object_result_set_column_metadata_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_query_data_object_result_set_column_metadata_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_QUERY_DATA_OBJECT_JSON_RESULT_SET_ROWS_COLLECTION_T Type

Collection of result set rows from the data object query.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_query_data_object_json_result_set_rows_collection_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_query_data_object_result_set_rows_collection_t (
  items dbms_cloud_oci_opsi_json_element_t_tbl,
  items_metadata dbms_cloud_oci_opsi_query_data_object_result_set_column_metadata_tbl,
  query_execution_time_in_seconds number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_query_data_object_json_result_set_rows_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_query_data_object_json_result_set_rows_collection_t (
    format varchar2,
    items dbms_cloud_oci_opsi_json_element_t_tbl,
    items_metadata dbms_cloud_oci_opsi_query_data_object_result_set_column_metadata_tbl,
    query_execution_time_in_seconds number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_query_data_object_json_result_set_rows_collection_t is a subtype of the dbms_cloud_oci_opsi_query_data_object_result_set_rows_collection_t type.

Fields

Field Description

items

(required) Array of result set rows.

items_metadata

(required) Array of QueryDataObjectResultSetColumnMetadata objects that describe the result set columns.

query_execution_time_in_seconds

(optional) Time taken for executing the data object query (in seconds). Consider optimizing the query or reducing the target data range, if query execution time is longer.

DBMS_CLOUD_OCI_OPSI_RESOURCE_FILTERS_T Type

Information to filter the actual target resources in an operation. e.g: While querying a DATABASE_INSIGHTS_DATA_OBJECT using /opsiDataObjects/actions/queryData API, if resourceFilters is set with valid value for definedTagEquals field, only data of the database insights resources for which the specified freeform tags exist will be considered for the actual query scope.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_resource_filters_t FORCE AUTHID CURRENT_USER IS OBJECT (
  defined_tag_equals dbms_cloud_oci_opsi_varchar2_tbl,
  freeform_tag_equals dbms_cloud_oci_opsi_varchar2_tbl,
  defined_tag_exists dbms_cloud_oci_opsi_varchar2_tbl,
  freeform_tag_exists dbms_cloud_oci_opsi_varchar2_tbl,
  compartment_id_in_subtree number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_filters_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_filters_t (
    defined_tag_equals dbms_cloud_oci_opsi_varchar2_tbl,
    freeform_tag_equals dbms_cloud_oci_opsi_varchar2_tbl,
    defined_tag_exists dbms_cloud_oci_opsi_varchar2_tbl,
    freeform_tag_exists dbms_cloud_oci_opsi_varchar2_tbl,
    compartment_id_in_subtree number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

defined_tag_equals

(optional) A list of tag filters to apply. Only resources with a defined tag matching the value will be considered. Each item in the list has the format \"{namespace}.{tagName}.{value}\". All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as \"OR\". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as \"AND\".

freeform_tag_equals

(optional) A list of tag filters to apply. Only resources with a freeform tag matching the value will be considered. The key for each tag is \"{tagName}.{value}\". All inputs are case-insensitive. Multiple values for the same tag name are interpreted as \"OR\". Values for different tag names are interpreted as \"AND\".

defined_tag_exists

(optional) A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be considered. Each item in the list has the format \"{namespace}.{tagName}.true\" (for checking existence of a defined tag) or \"{namespace}.true\". All inputs are case-insensitive. Currently, only existence (\"true\" at the end) is supported. Absence (\"false\" at the end) is not supported. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as \"OR\". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as \"AND\".

freeform_tag_exists

(optional) A list of tag existence filters to apply. Only resources for which the specified freeform tags exist will be considered. The key for each tag is \"{tagName}.true\". All inputs are case-insensitive. Currently, only existence (\"true\" at the end) is supported. Absence (\"false\" at the end) is not supported. Multiple values for different tag names are interpreted as \"AND\".

compartment_id_in_subtree

(optional) A flag to consider all resources within a given compartment and all sub-compartments.

DBMS_CLOUD_OCI_OPSI_OPSI_DATA_OBJECT_DETAILS_IN_QUERY_TBL Type

Nested table type of dbms_cloud_oci_opsi_opsi_data_object_details_in_query_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_opsi_data_object_details_in_query_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_opsi_data_object_details_in_query_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_QUERY_OPSI_DATA_OBJECT_DATA_DETAILS_T Type

Information required to form and execute query on an OPSI data object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_query_opsi_data_object_data_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  data_object_identifier varchar2(32767),
  data_objects dbms_cloud_oci_opsi_opsi_data_object_details_in_query_tbl,
  query dbms_cloud_oci_opsi_data_object_query_t,
  resource_filters dbms_cloud_oci_opsi_resource_filters_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_query_opsi_data_object_data_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_query_opsi_data_object_data_details_t (
    data_object_identifier varchar2,
    data_objects dbms_cloud_oci_opsi_opsi_data_object_details_in_query_tbl,
    query dbms_cloud_oci_opsi_data_object_query_t,
    resource_filters dbms_cloud_oci_opsi_resource_filters_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

data_object_identifier

(optional) Unique OPSI data object identifier.

data_objects

(optional) Details of OPSI data objects used in the query.

query

(required)

resource_filters

(optional)

DBMS_CLOUD_OCI_OPSI_QUERY_WAREHOUSE_DATA_OBJECT_DATA_DETAILS_T Type

Information required to form and execute Operations Insights Warehouse data objects query.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_query_warehouse_data_object_data_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  query dbms_cloud_oci_opsi_data_object_query_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_query_warehouse_data_object_data_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_query_warehouse_data_object_data_details_t (
    query dbms_cloud_oci_opsi_data_object_query_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

query

(required)

DBMS_CLOUD_OCI_OPSI_RESOURCE_CAPACITY_TREND_AGGREGATION_T Type

Resource Capacity samples

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_resource_capacity_trend_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  end_timestamp timestamp with time zone,
  l_capacity number,
  base_capacity number,
  total_host_capacity number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_capacity_trend_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_capacity_trend_aggregation_t (
    end_timestamp timestamp with time zone,
    l_capacity number,
    base_capacity number,
    total_host_capacity number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

end_timestamp

(required) The timestamp in which the current sampling period ends in RFC 3339 format.

l_capacity

(required) The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

base_capacity

(required) The base allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

total_host_capacity

(optional) The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.

DBMS_CLOUD_OCI_OPSI_RESOURCE_INSIGHT_CURRENT_UTILIZATION_T Type

Current utilization(High/low) for cpu or storage

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_resource_insight_current_utilization_t FORCE AUTHID CURRENT_USER IS OBJECT (
  low dbms_cloud_oci_opsi_varchar2_tbl,
  high dbms_cloud_oci_opsi_varchar2_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_insight_current_utilization_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_insight_current_utilization_t (
    low dbms_cloud_oci_opsi_varchar2_tbl,
    high dbms_cloud_oci_opsi_varchar2_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

low

(optional) List of db ids with low usage

high

(optional) List of db ids with high usage

DBMS_CLOUD_OCI_OPSI_RESOURCE_INSIGHT_PROJECTED_UTILIZATION_ITEM_T Type

Projected utilization object containing dbid and daysToReach value

Syntax

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

Fields

Field Description

id

(required) Db id

days_to_reach

(required) Days to reach projected utilization

DBMS_CLOUD_OCI_OPSI_RESOURCE_INSIGHT_PROJECTED_UTILIZATION_ITEM_TBL Type

Nested table type of dbms_cloud_oci_opsi_resource_insight_projected_utilization_item_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_resource_insight_projected_utilization_item_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_resource_insight_projected_utilization_item_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_RESOURCE_INSIGHT_PROJECTED_UTILIZATION_T Type

Projected utilization(High/low) for cpu or storage

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_resource_insight_projected_utilization_t FORCE AUTHID CURRENT_USER IS OBJECT (
  low dbms_cloud_oci_opsi_resource_insight_projected_utilization_item_tbl,
  high dbms_cloud_oci_opsi_resource_insight_projected_utilization_item_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_insight_projected_utilization_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_insight_projected_utilization_t (
    low dbms_cloud_oci_opsi_resource_insight_projected_utilization_item_tbl,
    high dbms_cloud_oci_opsi_resource_insight_projected_utilization_item_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

low

(required) List of db ids with low usage

high

(required) List of db ids with high usage

DBMS_CLOUD_OCI_OPSI_RESOURCE_STATISTICS_T Type

Contains resource statistics with usage unit

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_resource_statistics_t FORCE AUTHID CURRENT_USER IS OBJECT (
  usage number,
  l_capacity number,
  base_capacity number,
  is_auto_scaling_enabled number,
  utilization_percent number,
  usage_change_percent number,
  instance_metrics dbms_cloud_oci_opsi_instance_metrics_tbl,
  total_host_capacity number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_statistics_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_statistics_t (
    usage number,
    l_capacity number,
    base_capacity number,
    is_auto_scaling_enabled number,
    utilization_percent number,
    usage_change_percent number,
    instance_metrics dbms_cloud_oci_opsi_instance_metrics_tbl,
    total_host_capacity number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

usage

(required) Total amount used of the resource metric type (CPU, STORAGE).

l_capacity

(required) The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

base_capacity

(optional) The base allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

is_auto_scaling_enabled

(optional) Indicates if auto scaling feature is enabled or disabled on a database. It will be false for all metrics other than CPU.

utilization_percent

(required) Resource utilization in percentage

usage_change_percent

(required) Change in resource utilization in percentage

instance_metrics

(optional) Array of instance metrics

total_host_capacity

(optional) The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.

DBMS_CLOUD_OCI_OPSI_RESOURCE_STATISTICS_AGGREGATION_T Type

Contains database details and resource statistics

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_resource_statistics_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  database_details dbms_cloud_oci_opsi_database_details_t,
  current_statistics dbms_cloud_oci_opsi_resource_statistics_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_statistics_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_statistics_aggregation_t (
    database_details dbms_cloud_oci_opsi_database_details_t,
    current_statistics dbms_cloud_oci_opsi_resource_statistics_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

database_details

(optional)

current_statistics

(optional)

DBMS_CLOUD_OCI_OPSI_RESOURCE_USAGE_SUMMARY_T Type

Contains resource usage summary

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_resource_usage_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  exadata_insight_id varchar2(32767),
  exadata_display_name varchar2(32767),
  usage number,
  l_capacity number,
  utilization_percent number,
  usage_change_percent number,
  total_host_capacity number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_usage_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_usage_summary_t (
    exadata_insight_id varchar2,
    exadata_display_name varchar2,
    usage number,
    l_capacity number,
    utilization_percent number,
    usage_change_percent number,
    total_host_capacity number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

exadata_insight_id

(required) The OCID of the Exadata insight.

exadata_display_name

(optional) The user-friendly name for the Exadata system. The name does not have to be unique.

usage

(required) Total amount used of the resource metric type (CPU, STORAGE).

l_capacity

(required) The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

utilization_percent

(required) Resource utilization in percentage

usage_change_percent

(required) Change in resource utilization in percentage

total_host_capacity

(optional) The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.

DBMS_CLOUD_OCI_OPSI_RESOURCE_USAGE_TREND_AGGREGATION_T Type

Aggregate usage samples

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_resource_usage_trend_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  end_timestamp timestamp with time zone,
  usage number,
  l_capacity number,
  total_host_capacity number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_usage_trend_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_resource_usage_trend_aggregation_t (
    end_timestamp timestamp with time zone,
    usage number,
    l_capacity number,
    total_host_capacity number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

end_timestamp

(required) The timestamp in which the current sampling period ends in RFC 3339 format.

usage

(required) Total amount used of the resource metric type (CPU, STORAGE).

l_capacity

(required) The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

total_host_capacity

(optional) The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.

DBMS_CLOUD_OCI_OPSI_SCHEMA_OBJECT_TYPE_DETAILS_T Type

Schema object details

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_schema_object_type_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_related_object_type_details_t (
  object_id number,
  owner varchar2(32767),
  object_name varchar2(32767),
  sub_object_name varchar2(32767),
  object_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_schema_object_type_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_schema_object_type_details_t (
    l_type varchar2,
    object_id number,
    owner varchar2,
    object_name varchar2,
    sub_object_name varchar2,
    object_type varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_schema_object_type_details_t is a subtype of the dbms_cloud_oci_opsi_related_object_type_details_t type.

Fields

Field Description

object_id

(required) Object id (from RDBMS)

owner

(required) Owner of object

object_name

(required) Name of object

sub_object_name

(optional) Subobject name; for example, partition name

object_type

(required) Type of the object (such as TABLE, INDEX)

DBMS_CLOUD_OCI_OPSI_SQL_INSIGHT_AGGREGATION_T Type

Represents a SQL Insight.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_insight_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  text varchar2(32767),
  l_values dbms_cloud_oci_opsi_number_tbl,
  category varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_insight_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_insight_aggregation_t (
    text varchar2,
    l_values dbms_cloud_oci_opsi_number_tbl,
    category varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

text

(required) Insight text. For example `Degrading SQLs`, `Variant SQLs`, `Inefficient SQLs`, `Improving SQLs`, `SQLs with Plan Changes`, `Degrading SQLs have increasing IO Time above 50%`, `Degrading SQLs are variant`, `2 of the 2 variant SQLs have plan changes`, `Inefficient SQLs have increasing CPU Time above 50%

l_values

(required) SQL counts for a given insight. For example insight text `2 of 10 SQLs have degrading response time` will have values as [2,10]\"

category

(required) Insight category. It would be one of the following DEGRADING, VARIANT, INEFFICIENT, CHANGING_PLANS, IMPROVING, DEGRADING_VARIANT, DEGRADING_INEFFICIENT, DEGRADING_CHANGING_PLANS, DEGRADING_INCREASING_IO, DEGRADING_INCREASING_CPU, DEGRADING_INCREASING_INEFFICIENT_WAIT, DEGRADING_CHANGING_PLANS_AND_INCREASING_IO, DEGRADING_CHANGING_PLANS_AND_INCREASING_CPU, DEGRADING_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT,VARIANT_INEFFICIENT, VARIANT_CHANGING_PLANS, VARIANT_INCREASING_IO, VARIANT_INCREASING_CPU, VARIANT_INCREASING_INEFFICIENT_WAIT, VARIANT_CHANGING_PLANS_AND_INCREASING_IO, VARIANT_CHANGING_PLANS_AND_INCREASING_CPU, VARIANT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT, INEFFICIENT_CHANGING_PLANS, INEFFICIENT_INCREASING_INEFFICIENT_WAIT, INEFFICIENT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT

DBMS_CLOUD_OCI_OPSI_SQL_INVENTORY_T Type

Inventory details.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_inventory_t FORCE AUTHID CURRENT_USER IS OBJECT (
  total_sqls number,
  total_databases number,
  sqls_analyzed number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_inventory_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_inventory_t (
    total_sqls number,
    total_databases number,
    sqls_analyzed number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

total_sqls

(required) Total number of sqls. Example `2000`

total_databases

(required) Total number of Databases. Example `400`

sqls_analyzed

(required) Total number of sqls analyzed by the query. Example `120`

DBMS_CLOUD_OCI_OPSI_SQL_INSIGHT_THRESHOLDS_T Type

Inventory details.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_insight_thresholds_t FORCE AUTHID CURRENT_USER IS OBJECT (
  degradation_in_pct number,
  variability number,
  inefficiency_in_pct number,
  increase_in_io_in_pct number,
  increase_in_cpu_in_pct number,
  increase_in_inefficient_wait_in_pct number,
  improved_in_pct number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_insight_thresholds_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_insight_thresholds_t (
    degradation_in_pct number,
    variability number,
    inefficiency_in_pct number,
    increase_in_io_in_pct number,
    increase_in_cpu_in_pct number,
    increase_in_inefficient_wait_in_pct number,
    improved_in_pct number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

degradation_in_pct

(required) Degradation Percent Threshold is used to derive degrading SQLs.

variability

(required) Variability Percent Threshold is used to derive variant SQLs.

inefficiency_in_pct

(required) Inefficiency Percent Threshold is used to derive inefficient SQLs.

increase_in_io_in_pct

(required) PctIncreaseInIO is used for deriving insights for SQLs which are degrading or variant or inefficient. And these SQLs should also have increasing change in IO Time beyond threshold. Insights are derived using linear regression.

increase_in_cpu_in_pct

(required) PctIncreaseInCPU is used for deriving insights for SQLs which are degrading or variant or inefficient. And these SQLs should also have increasing change in CPU Time beyond threshold. Insights are derived using linear regression.

increase_in_inefficient_wait_in_pct

(required) PctIncreaseInIO is used for deriving insights for SQLs which are degrading or variant or inefficient. And these SQLs should also have increasing change in Other Wait Time beyond threshold. Insights are derived using linear regression.

improved_in_pct

(required) Improved Percent Threshold is used to derive improving SQLs.

DBMS_CLOUD_OCI_OPSI_SQL_INSIGHT_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_sql_insight_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_insight_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_sql_insight_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SQL_INSIGHT_AGGREGATION_COLLECTION_T Type

SQL Insights response.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_insight_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  inventory dbms_cloud_oci_opsi_sql_inventory_t,
  items dbms_cloud_oci_opsi_sql_insight_aggregation_tbl,
  thresholds dbms_cloud_oci_opsi_sql_insight_thresholds_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_insight_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_insight_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    inventory dbms_cloud_oci_opsi_sql_inventory_t,
    items dbms_cloud_oci_opsi_sql_insight_aggregation_tbl,
    thresholds dbms_cloud_oci_opsi_sql_insight_thresholds_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

inventory

(required)

items

(required) List of insights.

thresholds

(required)

DBMS_CLOUD_OCI_OPSI_SQL_PLAN_SUMMARY_T Type

SQL Plan details

Syntax

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

Fields

Field Description

plan_hash

(required) Plan hash value for the SQL Execution Plan

plan_content

(required) Plan XML Content

DBMS_CLOUD_OCI_OPSI_SQL_PLAN_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_sql_plan_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_plan_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_sql_plan_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SQL_PLAN_COLLECTION_T Type

SQL Plans for the particular SQL.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_plan_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  sql_identifier varchar2(32767),
  id varchar2(32767),
  database_id varchar2(32767),
  items dbms_cloud_oci_opsi_sql_plan_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_plan_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_plan_collection_t (
    sql_identifier varchar2,
    id varchar2,
    database_id varchar2,
    items dbms_cloud_oci_opsi_sql_plan_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

sql_identifier

(required) Unique SQL_ID for a SQL Statement.

id

(required) The OCID of the database insight resource.

database_id

(required) The OCID of the database.

items

(required) array of SQL Plans.

DBMS_CLOUD_OCI_OPSI_SQL_PLAN_INSIGHT_AGGREGATION_T Type

SQL execution plan Performance statistics.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_plan_insight_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  plan_hash number,
  io_time_in_sec number,
  cpu_time_in_sec number,
  inefficient_wait_time_in_sec number,
  executions_count number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_plan_insight_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_plan_insight_aggregation_t (
    plan_hash number,
    io_time_in_sec number,
    cpu_time_in_sec number,
    inefficient_wait_time_in_sec number,
    executions_count number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

plan_hash

(required) Plan hash value for the SQL Execution Plan

io_time_in_sec

(required) IO Time in seconds

cpu_time_in_sec

(required) CPU Time in seconds

inefficient_wait_time_in_sec

(required) Inefficient Wait Time in seconds

executions_count

(required) Total number of executions

DBMS_CLOUD_OCI_OPSI_SQL_PLAN_INSIGHTS_T Type

Represents collection of SQL Plan Insights.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_plan_insights_t FORCE AUTHID CURRENT_USER IS OBJECT (
  text varchar2(32767),
  value number,
  category varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_plan_insights_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_plan_insights_t (
    text varchar2,
    value number,
    category varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

text

(required) SQL Plan Insight text. For example `Number of Plans Used`, `Most Executed Plan`, `Best Performing Plan`, `Worst Performing Plan`, `Plan With Most IO`, `Plan with Most CPU`

value

(required) SQL execution plan hash value for a given insight. For example `Most Executed Plan` insight will have value as \"3975467901\"

category

(required) SQL Insight category. For example PLANS_USED, MOST_EXECUTED, BEST_PERFORMER, WORST_PERFORMER, MOST_CPU or MOST_IO.

DBMS_CLOUD_OCI_OPSI_SQL_PLAN_INSIGHTS_TBL Type

Nested table type of dbms_cloud_oci_opsi_sql_plan_insights_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_plan_insights_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_sql_plan_insights_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SQL_PLAN_INSIGHT_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_sql_plan_insight_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_plan_insight_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_sql_plan_insight_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SQL_PLAN_INSIGHT_AGGREGATION_COLLECTION_T Type

SQL plan insights response.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_plan_insight_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  sql_identifier varchar2(32767),
  id varchar2(32767),
  database_id varchar2(32767),
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  insights dbms_cloud_oci_opsi_sql_plan_insights_tbl,
  items dbms_cloud_oci_opsi_sql_plan_insight_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_plan_insight_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_plan_insight_aggregation_collection_t (
    sql_identifier varchar2,
    id varchar2,
    database_id varchar2,
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    insights dbms_cloud_oci_opsi_sql_plan_insights_tbl,
    items dbms_cloud_oci_opsi_sql_plan_insight_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

sql_identifier

(required) Unique SQL_ID for a SQL Statement.

id

(required) The OCID of the database insight resource.

database_id

(required) The OCID of the database.

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

insights

(required) List of SQL plan insights.

items

(required) List of SQL plan statistics.

DBMS_CLOUD_OCI_OPSI_SQL_RESPONSE_TIME_DISTRIBUTION_AGGREGATION_T Type

SQL Response time distribution entry.

Syntax

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

Fields

Field Description

bucket_id

(required) Response time bucket id

executions_count

(required) Total number of SQL executions

DBMS_CLOUD_OCI_OPSI_SQL_RESPONSE_TIME_DISTRIBUTION_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_sql_response_time_distribution_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_response_time_distribution_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_sql_response_time_distribution_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SQL_RESPONSE_TIME_DISTRIBUTION_AGGREGATION_COLLECTION_T Type

SQL response time distribution over the selected time window.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_response_time_distribution_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  sql_identifier varchar2(32767),
  id varchar2(32767),
  database_id varchar2(32767),
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  items dbms_cloud_oci_opsi_sql_response_time_distribution_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_response_time_distribution_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_response_time_distribution_aggregation_collection_t (
    sql_identifier varchar2,
    id varchar2,
    database_id varchar2,
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    items dbms_cloud_oci_opsi_sql_response_time_distribution_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

sql_identifier

(required) Unique SQL_ID for a SQL Statement.

id

(required) The OCID of the database insight resource.

database_id

(required) The OCID of the database.

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

items

(required) Array of pre defined SQL response time bucket id and SQL executions count.

DBMS_CLOUD_OCI_OPSI_SQL_SEARCH_SUMMARY_T Type

Database summary object resulting from a sql search operation.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_search_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  database_id varchar2(32767),
  compartment_id varchar2(32767),
  database_name varchar2(32767),
  database_display_name varchar2(32767),
  database_type varchar2(32767),
  database_version varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_search_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_search_summary_t (
    id varchar2,
    database_id varchar2,
    compartment_id varchar2,
    database_name varchar2,
    database_display_name varchar2,
    database_type varchar2,
    database_version varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The OCID of the database insight resource.

database_id

(required) The OCID of the database.

compartment_id

(required) The OCID of the compartment.

database_name

(required) The database name. The database name is unique within the tenancy.

database_display_name

(required) The user-friendly name for the database. The name does not have to be unique.

database_type

(required) Operations Insights internal representation of the database type.

database_version

(required) The version of the database.

DBMS_CLOUD_OCI_OPSI_SQL_SEARCH_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_sql_search_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_search_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_sql_search_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SQL_SEARCH_COLLECTION_T Type

Search SQL response.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_search_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  sql_identifier varchar2(32767),
  sql_text varchar2(32767),
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  items dbms_cloud_oci_opsi_sql_search_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_search_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_search_collection_t (
    sql_identifier varchar2,
    sql_text varchar2,
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    items dbms_cloud_oci_opsi_sql_search_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

sql_identifier

(optional) Unique SQL_ID for a SQL Statement.

sql_text

(optional) SQL Statement Text

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

items

(required) List of Databases executing the sql.

DBMS_CLOUD_OCI_OPSI_SQL_STATISTICS_T Type

Performance statistics for the SQL.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_statistics_t FORCE AUTHID CURRENT_USER IS OBJECT (
  database_time_in_sec number,
  executions_per_hour number,
  executions_count number,
  cpu_time_in_sec number,
  io_time_in_sec number,
  inefficient_wait_time_in_sec number,
  response_time_in_sec number,
  plan_count number,
  variability number,
  average_active_sessions number,
  database_time_pct number,
  inefficiency_in_pct number,
  change_in_cpu_time_in_pct number,
  change_in_io_time_in_pct number,
  change_in_inefficient_wait_time_in_pct number,
  change_in_response_time_in_pct number,
  change_in_average_active_sessions_in_pct number,
  change_in_executions_per_hour_in_pct number,
  change_in_inefficiency_in_pct number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_statistics_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_statistics_t (
    database_time_in_sec number,
    executions_per_hour number,
    executions_count number,
    cpu_time_in_sec number,
    io_time_in_sec number,
    inefficient_wait_time_in_sec number,
    response_time_in_sec number,
    plan_count number,
    variability number,
    average_active_sessions number,
    database_time_pct number,
    inefficiency_in_pct number,
    change_in_cpu_time_in_pct number,
    change_in_io_time_in_pct number,
    change_in_inefficient_wait_time_in_pct number,
    change_in_response_time_in_pct number,
    change_in_average_active_sessions_in_pct number,
    change_in_executions_per_hour_in_pct number,
    change_in_inefficiency_in_pct number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

database_time_in_sec

(required) Database Time in seconds

executions_per_hour

(required) Number of executions per hour

executions_count

(required) Total number of executions

cpu_time_in_sec

(required) CPU Time in seconds

io_time_in_sec

(required) I/O Time in seconds

inefficient_wait_time_in_sec

(required) Inefficient Wait Time in seconds

response_time_in_sec

(required) Response time is the average elaspsed time per execution. It is the ratio of Total Database Time to the number of executions

plan_count

(required) Number of SQL execution plans used by the SQL

variability

(required) Variability is the ratio of the standard deviation in response time to the mean of response time of the SQL

average_active_sessions

(required) Average Active Sessions represent the average active sessions at a point in time. It is the number of sessions that are either working or waiting.

database_time_pct

(required) Percentage of Database Time

inefficiency_in_pct

(required) Percentage of Inefficiency. It is calculated by Total Database Time divided by Total Wait Time

change_in_cpu_time_in_pct

(required) Percent change in CPU Time based on linear regression

change_in_io_time_in_pct

(required) Percent change in IO Time based on linear regression

change_in_inefficient_wait_time_in_pct

(required) Percent change in Inefficient Wait Time based on linear regression

change_in_response_time_in_pct

(required) Percent change in Response Time based on linear regression

change_in_average_active_sessions_in_pct

(required) Percent change in Average Active Sessions based on linear regression

change_in_executions_per_hour_in_pct

(required) Percent change in Executions per hour based on linear regression

change_in_inefficiency_in_pct

(required) Percent change in Inefficiency based on linear regression

DBMS_CLOUD_OCI_OPSI_SQL_STATISTIC_AGGREGATION_T Type

SQL Statistics

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_statistic_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  sql_identifier varchar2(32767),
  database_details dbms_cloud_oci_opsi_database_details_t,
  category dbms_cloud_oci_opsi_varchar2_tbl,
  statistics dbms_cloud_oci_opsi_sql_statistics_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_statistic_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_statistic_aggregation_t (
    sql_identifier varchar2,
    database_details dbms_cloud_oci_opsi_database_details_t,
    category dbms_cloud_oci_opsi_varchar2_tbl,
    statistics dbms_cloud_oci_opsi_sql_statistics_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

sql_identifier

(required) Unique SQL_ID for a SQL Statement.

database_details

(required)

category

(required) SQL belongs to one or more categories based on the insights.

statistics

(optional)

DBMS_CLOUD_OCI_OPSI_SQL_STATISTIC_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_sql_statistic_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_statistic_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_sql_statistic_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SQL_STATISTIC_AGGREGATION_COLLECTION_T Type

SQL statistics response.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_statistic_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  items dbms_cloud_oci_opsi_sql_statistic_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_statistic_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_statistic_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    items dbms_cloud_oci_opsi_sql_statistic_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

items

(required) Array of SQLs along with its statistics statisfying the query criteria.

DBMS_CLOUD_OCI_OPSI_SQL_STATISTICS_TIME_SERIES_T Type

SQL performance statistics per database

Syntax

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

Fields

Field Description

name

(required) SQL performance statistic name

l_values

(required) SQL performance statistic value

DBMS_CLOUD_OCI_OPSI_SQL_STATISTICS_TIME_SERIES_TBL Type

Nested table type of dbms_cloud_oci_opsi_sql_statistics_time_series_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_statistics_time_series_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_sql_statistics_time_series_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SQL_STATISTICS_TIME_SERIES_AGGREGATION_T Type

Database details and SQL performance statistics for a given database

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_statistics_time_series_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  database_details dbms_cloud_oci_opsi_database_details_t,
  statistics dbms_cloud_oci_opsi_sql_statistics_time_series_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_statistics_time_series_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_statistics_time_series_aggregation_t (
    database_details dbms_cloud_oci_opsi_database_details_t,
    statistics dbms_cloud_oci_opsi_sql_statistics_time_series_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

database_details

(required)

statistics

(required) SQL performance statistics for a given database

DBMS_CLOUD_OCI_OPSI_SQL_STATISTICS_TIME_SERIES_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_sql_statistics_time_series_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_statistics_time_series_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_sql_statistics_time_series_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SQL_STATISTICS_TIME_SERIES_AGGREGATION_COLLECTION_T Type

SQL performance statistics over the selected time window.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_statistics_time_series_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  sql_identifier varchar2(32767),
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  item_duration_in_ms number,
  end_timestamps dbms_cloud_oci_opsi_timestamp_with_time_zone_tbl,
  items dbms_cloud_oci_opsi_sql_statistics_time_series_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_statistics_time_series_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_statistics_time_series_aggregation_collection_t (
    sql_identifier varchar2,
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    item_duration_in_ms number,
    end_timestamps dbms_cloud_oci_opsi_timestamp_with_time_zone_tbl,
    items dbms_cloud_oci_opsi_sql_statistics_time_series_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

sql_identifier

(required) Unique SQL_ID for a SQL Statement.

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

item_duration_in_ms

(required) Time duration in milliseconds between data points (one hour or one day).

end_timestamps

(optional) Array comprising of all the sampling period end timestamps in RFC 3339 format.

items

(required) Array of SQL performance statistics across databases.

DBMS_CLOUD_OCI_OPSI_SQL_STATISTICS_TIME_SERIES_BY_PLAN_AGGREGATION_T Type

SQL performance statistics for a given plan

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_statistics_time_series_by_plan_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  plan_hash number,
  statistics dbms_cloud_oci_opsi_sql_statistics_time_series_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_statistics_time_series_by_plan_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_statistics_time_series_by_plan_aggregation_t (
    plan_hash number,
    statistics dbms_cloud_oci_opsi_sql_statistics_time_series_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

plan_hash

(required) Plan hash value for the SQL Execution Plan

statistics

(required) SQL performance statistics for a given plan

DBMS_CLOUD_OCI_OPSI_SQL_STATISTICS_TIME_SERIES_BY_PLAN_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_sql_statistics_time_series_by_plan_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_statistics_time_series_by_plan_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_sql_statistics_time_series_by_plan_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SQL_STATISTICS_TIME_SERIES_BY_PLAN_AGGREGATION_COLLECTION_T Type

SQL performance statistics by plan over the selected time window.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_statistics_time_series_by_plan_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  sql_identifier varchar2(32767),
  id varchar2(32767),
  database_id varchar2(32767),
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  item_duration_in_ms number,
  end_timestamps dbms_cloud_oci_opsi_timestamp_with_time_zone_tbl,
  items dbms_cloud_oci_opsi_sql_statistics_time_series_by_plan_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_statistics_time_series_by_plan_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_statistics_time_series_by_plan_aggregation_collection_t (
    sql_identifier varchar2,
    id varchar2,
    database_id varchar2,
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    item_duration_in_ms number,
    end_timestamps dbms_cloud_oci_opsi_timestamp_with_time_zone_tbl,
    items dbms_cloud_oci_opsi_sql_statistics_time_series_by_plan_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

sql_identifier

(required) Unique SQL_ID for a SQL Statement.

id

(required) The OCID of the database insight resource.

database_id

(required) The OCID of the database.

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

item_duration_in_ms

(required) Time duration in milliseconds between data points (one hour or one day).

end_timestamps

(required) Array comprising of all the sampling period end timestamps in RFC 3339 format.

items

(required) array of SQL performance statistics by plans

DBMS_CLOUD_OCI_OPSI_SQL_TEXT_SUMMARY_T Type

SQL Text details

Syntax

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

Fields

Field Description

sql_identifier

(required) Unique SQL_ID for a SQL Statement.

id

(required) The OCID of the database insight resource.

database_id

(required) The OCID of the database.

compartment_id

(optional) The OCID of the compartment.

sql_text

(required) SQL Text

DBMS_CLOUD_OCI_OPSI_SQL_TEXT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_sql_text_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_text_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_sql_text_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SQL_TEXT_COLLECTION_T Type

SQL Text for the particular SQL.

Syntax

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

Fields

Field Description

items

(required) array of SQL Texts.

DBMS_CLOUD_OCI_OPSI_SQL_TYPE_DETAILS_T Type

SQL details

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_sql_type_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_related_object_type_details_t (
  sql_id varchar2(32767),
  sql_text varchar2(32767),
  is_sql_text_truncated number,
  sql_command varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_type_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_sql_type_details_t (
    l_type varchar2,
    sql_id varchar2,
    sql_text varchar2,
    is_sql_text_truncated number,
    sql_command varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_sql_type_details_t is a subtype of the dbms_cloud_oci_opsi_related_object_type_details_t type.

Fields

Field Description

sql_id

(required) SQL identifier

sql_text

(required) First 3800 characters of the SQL text

is_sql_text_truncated

(required) SQL identifier

sql_command

(required) SQL command name (such as SELECT, INSERT)

DBMS_CLOUD_OCI_OPSI_STORAGE_USAGE_TREND_T Type

Usage data samples.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_storage_usage_trend_t FORCE AUTHID CURRENT_USER IS OBJECT (
  end_timestamp timestamp with time zone,
  file_system_usage_in_g_bs number,
  file_system_avail_in_percent number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_storage_usage_trend_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_storage_usage_trend_t (
    end_timestamp timestamp with time zone,
    file_system_usage_in_g_bs number,
    file_system_avail_in_percent number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

end_timestamp

(required) The timestamp in which the current sampling period ends in RFC 3339 format.

file_system_usage_in_g_bs

(required) Filesystem usage in GB.

file_system_avail_in_percent

(required) Filesystem available in percent.

DBMS_CLOUD_OCI_OPSI_STORAGE_USAGE_TREND_TBL Type

Nested table type of dbms_cloud_oci_opsi_storage_usage_trend_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_storage_usage_trend_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_storage_usage_trend_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_STORAGE_USAGE_TREND_AGGREGATION_T Type

Usage data per filesystem.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_storage_usage_trend_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  file_system_name varchar2(32767),
  mount_point varchar2(32767),
  file_system_size_in_g_bs number,
  usage_data dbms_cloud_oci_opsi_storage_usage_trend_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_storage_usage_trend_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_storage_usage_trend_aggregation_t (
    file_system_name varchar2,
    mount_point varchar2,
    file_system_size_in_g_bs number,
    usage_data dbms_cloud_oci_opsi_storage_usage_trend_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

file_system_name

(required) Name of filesystem.

mount_point

(required) Mount points are specialized NTFS filesystem objects.

file_system_size_in_g_bs

(required) Size of filesystem.

usage_data

(required) List of usage data samples for a filesystem.

DBMS_CLOUD_OCI_OPSI_AWR_SOURCE_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_awr_source_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_awr_source_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_awr_source_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_AWR_SOURCES_SUMMARIES_COLLECTION_T Type

Collection of AwrSource summary objects.

Syntax

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

Fields

Field Description

items

(required) Array of AwrSource summary objects.

DBMS_CLOUD_OCI_OPSI_RESOURCE_CAPACITY_TREND_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_resource_capacity_trend_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_resource_capacity_trend_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_resource_capacity_trend_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_DATABASE_INSIGHT_RESOURCE_CAPACITY_TREND_AGGREGATION_COLLECTION_T Type

Collection of resource capacity trend.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_database_insight_resource_capacity_trend_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  high_utilization_threshold number,
  low_utilization_threshold number,
  resource_metric varchar2(32767),
  usage_unit varchar2(32767),
  item_duration_in_ms number,
  capacity_data dbms_cloud_oci_opsi_resource_capacity_trend_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_database_insight_resource_capacity_trend_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_database_insight_resource_capacity_trend_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    high_utilization_threshold number,
    low_utilization_threshold number,
    resource_metric varchar2,
    usage_unit varchar2,
    item_duration_in_ms number,
    capacity_data dbms_cloud_oci_opsi_resource_capacity_trend_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

high_utilization_threshold

(required) Percent value in which a resource metric is considered highly utilized.

low_utilization_threshold

(required) Percent value in which a resource metric is considered lowly utilized.

resource_metric

(required) Defines the type of resource metric (example: CPU, STORAGE)

Allowed values are: 'CPU', 'STORAGE', 'IO', 'MEMORY', 'MEMORY_PGA', 'MEMORY_SGA'

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

item_duration_in_ms

(required) Time duration in milliseconds between data points (one hour or one day).

capacity_data

(required) Capacity Data with time interval

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_DATABASE_INSIGHT_RESOURCE_FORECAST_TREND_AGGREGATION_T Type

Forecast results from the selected time period.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_database_insight_resource_forecast_trend_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  high_utilization_threshold number,
  low_utilization_threshold number,
  resource_metric varchar2(32767),
  usage_unit varchar2(32767),
  selected_forecast_algorithm varchar2(32767),
  pattern varchar2(32767),
  tablespace_name varchar2(32767),
  historical_data dbms_cloud_oci_opsi_historical_data_item_tbl,
  projected_data dbms_cloud_oci_opsi_projected_data_item_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_database_insight_resource_forecast_trend_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_database_insight_resource_forecast_trend_aggregation_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    high_utilization_threshold number,
    low_utilization_threshold number,
    resource_metric varchar2,
    usage_unit varchar2,
    selected_forecast_algorithm varchar2,
    pattern varchar2,
    tablespace_name varchar2,
    historical_data dbms_cloud_oci_opsi_historical_data_item_tbl,
    projected_data dbms_cloud_oci_opsi_projected_data_item_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

high_utilization_threshold

(required) Percent value in which a resource metric is considered highly utilized.

low_utilization_threshold

(required) Percent value in which a resource metric is considered lowly utilized.

resource_metric

(required) Defines the type of resource metric (example: CPU, STORAGE)

Allowed values are: 'CPU', 'STORAGE', 'IO', 'MEMORY', 'MEMORY_PGA', 'MEMORY_SGA'

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

selected_forecast_algorithm

(optional) Auto-ML algorithm leveraged for the forecast. Only applicable for Auto-ML forecast.

pattern

(required) Time series patterns used in the forecasting.

Allowed values are: 'LINEAR', 'MONTHLY_SEASONS', 'MONTHLY_AND_YEARLY_SEASONS', 'WEEKLY_SEASONS', 'WEEKLY_AND_MONTHLY_SEASONS', 'WEEKLY_MONTHLY_AND_YEARLY_SEASONS', 'WEEKLY_AND_YEARLY_SEASONS', 'YEARLY_SEASONS'

tablespace_name

(required) The name of tablespace.

historical_data

(required) Time series data used for the forecast analysis.

projected_data

(required) Time series data result of the forecasting analysis.

DBMS_CLOUD_OCI_OPSI_RESOURCE_STATISTICS_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_resource_statistics_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_resource_statistics_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_resource_statistics_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_DATABASE_INSIGHT_RESOURCE_STATISTICS_AGGREGATION_COLLECTION_T Type

Returns list of the Databases with resource statistics like usage, capacity, utilization and usage change percent.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_database_insight_resource_statistics_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  high_utilization_threshold number,
  low_utilization_threshold number,
  resource_metric varchar2(32767),
  usage_unit varchar2(32767),
  items dbms_cloud_oci_opsi_resource_statistics_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_database_insight_resource_statistics_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_database_insight_resource_statistics_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    high_utilization_threshold number,
    low_utilization_threshold number,
    resource_metric varchar2,
    usage_unit varchar2,
    items dbms_cloud_oci_opsi_resource_statistics_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

high_utilization_threshold

(required) Percent value in which a resource metric is considered highly utilized.

low_utilization_threshold

(required) Percent value in which a resource metric is considered lowly utilized.

resource_metric

(required) Defines the type of resource metric (example: CPU, STORAGE)

Allowed values are: 'CPU', 'STORAGE', 'IO', 'MEMORY', 'MEMORY_PGA', 'MEMORY_SGA'

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

items

(required) Collection of Resource Statistics items

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_DATABASE_INSIGHT_RESOURCE_USAGE_AGGREGATION_T Type

Resource usage summation for the current time period

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_database_insight_resource_usage_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  resource_metric varchar2(32767),
  usage_unit varchar2(32767),
  usage number,
  l_capacity number,
  usage_change_percent number,
  total_host_capacity number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_database_insight_resource_usage_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_database_insight_resource_usage_aggregation_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    resource_metric varchar2,
    usage_unit varchar2,
    usage number,
    l_capacity number,
    usage_change_percent number,
    total_host_capacity number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

resource_metric

(required) Defines the type of resource metric (example: CPU, STORAGE)

Allowed values are: 'CPU', 'STORAGE', 'IO', 'MEMORY', 'MEMORY_PGA', 'MEMORY_SGA'

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

usage

(required) Total amount used of the resource metric type (CPU, STORAGE).

l_capacity

(required) The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

usage_change_percent

(required) Percentage change in resource usage during the current period calculated using linear regression functions

total_host_capacity

(optional) The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.

DBMS_CLOUD_OCI_OPSI_RESOURCE_USAGE_TREND_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_resource_usage_trend_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_resource_usage_trend_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_resource_usage_trend_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_DATABASE_INSIGHT_RESOURCE_USAGE_TREND_AGGREGATION_COLLECTION_T Type

Top level response object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_database_insight_resource_usage_trend_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  resource_metric varchar2(32767),
  usage_unit varchar2(32767),
  item_duration_in_ms number,
  usage_data dbms_cloud_oci_opsi_resource_usage_trend_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_database_insight_resource_usage_trend_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_database_insight_resource_usage_trend_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    resource_metric varchar2,
    usage_unit varchar2,
    item_duration_in_ms number,
    usage_data dbms_cloud_oci_opsi_resource_usage_trend_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

resource_metric

(required) Defines the type of resource metric (example: CPU, STORAGE)

Allowed values are: 'CPU', 'STORAGE', 'IO', 'MEMORY', 'MEMORY_PGA', 'MEMORY_SGA'

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

item_duration_in_ms

(required) Time duration in milliseconds between data points (one hour or one day).

usage_data

(required) Usage Data with time stamps

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_DATABASE_INSIGHT_RESOURCE_UTILIZATION_INSIGHT_AGGREGATION_T Type

Insights response containing current/projected groups for storage or CPU.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_database_insight_resource_utilization_insight_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  high_utilization_threshold number,
  low_utilization_threshold number,
  resource_metric varchar2(32767),
  projected_utilization dbms_cloud_oci_opsi_resource_insight_projected_utilization_t,
  current_utilization dbms_cloud_oci_opsi_resource_insight_current_utilization_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_database_insight_resource_utilization_insight_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_database_insight_resource_utilization_insight_aggregation_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    high_utilization_threshold number,
    low_utilization_threshold number,
    resource_metric varchar2,
    projected_utilization dbms_cloud_oci_opsi_resource_insight_projected_utilization_t,
    current_utilization dbms_cloud_oci_opsi_resource_insight_current_utilization_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

high_utilization_threshold

(required) Percent value in which a resource metric is considered highly utilized.

low_utilization_threshold

(required) Percent value in which a resource metric is considered lowly utilized.

resource_metric

(required) Defines the type of resource metric (example: CPU, STORAGE)

Allowed values are: 'CPU', 'STORAGE', 'IO', 'MEMORY', 'MEMORY_PGA', 'MEMORY_SGA'

projected_utilization

(required)

current_utilization

(required)

DBMS_CLOUD_OCI_OPSI_TABLESPACE_USAGE_TREND_T Type

Usage data samples

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_tablespace_usage_trend_t FORCE AUTHID CURRENT_USER IS OBJECT (
  end_timestamp timestamp with time zone,
  usage number,
  l_capacity number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_tablespace_usage_trend_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_tablespace_usage_trend_t (
    end_timestamp timestamp with time zone,
    usage number,
    l_capacity number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

end_timestamp

(required) The timestamp in which the current sampling period ends in RFC 3339 format.

usage

(required) Total amount used of the resource metric type (CPU, STORAGE).

l_capacity

(required) The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

DBMS_CLOUD_OCI_OPSI_TABLESPACE_USAGE_TREND_TBL Type

Nested table type of dbms_cloud_oci_opsi_tablespace_usage_trend_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_tablespace_usage_trend_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_tablespace_usage_trend_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_TABLESPACE_USAGE_TREND_AGGREGATION_T Type

Usage data per tablespace for a Pluggable database

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_tablespace_usage_trend_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  tablespace_name varchar2(32767),
  tablespace_type varchar2(32767),
  usage_data dbms_cloud_oci_opsi_tablespace_usage_trend_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_tablespace_usage_trend_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_tablespace_usage_trend_aggregation_t (
    tablespace_name varchar2,
    tablespace_type varchar2,
    usage_data dbms_cloud_oci_opsi_tablespace_usage_trend_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

tablespace_name

(required) The name of tablespace.

tablespace_type

(required) Type of tablespace

usage_data

(required) List of usage data samples for a tablespace

DBMS_CLOUD_OCI_OPSI_TABLESPACE_USAGE_TREND_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_tablespace_usage_trend_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_tablespace_usage_trend_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_tablespace_usage_trend_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_DATABASE_INSIGHT_TABLESPACE_USAGE_TREND_AGGREGATION_COLLECTION_T Type

Top level response object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_database_insight_tablespace_usage_trend_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  usage_unit varchar2(32767),
  item_duration_in_ms number,
  items dbms_cloud_oci_opsi_tablespace_usage_trend_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_database_insight_tablespace_usage_trend_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_database_insight_tablespace_usage_trend_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    usage_unit varchar2,
    item_duration_in_ms number,
    items dbms_cloud_oci_opsi_tablespace_usage_trend_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

item_duration_in_ms

(required) Time duration in milliseconds between data points (one hour or one day).

items

(required) Collection of Usage Data with time stamps for top five tablespace

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_EXADATA_INSIGHT_RESOURCE_CAPACITY_TREND_AGGREGATION_T Type

Collection of resource capacity trend.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_exadata_insight_resource_capacity_trend_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  exadata_resource_metric varchar2(32767),
  exadata_resource_type varchar2(32767),
  usage_unit varchar2(32767),
  item_duration_in_ms number,
  capacity_data dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_capacity_trend_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_capacity_trend_aggregation_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    exadata_resource_metric varchar2,
    exadata_resource_type varchar2,
    usage_unit varchar2,
    item_duration_in_ms number,
    capacity_data dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

exadata_resource_metric

(required) Defines the type of exadata resource metric (example: CPU, STORAGE)

Allowed values are: 'CPU', 'STORAGE', 'IO', 'MEMORY', 'IOPS', 'THROUGHPUT'

exadata_resource_type

(required) Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)

Allowed values are: 'DATABASE', 'HOST', 'STORAGE_SERVER', 'DISKGROUP'

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

item_duration_in_ms

(required) Time duration in milliseconds between data points (one hour or one day).

capacity_data

(required) Capacity Data with time interval

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHT_RESOURCE_CAPACITY_TREND_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_EXADATA_INSIGHT_RESOURCE_CAPACITY_TREND_COLLECTION_T Type

capacity results with breakdown by databases, hosts, storage servers or diskgroup.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_exadata_insight_resource_capacity_trend_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  exadata_insight_id varchar2(32767),
  exadata_resource_type varchar2(32767),
  exadata_resource_metric varchar2(32767),
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  usage_unit varchar2(32767),
  items dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_capacity_trend_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_capacity_trend_collection_t (
    exadata_insight_id varchar2,
    exadata_resource_type varchar2,
    exadata_resource_metric varchar2,
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    usage_unit varchar2,
    items dbms_cloud_oci_opsi_exadata_insight_resource_capacity_trend_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

exadata_insight_id

(required) The OCID of the Exadata insight.

exadata_resource_type

(required) Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)

Allowed values are: 'DATABASE', 'HOST', 'STORAGE_SERVER', 'DISKGROUP'

exadata_resource_metric

(required) Defines the type of exadata resource metric (example: CPU, STORAGE)

Allowed values are: 'CPU', 'STORAGE', 'IO', 'MEMORY', 'IOPS', 'THROUGHPUT'

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

items

(required) Capacity Data with time interval

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_EXADATA_INSIGHT_RESOURCE_FORECAST_TREND_AGGREGATION_T Type

Usage and Forecast results from the selected time period.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_exadata_insight_resource_forecast_trend_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  exadata_resource_metric varchar2(32767),
  exadata_resource_type varchar2(32767),
  usage_unit varchar2(32767),
  selected_forecast_algorithm varchar2(32767),
  pattern varchar2(32767),
  days_to_reach_capacity number,
  historical_data dbms_cloud_oci_opsi_historical_data_item_tbl,
  projected_data dbms_cloud_oci_opsi_projected_data_item_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_forecast_trend_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_forecast_trend_aggregation_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    exadata_resource_metric varchar2,
    exadata_resource_type varchar2,
    usage_unit varchar2,
    selected_forecast_algorithm varchar2,
    pattern varchar2,
    days_to_reach_capacity number,
    historical_data dbms_cloud_oci_opsi_historical_data_item_tbl,
    projected_data dbms_cloud_oci_opsi_projected_data_item_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

exadata_resource_metric

(required) Defines the type of exadata resource metric (example: CPU, STORAGE)

Allowed values are: 'CPU', 'STORAGE', 'IO', 'MEMORY', 'IOPS', 'THROUGHPUT'

exadata_resource_type

(required) Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)

Allowed values are: 'DATABASE', 'HOST', 'STORAGE_SERVER', 'DISKGROUP'

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

selected_forecast_algorithm

(optional) Auto-ML algorithm leveraged for the forecast. Only applicable for Auto-ML forecast.

pattern

(required) Time series patterns used in the forecasting.

Allowed values are: 'LINEAR', 'MONTHLY_SEASONS', 'MONTHLY_AND_YEARLY_SEASONS', 'WEEKLY_SEASONS', 'WEEKLY_AND_MONTHLY_SEASONS', 'WEEKLY_MONTHLY_AND_YEARLY_SEASONS', 'WEEKLY_AND_YEARLY_SEASONS', 'YEARLY_SEASONS'

days_to_reach_capacity

(required) Days to reach capacity for a storage server

historical_data

(required) Time series data used for the forecast analysis.

projected_data

(required) Time series data result of the forecasting analysis.

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHT_RESOURCE_FORECAST_TREND_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_exadata_insight_resource_forecast_trend_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insight_resource_forecast_trend_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_exadata_insight_resource_forecast_trend_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_EXADATA_INSIGHT_RESOURCE_FORECAST_TREND_COLLECTION_T Type

Usage and Forecast results with breakdown by databases, hosts or storage servers.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_exadata_insight_resource_forecast_trend_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  exadata_insight_id varchar2(32767),
  exadata_resource_type varchar2(32767),
  exadata_resource_metric varchar2(32767),
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  usage_unit varchar2(32767),
  items dbms_cloud_oci_opsi_exadata_insight_resource_forecast_trend_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_forecast_trend_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_forecast_trend_collection_t (
    exadata_insight_id varchar2,
    exadata_resource_type varchar2,
    exadata_resource_metric varchar2,
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    usage_unit varchar2,
    items dbms_cloud_oci_opsi_exadata_insight_resource_forecast_trend_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

exadata_insight_id

(required) The OCID of the Exadata insight.

exadata_resource_type

(required) Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)

Allowed values are: 'DATABASE', 'HOST', 'STORAGE_SERVER', 'DISKGROUP'

exadata_resource_metric

(required) Defines the type of exadata resource metric (example: CPU, STORAGE)

Allowed values are: 'CPU', 'STORAGE', 'IO', 'MEMORY', 'IOPS', 'THROUGHPUT'

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

items

(required) Collection of id, name , daysToReach Capacity, historical usage and projected usage forecast.

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHT_RESOURCE_STATISTICS_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_exadata_insight_resource_statistics_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insight_resource_statistics_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_exadata_insight_resource_statistics_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_EXADATA_INSIGHT_RESOURCE_STATISTICS_AGGREGATION_COLLECTION_T Type

Returns list of the resources with resource statistics like usage,capacity,utilization and usage change percent.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_exadata_insight_resource_statistics_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  items dbms_cloud_oci_opsi_exadata_insight_resource_statistics_aggregation_tbl,
  usage_unit varchar2(32767),
  exadata_resource_metric varchar2(32767),
  exadata_insight_id varchar2(32767),
  exadata_display_name varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_statistics_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_statistics_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    items dbms_cloud_oci_opsi_exadata_insight_resource_statistics_aggregation_tbl,
    usage_unit varchar2,
    exadata_resource_metric varchar2,
    exadata_insight_id varchar2,
    exadata_display_name varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

items

(required) Collection of Resource Statistics items

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

exadata_resource_metric

(required) Defines the type of exadata resource metric (example: CPU, STORAGE)

Allowed values are: 'CPU', 'STORAGE', 'IO', 'MEMORY', 'IOPS', 'THROUGHPUT'

exadata_insight_id

(required) The OCID of the Exadata insight.

exadata_display_name

(optional) The user-friendly name for the Exadata system. The name does not have to be unique.

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_EXADATA_INSIGHT_RESOURCE_USAGE_AGGREGATION_T Type

Resource usage summation for the current time period

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_exadata_insight_resource_usage_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  exadata_resource_metric varchar2(32767),
  exadata_resource_type varchar2(32767),
  usage_unit varchar2(32767),
  usage number,
  l_capacity number,
  usage_change_percent number,
  total_host_capacity number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_usage_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_usage_aggregation_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    exadata_resource_metric varchar2,
    exadata_resource_type varchar2,
    usage_unit varchar2,
    usage number,
    l_capacity number,
    usage_change_percent number,
    total_host_capacity number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

exadata_resource_metric

(required) Defines the type of exadata resource metric (example: CPU, STORAGE)

Allowed values are: 'CPU', 'STORAGE', 'IO', 'MEMORY', 'IOPS', 'THROUGHPUT'

exadata_resource_type

(required) Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)

Allowed values are: 'DATABASE', 'HOST', 'STORAGE_SERVER', 'DISKGROUP'

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

usage

(required) Total amount used of the resource metric type (CPU, STORAGE).

l_capacity

(required) The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

usage_change_percent

(required) Percentage change in resource usage during the current period calculated using linear regression functions

total_host_capacity

(optional) The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.

DBMS_CLOUD_OCI_OPSI_RESOURCE_USAGE_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_resource_usage_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_resource_usage_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_resource_usage_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_EXADATA_INSIGHT_RESOURCE_USAGE_COLLECTION_T Type

Resource usage , allocation, utilization and usage ChangePercent for the current time period

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_exadata_insight_resource_usage_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  exadata_resource_metric varchar2(32767),
  exadata_resource_type varchar2(32767),
  usage_unit varchar2(32767),
  items dbms_cloud_oci_opsi_resource_usage_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_usage_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_usage_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    exadata_resource_metric varchar2,
    exadata_resource_type varchar2,
    usage_unit varchar2,
    items dbms_cloud_oci_opsi_resource_usage_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

exadata_resource_metric

(required) Defines the type of exadata resource metric (example: CPU, STORAGE)

Allowed values are: 'CPU', 'STORAGE', 'IO', 'MEMORY', 'IOPS', 'THROUGHPUT'

exadata_resource_type

(required) Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)

Allowed values are: 'DATABASE', 'HOST', 'STORAGE_SERVER', 'DISKGROUP'

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

items

(required) Collection of Resource Usage Summary items

DBMS_CLOUD_OCI_OPSI_EXADATA_INSIGHT_RESOURCE_INSIGHT_UTILIZATION_ITEM_TBL Type

Nested table type of dbms_cloud_oci_opsi_exadata_insight_resource_insight_utilization_item_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_exadata_insight_resource_insight_utilization_item_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_exadata_insight_resource_insight_utilization_item_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_EXADATA_INSIGHT_RESOURCE_UTILIZATION_INSIGHT_AGGREGATION_T Type

Insights response containing utilization values for exadata systems.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_exadata_insight_resource_utilization_insight_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  exadata_resource_metric varchar2(32767),
  exadata_resource_type varchar2(32767),
  utilization dbms_cloud_oci_opsi_exadata_insight_resource_insight_utilization_item_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_utilization_insight_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_exadata_insight_resource_utilization_insight_aggregation_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    exadata_resource_metric varchar2,
    exadata_resource_type varchar2,
    utilization dbms_cloud_oci_opsi_exadata_insight_resource_insight_utilization_item_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

exadata_resource_metric

(required) Defines the type of exadata resource metric (example: CPU, STORAGE)

Allowed values are: 'CPU', 'STORAGE', 'IO', 'MEMORY', 'IOPS', 'THROUGHPUT'

exadata_resource_type

(required) Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)

Allowed values are: 'DATABASE', 'HOST', 'STORAGE_SERVER', 'DISKGROUP'

utilization

(required) Collection of Exadata system utilization

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_HOST_INSIGHT_HOST_RECOMMENDATION_AGGREGATION_T Type

Returns list of hosts with resource statistics like usage, capacity, utilization, usage change percent and load.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_host_insight_host_recommendation_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  resource_metric varchar2(32767),
  usage_unit varchar2(32767),
  item_duration_in_ms number,
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  details dbms_cloud_oci_opsi_host_insight_host_recommendations_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_host_recommendation_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_host_recommendation_aggregation_t (
    resource_metric varchar2,
    usage_unit varchar2,
    item_duration_in_ms number,
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    details dbms_cloud_oci_opsi_host_insight_host_recommendations_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

resource_metric

(required) Defines the type of resource metric (CPU, Physical Memory, Logical Memory)

Allowed values are: 'CPU', 'MEMORY', 'LOGICAL_MEMORY', 'STORAGE', 'NETWORK'

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

item_duration_in_ms

(required) Time duration in milliseconds between data points (one hour or one day).

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

details

(optional)

DBMS_CLOUD_OCI_OPSI_NETWORK_USAGE_TREND_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_network_usage_trend_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_network_usage_trend_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_network_usage_trend_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_HOST_INSIGHT_NETWORK_USAGE_TREND_AGGREGATION_COLLECTION_T Type

Top level response object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_host_insight_network_usage_trend_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  usage_unit varchar2(32767),
  item_duration_in_ms number,
  items dbms_cloud_oci_opsi_network_usage_trend_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_network_usage_trend_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_network_usage_trend_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    usage_unit varchar2,
    item_duration_in_ms number,
    items dbms_cloud_oci_opsi_network_usage_trend_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

item_duration_in_ms

(required) Time duration in milliseconds between data points (one hour or one day).

items

(required) Collection of Usage Data with time stamps for all network interfaces.

DBMS_CLOUD_OCI_OPSI_HOST_RESOURCE_CAPACITY_TREND_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_host_resource_capacity_trend_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_resource_capacity_trend_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_host_resource_capacity_trend_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_HOST_INSIGHT_RESOURCE_CAPACITY_TREND_AGGREGATION_COLLECTION_T Type

Top level response object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_host_insight_resource_capacity_trend_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  high_utilization_threshold number,
  low_utilization_threshold number,
  resource_metric varchar2(32767),
  usage_unit varchar2(32767),
  item_duration_in_ms number,
  capacity_data dbms_cloud_oci_opsi_host_resource_capacity_trend_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_resource_capacity_trend_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_resource_capacity_trend_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    high_utilization_threshold number,
    low_utilization_threshold number,
    resource_metric varchar2,
    usage_unit varchar2,
    item_duration_in_ms number,
    capacity_data dbms_cloud_oci_opsi_host_resource_capacity_trend_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

high_utilization_threshold

(required) Percent value in which a resource metric is considered highly utilized.

low_utilization_threshold

(required) Percent value in which a resource metric is considered lowly utilized.

resource_metric

(required) Defines the type of resource metric (CPU, Physical Memory, Logical Memory)

Allowed values are: 'CPU', 'MEMORY', 'LOGICAL_MEMORY', 'STORAGE', 'NETWORK'

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

item_duration_in_ms

(required) Time duration in milliseconds between data points (one hour or one day).

capacity_data

(required) Capacity Data with timestamp.

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_HOST_INSIGHT_RESOURCE_FORECAST_TREND_AGGREGATION_T Type

Forecast results from the selected time period.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_host_insight_resource_forecast_trend_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  high_utilization_threshold number,
  low_utilization_threshold number,
  resource_metric varchar2(32767),
  usage_unit varchar2(32767),
  selected_forecast_algorithm varchar2(32767),
  pattern varchar2(32767),
  historical_data dbms_cloud_oci_opsi_historical_data_item_tbl,
  projected_data dbms_cloud_oci_opsi_projected_data_item_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_resource_forecast_trend_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_resource_forecast_trend_aggregation_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    high_utilization_threshold number,
    low_utilization_threshold number,
    resource_metric varchar2,
    usage_unit varchar2,
    selected_forecast_algorithm varchar2,
    pattern varchar2,
    historical_data dbms_cloud_oci_opsi_historical_data_item_tbl,
    projected_data dbms_cloud_oci_opsi_projected_data_item_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

high_utilization_threshold

(required) Percent value in which a resource metric is considered highly utilized.

low_utilization_threshold

(required) Percent value in which a resource metric is considered lowly utilized.

resource_metric

(required) Defines the type of resource metric (CPU, Physical Memory, Logical Memory)

Allowed values are: 'CPU', 'MEMORY', 'LOGICAL_MEMORY', 'STORAGE', 'NETWORK'

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

selected_forecast_algorithm

(optional) Auto-ML algorithm leveraged for the forecast. Only applicable for Auto-ML forecast.

pattern

(required) Time series patterns used in the forecasting.

Allowed values are: 'LINEAR', 'MONTHLY_SEASONS', 'MONTHLY_AND_YEARLY_SEASONS', 'WEEKLY_SEASONS', 'WEEKLY_AND_MONTHLY_SEASONS', 'WEEKLY_MONTHLY_AND_YEARLY_SEASONS', 'WEEKLY_AND_YEARLY_SEASONS', 'YEARLY_SEASONS'

historical_data

(required) Time series data used for the forecast analysis.

projected_data

(required) Time series data result of the forecasting analysis.

DBMS_CLOUD_OCI_OPSI_HOST_INSIGHT_RESOURCE_STATISTICS_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_host_insight_resource_statistics_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_host_insight_resource_statistics_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_host_insight_resource_statistics_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_HOST_INSIGHT_RESOURCE_STATISTICS_AGGREGATION_COLLECTION_T Type

Returns list of hosts with resource statistics like usage, capacity, utilization, usage change percent and load.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_host_insight_resource_statistics_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  high_utilization_threshold number,
  low_utilization_threshold number,
  resource_metric varchar2(32767),
  usage_unit varchar2(32767),
  items dbms_cloud_oci_opsi_host_insight_resource_statistics_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_resource_statistics_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_resource_statistics_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    high_utilization_threshold number,
    low_utilization_threshold number,
    resource_metric varchar2,
    usage_unit varchar2,
    items dbms_cloud_oci_opsi_host_insight_resource_statistics_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

high_utilization_threshold

(required) Percent value in which a resource metric is considered highly utilized.

low_utilization_threshold

(required) Percent value in which a resource metric is considered lowly utilized.

resource_metric

(required) Defines the type of resource metric (CPU, Physical Memory, Logical Memory)

Allowed values are: 'CPU', 'MEMORY', 'LOGICAL_MEMORY', 'STORAGE', 'NETWORK'

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

items

(required) Collection of Resource Statistics items

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_HOST_INSIGHT_RESOURCE_USAGE_AGGREGATION_T Type

Resource usage summation for the current time period.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_host_insight_resource_usage_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  resource_metric varchar2(32767),
  usage_unit varchar2(32767),
  usage number,
  l_capacity number,
  usage_change_percent number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_resource_usage_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_resource_usage_aggregation_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    resource_metric varchar2,
    usage_unit varchar2,
    usage number,
    l_capacity number,
    usage_change_percent number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

resource_metric

(required) Defines the type of resource metric (CPU, Physical Memory, Logical Memory)

Allowed values are: 'CPU', 'MEMORY', 'LOGICAL_MEMORY', 'STORAGE', 'NETWORK'

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

usage

(required) Total amount used of the resource metric type (CPU, STORAGE).

l_capacity

(required) The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

usage_change_percent

(required) Percentage change in resource usage during the current period calculated using linear regression functions

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_HOST_INSIGHT_RESOURCE_USAGE_TREND_AGGREGATION_COLLECTION_T Type

Top level response object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_host_insight_resource_usage_trend_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  resource_metric varchar2(32767),
  usage_unit varchar2(32767),
  item_duration_in_ms number,
  usage_data dbms_cloud_oci_opsi_resource_usage_trend_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_resource_usage_trend_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_resource_usage_trend_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    resource_metric varchar2,
    usage_unit varchar2,
    item_duration_in_ms number,
    usage_data dbms_cloud_oci_opsi_resource_usage_trend_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

resource_metric

(required) Defines the type of resource metric (CPU, Physical Memory, Logical Memory)

Allowed values are: 'CPU', 'MEMORY', 'LOGICAL_MEMORY', 'STORAGE', 'NETWORK'

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

item_duration_in_ms

(required) Time duration in milliseconds between data points (one hour or one day).

usage_data

(required) Usage Data with timestamp.

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_HOST_INSIGHT_RESOURCE_UTILIZATION_INSIGHT_AGGREGATION_T Type

Insights response containing current/projected groups for CPU or memory.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_host_insight_resource_utilization_insight_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  high_utilization_threshold number,
  low_utilization_threshold number,
  resource_metric varchar2(32767),
  projected_utilization dbms_cloud_oci_opsi_resource_insight_projected_utilization_t,
  current_utilization dbms_cloud_oci_opsi_resource_insight_current_utilization_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_resource_utilization_insight_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_resource_utilization_insight_aggregation_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    high_utilization_threshold number,
    low_utilization_threshold number,
    resource_metric varchar2,
    projected_utilization dbms_cloud_oci_opsi_resource_insight_projected_utilization_t,
    current_utilization dbms_cloud_oci_opsi_resource_insight_current_utilization_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

high_utilization_threshold

(required) Percent value in which a resource metric is considered highly utilized.

low_utilization_threshold

(required) Percent value in which a resource metric is considered lowly utilized.

resource_metric

(required) Defines the type of resource metric (CPU, Physical Memory, Logical Memory)

Allowed values are: 'CPU', 'MEMORY', 'LOGICAL_MEMORY', 'STORAGE', 'NETWORK'

projected_utilization

(required)

current_utilization

(required)

DBMS_CLOUD_OCI_OPSI_STORAGE_USAGE_TREND_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_storage_usage_trend_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_storage_usage_trend_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_storage_usage_trend_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_HOST_INSIGHT_STORAGE_USAGE_TREND_AGGREGATION_COLLECTION_T Type

Top level response object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_host_insight_storage_usage_trend_aggregation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  usage_unit varchar2(32767),
  item_duration_in_ms number,
  items dbms_cloud_oci_opsi_storage_usage_trend_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_storage_usage_trend_aggregation_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insight_storage_usage_trend_aggregation_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    usage_unit varchar2,
    item_duration_in_ms number,
    items dbms_cloud_oci_opsi_storage_usage_trend_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

item_duration_in_ms

(required) Time duration in milliseconds between data points (one hour or one day).

items

(required) Collection of Usage Data with time stamps for all filesystems.

DBMS_CLOUD_OCI_OPSI_DISK_STATISTICS_TBL Type

Nested table type of dbms_cloud_oci_opsi_disk_statistics_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_disk_statistics_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_disk_statistics_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_HOST_INSIGHTS_DISK_STATISTICS_COLLECTION_T Type

Top level response object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_host_insights_disk_statistics_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  usage_unit varchar2(32767),
  item_duration_in_ms number,
  items dbms_cloud_oci_opsi_disk_statistics_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insights_disk_statistics_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insights_disk_statistics_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    usage_unit varchar2,
    item_duration_in_ms number,
    items dbms_cloud_oci_opsi_disk_statistics_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

usage_unit

(required) Displays usage unit ( CORES, GB , PERCENT, MBPS)

Allowed values are: 'CORES', 'GB', 'MBPS', 'IOPS', 'PERCENT'

item_duration_in_ms

(required) Time duration in milliseconds between data points (one hour or one day).

items

(required) Collection of Data for all disks in a host.

DBMS_CLOUD_OCI_OPSI_TOP_PROCESSES_USAGE_T Type

Aggregated data for top processes on a specific date.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_top_processes_usage_t FORCE AUTHID CURRENT_USER IS OBJECT (
  command varchar2(32767),
  process_hash varchar2(32767),
  cpu_usage number,
  cpu_utilization number,
  memory_utilization number,
  virtual_memory_in_m_bs number,
  physical_memory_in_m_bs number,
  max_process_count number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_top_processes_usage_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_top_processes_usage_t (
    command varchar2,
    process_hash varchar2,
    cpu_usage number,
    cpu_utilization number,
    memory_utilization number,
    virtual_memory_in_m_bs number,
    physical_memory_in_m_bs number,
    max_process_count number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

command

(required) Command line and arguments used to launch process.

process_hash

(required) Unique identifier for a process.

cpu_usage

(required) Process CPU usage.

cpu_utilization

(required) Process CPU utilization percentage.

memory_utilization

(required) Process memory utilization percentage.

virtual_memory_in_m_bs

(required) Process virtual memory in Megabytes.

physical_memory_in_m_bs

(required) Procress physical memory in Megabytes.

max_process_count

(required) Maximum number of processes running at time of collection.

DBMS_CLOUD_OCI_OPSI_TOP_PROCESSES_USAGE_TBL Type

Nested table type of dbms_cloud_oci_opsi_top_processes_usage_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_top_processes_usage_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_top_processes_usage_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_HOST_INSIGHTS_TOP_PROCESSES_USAGE_COLLECTION_T Type

Top level response object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_host_insights_top_processes_usage_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  l_timestamp timestamp with time zone,
  items dbms_cloud_oci_opsi_top_processes_usage_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insights_top_processes_usage_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insights_top_processes_usage_collection_t (
    l_timestamp timestamp with time zone,
    items dbms_cloud_oci_opsi_top_processes_usage_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

l_timestamp

(required) The start timestamp that was passed into the request.

items

(required) List of usage data samples for a top process on a specific date.

DBMS_CLOUD_OCI_OPSI_TOP_PROCESSES_USAGE_TREND_T Type

Aggregated data for top processes

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_top_processes_usage_trend_t FORCE AUTHID CURRENT_USER IS OBJECT (
  end_timestamp timestamp with time zone,
  cpu_usage number,
  cpu_utilization number,
  memory_utilization number,
  virtual_memory_in_m_bs number,
  physical_memory_in_m_bs number,
  max_process_count number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_top_processes_usage_trend_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_top_processes_usage_trend_t (
    end_timestamp timestamp with time zone,
    cpu_usage number,
    cpu_utilization number,
    memory_utilization number,
    virtual_memory_in_m_bs number,
    physical_memory_in_m_bs number,
    max_process_count number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

end_timestamp

(required) The timestamp in which the current sampling period ends in RFC 3339 format.

cpu_usage

(required) Process CPU usage.

cpu_utilization

(required) Process CPU utilization percentage

memory_utilization

(required) Process memory utilization percentage

virtual_memory_in_m_bs

(required) Process virtual memory in Megabytes

physical_memory_in_m_bs

(required) Procress physical memory in Megabytes

max_process_count

(required) Maximum number of processes running at time of collection

DBMS_CLOUD_OCI_OPSI_TOP_PROCESSES_USAGE_TREND_TBL Type

Nested table type of dbms_cloud_oci_opsi_top_processes_usage_trend_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_top_processes_usage_trend_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_top_processes_usage_trend_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_TOP_PROCESSES_USAGE_TREND_AGGREGATION_T Type

Usage data per host top process

Syntax

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

Fields

Field Description

command

(required) Command line and arguments used to launch process

usage_data

(required) List of usage data samples for a top process

DBMS_CLOUD_OCI_OPSI_TOP_PROCESSES_USAGE_TREND_AGGREGATION_TBL Type

Nested table type of dbms_cloud_oci_opsi_top_processes_usage_trend_aggregation_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_top_processes_usage_trend_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_top_processes_usage_trend_aggregation_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_HOST_INSIGHTS_TOP_PROCESSES_USAGE_TREND_COLLECTION_T Type

Top level response object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_host_insights_top_processes_usage_trend_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  time_interval_start timestamp with time zone,
  time_interval_end timestamp with time zone,
  items dbms_cloud_oci_opsi_top_processes_usage_trend_aggregation_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insights_top_processes_usage_trend_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_host_insights_top_processes_usage_trend_collection_t (
    time_interval_start timestamp with time zone,
    time_interval_end timestamp with time zone,
    items dbms_cloud_oci_opsi_top_processes_usage_trend_aggregation_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

time_interval_start

(required) The start timestamp that was passed into the request.

time_interval_end

(required) The end timestamp that was passed into the request.

items

(required) Collection of Usage Data with time stamps for top processes

DBMS_CLOUD_OCI_OPSI_SUMMARIZE_OPERATIONS_INSIGHTS_WAREHOUSE_RESOURCE_USAGE_AGGREGATION_T Type

Details of resource usage by an Operations Insights Warehouse resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_summarize_operations_insights_warehouse_resource_usage_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  cpu_used number,
  storage_used_in_g_bs number,
  lifecycle_state varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_operations_insights_warehouse_resource_usage_aggregation_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_summarize_operations_insights_warehouse_resource_usage_aggregation_t (
    id varchar2,
    cpu_used number,
    storage_used_in_g_bs number,
    lifecycle_state varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) OPSI Warehouse OCID

cpu_used

(optional) Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.

storage_used_in_g_bs

(optional) Storage by OPSI Warehouse ADW in GB.

lifecycle_state

(required) Possible lifecycle states

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

DBMS_CLOUD_OCI_OPSI_UPDATE_DATABASE_INSIGHT_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_database_insight_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  entity_source varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_database_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_database_insight_details_t (
    entity_source varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

entity_source

(required) Source of the database entity.

Allowed values are: 'AUTONOMOUS_DATABASE', 'EM_MANAGED_EXTERNAL_DATABASE', 'MACS_MANAGED_EXTERNAL_DATABASE', 'PE_COMANAGED_DATABASE'

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_OPSI_UPDATE_AUTONOMOUS_DATABASE_INSIGHT_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_autonomous_database_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_update_database_insight_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_autonomous_database_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_autonomous_database_insight_details_t (
    entity_source varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_update_autonomous_database_insight_details_t is a subtype of the dbms_cloud_oci_opsi_update_database_insight_details_t type.

DBMS_CLOUD_OCI_OPSI_UPDATE_AWR_HUB_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_awr_hub_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  display_name varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_awr_hub_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_awr_hub_details_t (
    display_name varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

display_name

(optional) User-friedly name of AWR Hub that does not have to be unique.

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_OPSI_UPDATE_AWR_HUB_SOURCE_DETAILS_T Type

Awr hub source update object information

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_awr_hub_source_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  l_type varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_awr_hub_source_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_awr_hub_source_details_t (
    l_type varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

l_type

(optional) source type of the database

Allowed values are: 'ADW_S', 'ATP_S', 'ADW_D', 'ATP_D', 'EXTERNAL_PDB', 'EXTERNAL_NONCDB', 'COMANAGED_VM_CDB', 'COMANAGED_VM_PDB', 'COMANAGED_VM_NONCDB', 'COMANAGED_BM_CDB', 'COMANAGED_BM_PDB', 'COMANAGED_BM_NONCDB', 'COMANAGED_EXACS_CDB', 'COMANAGED_EXACS_PDB', 'COMANAGED_EXACS_NONCDB', 'UNDEFINED'

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_OPSI_UPDATE_CONFIGURATION_ITEM_DETAILS_T Type

Configuration item details for OPSI configuration update.

Syntax

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

Fields

Field Description

config_item_type

(required) Type of configuration item.

Allowed values are: 'BASIC'

DBMS_CLOUD_OCI_OPSI_UPDATE_BASIC_CONFIGURATION_ITEM_DETAILS_T Type

Configuration item details for OPSI configuration update.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_basic_configuration_item_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_update_configuration_item_details_t (
  name varchar2(32767),
  value varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_basic_configuration_item_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_basic_configuration_item_details_t (
    config_item_type varchar2,
    name varchar2,
    value varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_update_basic_configuration_item_details_t is a subtype of the dbms_cloud_oci_opsi_update_configuration_item_details_t type.

Fields

Field Description

name

(optional) Name of configuration item.

value

(optional) Value of configuration item.

DBMS_CLOUD_OCI_OPSI_UPDATE_EM_MANAGED_EXTERNAL_DATABASE_INSIGHT_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_em_managed_external_database_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_update_database_insight_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_em_managed_external_database_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_em_managed_external_database_insight_details_t (
    entity_source varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_update_em_managed_external_database_insight_details_t is a subtype of the dbms_cloud_oci_opsi_update_database_insight_details_t type.

DBMS_CLOUD_OCI_OPSI_UPDATE_EXADATA_INSIGHT_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_exadata_insight_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  entity_source varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_exadata_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_exadata_insight_details_t (
    entity_source varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

entity_source

(required) Source of the Exadata system.

Allowed values are: 'EM_MANAGED_EXTERNAL_EXADATA', 'PE_COMANAGED_EXADATA'

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_OPSI_UPDATE_EM_MANAGED_EXTERNAL_EXADATA_INSIGHT_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_em_managed_external_exadata_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_update_exadata_insight_details_t (
  is_auto_sync_enabled number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_em_managed_external_exadata_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_em_managed_external_exadata_insight_details_t (
    entity_source varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    is_auto_sync_enabled number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_update_em_managed_external_exadata_insight_details_t is a subtype of the dbms_cloud_oci_opsi_update_exadata_insight_details_t type.

Fields

Field Description

is_auto_sync_enabled

(optional) Set to true to enable automatic enablement and disablement of related targets from Enterprise Manager. New resources (e.g. Database Insights) will be placed in the same compartment as the related Exadata Insight.

DBMS_CLOUD_OCI_OPSI_UPDATE_HOST_INSIGHT_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_host_insight_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  entity_source varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_host_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_host_insight_details_t (
    entity_source varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

entity_source

(required) Source of the host entity.

Allowed values are: 'MACS_MANAGED_EXTERNAL_HOST', 'EM_MANAGED_EXTERNAL_HOST', 'MACS_MANAGED_CLOUD_HOST', 'PE_COMANAGED_HOST'

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_OPSI_UPDATE_EM_MANAGED_EXTERNAL_HOST_INSIGHT_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_em_managed_external_host_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_update_host_insight_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_em_managed_external_host_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_em_managed_external_host_insight_details_t (
    entity_source varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_update_em_managed_external_host_insight_details_t is a subtype of the dbms_cloud_oci_opsi_update_host_insight_details_t type.

DBMS_CLOUD_OCI_OPSI_UPDATE_ENTERPRISE_MANAGER_BRIDGE_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_enterprise_manager_bridge_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  display_name varchar2(32767),
  description varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_enterprise_manager_bridge_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_enterprise_manager_bridge_details_t (
    display_name varchar2,
    description varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

display_name

(optional) User-friedly name of Enterprise Manager Bridge that does not have to be unique.

description

(optional) Description of Enterprise Manager Bridge

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_OPSI_UPDATE_MACS_MANAGED_CLOUD_HOST_INSIGHT_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_macs_managed_cloud_host_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_update_host_insight_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_macs_managed_cloud_host_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_macs_managed_cloud_host_insight_details_t (
    entity_source varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_update_macs_managed_cloud_host_insight_details_t is a subtype of the dbms_cloud_oci_opsi_update_host_insight_details_t type.

DBMS_CLOUD_OCI_OPSI_UPDATE_MACS_MANAGED_EXTERNAL_DATABASE_INSIGHT_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_macs_managed_external_database_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_update_database_insight_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_macs_managed_external_database_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_macs_managed_external_database_insight_details_t (
    entity_source varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_update_macs_managed_external_database_insight_details_t is a subtype of the dbms_cloud_oci_opsi_update_database_insight_details_t type.

DBMS_CLOUD_OCI_OPSI_UPDATE_MACS_MANAGED_EXTERNAL_HOST_INSIGHT_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_macs_managed_external_host_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_update_host_insight_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_macs_managed_external_host_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_macs_managed_external_host_insight_details_t (
    entity_source varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_update_macs_managed_external_host_insight_details_t is a subtype of the dbms_cloud_oci_opsi_update_host_insight_details_t type.

DBMS_CLOUD_OCI_OPSI_UPDATE_NEWS_REPORT_DETAILS_T Type

The information about the news report to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_news_report_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  status varchar2(32767),
  news_frequency varchar2(32767),
  locale varchar2(32767),
  content_types dbms_cloud_oci_opsi_news_content_types_t,
  ons_topic_id varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_news_report_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_news_report_details_t (
    status varchar2,
    news_frequency varchar2,
    locale varchar2,
    content_types dbms_cloud_oci_opsi_news_content_types_t,
    ons_topic_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

status

(optional) Defines if the news report will be enabled or disabled.

Allowed values are: 'DISABLED', 'ENABLED', 'TERMINATED'

news_frequency

(optional) News report frequency.

Allowed values are: 'WEEKLY'

locale

(optional) Language of the news report.

Allowed values are: 'EN'

content_types

(optional)

ons_topic_id

(optional) The OCID of the ONS topic.

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_OPSI_UPDATE_OPERATIONS_INSIGHTS_PRIVATE_ENDPOINT_DETAILS_T Type

The details used to update a Operation Insights private endpoint.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_operations_insights_private_endpoint_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  display_name varchar2(32767),
  description varchar2(32767),
  nsg_ids dbms_cloud_oci_opsi_varchar2_tbl,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_operations_insights_private_endpoint_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_operations_insights_private_endpoint_details_t (
    display_name varchar2,
    description varchar2,
    nsg_ids dbms_cloud_oci_opsi_varchar2_tbl,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

display_name

(optional) The display name of the private endpoint.

description

(optional) The description of the private endpoint.

nsg_ids

(optional) The OCID of the network security groups that the Private service accessed the database.

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_OPSI_UPDATE_OPERATIONS_INSIGHTS_WAREHOUSE_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_operations_insights_warehouse_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  display_name varchar2(32767),
  cpu_allocated number,
  storage_allocated_in_g_bs number,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_operations_insights_warehouse_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_operations_insights_warehouse_details_t (
    display_name varchar2,
    cpu_allocated number,
    storage_allocated_in_g_bs number,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

display_name

(optional) User-friedly name of Operations Insights Warehouse that does not have to be unique.

cpu_allocated

(optional) Number of OCPUs allocated to OPSI Warehouse ADW.

storage_allocated_in_g_bs

(optional) Storage allocated to OPSI Warehouse ADW.

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_OPSI_UPDATE_OPERATIONS_INSIGHTS_WAREHOUSE_USER_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_operations_insights_warehouse_user_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  connection_password varchar2(32767),
  is_awr_data_access number,
  is_em_data_access number,
  is_opsi_data_access number,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_operations_insights_warehouse_user_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_operations_insights_warehouse_user_details_t (
    connection_password varchar2,
    is_awr_data_access number,
    is_em_data_access number,
    is_opsi_data_access number,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

connection_password

(optional) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

is_awr_data_access

(optional) Indicate whether user has access to AWR data.

is_em_data_access

(optional) Indicate whether user has access to EM data.

is_opsi_data_access

(optional) Indicate whether user has access to OPSI data.

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_OPSI_UPDATE_CONFIGURATION_ITEM_DETAILS_TBL Type

Nested table type of dbms_cloud_oci_opsi_update_configuration_item_details_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_configuration_item_details_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_update_configuration_item_details_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_UPDATE_OPSI_CONFIGURATION_DETAILS_T Type

Information to be updated in OPSI configuration resource.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_opsi_configuration_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  opsi_config_type varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  config_items dbms_cloud_oci_opsi_update_configuration_item_details_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_opsi_configuration_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_opsi_configuration_details_t (
    opsi_config_type varchar2,
    display_name varchar2,
    description varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    config_items dbms_cloud_oci_opsi_update_configuration_item_details_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

opsi_config_type

(required) OPSI configuration type.

Allowed values are: 'UX_CONFIGURATION'

display_name

(optional) User-friendly display name for the OPSI configuration. The name does not have to be unique.

description

(optional) Description of OPSI configuration.

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) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

config_items

(optional) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array. This array overwrites the existing custom configuration items array for this resource.

DBMS_CLOUD_OCI_OPSI_UPDATE_OPSI_UX_CONFIGURATION_DETAILS_T Type

Information to be updated in OPSI UX configuration.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_opsi_ux_configuration_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_update_opsi_configuration_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_opsi_ux_configuration_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_opsi_ux_configuration_details_t (
    opsi_config_type varchar2,
    display_name varchar2,
    description varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t,
    config_items dbms_cloud_oci_opsi_update_configuration_item_details_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_update_opsi_ux_configuration_details_t is a subtype of the dbms_cloud_oci_opsi_update_opsi_configuration_details_t type.

DBMS_CLOUD_OCI_OPSI_UPDATE_PE_COMANAGED_DATABASE_INSIGHT_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_pe_comanaged_database_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_update_database_insight_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_pe_comanaged_database_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_pe_comanaged_database_insight_details_t (
    entity_source varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_update_pe_comanaged_database_insight_details_t is a subtype of the dbms_cloud_oci_opsi_update_database_insight_details_t type.

DBMS_CLOUD_OCI_OPSI_UPDATE_PE_COMANAGED_EXADATA_INSIGHT_DETAILS_T Type

The information to be updated.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_update_pe_comanaged_exadata_insight_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_update_exadata_insight_details_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_pe_comanaged_exadata_insight_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_update_pe_comanaged_exadata_insight_details_t (
    entity_source varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_update_pe_comanaged_exadata_insight_details_t is a subtype of the dbms_cloud_oci_opsi_update_exadata_insight_details_t type.

DBMS_CLOUD_OCI_OPSI_UX_CONFIGURATION_ITEMS_COLLECTION_T Type

Collection of ux configuration item summary objects.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_ux_configuration_items_collection_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_configuration_items_collection_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_ux_configuration_items_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_ux_configuration_items_collection_t (
    opsi_config_type varchar2,
    config_items dbms_cloud_oci_opsi_configuration_item_summary_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_ux_configuration_items_collection_t is a subtype of the dbms_cloud_oci_opsi_configuration_items_collection_t type.

DBMS_CLOUD_OCI_OPSI_WAREHOUSE_DATA_OBJECT_DETAILS_T Type

Warehouse data object details.

Syntax

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

Fields

Field Description

data_object_type

(required) Type of the data object.

Allowed values are: 'VIEW', 'TABLE'

DBMS_CLOUD_OCI_OPSI_WAREHOUSE_DATA_OBJECT_SUMMARY_T Type

Summary of a Warehouse data object.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_warehouse_data_object_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  data_object_type varchar2(32767),
  name varchar2(32767),
  owner varchar2(32767),
  details dbms_cloud_oci_opsi_warehouse_data_object_details_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_warehouse_data_object_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_warehouse_data_object_summary_t (
    data_object_type varchar2,
    name varchar2,
    owner varchar2,
    details dbms_cloud_oci_opsi_warehouse_data_object_details_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

data_object_type

(required) Type of the data object.

Allowed values are: 'VIEW', 'TABLE'

name

(optional) Name of the data object, which can be used in data object queries just like how view names are used in a query.

owner

(optional) Owner of the data object, which can be used in data object queries in front of data object names just like SCHEMA.VIEW notation in queries.

details

(optional)

DBMS_CLOUD_OCI_OPSI_WAREHOUSE_DATA_OBJECT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_opsi_warehouse_data_object_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_warehouse_data_object_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_warehouse_data_object_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_WAREHOUSE_DATA_OBJECT_COLLECTION_T Type

Collection of Warehouse data object summary objects.

Syntax

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

Fields

Field Description

items

(required) Array of Warehouse data object summary objects.

DBMS_CLOUD_OCI_OPSI_WAREHOUSE_TABLE_DATA_OBJECT_DETAILS_T Type

Details of a TABLE type data object in a Warehouse.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_warehouse_table_data_object_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_warehouse_data_object_details_t (
  columns_metadata dbms_cloud_oci_opsi_data_object_column_metadata_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_warehouse_table_data_object_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_warehouse_table_data_object_details_t (
    data_object_type varchar2,
    columns_metadata dbms_cloud_oci_opsi_data_object_column_metadata_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_warehouse_table_data_object_details_t is a subtype of the dbms_cloud_oci_opsi_warehouse_data_object_details_t type.

Fields

Field Description

columns_metadata

(optional) Metadata of columns in the data object.

DBMS_CLOUD_OCI_OPSI_WAREHOUSE_VIEW_DATA_OBJECT_DETAILS_T Type

Details of a VIEW type data object in a Warehouse.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_warehouse_view_data_object_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_opsi_warehouse_data_object_details_t (
  columns_metadata dbms_cloud_oci_opsi_data_object_column_metadata_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_warehouse_view_data_object_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_warehouse_view_data_object_details_t (
    data_object_type varchar2,
    columns_metadata dbms_cloud_oci_opsi_data_object_column_metadata_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_opsi_warehouse_view_data_object_details_t is a subtype of the dbms_cloud_oci_opsi_warehouse_data_object_details_t type.

Fields

Field Description

columns_metadata

(optional) Metadata of columns in the data object.

DBMS_CLOUD_OCI_OPSI_WORK_REQUEST_RESOURCE_T Type

A resource created or operated on by a work request.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_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),
  metadata json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_work_request_resource_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_work_request_resource_t (
    entity_type varchar2,
    action_type varchar2,
    identifier varchar2,
    entity_uri varchar2,
    metadata json_element_t
  ) 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', 'FAILED'

identifier

(required) The identifier of the resource the work request affects.

entity_uri

(optional) The URI path that the user can do a GET on to access the resource

metadata

(optional) Additional information that helps to explain the resource.

DBMS_CLOUD_OCI_OPSI_WORK_REQUEST_RESOURCE_TBL Type

Nested table type of dbms_cloud_oci_opsi_work_request_resource_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_work_request_resource_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_work_request_resource_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_WORK_REQUEST_T Type

A description of workrequest status

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_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_opsi_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_opsi_work_request_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_work_request_t (
    operation_type varchar2,
    status varchar2,
    id varchar2,
    compartment_id varchar2,
    resources dbms_cloud_oci_opsi_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) Type of the work request

Allowed values are: 'ENABLE_DATABASE_INSIGHT', 'DISABLE_DATABASE_INSIGHT', 'UPDATE_DATABASE_INSIGHT', 'CREATE_DATABASE_INSIGHT', 'MOVE_DATABASE_INSIGHT', 'DELETE_DATABASE_INSIGHT', 'CREATE_ENTERPRISE_MANAGER_BRIDGE', 'UDPATE_ENTERPRISE_MANAGER_BRIDGE', 'MOVE_ENTERPRISE_MANAGER_BRIDGE', 'DELETE_ENTERPRISE_MANAGER_BRIDGE', 'ENABLE_HOST_INSIGHT', 'DISABLE_HOST_INSIGHT', 'UPDATE_HOST_INSIGHT', 'CREATE_HOST_INSIGHT', 'MOVE_HOST_INSIGHT', 'DELETE_HOST_INSIGHT', 'CREATE_EXADATA_INSIGHT', 'ENABLE_EXADATA_INSIGHT', 'DISABLE_EXADATA_INSIGHT', 'UPDATE_EXADATA_INSIGHT', 'MOVE_EXADATA_INSIGHT', 'DELETE_EXADATA_INSIGHT', 'ADD_EXADATA_INSIGHT_MEMBERS', 'EXADATA_AUTO_SYNC', 'UPDATE_OPSI_WAREHOUSE', 'CREATE_OPSI_WAREHOUSE', 'MOVE_OPSI_WAREHOUSE', 'DELETE_OPSI_WAREHOUSE', 'ROTATE_OPSI_WAREHOUSE_WALLET', 'UPDATE_OPSI_WAREHOUSE_USER', 'CREATE_OPSI_WAREHOUSE_USER', 'MOVE_OPSI_WAREHOUSE_USER', 'DELETE_OPSI_WAREHOUSE_USER', 'UPDATE_AWRHUB', 'CREATE_AWRHUB', 'MOVE_AWRHUB', 'DELETE_AWRHUB', 'UPDATE_PRIVATE_ENDPOINT', 'CREATE_PRIVATE_ENDPOINT', 'MOVE_PRIVATE_ENDPOINT', 'DELETE_PRIVATE_ENDPOINT', 'CHANGE_PE_COMANAGED_DATABASE_INSIGHT_DETAILS', 'UPDATE_OPSI_CONFIGURATION', 'CREATE_OPSI_CONFIGURATION', 'MOVE_OPSI_CONFIGURATION', 'DELETE_OPSI_CONFIGURATION', 'ENABLE_ADB_ADVANCED_FEATURES', 'DISABLE_ADB_ADVANCED_FEATURES', 'UPDATE_ADB_ADVANCED_FEATURES', 'CREATE_NEWS_REPORT', 'ENABLE_NEWS_REPORT', 'DISABLE_NEWS_REPORT', 'UPDATE_NEWS_REPORT', 'MOVE_NEWS_REPORT', 'DELETE_NEWS_REPORT', 'CREATE_AWRHUB_SOURCE', 'DELETE_AWRHUB_SOURCE', 'UPDATE_AWRHUB_SOURCE', 'MOVE_AWRHUB_SOURCE', 'ENABLE_AWRHUB_SOURCE', 'DISABLE_AWRHUB_SOURCE'

status

(required) Status of current work request.

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

id

(required) The id of the work request.

compartment_id

(required) The ocid of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request affects multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used

resources

(required) The resources affected by this work request.

percent_complete

(required) Percentage of the request completed.

time_accepted

(required) The date and time the request was created, as described in RFC 3339, section 14.29.

time_started

(optional) The date and time the request was started, as described in RFC 3339, section 14.29.

time_finished

(optional) The date and time the object was finished, as described in RFC 3339.

DBMS_CLOUD_OCI_OPSI_WORK_REQUEST_TBL Type

Nested table type of dbms_cloud_oci_opsi_work_request_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_work_request_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_work_request_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_WORK_REQUEST_COLLECTION_T Type

Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.

Syntax

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

Fields

Field Description

items

(required) List of workRequests.

DBMS_CLOUD_OCI_OPSI_WORK_REQUEST_ERROR_T Type

An error encountered while executing a work request.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_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_opsi_work_request_error_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_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. Error codes are listed on (https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm)

message

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

l_timestamp

(required) The time the error occured. An RFC3339 formatted datetime string.

DBMS_CLOUD_OCI_OPSI_WORK_REQUEST_ERROR_TBL Type

Nested table type of dbms_cloud_oci_opsi_work_request_error_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_work_request_error_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_work_request_error_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_WORK_REQUEST_ERROR_COLLECTION_T Type

Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.

Syntax

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

Fields

Field Description

items

(required) List of workRequestError objects.

DBMS_CLOUD_OCI_OPSI_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_opsi_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_opsi_work_request_log_entry_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_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 time the log message was written. An RFC3339 formatted datetime string

DBMS_CLOUD_OCI_OPSI_WORK_REQUEST_LOG_ENTRY_TBL Type

Nested table type of dbms_cloud_oci_opsi_work_request_log_entry_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_work_request_log_entry_tbl FORCE IS TABLE OF (dbms_cloud_oci_opsi_work_request_log_entry_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_OPSI_WORK_REQUEST_LOG_ENTRY_COLLECTION_T Type

Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.

Syntax

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

Fields

Field Description

items

(required) List of workRequestLogEntries.

DBMS_CLOUD_OCI_OPSI_WORK_REQUESTS_T Type

Logical grouping used for Operations Insights Work Request operations.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_opsi_work_requests_t FORCE AUTHID CURRENT_USER IS OBJECT (
  work_requests json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_work_requests_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_opsi_work_requests_t (
    work_requests json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

work_requests

(optional) OPSI Work Request Object.