OSub Usage Common Types
DBMS_CLOUD_OCI_OSUB_USAGE_VARCHAR2_TBL Type
Nested table type of varchar2(32767).
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_osub_usage_varchar2_tbl FORCE IS TABLE OF (varchar2(32767)) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OSUB_USAGE_PRODUCT_T Type
Product description
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_osub_usage_product_t FORCE AUTHID CURRENT_USER IS OBJECT (
part_number varchar2(32767),
name varchar2(32767),
unit_of_measure varchar2(32767),
provisioning_group varchar2(32767),
billing_category varchar2(32767),
product_category varchar2(32767),
ucm_rate_card_part_type varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_osub_usage_product_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_osub_usage_product_t (
part_number varchar2,
name varchar2,
unit_of_measure varchar2,
provisioning_group varchar2,
billing_category varchar2,
product_category varchar2,
ucm_rate_card_part_type varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field | Description |
---|---|
|
(required) Product part number |
|
(required) Product name |
|
(optional) Unit of Measure |
|
(optional) Product provisioning group |
|
(optional) Metered service billing category |
|
(optional) Product category |
|
(optional) Rate card part type of Product |
DBMS_CLOUD_OCI_OSUB_USAGE_COMPUTED_USAGE_T Type
Computed Usage Summary object
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_osub_usage_computed_usage_t FORCE AUTHID CURRENT_USER IS OBJECT (
time_created timestamp with time zone,
time_updated timestamp with time zone,
parent_subscribed_service_id varchar2(32767),
parent_product dbms_cloud_oci_osub_usage_product_t,
plan_number varchar2(32767),
currency_code varchar2(32767),
rate_card_tierd_id varchar2(32767),
rate_card_id varchar2(32767),
compute_source varchar2(32767),
data_center varchar2(32767),
mqs_message_id varchar2(32767),
id varchar2(32767),
quantity varchar2(32767),
usage_number varchar2(32767),
original_usage_number varchar2(32767),
commitment_service_id varchar2(32767),
is_invoiced number,
l_type varchar2(32767),
time_of_arrival timestamp with time zone,
time_metered_on timestamp with time zone,
net_unit_price varchar2(32767),
cost_rounded varchar2(32767),
cost varchar2(32767),
product dbms_cloud_oci_osub_usage_product_t,
unit_of_measure varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_osub_usage_computed_usage_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_osub_usage_computed_usage_t (
time_created timestamp with time zone,
time_updated timestamp with time zone,
parent_subscribed_service_id varchar2,
parent_product dbms_cloud_oci_osub_usage_product_t,
plan_number varchar2,
currency_code varchar2,
rate_card_tierd_id varchar2,
rate_card_id varchar2,
compute_source varchar2,
data_center varchar2,
mqs_message_id varchar2,
id varchar2,
quantity varchar2,
usage_number varchar2,
original_usage_number varchar2,
commitment_service_id varchar2,
is_invoiced number,
l_type varchar2,
time_of_arrival timestamp with time zone,
time_metered_on timestamp with time zone,
net_unit_price varchar2,
cost_rounded varchar2,
cost varchar2,
product dbms_cloud_oci_osub_usage_product_t,
unit_of_measure varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field | Description |
---|---|
|
(optional) Computed Usage created time, expressed in RFC 3339 timestamp format. |
|
(optional) Computed Usage updated time, expressed in RFC 3339 timestamp format. |
|
(optional) Subscribed service line parent id |
|
(optional) |
|
(optional) Subscription plan number |
|
(optional) Currency code |
|
(optional) References the tier in the ratecard for that usage (OCI will be using the same reference to cross-reference for correctness on the usage csv report), comes from Entity OBSCNTR_IPT_PRODUCTTIER. |
|
(optional) Ratecard Id at subscribed service level |
|
(optional) SPM Internal compute records source . |
|
(optional) Data Center Attribute as sent by MQS to SPM. |
|
(optional) MQS Identfier send to SPM , SPM does not transform this attribute and is received as is. |
|
(required) SPM Internal computed usage Id , 32 character string |
|
(optional) Total Quantity that was used for computation |
|
(optional) SPM Internal usage Line number identifier in SPM coming from Metered Services entity. |
|
(optional) SPM Internal Original usage Line number identifier in SPM coming from Metered Services entity. |
|
(optional) Subscribed service commitmentId. |
|
(optional) Invoicing status for the aggregated compute usage |
|
(optional) Usage compute type in SPM. Allowed values are: 'PROMOTION', 'DO_NOT_BILL', 'USAGE', 'COMMIT', 'OVERAGE', 'PAY_AS_YOU_GO', 'MONTHLY_MINIMUM', 'DELAYED_USAGE_INVOICE_TIMING', 'DELAYED_USAGE_COMMITMENT_EXP', 'ON_ACCOUNT_CREDIT', 'SERVICE_CREDIT', 'COMMITMENT_EXPIRATION', 'FUNDED_ALLOCATION', 'DONOT_BILL_USAGE_POST_TERMINATION', 'DELAYED_USAGE_POST_TERMINATION' |
|
(optional) Usae computation date, expressed in RFC 3339 timestamp format. |
|
(optional) Metered Service date, expressed in RFC 3339 timestamp format. |
|
(optional) Net Unit Price for the product in consideration, price actual. |
|
(optional) Computed Line Amount rounded. |
|
(optional) Computed Line Amount not rounded |
|
(optional) |
|
(optional) Unit of Messure |
DBMS_CLOUD_OCI_OSUB_USAGE_COMPUTED_USAGE_AGGREGATION_T Type
Computed Usage Aggregation object
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_osub_usage_computed_usage_aggregation_t FORCE AUTHID CURRENT_USER IS OBJECT (
quantity varchar2(32767),
product dbms_cloud_oci_osub_usage_product_t,
data_center varchar2(32767),
time_metered_on timestamp with time zone,
net_unit_price varchar2(32767),
cost_unrounded varchar2(32767),
cost varchar2(32767),
l_type varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_osub_usage_computed_usage_aggregation_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_osub_usage_computed_usage_aggregation_t (
quantity varchar2,
product dbms_cloud_oci_osub_usage_product_t,
data_center varchar2,
time_metered_on timestamp with time zone,
net_unit_price varchar2,
cost_unrounded varchar2,
cost varchar2,
l_type varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field | Description |
---|---|
|
(optional) Total Quantity that was used for computation |
|
(optional) |
|
(optional) Data Center Attribute as sent by MQS to SPM. |
|
(optional) Metered Service date , expressed in RFC 3339 timestamp format. |
|
(optional) Net Unit Price for the product in consideration. |
|
(optional) Sum of Computed Line Amount unrounded |
|
(optional) Sum of Computed Line Amount rounded |
|
(optional) Usage compute type in SPM. Allowed values are: 'PROMOTION', 'DO_NOT_BILL', 'USAGE', 'COMMIT', 'OVERAGE', 'PAY_AS_YOU_GO', 'MONTHLY_MINIMUM', 'DELAYED_USAGE_INVOICE_TIMING', 'DELAYED_USAGE_COMMITMENT_EXP', 'ON_ACCOUNT_CREDIT', 'SERVICE_CREDIT', 'COMMITMENT_EXPIRATION', 'FUNDED_ALLOCATION', 'DONOT_BILL_USAGE_POST_TERMINATION', 'DELAYED_USAGE_POST_TERMINATION' |
DBMS_CLOUD_OCI_OSUB_USAGE_COMPUTED_USAGE_AGGREGATION_TBL Type
Nested table type of dbms_cloud_oci_osub_usage_computed_usage_aggregation_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_osub_usage_computed_usage_aggregation_tbl FORCE IS TABLE OF (dbms_cloud_oci_osub_usage_computed_usage_aggregation_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OSUB_USAGE_COMPUTED_USAGE_AGGREGATED_SUMMARY_T Type
Subscribed Service Contract details
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_osub_usage_computed_usage_aggregated_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
subscription_id varchar2(32767),
parent_subscribed_service_id varchar2(32767),
parent_product dbms_cloud_oci_osub_usage_product_t,
time_start timestamp with time zone,
time_end timestamp with time zone,
plan_number varchar2(32767),
currency_code varchar2(32767),
rate_card_id varchar2(32767),
pricing_model varchar2(32767),
aggregated_computed_usages dbms_cloud_oci_osub_usage_computed_usage_aggregation_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_osub_usage_computed_usage_aggregated_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_osub_usage_computed_usage_aggregated_summary_t (
subscription_id varchar2,
parent_subscribed_service_id varchar2,
parent_product dbms_cloud_oci_osub_usage_product_t,
time_start timestamp with time zone,
time_end timestamp with time zone,
plan_number varchar2,
currency_code varchar2,
rate_card_id varchar2,
pricing_model varchar2,
aggregated_computed_usages dbms_cloud_oci_osub_usage_computed_usage_aggregation_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field | Description |
---|---|
|
(required) Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM |
|
(optional) Subscribed service line parent id |
|
(optional) |
|
(optional) Subscribed services contract line start date, expressed in RFC 3339 timestamp format. |
|
(optional) Subscribed services contract line end date, expressed in RFC 3339 timestamp format. |
|
(optional) Subscribed service asociated subscription plan number. |
|
(optional) Currency code |
|
(optional) Inernal SPM Ratecard Id at line level |
|
(optional) Subscribed services pricing model Allowed values are: 'PAY_AS_YOU_GO', 'MONTHLY', 'ANNUAL', 'PREPAID', 'FUNDED_ALLOCATION' |
|
(optional) Aggregation of computed usages for the subscribed service. |
DBMS_CLOUD_OCI_OSUB_USAGE_COMPUTED_USAGE_SUMMARY_T Type
Computed Usage Summary object
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_osub_usage_computed_usage_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
time_created timestamp with time zone,
time_updated timestamp with time zone,
parent_subscribed_service_id varchar2(32767),
parent_product dbms_cloud_oci_osub_usage_product_t,
plan_number varchar2(32767),
currency_code varchar2(32767),
rate_card_tierd_id varchar2(32767),
rate_card_id varchar2(32767),
compute_source varchar2(32767),
data_center varchar2(32767),
mqs_message_id varchar2(32767),
computed_usage_id varchar2(32767),
quantity varchar2(32767),
usage_number varchar2(32767),
original_usage_number varchar2(32767),
commitment_service_id varchar2(32767),
is_invoiced number,
l_type varchar2(32767),
time_of_arrival timestamp with time zone,
time_metered_on timestamp with time zone,
net_unit_price varchar2(32767),
cost_rounded varchar2(32767),
cost varchar2(32767),
product dbms_cloud_oci_osub_usage_product_t,
unit_of_measure varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_osub_usage_computed_usage_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_osub_usage_computed_usage_summary_t (
time_created timestamp with time zone,
time_updated timestamp with time zone,
parent_subscribed_service_id varchar2,
parent_product dbms_cloud_oci_osub_usage_product_t,
plan_number varchar2,
currency_code varchar2,
rate_card_tierd_id varchar2,
rate_card_id varchar2,
compute_source varchar2,
data_center varchar2,
mqs_message_id varchar2,
computed_usage_id varchar2,
quantity varchar2,
usage_number varchar2,
original_usage_number varchar2,
commitment_service_id varchar2,
is_invoiced number,
l_type varchar2,
time_of_arrival timestamp with time zone,
time_metered_on timestamp with time zone,
net_unit_price varchar2,
cost_rounded varchar2,
cost varchar2,
product dbms_cloud_oci_osub_usage_product_t,
unit_of_measure varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field | Description |
---|---|
|
(optional) Computed Usage created time, expressed in RFC 3339 timestamp format. |
|
(optional) Computed Usage updated time, expressed in RFC 3339 timestamp format. |
|
(optional) Subscribed service line parent id |
|
(optional) |
|
(optional) Subscription plan number |
|
(optional) Currency code |
|
(optional) References the tier in the ratecard for that usage (OCI will be using the same reference to cross-reference for correctness on the usage csv report), comes from Entity OBSCNTR_IPT_PRODUCTTIER. |
|
(optional) Ratecard Id at subscribed service level |
|
(optional) SPM Internal compute records source . |
|
(optional) Data Center Attribute as sent by MQS to SPM. |
|
(optional) MQS Identfier send to SPM , SPM does not transform this attribute and is received as is. |
|
(required) SPM Internal computed usage Id , 32 character string |
|
(optional) Total Quantity that was used for computation |
|
(optional) SPM Internal usage Line number identifier in SPM coming from Metered Services entity. |
|
(optional) SPM Internal Original usage Line number identifier in SPM coming from Metered Services entity. |
|
(optional) Subscribed service commitmentId. |
|
(optional) Invoicing status for the aggregated compute usage |
|
(optional) Usage compute type in SPM. Allowed values are: 'PROMOTION', 'DO_NOT_BILL', 'USAGE', 'COMMIT', 'OVERAGE', 'PAY_AS_YOU_GO', 'MONTHLY_MINIMUM', 'DELAYED_USAGE_INVOICE_TIMING', 'DELAYED_USAGE_COMMITMENT_EXP', 'ON_ACCOUNT_CREDIT', 'SERVICE_CREDIT', 'COMMITMENT_EXPIRATION', 'FUNDED_ALLOCATION', 'DONOT_BILL_USAGE_POST_TERMINATION', 'DELAYED_USAGE_POST_TERMINATION' |
|
(optional) Usae computation date, expressed in RFC 3339 timestamp format. |
|
(optional) Metered Service date, expressed in RFC 3339 timestamp format. |
|
(optional) Net Unit Price for the product in consideration, price actual. |
|
(optional) Computed Line Amount rounded. |
|
(optional) Computed Line Amount not rounded |
|
(optional) |
|
(optional) Unit of Messure |
DBMS_CLOUD_OCI_OSUB_USAGE_ERROR_T Type
Internal error object model.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_osub_usage_error_t FORCE AUTHID CURRENT_USER IS OBJECT (
code varchar2(32767),
message varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_osub_usage_error_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_osub_usage_error_t (
code varchar2,
message varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field | Description |
---|---|
|
(required) A short error code that defines the error, meant for programmatic parsing. |
|
(required) A human-readable error string. |