CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_varchar2_tbl FORCE IS TABLE OF (varchar2(32767)) NOT PERSISTABLE;
DBMS_CLOUD_OCI_USAGEAPI_AVERAGE_CARBON_EMISSION_T Type 🔗
Average carbon emission.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_average_carbon_emission_t FORCE AUTHID CURRENT_USER IS OBJECT (
sku_part_number varchar2(32767),
average_carbon_emission number,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_average_carbon_emission_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_average_carbon_emission_t (
sku_part_number varchar2,
average_carbon_emission number
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
sku_part_number
(required) The sku part number.
average_carbon_emission
(required) The average carbon emissions by SKU.
DBMS_CLOUD_OCI_USAGEAPI_CLEAN_ENERGY_USAGE_T Type 🔗
Clean energy usage.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_clean_energy_usage_t FORCE AUTHID CURRENT_USER IS OBJECT (
l_region varchar2(32767),
ad varchar2(32767),
usage number,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_clean_energy_usage_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_clean_energy_usage_t (
l_region varchar2,
ad varchar2,
usage number
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
l_region
(required) The region.
ad
(optional) The availability domain.
usage
(required) The percentage of clean enery used.
DBMS_CLOUD_OCI_USAGEAPI_CONFIGURATION_T Type 🔗
A configuration.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_configuration_t FORCE AUTHID CURRENT_USER IS OBJECT (
key varchar2(32767),
l_values dbms_cloud_oci_usageapi_varchar2_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_configuration_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_configuration_t (
key varchar2,
l_values dbms_cloud_oci_usageapi_varchar2_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
key
(required) The configuration key.
l_values
(optional) The configuration value.
DBMS_CLOUD_OCI_USAGEAPI_CONFIGURATION_TBL Type 🔗
Nested table type of dbms_cloud_oci_usageapi_configuration_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_configuration_tbl FORCE IS TABLE OF (dbms_cloud_oci_usageapi_configuration_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_USAGEAPI_CONFIGURATION_AGGREGATION_T Type 🔗
The available configurations.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_configuration_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_usageapi_configuration_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_configuration_aggregation_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_configuration_aggregation_t (
items dbms_cloud_oci_usageapi_configuration_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) The list of available configurations.
DBMS_CLOUD_OCI_USAGEAPI_COST_ANALYSIS_UI_T Type 🔗
The common fields for Cost Analysis UI rendering.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_cost_analysis_ui_t FORCE AUTHID CURRENT_USER IS OBJECT (
graph varchar2(32767),
is_cumulative_graph number,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_cost_analysis_ui_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_cost_analysis_ui_t (
graph varchar2,
is_cumulative_graph number
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_tag_t FORCE AUTHID CURRENT_USER IS OBJECT (
namespace varchar2(32767),
key varchar2(32767),
value varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_tag_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_tag_t (
namespace varchar2,
key varchar2,
value varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
namespace
(optional) The tag namespace.
key
(optional) The tag key.
value
(optional) The tag value.
DBMS_CLOUD_OCI_USAGEAPI_TAG_TBL Type 🔗
Nested table type of dbms_cloud_oci_usageapi_tag_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_tag_tbl FORCE IS TABLE OF (dbms_cloud_oci_usageapi_tag_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_USAGEAPI_SAVED_CUSTOM_TABLE_T Type 🔗
The custom table for Cost Analysis UI rendering.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_saved_custom_table_t FORCE AUTHID CURRENT_USER IS OBJECT (
display_name varchar2(32767),
row_group_by dbms_cloud_oci_usageapi_varchar2_tbl,
column_group_by dbms_cloud_oci_usageapi_varchar2_tbl,
group_by_tag dbms_cloud_oci_usageapi_tag_tbl,
compartment_depth number,
version number,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_saved_custom_table_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_saved_custom_table_t (
display_name varchar2,
row_group_by dbms_cloud_oci_usageapi_varchar2_tbl,
column_group_by dbms_cloud_oci_usageapi_varchar2_tbl,
group_by_tag dbms_cloud_oci_usageapi_tag_tbl,
compartment_depth number,
version number
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
(optional) GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only one tag in the list is supported. For example: `[{\"namespace\":\"oracle\", \"key\":\"createdBy\"]`
compartment_depth
(optional) The compartment depth level.
version
(optional) The version of the custom table.
DBMS_CLOUD_OCI_USAGEAPI_CREATE_CUSTOM_TABLE_DETAILS_T Type 🔗
New custom table detail.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_create_custom_table_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
compartment_id varchar2(32767),
saved_report_id varchar2(32767),
saved_custom_table dbms_cloud_oci_usageapi_saved_custom_table_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_create_custom_table_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_create_custom_table_details_t (
compartment_id varchar2,
saved_report_id varchar2,
saved_custom_table dbms_cloud_oci_usageapi_saved_custom_table_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
compartment_id
(required) The compartment OCID.
saved_report_id
(required) The associated saved report OCID.
saved_custom_table
(required)
DBMS_CLOUD_OCI_USAGEAPI_FORECAST_T Type 🔗
Forecast configuration of usage/cost.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_forecast_t FORCE AUTHID CURRENT_USER IS OBJECT (
forecast_type varchar2(32767),
time_forecast_started timestamp with time zone,
time_forecast_ended timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_forecast_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_forecast_t (
forecast_type varchar2,
time_forecast_started timestamp with time zone,
time_forecast_ended timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
forecast_type
(optional) BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made.
Allowed values are: 'BASIC'
time_forecast_started
(optional) The forecast start time. Defaults to UTC-1 if not specified.
time_forecast_ended
(required) The forecast end time.
DBMS_CLOUD_OCI_USAGEAPI_DIMENSION_T Type 🔗
The dimension used for filtering. Availabe dimensions are: \"service\", \"skuName\", \"skuPartNumber\", \"unit\", \"compartmentName\", \"compartmentPath\", \"compartmentId\", \"platform\", \"region\", \"logicalAd\", \"resourceId\", \"tenantId\", and \"tenantName\". For example: `[{value: \"COMPUTE\", key: \"service\"}]`
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_dimension_t FORCE AUTHID CURRENT_USER IS OBJECT (
key varchar2(32767),
value varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_dimension_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_dimension_t (
key varchar2,
value varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
key
(required) The dimension key.
value
(required) The dimension value.
DBMS_CLOUD_OCI_USAGEAPI_DIMENSION_TBL Type 🔗
Nested table type of dbms_cloud_oci_usageapi_dimension_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_dimension_tbl FORCE IS TABLE OF (dbms_cloud_oci_usageapi_dimension_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_USAGEAPI_FILTER_ABS_T 🔗
The filter object for query usage.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_filter_abs_t FORCE AUTHID CURRENT_USER IS OBJECT (
operator varchar2(32767),
dimensions dbms_cloud_oci_usageapi_dimension_tbl,
tags dbms_cloud_oci_usageapi_tag_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_filter_abs_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_filter_abs_t (
operator varchar2,
dimensions dbms_cloud_oci_usageapi_dimension_tbl,
tags dbms_cloud_oci_usageapi_tag_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;
Fields
Field
Description
operator
(optional) The filter operator. Example: 'AND', 'OR', 'NOT'.
Allowed values are: 'AND', 'NOT', 'OR'
dimensions
(optional) The dimensions to filter on.
tags
(optional) The tags to filter on.
DBMS_CLOUD_OCI_USAGEAPI_FILTER_ABS_TBL Type 🔗
Nested table type of dbms_cloud_oci_usageapi_filter_abs_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_filter_abs_tbl FORCE IS TABLE OF (dbms_cloud_oci_usageapi_filter_abs_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_USAGEAPI_FILTER_T Type 🔗
The filter object for query usage.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_filter_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_usageapi_filter_abs_t (
filters dbms_cloud_oci_usageapi_filter_abs_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_filter_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_filter_t (
operator varchar2,
dimensions dbms_cloud_oci_usageapi_dimension_tbl,
tags dbms_cloud_oci_usageapi_tag_tbl,
filters dbms_cloud_oci_usageapi_filter_abs_tbl
) RETURN SELF AS RESULT
);
Fields
Field
Description
filters
(optional) The nested filter object.
DBMS_CLOUD_OCI_USAGEAPI_FILTER_TBL Type 🔗
Nested table type of dbms_cloud_oci_usageapi_filter_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_filter_tbl FORCE IS TABLE OF (dbms_cloud_oci_usageapi_filter_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_USAGEAPI_REPORT_QUERY_T Type 🔗
The request of the generated Cost Analysis report.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_report_query_t FORCE AUTHID CURRENT_USER IS OBJECT (
tenant_id varchar2(32767),
time_usage_started timestamp with time zone,
time_usage_ended timestamp with time zone,
granularity varchar2(32767),
is_aggregate_by_time number,
forecast dbms_cloud_oci_usageapi_forecast_t,
query_type varchar2(32767),
group_by dbms_cloud_oci_usageapi_varchar2_tbl,
group_by_tag dbms_cloud_oci_usageapi_tag_tbl,
compartment_depth number,
filter dbms_cloud_oci_usageapi_filter_t,
date_range_name varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_report_query_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_report_query_t (
tenant_id varchar2,
time_usage_started timestamp with time zone,
time_usage_ended timestamp with time zone,
granularity varchar2,
is_aggregate_by_time number,
forecast dbms_cloud_oci_usageapi_forecast_t,
query_type varchar2,
group_by dbms_cloud_oci_usageapi_varchar2_tbl,
group_by_tag dbms_cloud_oci_usageapi_tag_tbl,
compartment_depth number,
filter dbms_cloud_oci_usageapi_filter_t,
date_range_name varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
tenant_id
(required) Tenant ID.
time_usage_started
(optional) The usage start time.
time_usage_ended
(optional) The usage end time.
granularity
(required) The usage granularity. HOURLY - Hourly data aggregation. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. TOTAL - Not yet supported.
(optional) Whether aggregated by time. If isAggregateByTime is true, all usage/cost over the query time period will be added up.
forecast
(optional)
query_type
(optional) The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Credit - Query the credit adjustments data. ExpiredCredit - Query the expired credits data AllCredit - Query the credit adjustments and expired credit
(optional) GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{\"namespace\":\"oracle\", \"key\":\"createdBy\"]`
compartment_depth
(optional) The compartment depth level.
filter
(optional)
date_range_name
(optional) The UI date range, for example, LAST_THREE_MONTHS. Conflicts with timeUsageStarted and timeUsageEnded.
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_query_definition_t FORCE AUTHID CURRENT_USER IS OBJECT (
display_name varchar2(32767),
report_query dbms_cloud_oci_usageapi_report_query_t,
cost_analysis_ui dbms_cloud_oci_usageapi_cost_analysis_ui_t,
version number,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_query_definition_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_query_definition_t (
display_name varchar2,
report_query dbms_cloud_oci_usageapi_report_query_t,
cost_analysis_ui dbms_cloud_oci_usageapi_cost_analysis_ui_t,
version number
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
display_name
(required) The query display name. Avoid entering confidential information.
report_query
(required)
cost_analysis_ui
(required)
version
(required) The saved query version.
DBMS_CLOUD_OCI_USAGEAPI_CREATE_QUERY_DETAILS_T Type 🔗
New query detail with savedRequestSummarizedUsagesDetails, savedCostAnalysisUI, and displayName.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_create_query_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
compartment_id varchar2(32767),
query_definition dbms_cloud_oci_usageapi_query_definition_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_create_query_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_create_query_details_t (
compartment_id varchar2,
query_definition dbms_cloud_oci_usageapi_query_definition_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
compartment_id
(required) The compartment OCID.
query_definition
(required)
DBMS_CLOUD_OCI_USAGEAPI_RESULT_LOCATION_T Type 🔗
The location where usage or cost CSVs will be uploaded defined by `locationType`, which corresponds with type-specific characteristics.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_result_location_t FORCE AUTHID CURRENT_USER IS OBJECT (
location_type varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_result_location_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_result_location_t (
location_type varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;
Fields
Field
Description
location_type
(required) Defines the type of location where the usage or cost CSVs will be stored.
Allowed values are: 'OBJECT_STORAGE'
DBMS_CLOUD_OCI_USAGEAPI_DATE_RANGE_T Type 🔗
Static or dynamic date range `dateRangeType`, which corresponds with type-specific characteristics.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_date_range_t FORCE AUTHID CURRENT_USER IS OBJECT (
date_range_type varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_date_range_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_date_range_t (
date_range_type varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;
Fields
Field
Description
date_range_type
(required) Defines whether the schedule date range is STATIC or DYNAMIC.
Allowed values are: 'STATIC', 'DYNAMIC'
DBMS_CLOUD_OCI_USAGEAPI_QUERY_PROPERTIES_T Type 🔗
The query properties.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_query_properties_t FORCE AUTHID CURRENT_USER IS OBJECT (
group_by dbms_cloud_oci_usageapi_varchar2_tbl,
group_by_tag dbms_cloud_oci_usageapi_tag_tbl,
filter dbms_cloud_oci_usageapi_filter_t,
compartment_depth number,
granularity varchar2(32767),
query_type varchar2(32767),
is_aggregate_by_time number,
date_range dbms_cloud_oci_usageapi_date_range_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_query_properties_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_query_properties_t (
group_by dbms_cloud_oci_usageapi_varchar2_tbl,
group_by_tag dbms_cloud_oci_usageapi_tag_tbl,
filter dbms_cloud_oci_usageapi_filter_t,
compartment_depth number,
granularity varchar2,
query_type varchar2,
is_aggregate_by_time number,
date_range dbms_cloud_oci_usageapi_date_range_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
group_by
(optional) Aggregate the result by. For example: [ \"tagNamespace\", \"tagKey\", \"tagValue\", \"service\", \"skuName\", \"skuPartNumber\", \"unit\", \"compartmentName\", \"compartmentPath\", \"compartmentId\", \"platform\", \"region\", \"logicalAd\", \"resourceId\", \"tenantId\", \"tenantName\" ]
group_by_tag
(optional) GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { \"namespace\": \"oracle\", \"key\": \"createdBy\" ]
filter
(optional)
compartment_depth
(optional) The depth level of the compartment.
granularity
(required) The usage granularity. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. Allowed values are: DAILY MONTHLY
Allowed values are: 'DAILY', 'MONTHLY'
query_type
(optional) The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST
(optional) Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
date_range
(required)
DBMS_CLOUD_OCI_USAGEAPI_CREATE_SCHEDULE_DETAILS_T Type 🔗
The saved schedule.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_create_schedule_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
name varchar2(32767),
compartment_id varchar2(32767),
description varchar2(32767),
output_file_format varchar2(32767),
saved_report_id varchar2(32767),
result_location dbms_cloud_oci_usageapi_result_location_t,
schedule_recurrences varchar2(32767),
time_scheduled timestamp with time zone,
query_properties dbms_cloud_oci_usageapi_query_properties_t,
freeform_tags json_element_t,
defined_tags json_element_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_create_schedule_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_create_schedule_details_t (
name varchar2,
compartment_id varchar2,
description varchar2,
output_file_format varchar2,
saved_report_id varchar2,
result_location dbms_cloud_oci_usageapi_result_location_t,
schedule_recurrences varchar2,
time_scheduled timestamp with time zone,
query_properties dbms_cloud_oci_usageapi_query_properties_t,
freeform_tags json_element_t,
defined_tags json_element_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
name
(required) The unique name of the user-created schedule.
compartment_id
(required) The customer tenancy.
description
(optional) The description of the schedule.
output_file_format
(optional) Specifies the supported output file format.
Allowed values are: 'CSV', 'PDF'
saved_report_id
(optional) The saved report ID which can also be used to generate a query.
result_location
(required)
schedule_recurrences
(required) Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in RFC 5545 section 3.3.10. Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.
time_scheduled
(required) The date and time of the first time job execution.
query_properties
(optional)
freeform_tags
(optional) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: `{\"bar-key\": \"value\"}`
defined_tags
(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
DBMS_CLOUD_OCI_USAGEAPI_USAGE_CARBON_EMISSIONS_REPORT_QUERY_T Type 🔗
The request of the generated usage carbon emissions report.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_usage_carbon_emissions_report_query_t FORCE AUTHID CURRENT_USER IS OBJECT (
tenant_id varchar2(32767),
time_usage_started timestamp with time zone,
time_usage_ended timestamp with time zone,
is_aggregate_by_time number,
group_by dbms_cloud_oci_usageapi_varchar2_tbl,
group_by_tag dbms_cloud_oci_usageapi_tag_tbl,
compartment_depth number,
filter dbms_cloud_oci_usageapi_filter_t,
date_range_name varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_carbon_emissions_report_query_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_carbon_emissions_report_query_t (
tenant_id varchar2,
time_usage_started timestamp with time zone,
time_usage_ended timestamp with time zone,
is_aggregate_by_time number,
group_by dbms_cloud_oci_usageapi_varchar2_tbl,
group_by_tag dbms_cloud_oci_usageapi_tag_tbl,
compartment_depth number,
filter dbms_cloud_oci_usageapi_filter_t,
date_range_name varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
tenant_id
(required) Tenant ID.
time_usage_started
(optional) The usage start time.
time_usage_ended
(optional) The usage end time.
is_aggregate_by_time
(optional) Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
group_by
(optional) Specifies what to aggregate the result by. For example: `[\"tagNamespace\", \"tagKey\", \"tagValue\", \"service\", \"skuName\", \"skuPartNumber\", \"unit\", \"compartmentName\", \"compartmentPath\", \"compartmentId\", \"platform\", \"region\", \"logicalAd\", \"resourceId\", \"tenantId\", \"tenantName\"]`
group_by_tag
(optional) GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{\"namespace\":\"oracle\", \"key\":\"createdBy\"]`
compartment_depth
(optional) The compartment depth level.
filter
(optional)
date_range_name
(optional) The UI date range, for example, LAST_THREE_MONTHS. It will override timeUsageStarted and timeUsageEnded properties.
DBMS_CLOUD_OCI_USAGEAPI_USAGE_CARBON_EMISSIONS_QUERY_DEFINITION_T Type 🔗
The common fields for queries.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_usage_carbon_emissions_query_definition_t FORCE AUTHID CURRENT_USER IS OBJECT (
display_name varchar2(32767),
report_query dbms_cloud_oci_usageapi_usage_carbon_emissions_report_query_t,
cost_analysis_ui dbms_cloud_oci_usageapi_cost_analysis_ui_t,
version number,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_carbon_emissions_query_definition_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_carbon_emissions_query_definition_t (
display_name varchar2,
report_query dbms_cloud_oci_usageapi_usage_carbon_emissions_report_query_t,
cost_analysis_ui dbms_cloud_oci_usageapi_cost_analysis_ui_t,
version number
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
display_name
(required) The query display name. Avoid entering confidential information.
report_query
(required)
cost_analysis_ui
(required)
version
(required) The saved query version.
DBMS_CLOUD_OCI_USAGEAPI_CREATE_USAGE_CARBON_EMISSIONS_QUERY_DETAILS_T Type 🔗
New query detail with savedRequestUsageCarbonEmissionsDetails, savedCostAnalysisUI, and displayName.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_create_usage_carbon_emissions_query_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
compartment_id varchar2(32767),
query_definition dbms_cloud_oci_usageapi_usage_carbon_emissions_query_definition_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_create_usage_carbon_emissions_query_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_create_usage_carbon_emissions_query_details_t (
compartment_id varchar2,
query_definition dbms_cloud_oci_usageapi_usage_carbon_emissions_query_definition_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
compartment_id
(required) The compartment OCID.
query_definition
(required)
DBMS_CLOUD_OCI_USAGEAPI_CUSTOM_TABLE_T Type 🔗
The saved custom table.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_custom_table_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
saved_report_id varchar2(32767),
compartment_id varchar2(32767),
saved_custom_table dbms_cloud_oci_usageapi_saved_custom_table_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_custom_table_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_custom_table_t (
id varchar2,
saved_report_id varchar2,
compartment_id varchar2,
saved_custom_table dbms_cloud_oci_usageapi_saved_custom_table_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The custom table OCID.
saved_report_id
(optional) The custom table associated saved report OCID.
compartment_id
(optional) The custom table compartment OCID.
saved_custom_table
(optional)
DBMS_CLOUD_OCI_USAGEAPI_CUSTOM_TABLE_SUMMARY_T Type 🔗
Custom table in the list request.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_custom_table_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
saved_custom_table dbms_cloud_oci_usageapi_saved_custom_table_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_custom_table_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_custom_table_summary_t (
id varchar2,
saved_custom_table dbms_cloud_oci_usageapi_saved_custom_table_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The custom table OCID.
saved_custom_table
(required)
DBMS_CLOUD_OCI_USAGEAPI_CUSTOM_TABLE_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_usageapi_custom_table_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_custom_table_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_usageapi_custom_table_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_USAGEAPI_CUSTOM_TABLE_COLLECTION_T Type 🔗
A custom table list.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_custom_table_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_usageapi_custom_table_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_custom_table_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_custom_table_collection_t (
items dbms_cloud_oci_usageapi_custom_table_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) Custom tables list.
DBMS_CLOUD_OCI_USAGEAPI_DYNAMIC_DATE_RANGE_T Type 🔗
The saved dynamic date range (required when the static date range is missing).
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_dynamic_date_range_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_usageapi_date_range_t (
dynamic_date_range_type varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_dynamic_date_range_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_dynamic_date_range_t (
date_range_type varchar2,
dynamic_date_range_type varchar2
) RETURN SELF AS RESULT
);
dbms_cloud_oci_usageapi_dynamic_date_range_t is a subtype of the dbms_cloud_oci_usageapi_date_range_t type.
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_error_t FORCE AUTHID CURRENT_USER IS OBJECT (
code varchar2(32767),
message varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_error_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_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_USAGEAPI_OBJECT_STORAGE_LOCATION_T Type 🔗
The object storage location where usage or cost CSVs will be uploaded.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_object_storage_location_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_usageapi_result_location_t (
l_region varchar2(32767),
namespace varchar2(32767),
bucket_name varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_object_storage_location_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_object_storage_location_t (
location_type varchar2,
l_region varchar2,
namespace varchar2,
bucket_name varchar2
) RETURN SELF AS RESULT
);
dbms_cloud_oci_usageapi_object_storage_location_t is a subtype of the dbms_cloud_oci_usageapi_result_location_t type.
Fields
Field
Description
l_region
(required) The destination Object Store Region specified by the customer.
namespace
(required) The namespace needed to determine the object storage bucket.
bucket_name
(required) The bucket name where usage or cost CSVs will be uploaded.
DBMS_CLOUD_OCI_USAGEAPI_QUERY_T Type 🔗
The query to filter and aggregate.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_query_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
compartment_id varchar2(32767),
query_definition dbms_cloud_oci_usageapi_query_definition_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_query_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_query_t (
id varchar2,
compartment_id varchar2,
query_definition dbms_cloud_oci_usageapi_query_definition_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The query OCID.
compartment_id
(required) The compartment OCID.
query_definition
(required)
DBMS_CLOUD_OCI_USAGEAPI_QUERY_SUMMARY_T Type 🔗
Query summery in the list request.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_query_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
query_definition dbms_cloud_oci_usageapi_query_definition_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_query_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_query_summary_t (
id varchar2,
query_definition dbms_cloud_oci_usageapi_query_definition_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The query OCID.
query_definition
(required)
DBMS_CLOUD_OCI_USAGEAPI_QUERY_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_usageapi_query_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_query_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_usageapi_query_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_USAGEAPI_QUERY_COLLECTION_T Type 🔗
A query list.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_query_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_usageapi_query_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_query_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_query_collection_t (
items dbms_cloud_oci_usageapi_query_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) Query list.
DBMS_CLOUD_OCI_USAGEAPI_REQUEST_SUMMARIZED_USAGES_DETAILS_T Type 🔗
Details for the '/usage' query.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_request_summarized_usages_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
tenant_id varchar2(32767),
time_usage_started timestamp with time zone,
time_usage_ended timestamp with time zone,
granularity varchar2(32767),
is_aggregate_by_time number,
forecast dbms_cloud_oci_usageapi_forecast_t,
query_type varchar2(32767),
group_by dbms_cloud_oci_usageapi_varchar2_tbl,
group_by_tag dbms_cloud_oci_usageapi_tag_tbl,
compartment_depth number,
filter dbms_cloud_oci_usageapi_filter_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_request_summarized_usages_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_request_summarized_usages_details_t (
tenant_id varchar2,
time_usage_started timestamp with time zone,
time_usage_ended timestamp with time zone,
granularity varchar2,
is_aggregate_by_time number,
forecast dbms_cloud_oci_usageapi_forecast_t,
query_type varchar2,
group_by dbms_cloud_oci_usageapi_varchar2_tbl,
group_by_tag dbms_cloud_oci_usageapi_tag_tbl,
compartment_depth number,
filter dbms_cloud_oci_usageapi_filter_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
tenant_id
(required) Tenant ID.
time_usage_started
(required) The usage start time.
time_usage_ended
(required) The usage end time.
granularity
(required) The usage granularity. HOURLY - Hourly data aggregation. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. TOTAL - Not yet supported.
(optional) Whether aggregated by time. If isAggregateByTime is true, all usage/cost over the query time period will be added up.
forecast
(optional)
query_type
(optional) The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Credit - Query the credit adjustments data. ExpiredCredit - Query the expired credits data. AllCredit - Query the credit adjustments and expired credit.
(optional) GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{\"namespace\":\"oracle\", \"key\":\"createdBy\"]`
compartment_depth
(optional) The compartment depth level.
filter
(optional)
DBMS_CLOUD_OCI_USAGEAPI_REQUEST_USAGE_CARBON_EMISSIONS_DETAILS_T Type 🔗
Details for the '/usageCarbonEmissions' query.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_request_usage_carbon_emissions_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
tenant_id varchar2(32767),
time_usage_started timestamp with time zone,
time_usage_ended timestamp with time zone,
is_aggregate_by_time number,
group_by dbms_cloud_oci_usageapi_varchar2_tbl,
group_by_tag dbms_cloud_oci_usageapi_tag_tbl,
compartment_depth number,
filter dbms_cloud_oci_usageapi_filter_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_request_usage_carbon_emissions_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_request_usage_carbon_emissions_details_t (
tenant_id varchar2,
time_usage_started timestamp with time zone,
time_usage_ended timestamp with time zone,
is_aggregate_by_time number,
group_by dbms_cloud_oci_usageapi_varchar2_tbl,
group_by_tag dbms_cloud_oci_usageapi_tag_tbl,
compartment_depth number,
filter dbms_cloud_oci_usageapi_filter_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
tenant_id
(required) Tenant ID.
time_usage_started
(required) The usage start time.
time_usage_ended
(required) The usage end time.
is_aggregate_by_time
(optional) Specifies whether aggregated by time. If isAggregateByTime is true, all usage carbon emissions over the query time period will be added up.
group_by
(optional) Aggregate the result by. For example: `[\"tagNamespace\", \"tagKey\", \"tagValue\", \"service\", \"skuName\", \"skuPartNumber\", \"unit\", \"compartmentName\", \"compartmentPath\", \"compartmentId\", \"platform\", \"region\", \"logicalAd\", \"resourceId\", \"resourceName\", \"tenantId\", \"tenantName\", \"subscriptionId\"]`
group_by_tag
(optional) GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{\"namespace\":\"oracle\", \"key\":\"createdBy\"]`
compartment_depth
(optional) The compartment depth level.
filter
(optional)
DBMS_CLOUD_OCI_USAGEAPI_SCHEDULE_T Type 🔗
The schedule.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_schedule_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
name varchar2(32767),
compartment_id varchar2(32767),
result_location dbms_cloud_oci_usageapi_result_location_t,
description varchar2(32767),
time_next_run timestamp with time zone,
output_file_format varchar2(32767),
saved_report_id varchar2(32767),
schedule_recurrences varchar2(32767),
time_scheduled timestamp with time zone,
query_properties dbms_cloud_oci_usageapi_query_properties_t,
time_created timestamp with time zone,
lifecycle_state varchar2(32767),
freeform_tags json_element_t,
defined_tags json_element_t,
system_tags json_element_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_schedule_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_schedule_t (
id varchar2,
name varchar2,
compartment_id varchar2,
result_location dbms_cloud_oci_usageapi_result_location_t,
description varchar2,
time_next_run timestamp with time zone,
output_file_format varchar2,
saved_report_id varchar2,
schedule_recurrences varchar2,
time_scheduled timestamp with time zone,
query_properties dbms_cloud_oci_usageapi_query_properties_t,
time_created timestamp with time zone,
lifecycle_state varchar2,
freeform_tags json_element_t,
defined_tags json_element_t,
system_tags json_element_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The OCID representing a unique shedule.
name
(required) The unique name of the schedule created by the user.
compartment_id
(required) The customer tenancy.
result_location
(required)
description
(optional) The description of the schedule.
time_next_run
(optional) The date and time of the next job execution.
output_file_format
(optional) Specifies the supported output file format.
Allowed values are: 'CSV', 'PDF'
saved_report_id
(optional) The saved report ID which can also be used to generate a query.
schedule_recurrences
(required) Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in RFC 5545 section 3.3.10. Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.
time_scheduled
(required) The date and time of the first time job execution.
query_properties
(optional)
time_created
(required) The date and time the schedule was created.
lifecycle_state
(required) The schedule lifecycle state.
Allowed values are: 'ACTIVE', 'INACTIVE'
freeform_tags
(optional) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: `{\"bar-key\": \"value\"}`
defined_tags
(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
system_tags
(optional) Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
DBMS_CLOUD_OCI_USAGEAPI_SCHEDULE_SUMMARY_T Type 🔗
Schedule summary for the list schedule.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_schedule_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
name varchar2(32767),
description varchar2(32767),
time_next_run timestamp with time zone,
schedule_recurrences varchar2(32767),
time_scheduled timestamp with time zone,
freeform_tags json_element_t,
defined_tags json_element_t,
system_tags json_element_t,
lifecycle_state varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_schedule_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_schedule_summary_t (
id varchar2,
name varchar2,
description varchar2,
time_next_run timestamp with time zone,
schedule_recurrences varchar2,
time_scheduled timestamp with time zone,
freeform_tags json_element_t,
defined_tags json_element_t,
system_tags json_element_t,
lifecycle_state varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The schedule OCID.
name
(required) The unique name of the user-created schedule.
description
(optional) The description of the schedule.
time_next_run
(optional) The date and time of the next job execution.
schedule_recurrences
(required) Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in RFC 5545 section 3.3.10. Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.
time_scheduled
(required) The date and time of the first time job execution.
freeform_tags
(optional) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: `{\"bar-key\": \"value\"}`
defined_tags
(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
system_tags
(optional) Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
lifecycle_state
(required) The schedule summary lifecycle state.
DBMS_CLOUD_OCI_USAGEAPI_SCHEDULE_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_usageapi_schedule_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_schedule_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_usageapi_schedule_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_USAGEAPI_SCHEDULE_COLLECTION_T Type 🔗
A schedule collection.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_schedule_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_usageapi_schedule_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_schedule_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_schedule_collection_t (
items dbms_cloud_oci_usageapi_schedule_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) Schedule summary list.
DBMS_CLOUD_OCI_USAGEAPI_SCHEDULED_RUN_T Type 🔗
The saved schedule run.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_scheduled_run_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
schedule_id varchar2(32767),
time_created timestamp with time zone,
time_finished timestamp with time zone,
lifecycle_state varchar2(32767),
lifecycle_details varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_scheduled_run_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_scheduled_run_t (
id varchar2,
schedule_id varchar2,
time_created timestamp with time zone,
time_finished timestamp with time zone,
lifecycle_state varchar2,
lifecycle_details varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The ocid representing unique shedule run
schedule_id
(required) The ocid representing unique shedule
time_created
(required) The time when schedule started executing
time_finished
(required) The time when schedule finished executing
lifecycle_state
(required) Specifies if the schedule job was run successfully or not.
Allowed values are: 'FAILED', 'SUCCEEDED'
lifecycle_details
(required) Additional details about scheduled run failure
DBMS_CLOUD_OCI_USAGEAPI_SCHEDULED_RUN_SUMMARY_T Type 🔗
The saved history past run.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_scheduled_run_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
schedule_id varchar2(32767),
time_created timestamp with time zone,
time_finished timestamp with time zone,
lifecycle_state varchar2(32767),
lifecycle_details varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_scheduled_run_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_scheduled_run_summary_t (
id varchar2,
schedule_id varchar2,
time_created timestamp with time zone,
time_finished timestamp with time zone,
lifecycle_state varchar2,
lifecycle_details varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The ocid representing unique shedule run
schedule_id
(required) The ocid representing unique shedule
time_created
(required) The time when schedule started executing
time_finished
(required) The time when schedule finished executing
lifecycle_state
(required) Specifies if the schedule job was run successfully or not.
lifecycle_details
(required) Additional details about scheduled run failure
DBMS_CLOUD_OCI_USAGEAPI_SCHEDULED_RUN_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_usageapi_scheduled_run_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_scheduled_run_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_usageapi_scheduled_run_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_USAGEAPI_SCHEDULED_RUN_COLLECTION_T Type 🔗
The schedule past run list.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_scheduled_run_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_usageapi_scheduled_run_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_scheduled_run_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_scheduled_run_collection_t (
items dbms_cloud_oci_usageapi_scheduled_run_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) The schedule past run list.
DBMS_CLOUD_OCI_USAGEAPI_STATIC_DATE_RANGE_T Type 🔗
The saved static date range (required when the dynamic date range is missing).
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_static_date_range_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_usageapi_date_range_t (
time_usage_started timestamp with time zone,
time_usage_ended timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_static_date_range_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_static_date_range_t (
date_range_type varchar2,
time_usage_started timestamp with time zone,
time_usage_ended timestamp with time zone
) RETURN SELF AS RESULT
);
dbms_cloud_oci_usageapi_static_date_range_t is a subtype of the dbms_cloud_oci_usageapi_date_range_t type.
Fields
Field
Description
time_usage_started
(required) The usage start time.
time_usage_ended
(required) The usage end time.
DBMS_CLOUD_OCI_USAGEAPI_UPDATE_CUSTOM_TABLE_DETAILS_T Type 🔗
Details for updating the custom table.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_update_custom_table_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
saved_custom_table dbms_cloud_oci_usageapi_saved_custom_table_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_update_custom_table_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_update_custom_table_details_t (
saved_custom_table dbms_cloud_oci_usageapi_saved_custom_table_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
saved_custom_table
(required)
DBMS_CLOUD_OCI_USAGEAPI_UPDATE_QUERY_DETAILS_T Type 🔗
Details for the query to update reportQuery, costAnalysisUI, and displayName.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_update_query_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
query_definition dbms_cloud_oci_usageapi_query_definition_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_update_query_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_update_query_details_t (
query_definition dbms_cloud_oci_usageapi_query_definition_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
query_definition
(required)
DBMS_CLOUD_OCI_USAGEAPI_UPDATE_SCHEDULE_DETAILS_T Type 🔗
Details for updating the custom table.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_update_schedule_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
description varchar2(32767),
output_file_format varchar2(32767),
result_location dbms_cloud_oci_usageapi_result_location_t,
freeform_tags json_element_t,
defined_tags json_element_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_update_schedule_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_update_schedule_details_t (
description varchar2,
output_file_format varchar2,
result_location dbms_cloud_oci_usageapi_result_location_t,
freeform_tags json_element_t,
defined_tags json_element_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
description
(optional) The description of the schedule.
output_file_format
(optional) Specifies the supported output file format.
Allowed values are: 'CSV', 'PDF'
result_location
(optional)
freeform_tags
(optional) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: `{\"bar-key\": \"value\"}`
defined_tags
(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
DBMS_CLOUD_OCI_USAGEAPI_UPDATE_USAGE_CARBON_EMISSIONS_QUERY_DETAILS_T Type 🔗
Details for the query to update usageCarbonEmissionsQuery, costAnalysisUI, and displayName.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_update_usage_carbon_emissions_query_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
query_definition dbms_cloud_oci_usageapi_usage_carbon_emissions_query_definition_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_update_usage_carbon_emissions_query_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_update_usage_carbon_emissions_query_details_t (
query_definition dbms_cloud_oci_usageapi_usage_carbon_emissions_query_definition_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
query_definition
(required)
DBMS_CLOUD_OCI_USAGEAPI_USAGE_SUMMARY_T Type 🔗
The usage store result.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_usage_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
tenant_id varchar2(32767),
tenant_name varchar2(32767),
compartment_id varchar2(32767),
compartment_path varchar2(32767),
compartment_name varchar2(32767),
service varchar2(32767),
resource_name varchar2(32767),
resource_id varchar2(32767),
l_region varchar2(32767),
ad varchar2(32767),
weight number,
shape varchar2(32767),
sku_part_number varchar2(32767),
sku_name varchar2(32767),
unit varchar2(32767),
discount number,
list_rate number,
platform varchar2(32767),
time_usage_started timestamp with time zone,
time_usage_ended timestamp with time zone,
computed_amount number,
computed_quantity number,
overages_flag varchar2(32767),
unit_price number,
currency varchar2(32767),
subscription_id varchar2(32767),
overage varchar2(32767),
is_forecast number,
tags dbms_cloud_oci_usageapi_tag_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_summary_t (
tenant_id varchar2,
tenant_name varchar2,
compartment_id varchar2,
compartment_path varchar2,
compartment_name varchar2,
service varchar2,
resource_name varchar2,
resource_id varchar2,
l_region varchar2,
ad varchar2,
weight number,
shape varchar2,
sku_part_number varchar2,
sku_name varchar2,
unit varchar2,
discount number,
list_rate number,
platform varchar2,
time_usage_started timestamp with time zone,
time_usage_ended timestamp with time zone,
computed_amount number,
computed_quantity number,
overages_flag varchar2,
unit_price number,
currency varchar2,
subscription_id varchar2,
overage varchar2,
is_forecast number,
tags dbms_cloud_oci_usageapi_tag_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
tenant_id
(optional) The tenancy OCID.
tenant_name
(optional) The tenancy name.
compartment_id
(optional) The compartment OCID.
compartment_path
(optional) The compartment path, starting from root.
compartment_name
(optional) The compartment name.
service
(optional) The service name that is incurring the cost.
resource_name
(optional) The resource name that is incurring the cost.
resource_id
(optional) The resource OCID that is incurring the cost.
l_region
(optional) The region of the usage.
ad
(optional) The availability domain of the usage.
weight
(optional) The resource size being metered.
shape
(optional) The resource shape.
sku_part_number
(optional) The SKU part number.
sku_name
(optional) The SKU friendly name.
unit
(optional) The usage unit.
discount
(optional) The discretionary discount applied to the SKU.
list_rate
(optional) The SKU list rate (not discount).
platform
(optional) Platform for the cost.
time_usage_started
(required) The usage start time.
time_usage_ended
(required) The usage end time.
computed_amount
(optional) The computed cost.
computed_quantity
(optional) The usage number.
overages_flag
(optional) The SPM OverageFlag.
unit_price
(optional) The price per unit.
currency
(optional) The price currency.
subscription_id
(optional) The subscription ID.
overage
(optional) The overage usage.
is_forecast
(optional) The forecasted data.
tags
(optional) For grouping, a tag definition. For filtering, a definition and key.
DBMS_CLOUD_OCI_USAGEAPI_USAGE_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_usageapi_usage_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_usage_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_usageapi_usage_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_USAGEAPI_USAGE_AGGREGATION_T Type 🔗
The account (tenant) usage.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_usage_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
group_by dbms_cloud_oci_usageapi_varchar2_tbl,
items dbms_cloud_oci_usageapi_usage_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_aggregation_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_aggregation_t (
group_by dbms_cloud_oci_usageapi_varchar2_tbl,
items dbms_cloud_oci_usageapi_usage_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
group_by
(optional) Aggregate the result by.
items
(required) A list of usage items.
DBMS_CLOUD_OCI_USAGEAPI_USAGE_CARBON_EMISSION_SUMMARY_T Type 🔗
The usage carbon emission store result.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_usage_carbon_emission_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
tenant_id varchar2(32767),
tenant_name varchar2(32767),
compartment_id varchar2(32767),
compartment_path varchar2(32767),
compartment_name varchar2(32767),
service varchar2(32767),
resource_name varchar2(32767),
resource_id varchar2(32767),
l_region varchar2(32767),
ad varchar2(32767),
sku_part_number varchar2(32767),
sku_name varchar2(32767),
platform varchar2(32767),
time_usage_started timestamp with time zone,
time_usage_ended timestamp with time zone,
computed_carbon_emission number,
emission_calculation_method varchar2(32767),
subscription_id varchar2(32767),
tags dbms_cloud_oci_usageapi_tag_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_carbon_emission_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_carbon_emission_summary_t (
tenant_id varchar2,
tenant_name varchar2,
compartment_id varchar2,
compartment_path varchar2,
compartment_name varchar2,
service varchar2,
resource_name varchar2,
resource_id varchar2,
l_region varchar2,
ad varchar2,
sku_part_number varchar2,
sku_name varchar2,
platform varchar2,
time_usage_started timestamp with time zone,
time_usage_ended timestamp with time zone,
computed_carbon_emission number,
emission_calculation_method varchar2,
subscription_id varchar2,
tags dbms_cloud_oci_usageapi_tag_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
tenant_id
(optional) The tenancy OCID.
tenant_name
(optional) The tenancy name.
compartment_id
(optional) The compartment OCID.
compartment_path
(optional) The compartment path, starting from root.
compartment_name
(optional) The compartment name.
service
(optional) The service name that is incurring the cost.
resource_name
(optional) The resource name that is incurring the cost.
resource_id
(optional) The resource OCID that is incurring the cost.
l_region
(optional) The region of the usage.
ad
(optional) The availability domain of the usage.
sku_part_number
(optional) The SKU part number.
sku_name
(optional) The SKU friendly name.
platform
(optional) Platform for the cost.
time_usage_started
(required) The usage start time.
time_usage_ended
(required) The usage end time.
computed_carbon_emission
(required) The carbon emission in MTCO2 unit.
emission_calculation_method
(required) The method used to calculate carbon emission.
subscription_id
(optional) The subscription ID.
tags
(optional) For grouping, a tag definition. For filtering, a definition and key.
DBMS_CLOUD_OCI_USAGEAPI_USAGE_CARBON_EMISSION_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_usageapi_usage_carbon_emission_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_usage_carbon_emission_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_usageapi_usage_carbon_emission_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_USAGEAPI_USAGE_CARBON_EMISSION_AGGREGATION_T Type 🔗
The account (tenant) usage carbon emissions.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_usage_carbon_emission_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
group_by dbms_cloud_oci_usageapi_varchar2_tbl,
items dbms_cloud_oci_usageapi_usage_carbon_emission_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_carbon_emission_aggregation_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_carbon_emission_aggregation_t (
group_by dbms_cloud_oci_usageapi_varchar2_tbl,
items dbms_cloud_oci_usageapi_usage_carbon_emission_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
group_by
(optional) Aggregate the result by.
items
(required) A list of usage carbon emission items.
DBMS_CLOUD_OCI_USAGEAPI_USAGE_CARBON_EMISSIONS_QUERY_T Type 🔗
The usage carbon emissions saved query to filter and aggregate.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_usage_carbon_emissions_query_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
compartment_id varchar2(32767),
query_definition dbms_cloud_oci_usageapi_usage_carbon_emissions_query_definition_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_carbon_emissions_query_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_carbon_emissions_query_t (
id varchar2,
compartment_id varchar2,
query_definition dbms_cloud_oci_usageapi_usage_carbon_emissions_query_definition_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The query OCID.
compartment_id
(required) The compartment OCID.
query_definition
(required)
DBMS_CLOUD_OCI_USAGEAPI_USAGE_CARBON_EMISSIONS_QUERY_SUMMARY_T Type 🔗
Usage carbon emissions query summary in the list request.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_usage_carbon_emissions_query_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
query_definition dbms_cloud_oci_usageapi_usage_carbon_emissions_query_definition_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_carbon_emissions_query_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_carbon_emissions_query_summary_t (
id varchar2,
query_definition dbms_cloud_oci_usageapi_usage_carbon_emissions_query_definition_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The query OCID.
query_definition
(required)
DBMS_CLOUD_OCI_USAGEAPI_USAGE_CARBON_EMISSIONS_QUERY_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_usageapi_usage_carbon_emissions_query_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_usage_carbon_emissions_query_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_usageapi_usage_carbon_emissions_query_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_USAGEAPI_USAGE_CARBON_EMISSIONS_QUERY_COLLECTION_T Type 🔗
A usage carbon emissions query list.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_usageapi_usage_carbon_emissions_query_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_usageapi_usage_carbon_emissions_query_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_carbon_emissions_query_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_usageapi_usage_carbon_emissions_query_collection_t (
items dbms_cloud_oci_usageapi_usage_carbon_emissions_query_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;