CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_varchar2_tbl FORCE IS TABLE OF (varchar2(32767)) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_ACTION_T Type 🔗
Details about the recommended action.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_action_t FORCE AUTHID CURRENT_USER IS OBJECT (
l_type varchar2(32767),
description varchar2(32767),
url varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_action_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_action_t (
l_type varchar2,
description varchar2,
url varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
l_type
(required) The status of the resource action.
Allowed values are: 'KB_ARTICLE'
description
(required) Text describing the recommended action.
url
(required) The URL path to documentation that explains how to perform the action.
DBMS_CLOUD_OCI_OPTIMIZER_BULK_APPLY_RESOURCE_ACTION_T Type 🔗
The resource action that a recommendation will be applied to.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_bulk_apply_resource_action_t FORCE AUTHID CURRENT_USER IS OBJECT (
resource_action_id varchar2(32767),
status varchar2(32767),
time_status_end timestamp with time zone,
parameters json_element_t,
strategy_name varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_bulk_apply_resource_action_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_bulk_apply_resource_action_t (
resource_action_id varchar2,
status varchar2,
time_status_end timestamp with time zone,
parameters json_element_t,
strategy_name varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
resource_action_id
(required) The unique OCIDs of the resource actions that recommendations are applied to.
status
(optional) The current status of the recommendation.
(optional) The date and time the current status will change. The format is defined by RFC3339. For example, \"The current `postponed` status of the resource action will end and change to `pending` on this date and time.\"
parameters
(optional) Additional parameter key-value pairs defining the resource action. For example: `{\"timeAmount\": 15, \"timeUnit\": \"seconds\"}`
strategy_name
(optional) The name of the strategy.
DBMS_CLOUD_OCI_OPTIMIZER_BULK_APPLY_RESOURCE_ACTION_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_bulk_apply_resource_action_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_bulk_apply_resource_action_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_bulk_apply_resource_action_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_BULK_APPLY_RECOMMENDATIONS_DETAILS_T Type 🔗
Details about bulk recommendation actions.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_bulk_apply_recommendations_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
resource_action_ids dbms_cloud_oci_optimizer_varchar2_tbl,
actions dbms_cloud_oci_optimizer_bulk_apply_resource_action_tbl,
status varchar2(32767),
time_status_end timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_bulk_apply_recommendations_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_bulk_apply_recommendations_details_t (
resource_action_ids dbms_cloud_oci_optimizer_varchar2_tbl,
actions dbms_cloud_oci_optimizer_bulk_apply_resource_action_tbl,
status varchar2,
time_status_end timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
resource_action_ids
(optional) The unique OCIDs of the resource actions that recommendations are applied to. This field is deprecated.
actions
(optional) The unique resource actions that recommendations are applied to.
status
(required) The current status of the recommendation.
(optional) The date and time the current status will change. The format is defined by RFC3339. For example, \"The current `postponed` status of the resource action will end and change to `pending` on this date and time.\"
DBMS_CLOUD_OCI_OPTIMIZER_RECOMMENDATION_COUNT_T Type 🔗
The count of recommendations in a category, grouped by importance.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_recommendation_count_t FORCE AUTHID CURRENT_USER IS OBJECT (
importance varchar2(32767),
l_count number,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_recommendation_count_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_recommendation_count_t (
importance varchar2,
l_count number
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
importance
(required) The level of importance assigned to the recommendation.
The count of resources in a category, grouped by status.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_resource_count_t FORCE AUTHID CURRENT_USER IS OBJECT (
status varchar2(32767),
l_count number,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_resource_count_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_resource_count_t (
status varchar2,
l_count number
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
status
(required) The recommendation status of the resource.
DBMS_CLOUD_OCI_OPTIMIZER_RECOMMENDATION_COUNT_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_recommendation_count_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_recommendation_count_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_recommendation_count_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_RESOURCE_COUNT_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_resource_count_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_resource_count_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_resource_count_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_CATEGORY_T Type 🔗
The metadata associated with the category.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_category_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
compartment_id varchar2(32767),
compartment_name varchar2(32767),
name varchar2(32767),
description varchar2(32767),
recommendation_counts dbms_cloud_oci_optimizer_recommendation_count_tbl,
resource_counts dbms_cloud_oci_optimizer_resource_count_tbl,
lifecycle_state varchar2(32767),
estimated_cost_saving number,
time_created timestamp with time zone,
time_updated timestamp with time zone,
extended_metadata json_element_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_category_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_category_t (
id varchar2,
compartment_id varchar2,
compartment_name varchar2,
name varchar2,
description varchar2,
recommendation_counts dbms_cloud_oci_optimizer_recommendation_count_tbl,
resource_counts dbms_cloud_oci_optimizer_resource_count_tbl,
lifecycle_state varchar2,
estimated_cost_saving number,
time_created timestamp with time zone,
time_updated timestamp with time zone,
extended_metadata json_element_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The unique OCID of the category.
compartment_id
(required) The OCID of the tenancy. The tenancy is the root compartment.
compartment_name
(required) The name associated with the compartment.
name
(required) The name assigned to the category.
description
(required) Text describing the category.
recommendation_counts
(required) An array of `RecommendationCount` objects grouped by the level of importance assigned to the recommendation.
resource_counts
(required) An array of `ResourceCount` objects grouped by the status of the recommendation.
(required) The estimated cost savings, in dollars, for the category.
time_created
(required) The date and time the category details were created, in the format defined by RFC3339.
time_updated
(required) The date and time the category details were last updated, in the format defined by RFC3339.
extended_metadata
(optional) Additional metadata key/value pairs for the category. For example: `{\"EstimatedSaving\": \"200\"}`
DBMS_CLOUD_OCI_OPTIMIZER_CATEGORY_SUMMARY_T Type 🔗
The metadata associated with the category summary.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_category_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
compartment_id varchar2(32767),
compartment_name varchar2(32767),
name varchar2(32767),
description varchar2(32767),
recommendation_counts dbms_cloud_oci_optimizer_recommendation_count_tbl,
resource_counts dbms_cloud_oci_optimizer_resource_count_tbl,
lifecycle_state varchar2(32767),
estimated_cost_saving number,
time_created timestamp with time zone,
time_updated timestamp with time zone,
extended_metadata json_element_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_category_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_category_summary_t (
id varchar2,
compartment_id varchar2,
compartment_name varchar2,
name varchar2,
description varchar2,
recommendation_counts dbms_cloud_oci_optimizer_recommendation_count_tbl,
resource_counts dbms_cloud_oci_optimizer_resource_count_tbl,
lifecycle_state varchar2,
estimated_cost_saving number,
time_created timestamp with time zone,
time_updated timestamp with time zone,
extended_metadata json_element_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The unique OCID of the category.
compartment_id
(required) The OCID of the tenancy. The tenancy is the root compartment.
compartment_name
(required) The name associated with the compartment.
name
(required) The name assigned to the category.
description
(required) Text describing the category.
recommendation_counts
(required) An array of `RecommendationCount` objects grouped by the level of importance assigned to each recommendation.
resource_counts
(required) An array of `ResourceCount` objects grouped by the status of each recommendation.
(required) The estimated cost savings, in dollars, for the category.
time_created
(required) The date and time the category details were created, in the format defined by RFC3339.
time_updated
(required) The date and time the category details were last updated, in the format defined by RFC3339.
extended_metadata
(optional) Additional metadata key/value pairs for the category summary. For example: `{\"EstimatedSaving\": \"200\"}`
DBMS_CLOUD_OCI_OPTIMIZER_CATEGORY_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_category_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_category_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_category_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_CATEGORY_COLLECTION_T Type 🔗
A list of categories that match filter criteria, if any. Results contain `CategorySummary` objects.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_category_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_category_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_category_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_category_collection_t (
items dbms_cloud_oci_optimizer_category_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) A collection of category summaries.
DBMS_CLOUD_OCI_OPTIMIZER_LEVEL_CONFIGURATION_T Type 🔗
Details about the configuration level for the recommendation.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_level_configuration_t FORCE AUTHID CURRENT_USER IS OBJECT (
recommendation_id varchar2(32767),
l_level varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_level_configuration_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_level_configuration_t (
recommendation_id varchar2,
l_level varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
recommendation_id
(optional) The unique OCID of the recommendation.
l_level
(optional) The pre-defined profile level.
DBMS_CLOUD_OCI_OPTIMIZER_LEVEL_CONFIGURATION_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_level_configuration_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_level_configuration_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_level_configuration_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_LEVELS_CONFIGURATION_T Type 🔗
A list of configuration levels for each recommendation.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_levels_configuration_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_level_configuration_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_levels_configuration_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_levels_configuration_t (
items dbms_cloud_oci_optimizer_level_configuration_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(optional) The array of configuration levels.
DBMS_CLOUD_OCI_OPTIMIZER_TARGET_COMPARTMENTS_T Type 🔗
Optional. The compartments specified in the profile override for a recommendation.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_target_compartments_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_varchar2_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_target_compartments_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_target_compartments_t (
items dbms_cloud_oci_optimizer_varchar2_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) The list of OCIDs attached to the compartments specified in the current profile override.
DBMS_CLOUD_OCI_OPTIMIZER_TARGET_TAG_T Type 🔗
A tag key definition used in the current profile override, including the tag namespace, tag key, tag value type, and tag values. Only defined tags are supported. For more information about tagging, see Tagging Overview
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_target_tag_t FORCE AUTHID CURRENT_USER IS OBJECT (
tag_namespace_name varchar2(32767),
tag_definition_name varchar2(32767),
tag_value_type varchar2(32767),
tag_values dbms_cloud_oci_optimizer_varchar2_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_target_tag_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_target_tag_t (
tag_namespace_name varchar2,
tag_definition_name varchar2,
tag_value_type varchar2,
tag_values dbms_cloud_oci_optimizer_varchar2_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
tag_namespace_name
(required) The name of the tag namespace.
tag_definition_name
(required) The name you use to refer to the tag, also known as the tag key.
tag_value_type
(required) Specifies which tag value types in the `tagValues` field result in overrides of the recommendation criteria. When the value for this field is `ANY`, the `tagValues` field should be empty, which enforces overrides to the recommendation for resources with any tag values attached to them. When the value for this field value is `VALUE`, the `tagValues` field must include a specific value or list of values. Overrides to the recommendation criteria only occur for resources that match the values in the `tagValues` fields.
Allowed values are: 'VALUE', 'ANY'
tag_values
(optional) The list of tag values. The tag value is the value that the user applying the tag adds to the tag key.
DBMS_CLOUD_OCI_OPTIMIZER_TARGET_TAG_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_target_tag_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_target_tag_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_target_tag_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_TARGET_TAGS_T Type 🔗
Optional. The tags specified in the profile override for a recommendation.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_target_tags_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_target_tag_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_target_tags_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_target_tags_t (
items dbms_cloud_oci_optimizer_target_tag_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) The list of tags specified in the current profile override.
DBMS_CLOUD_OCI_OPTIMIZER_CREATE_PROFILE_DETAILS_T Type 🔗
Details for creating a profile.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_create_profile_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
compartment_id varchar2(32767),
name varchar2(32767),
description varchar2(32767),
aggregation_interval_in_days number,
defined_tags json_element_t,
freeform_tags json_element_t,
system_tags json_element_t,
levels_configuration dbms_cloud_oci_optimizer_levels_configuration_t,
target_compartments dbms_cloud_oci_optimizer_target_compartments_t,
target_tags dbms_cloud_oci_optimizer_target_tags_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_create_profile_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_create_profile_details_t (
compartment_id varchar2,
name varchar2,
description varchar2,
aggregation_interval_in_days number,
defined_tags json_element_t,
freeform_tags json_element_t,
system_tags json_element_t,
levels_configuration dbms_cloud_oci_optimizer_levels_configuration_t,
target_compartments dbms_cloud_oci_optimizer_target_compartments_t,
target_tags dbms_cloud_oci_optimizer_target_tags_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
compartment_id
(required) The OCID of the tenancy. The tenancy is the root compartment.
name
(required) The name assigned to the profile. Avoid entering confidential information.
description
(required) Text describing the profile. Avoid entering confidential information.
aggregation_interval_in_days
(optional) The time period over which to collect data for the recommendations, measured in number of days.
defined_tags
(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
freeform_tags
(optional) Simple key-value pair applied without any predefined name, type, or namespace. For more information, see Resource Tags. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`
system_tags
(optional) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
levels_configuration
(required)
target_compartments
(optional)
target_tags
(optional)
DBMS_CLOUD_OCI_OPTIMIZER_ENROLLMENT_STATUS_T Type 🔗
The metadata associated with the enrollment status.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_enrollment_status_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
compartment_id varchar2(32767),
lifecycle_state varchar2(32767),
status varchar2(32767),
status_reason varchar2(32767),
time_created timestamp with time zone,
time_updated timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_enrollment_status_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_enrollment_status_t (
id varchar2,
compartment_id varchar2,
lifecycle_state varchar2,
status varchar2,
status_reason varchar2,
time_created timestamp with time zone,
time_updated timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
(required) The current Cloud Advisor enrollment status.
Allowed values are: 'ACTIVE', 'INACTIVE'
status_reason
(optional) The reason for the enrollment status of the tenancy.
time_created
(optional) The date and time the enrollment status was created, in the format defined by RFC3339.
time_updated
(optional) The date and time the enrollment status was last updated, in the format defined by RFC3339.
DBMS_CLOUD_OCI_OPTIMIZER_ENROLLMENT_STATUS_SUMMARY_T Type 🔗
The metadata associated with the enrollment status summary.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_enrollment_status_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
compartment_id varchar2(32767),
lifecycle_state varchar2(32767),
status varchar2(32767),
status_reason varchar2(32767),
time_created timestamp with time zone,
time_updated timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_enrollment_status_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_enrollment_status_summary_t (
id varchar2,
compartment_id varchar2,
lifecycle_state varchar2,
status varchar2,
status_reason varchar2,
time_created timestamp with time zone,
time_updated timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
(required) The current Cloud Advisor enrollment status.
Allowed values are: 'ACTIVE', 'INACTIVE'
status_reason
(optional) The reason for the enrollment status of the tenancy.
time_created
(optional) The date and time the enrollment status was created, in the format defined by RFC3339.
time_updated
(optional) The date and time the enrollment status was last updated, in the format defined by RFC3339.
DBMS_CLOUD_OCI_OPTIMIZER_ENROLLMENT_STATUS_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_enrollment_status_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_enrollment_status_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_enrollment_status_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_ENROLLMENT_STATUS_COLLECTION_T Type 🔗
A list of enrollment statuses that match filter criteria, if any. Results contain `EnrollmentStatusSummary` objects.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_enrollment_status_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_enrollment_status_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_enrollment_status_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_enrollment_status_collection_t (
items dbms_cloud_oci_optimizer_enrollment_status_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) A collection of enrollment status summaries.
DBMS_CLOUD_OCI_OPTIMIZER_ERROR_T Type 🔗
The representation of an error.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_error_t FORCE AUTHID CURRENT_USER IS OBJECT (
code varchar2(32767),
message varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_error_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_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_OPTIMIZER_EVALUATED_METRIC_T Type 🔗
One of the metrics that will be evaluated by profiles using this profile level.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_evaluated_metric_t FORCE AUTHID CURRENT_USER IS OBJECT (
name varchar2(32767),
statistic varchar2(32767),
threshold number,
target number,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_evaluated_metric_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_evaluated_metric_t (
name varchar2,
statistic varchar2,
threshold number,
target number
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
name
(required) The name of the metric (e.g., `CpuUtilization`).
statistic
(required) The name of the statistic (e.g., `p95`).
threshold
(required) The threshold that must be crossed for the recommendation to appear.
target
(optional) Optional. The metric value that the recommendation will target.
DBMS_CLOUD_OCI_OPTIMIZER_HISTORY_SUMMARY_T Type 🔗
The metadata associated with the recommendation history and its related resources.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_history_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
name varchar2(32767),
resource_type varchar2(32767),
category_id varchar2(32767),
recommendation_id varchar2(32767),
recommendation_name varchar2(32767),
resource_id varchar2(32767),
resource_action_id varchar2(32767),
action dbms_cloud_oci_optimizer_action_t,
compartment_id varchar2(32767),
compartment_name varchar2(32767),
lifecycle_state varchar2(32767),
estimated_cost_saving number,
status varchar2(32767),
metadata json_element_t,
extended_metadata json_element_t,
time_created timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_history_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_history_summary_t (
id varchar2,
name varchar2,
resource_type varchar2,
category_id varchar2,
recommendation_id varchar2,
recommendation_name varchar2,
resource_id varchar2,
resource_action_id varchar2,
action dbms_cloud_oci_optimizer_action_t,
compartment_id varchar2,
compartment_name varchar2,
lifecycle_state varchar2,
estimated_cost_saving number,
status varchar2,
metadata json_element_t,
extended_metadata json_element_t,
time_created timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The unique OCID associated with the recommendation history.
name
(required) The name assigned to the resource.
resource_type
(required) The kind of resource.
category_id
(required) The unique OCID associated with the category.
recommendation_id
(required) The unique OCID associated with the recommendation.
recommendation_name
(required) The name assigned to the recommendation.
resource_id
(required) The unique OCID associated with the resource.
resource_action_id
(required) The unique OCID associated with the resource action.
action
(required)
compartment_id
(required) The OCID of the compartment.
compartment_name
(required) The name assigned to the compartment.
lifecycle_state
(required) The recommendation history's current state.
(optional) Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. They are distinguished from `metadata` fields in that these can be nested JSON objects (whereas `metadata` fields are string/string maps only). For example: `{\"CurrentShape\": {\"name\":\"VM.Standard2.16\"}, \"RecommendedShape\": {\"name\":\"VM.Standard2.8\"}}`
time_created
(optional) The date and time the recommendation history was created, in the format defined by RFC3339.
DBMS_CLOUD_OCI_OPTIMIZER_HISTORY_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_history_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_history_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_history_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_HISTORY_COLLECTION_T Type 🔗
A list containing the recommendation history items that match filter criteria, if any. Results contain `HistorySummary` objects.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_history_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_history_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_history_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_history_collection_t (
items dbms_cloud_oci_optimizer_history_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) A collection of history summaries.
DBMS_CLOUD_OCI_OPTIMIZER_PROFILE_T Type 🔗
The metadata associated with the profile.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_profile_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
compartment_id varchar2(32767),
name varchar2(32767),
description varchar2(32767),
aggregation_interval_in_days number,
defined_tags json_element_t,
freeform_tags json_element_t,
system_tags json_element_t,
levels_configuration dbms_cloud_oci_optimizer_levels_configuration_t,
target_compartments dbms_cloud_oci_optimizer_target_compartments_t,
target_tags dbms_cloud_oci_optimizer_target_tags_t,
lifecycle_state varchar2(32767),
time_created timestamp with time zone,
time_updated timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_profile_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_profile_t (
id varchar2,
compartment_id varchar2,
name varchar2,
description varchar2,
aggregation_interval_in_days number,
defined_tags json_element_t,
freeform_tags json_element_t,
system_tags json_element_t,
levels_configuration dbms_cloud_oci_optimizer_levels_configuration_t,
target_compartments dbms_cloud_oci_optimizer_target_compartments_t,
target_tags dbms_cloud_oci_optimizer_target_tags_t,
lifecycle_state varchar2,
time_created timestamp with time zone,
time_updated timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The unique OCID of the profile.
compartment_id
(required) The OCID of the tenancy. The tenancy is the root compartment.
name
(required) The name assigned to the profile. Avoid entering confidential information.
description
(required) Text describing the profile. Avoid entering confidential information.
aggregation_interval_in_days
(optional) The time period over which to collect data for the recommendations, measured in number of days.
defined_tags
(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
freeform_tags
(optional) Simple key-value pair applied without any predefined name, type, or namespace. For more information, see Resource Tags. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`
system_tags
(optional) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
(required) The date and time the profile was created, in the format defined by RFC3339.
time_updated
(required) The date and time the profile was last updated, in the format defined by RFC3339.
DBMS_CLOUD_OCI_OPTIMIZER_PROFILE_SUMMARY_T Type 🔗
The metadata associated with the profile summary.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_profile_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
compartment_id varchar2(32767),
name varchar2(32767),
description varchar2(32767),
aggregation_interval_in_days number,
defined_tags json_element_t,
freeform_tags json_element_t,
system_tags json_element_t,
lifecycle_state varchar2(32767),
levels_configuration dbms_cloud_oci_optimizer_levels_configuration_t,
target_compartments dbms_cloud_oci_optimizer_target_compartments_t,
target_tags dbms_cloud_oci_optimizer_target_tags_t,
time_created timestamp with time zone,
time_updated timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_profile_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_profile_summary_t (
id varchar2,
compartment_id varchar2,
name varchar2,
description varchar2,
aggregation_interval_in_days number,
defined_tags json_element_t,
freeform_tags json_element_t,
system_tags json_element_t,
lifecycle_state varchar2,
levels_configuration dbms_cloud_oci_optimizer_levels_configuration_t,
target_compartments dbms_cloud_oci_optimizer_target_compartments_t,
target_tags dbms_cloud_oci_optimizer_target_tags_t,
time_created timestamp with time zone,
time_updated timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The unique OCID of the profile.
compartment_id
(required) The OCID of the tenancy. The tenancy is the root compartment.
name
(required) The name assigned to the profile.
description
(required) Text describing the profile.
aggregation_interval_in_days
(optional) The time period over which to collect data for the recommendations, measured in number of days.
defined_tags
(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
freeform_tags
(optional) Simple key-value pair applied without any predefined name, type, or namespace. For more information, see Resource Tags. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`
system_tags
(optional) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
(required) The date and time the profile was created, in the format defined by RFC3339.
time_updated
(required) The date and time the profile was last updated, in the format defined by RFC3339.
DBMS_CLOUD_OCI_OPTIMIZER_PROFILE_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_profile_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_profile_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_profile_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_PROFILE_COLLECTION_T Type 🔗
A list of profiles that match filter criteria, if any. Results contain `ProfileSummary` objects.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_profile_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_profile_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_profile_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_profile_collection_t (
items dbms_cloud_oci_optimizer_profile_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) A collection of profile summaries.
DBMS_CLOUD_OCI_OPTIMIZER_EVALUATED_METRIC_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_evaluated_metric_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_evaluated_metric_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_evaluated_metric_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_NUMBER_TBL Type 🔗
Nested table type of number.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_number_tbl FORCE IS TABLE OF (number) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_PROFILE_LEVEL_SUMMARY_T Type 🔗
The metadata associated with the profile level summary.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_profile_level_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
name varchar2(32767),
recommendation_name varchar2(32767),
metrics dbms_cloud_oci_optimizer_evaluated_metric_tbl,
default_interval number,
valid_intervals dbms_cloud_oci_optimizer_number_tbl,
time_created timestamp with time zone,
time_updated timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_profile_level_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_profile_level_summary_t (
name varchar2,
recommendation_name varchar2,
metrics dbms_cloud_oci_optimizer_evaluated_metric_tbl,
default_interval number,
valid_intervals dbms_cloud_oci_optimizer_number_tbl,
time_created timestamp with time zone,
time_updated timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
name
(required) A unique name for the profile level.
recommendation_name
(required) The name of the recommendation this profile level applies to.
metrics
(required) The metrics that will be evaluated by profiles using this profile level.
default_interval
(required) The default aggregation interval (in days) for profiles using this profile level.
valid_intervals
(required) An array of aggregation intervals (in days) allowed for profiles using this profile level.
time_created
(required) The date and time the category details were created, in the format defined by RFC3339.
time_updated
(required) The date and time the category details were last updated, in the format defined by RFC3339.
DBMS_CLOUD_OCI_OPTIMIZER_PROFILE_LEVEL_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_profile_level_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_profile_level_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_profile_level_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_PROFILE_LEVEL_COLLECTION_T Type 🔗
A list of profile levels that match the filter criteria, if any. The result contains `ProfileLevelSummary` objects.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_profile_level_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_profile_level_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_profile_level_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_profile_level_collection_t (
items dbms_cloud_oci_optimizer_profile_level_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) A collection of profile levels.
DBMS_CLOUD_OCI_OPTIMIZER_QUERY_DETAILS_T Type 🔗
The request object for querying the resource action details.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_query_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
query varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_query_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_query_details_t (
query varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
query
(optional) The query describing which resources to search for. For more information, see Query Language Syntax.
An individual field that can be used as part of a query filter.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_queryable_field_summary_abs_t FORCE AUTHID CURRENT_USER IS OBJECT (
field_type varchar2(32767),
field_name varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_queryable_field_summary_abs_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_queryable_field_summary_abs_t (
field_type varchar2,
field_name varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;
Fields
Field
Description
field_type
(required) The type of the field, which dictates the semantics and query constraints that you can use when searching or querying.
(required) The name of the field to use when constructing the query. Field names are present for all types except `OBJECT`.
DBMS_CLOUD_OCI_OPTIMIZER_QUERYABLE_FIELD_SUMMARY_ABS_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_queryable_field_summary_abs_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_queryable_field_summary_abs_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_queryable_field_summary_abs_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_QUERYABLE_FIELD_SUMMARY_T Type 🔗
An individual field that can be used as part of a query filter.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_queryable_field_summary_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_optimizer_queryable_field_summary_abs_t (
object_properties dbms_cloud_oci_optimizer_queryable_field_summary_abs_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_queryable_field_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_queryable_field_summary_t (
field_type varchar2,
field_name varchar2,
object_properties dbms_cloud_oci_optimizer_queryable_field_summary_abs_tbl
) RETURN SELF AS RESULT
);
Fields
Field
Description
object_properties
(optional) If the field type is `OBJECT`, this property lists the individual properties of the object that can be queried.
DBMS_CLOUD_OCI_OPTIMIZER_QUERYABLE_FIELD_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_queryable_field_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_queryable_field_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_queryable_field_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_QUERYABLE_FIELD_COLLECTION_T Type 🔗
List of the fields that are indexed for querying and their associated value types. Results contain `QueryableFieldSummary` objects.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_queryable_field_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_queryable_field_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_queryable_field_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_queryable_field_collection_t (
items dbms_cloud_oci_optimizer_queryable_field_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) A collection of queryable field summaries.
DBMS_CLOUD_OCI_OPTIMIZER_SUPPORTED_LEVEL_T Type 🔗
A system defined profile level supported by the recommendation.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_supported_level_t FORCE AUTHID CURRENT_USER IS OBJECT (
name varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_supported_level_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_supported_level_t (
name varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
name
(optional) The name of the profile level.
DBMS_CLOUD_OCI_OPTIMIZER_SUPPORTED_LEVEL_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_supported_level_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_supported_level_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_supported_level_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_SUPPORTED_LEVELS_T Type 🔗
Optional. The profile levels supported by a recommendation. For example, profile level values could be `Low`, `Medium`, and `High`. Not all recommendations support this field.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_supported_levels_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_supported_level_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_supported_levels_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_supported_levels_t (
items dbms_cloud_oci_optimizer_supported_level_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(optional) The list of supported levels.
DBMS_CLOUD_OCI_OPTIMIZER_RECOMMENDATION_T Type 🔗
The metadata associated with the recommendation.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_recommendation_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
compartment_id varchar2(32767),
category_id varchar2(32767),
name varchar2(32767),
description varchar2(32767),
importance varchar2(32767),
resource_counts dbms_cloud_oci_optimizer_resource_count_tbl,
lifecycle_state varchar2(32767),
estimated_cost_saving number,
status varchar2(32767),
time_status_begin timestamp with time zone,
time_status_end timestamp with time zone,
time_created timestamp with time zone,
time_updated timestamp with time zone,
supported_levels dbms_cloud_oci_optimizer_supported_levels_t,
extended_metadata json_element_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_recommendation_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_recommendation_t (
id varchar2,
compartment_id varchar2,
category_id varchar2,
name varchar2,
description varchar2,
importance varchar2,
resource_counts dbms_cloud_oci_optimizer_resource_count_tbl,
lifecycle_state varchar2,
estimated_cost_saving number,
status varchar2,
time_status_begin timestamp with time zone,
time_status_end timestamp with time zone,
time_created timestamp with time zone,
time_updated timestamp with time zone,
supported_levels dbms_cloud_oci_optimizer_supported_levels_t,
extended_metadata json_element_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The unique OCID associated with the recommendation.
compartment_id
(required) The OCID of the tenancy. The tenancy is the root compartment.
category_id
(required) The unique OCID associated with the category.
name
(required) The name assigned to the recommendation.
description
(required) Text describing the recommendation.
importance
(required) The level of importance assigned to the recommendation.
(required) The date and time that the recommendation entered its current status. The format is defined by RFC3339. For example, \"The status of the recommendation changed from `pending` to `current(ignored)` on this date and time.\"
time_status_end
(optional) The date and time the current status will change. The format is defined by RFC3339. For example, \"The current `postponed` status of the recommendation will end and change to `pending` on this date and time.\"
time_created
(optional) The date and time the recommendation details were created, in the format defined by RFC3339.
time_updated
(optional) The date and time the recommendation details were last updated, in the format defined by RFC3339.
supported_levels
(optional)
extended_metadata
(optional) Additional metadata key/value pairs for the recommendation. For example: `{\"EstimatedSaving\": \"200\"}`
DBMS_CLOUD_OCI_OPTIMIZER_RECOMMENDATION_SUMMARY_T Type 🔗
The metadata associated with the recommendation summary.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_recommendation_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
compartment_id varchar2(32767),
category_id varchar2(32767),
name varchar2(32767),
description varchar2(32767),
importance varchar2(32767),
resource_counts dbms_cloud_oci_optimizer_resource_count_tbl,
lifecycle_state varchar2(32767),
estimated_cost_saving number,
status varchar2(32767),
time_status_begin timestamp with time zone,
time_status_end timestamp with time zone,
time_created timestamp with time zone,
time_updated timestamp with time zone,
supported_levels dbms_cloud_oci_optimizer_supported_levels_t,
extended_metadata json_element_t,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_recommendation_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_recommendation_summary_t (
id varchar2,
compartment_id varchar2,
category_id varchar2,
name varchar2,
description varchar2,
importance varchar2,
resource_counts dbms_cloud_oci_optimizer_resource_count_tbl,
lifecycle_state varchar2,
estimated_cost_saving number,
status varchar2,
time_status_begin timestamp with time zone,
time_status_end timestamp with time zone,
time_created timestamp with time zone,
time_updated timestamp with time zone,
supported_levels dbms_cloud_oci_optimizer_supported_levels_t,
extended_metadata json_element_t
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The unique OCID associated with the recommendation.
compartment_id
(required) The OCID of the tenancy. The tenancy is the root compartment.
category_id
(required) The unique OCID associated with the category.
name
(required) The name assigned to the recommendation.
description
(required) Text describing the recommendation.
importance
(required) The level of importance assigned to the recommendation.
(required) The date and time that the recommendation entered its current status. The format is defined by RFC3339. For example, \"The status of the recommendation changed from `pending` to `current(ignored)` on this date and time.\"
time_status_end
(optional) The date and time the current status will change. The format is defined by RFC3339. For example, \"The current `postponed` status of the recommendation will end and change to `pending` on this date and time.\"
time_created
(optional) The date and time the recommendation details were created, in the format defined by RFC3339.
time_updated
(optional) The date and time the recommendation details were last updated, in the format defined by RFC3339.
supported_levels
(optional)
extended_metadata
(optional) Additional metadata key/value pairs for the recommendation summary. For example: `{\"EstimatedSaving\": \"200\"}`
DBMS_CLOUD_OCI_OPTIMIZER_RECOMMENDATION_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_recommendation_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_recommendation_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_recommendation_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_RECOMMENDATION_COLLECTION_T Type 🔗
A list of recommendations that match filter criteria, if any. Results contain `RecommendationSummary` objects.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_recommendation_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_recommendation_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_recommendation_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_recommendation_collection_t (
items dbms_cloud_oci_optimizer_recommendation_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) A collection of recommendations.
DBMS_CLOUD_OCI_OPTIMIZER_JSON_ELEMENT_T_TBL Type 🔗
Nested table type of json_element_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_json_element_t_tbl FORCE IS TABLE OF (json_element_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_STRATEGY_PARAMETER_T Type 🔗
The metadata associated with the strategy parameter.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_strategy_parameter_t FORCE AUTHID CURRENT_USER IS OBJECT (
name varchar2(32767),
l_type varchar2(32767),
description varchar2(32767),
is_required number,
default_value json_element_t,
possible_values dbms_cloud_oci_optimizer_json_element_t_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_strategy_parameter_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_strategy_parameter_t (
name varchar2,
l_type varchar2,
description varchar2,
is_required number,
default_value json_element_t,
possible_values dbms_cloud_oci_optimizer_json_element_t_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
(required) Text describing the strategy parameter.
is_required
(required) Whether this parameter is required.
default_value
(optional) A default value used for the strategy parameter.
possible_values
(optional) The list of possible values used for these strategy parameters.
DBMS_CLOUD_OCI_OPTIMIZER_STRATEGY_PARAMETER_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_strategy_parameter_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_strategy_parameter_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_strategy_parameter_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_STRATEGY_T Type 🔗
The metadata associated with the strategy. The strategy is the method used to apply the recommendation.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_strategy_t FORCE AUTHID CURRENT_USER IS OBJECT (
strategy_name varchar2(32767),
is_default number,
parameters_definition dbms_cloud_oci_optimizer_strategy_parameter_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_strategy_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_strategy_t (
strategy_name varchar2,
is_default number,
parameters_definition dbms_cloud_oci_optimizer_strategy_parameter_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
strategy_name
(required) The name of the strategy.
is_default
(required) Whether this is the default recommendation strategy.
parameters_definition
(optional) The list of strategies for the parameters.
DBMS_CLOUD_OCI_OPTIMIZER_STRATEGY_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_strategy_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_strategy_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_strategy_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_RECOMMENDATION_STRATEGY_SUMMARY_T Type 🔗
The metadata associated with the recommendation strategy.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_recommendation_strategy_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
name varchar2(32767),
strategies dbms_cloud_oci_optimizer_strategy_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_recommendation_strategy_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_recommendation_strategy_summary_t (
name varchar2,
strategies dbms_cloud_oci_optimizer_strategy_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
name
(required) The display name of the recommendation.
strategies
(required) The list of strategies used.
DBMS_CLOUD_OCI_OPTIMIZER_RECOMMENDATION_STRATEGY_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_recommendation_strategy_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_recommendation_strategy_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_recommendation_strategy_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_RECOMMENDATION_STRATEGY_COLLECTION_T Type 🔗
A list of strategies that match filter criteria, if any. Results contain `RecommendationStrategySummary` objects.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_recommendation_strategy_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_recommendation_strategy_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_recommendation_strategy_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_recommendation_strategy_collection_t (
items dbms_cloud_oci_optimizer_recommendation_strategy_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) A collection of recommendation strategy summaries.
DBMS_CLOUD_OCI_OPTIMIZER_RESOURCE_ACTION_T Type 🔗
The metadata associated with the resource action.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_resource_action_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
category_id varchar2(32767),
recommendation_id varchar2(32767),
resource_id varchar2(32767),
name varchar2(32767),
resource_type varchar2(32767),
compartment_id varchar2(32767),
compartment_name varchar2(32767),
action dbms_cloud_oci_optimizer_action_t,
lifecycle_state varchar2(32767),
estimated_cost_saving number,
status varchar2(32767),
time_status_begin timestamp with time zone,
time_status_end timestamp with time zone,
metadata json_element_t,
extended_metadata json_element_t,
time_created timestamp with time zone,
time_updated timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_resource_action_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_resource_action_t (
id varchar2,
category_id varchar2,
recommendation_id varchar2,
resource_id varchar2,
name varchar2,
resource_type varchar2,
compartment_id varchar2,
compartment_name varchar2,
action dbms_cloud_oci_optimizer_action_t,
lifecycle_state varchar2,
estimated_cost_saving number,
status varchar2,
time_status_begin timestamp with time zone,
time_status_end timestamp with time zone,
metadata json_element_t,
extended_metadata json_element_t,
time_created timestamp with time zone,
time_updated timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The unique OCID associated with the resource action.
category_id
(required) The unique OCID associated with the category.
recommendation_id
(required) The unique OCID associated with the recommendation.
resource_id
(required) The unique OCID associated with the resource.
name
(required) The name assigned to the resource.
resource_type
(required) The kind of resource.
compartment_id
(required) The OCID of the compartment.
compartment_name
(required) The name associated with the compartment.
(required) The date and time that the resource action entered its current status. The format is defined by RFC3339. For example, \"The status of the resource action changed from `pending` to `current(ignored)` on this date and time.\"
time_status_end
(optional) The date and time the current status will change. The format is defined by RFC3339. For example, \"The current `postponed` status of the resource action will end and change to `pending` on this date and time.\"
(optional) Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. They are distinguished from `metadata` fields in that these can be nested JSON objects (whereas `metadata` fields are string/string maps only). For example: `{\"CurrentShape\": {\"name\":\"VM.Standard2.16\"}, \"RecommendedShape\": {\"name\":\"VM.Standard2.8\"}}`
time_created
(optional) The date and time the resource action details were created, in the format defined by RFC3339.
time_updated
(optional) The date and time the resource action details were last updated, in the format defined by RFC3339.
DBMS_CLOUD_OCI_OPTIMIZER_RESOURCE_ACTION_SUMMARY_T Type 🔗
The metadata associated with the resource action summary.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_resource_action_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
id varchar2(32767),
category_id varchar2(32767),
recommendation_id varchar2(32767),
resource_id varchar2(32767),
name varchar2(32767),
resource_type varchar2(32767),
compartment_id varchar2(32767),
compartment_name varchar2(32767),
action dbms_cloud_oci_optimizer_action_t,
lifecycle_state varchar2(32767),
estimated_cost_saving number,
status varchar2(32767),
time_status_begin timestamp with time zone,
time_status_end timestamp with time zone,
metadata json_element_t,
extended_metadata json_element_t,
time_created timestamp with time zone,
time_updated timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_resource_action_summary_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_resource_action_summary_t (
id varchar2,
category_id varchar2,
recommendation_id varchar2,
resource_id varchar2,
name varchar2,
resource_type varchar2,
compartment_id varchar2,
compartment_name varchar2,
action dbms_cloud_oci_optimizer_action_t,
lifecycle_state varchar2,
estimated_cost_saving number,
status varchar2,
time_status_begin timestamp with time zone,
time_status_end timestamp with time zone,
metadata json_element_t,
extended_metadata json_element_t,
time_created timestamp with time zone,
time_updated timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
id
(required) The unique OCID associated with the resource action.
category_id
(required) The unique OCID associated with the category.
recommendation_id
(required) The unique OCID associated with the recommendation.
resource_id
(required) The unique OCID associated with the resource.
name
(required) The name assigned to the resource.
resource_type
(required) The kind of resource.
compartment_id
(required) The OCID of the compartment.
compartment_name
(required) The name associated with the compartment.
(required) The date and time that the resource action entered its current status. The format is defined by RFC3339. For example, \"The status of the resource action changed from `pending` to `current(ignored)` on this date and time.\"
time_status_end
(optional) The date and time the current status will change. The format is defined by RFC3339. For example, \"The current `postponed` status of the resource action will end and change to `pending` on this date and time.\"
(optional) Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. They are distinguished from `metadata` fields in that these can be nested JSON objects (whereas `metadata` fields are string/string maps only). For example: `{\"CurrentShape\": {\"name\":\"VM.Standard2.16\"}, \"RecommendedShape\": {\"name\":\"VM.Standard2.8\"}}`
time_created
(optional) The date and time the resource action details were created, in the format defined by RFC3339.
time_updated
(optional) The date and time the resource action details were last updated, in the format defined by RFC3339.
DBMS_CLOUD_OCI_OPTIMIZER_RESOURCE_ACTION_SUMMARY_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_resource_action_summary_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_resource_action_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_resource_action_summary_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_RESOURCE_ACTION_COLLECTION_T Type 🔗
A list of resource actions that match filter criteria, if any. Results contain `ResourceActionSummary` objects.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_resource_action_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_resource_action_summary_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_resource_action_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_resource_action_collection_t (
items dbms_cloud_oci_optimizer_resource_action_summary_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) A collection of resource actions.
DBMS_CLOUD_OCI_OPTIMIZER_UPDATE_ENROLLMENT_STATUS_DETAILS_T Type 🔗
The request object for updating the enrollment status details.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_update_enrollment_status_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
status varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_update_enrollment_status_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_update_enrollment_status_details_t (
status varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
status
(required) The Cloud Advisor enrollment status.
Allowed values are: 'ACTIVE', 'INACTIVE'
DBMS_CLOUD_OCI_OPTIMIZER_UPDATE_PROFILE_DETAILS_T Type 🔗
Details for updating a profile.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_update_profile_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
description varchar2(32767),
aggregation_interval_in_days number,
defined_tags json_element_t,
freeform_tags json_element_t,
system_tags json_element_t,
levels_configuration dbms_cloud_oci_optimizer_levels_configuration_t,
target_compartments dbms_cloud_oci_optimizer_target_compartments_t,
target_tags dbms_cloud_oci_optimizer_target_tags_t,
name varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_update_profile_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_update_profile_details_t (
description varchar2,
aggregation_interval_in_days number,
defined_tags json_element_t,
freeform_tags json_element_t,
system_tags json_element_t,
levels_configuration dbms_cloud_oci_optimizer_levels_configuration_t,
target_compartments dbms_cloud_oci_optimizer_target_compartments_t,
target_tags dbms_cloud_oci_optimizer_target_tags_t,
name varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
description
(optional) Text describing the profile. Avoid entering confidential information.
aggregation_interval_in_days
(optional) The time period over which to collect data for the recommendations, measured in number of days.
defined_tags
(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
freeform_tags
(optional) Simple key-value pair applied without any predefined name, type, or namespace. For more information, see Resource Tags. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`
system_tags
(optional) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
levels_configuration
(optional)
target_compartments
(optional)
target_tags
(optional)
name
(optional) The name assigned to the profile. Avoid entering confidential information.
DBMS_CLOUD_OCI_OPTIMIZER_UPDATE_RECOMMENDATION_DETAILS_T Type 🔗
The request object for updating the recommendation details.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_update_recommendation_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
status varchar2(32767),
time_status_end timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_update_recommendation_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_update_recommendation_details_t (
status varchar2,
time_status_end timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
(optional) The date and time the current status will change. The format is defined by RFC3339. For example, \"The current `postponed` status of the recommendation will end and change to `pending` on this date and time.\"
DBMS_CLOUD_OCI_OPTIMIZER_UPDATE_RESOURCE_ACTION_DETAILS_T Type 🔗
The request object for updating the resource action details.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_update_resource_action_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
status varchar2(32767),
time_status_end timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_update_resource_action_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_update_resource_action_details_t (
status varchar2,
time_status_end timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
(optional) The date and time the current status will change. The format is defined by RFC3339. For example, \"The current `postponed` status of the resource action will end and change to `pending` on this date and time.\"
DBMS_CLOUD_OCI_OPTIMIZER_WORK_REQUEST_RESOURCE_T Type 🔗
Details about the resource entity.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_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_optimizer_work_request_resource_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_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 was affected by the work tracked by the work request. A resource being created, updated, or deleted remains in the `IN_PROGRESS` state until work is complete for that resource. At that point, the resource transitions to the `CREATED`, `UPDATED`, or `DELETED` state.
(required) The resource identifier the work request affects.
entity_uri
(optional) The URI path that the user can do a GET on to access the resource metadata
metadata
(optional) Additional information about the resource.
DBMS_CLOUD_OCI_OPTIMIZER_WORK_REQUEST_RESOURCE_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_work_request_resource_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_work_request_resource_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_work_request_resource_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_WORK_REQUEST_T Type 🔗
The asynchronous API request does not take effect immediately. This request spawns an asynchronous workflow to fulfill the request. WorkRequest objects provide visibility for in-progress workflows.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_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_optimizer_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_optimizer_work_request_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_work_request_t (
operation_type varchar2,
status varchar2,
id varchar2,
compartment_id varchar2,
resources dbms_cloud_oci_optimizer_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) An enum-like description of the type of work the work request is doing.
Allowed values are: 'BULK_APPLY_RECOMMENDATIONS'
status
(required) The current status of the work request.
(required) The OCID of the compartment that contains the work request.
resources
(required) The resources this work request affects.
percent_complete
(required) How much progress the operation has made.
time_accepted
(required) Date and time the work was accepted, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
time_started
(optional) Date and time the work started, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
time_finished
(optional) Date and time the work completed, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
DBMS_CLOUD_OCI_OPTIMIZER_WORK_REQUEST_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_work_request_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_work_request_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_work_request_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_WORK_REQUEST_COLLECTION_T Type 🔗
A list of work requests that match filter criteria, if any. Results contain `WorkRequest` objects.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_work_request_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_work_request_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_work_request_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_work_request_collection_t (
items dbms_cloud_oci_optimizer_work_request_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) A collection of work requests.
DBMS_CLOUD_OCI_OPTIMIZER_WORK_REQUEST_ERROR_T Type 🔗
Details about errors encountered while executing a work request.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_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_optimizer_work_request_error_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_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 occurred.
message
(required) A human-readable error string.
l_timestamp
(required) Date and time the error happened, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
DBMS_CLOUD_OCI_OPTIMIZER_WORK_REQUEST_ERROR_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_work_request_error_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_work_request_error_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_work_request_error_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_WORK_REQUEST_ERROR_COLLECTION_T Type 🔗
A list of work request errors that match filter criteria, if any. Results contain `WorkRequestError` objects.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_work_request_error_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_work_request_error_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_work_request_error_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_work_request_error_collection_t (
items dbms_cloud_oci_optimizer_work_request_error_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) A collection of work request errors.
DBMS_CLOUD_OCI_OPTIMIZER_WORK_REQUEST_LOG_ENTRY_T Type 🔗
Details about the log entity.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_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_optimizer_work_request_log_entry_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_work_request_log_entry_t (
message varchar2,
l_timestamp timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
message
(required) A human-readable error string.
l_timestamp
(required) Date and time the log was written, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
DBMS_CLOUD_OCI_OPTIMIZER_WORK_REQUEST_LOG_ENTRY_TBL Type 🔗
Nested table type of dbms_cloud_oci_optimizer_work_request_log_entry_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_work_request_log_entry_tbl FORCE IS TABLE OF (dbms_cloud_oci_optimizer_work_request_log_entry_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_OPTIMIZER_WORK_REQUEST_LOG_ENTRY_COLLECTION_T Type 🔗
A list of work request logs that match filter criteria, if any. Results contain `WorkRequestLogEntry` objects.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_optimizer_work_request_log_entry_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
items dbms_cloud_oci_optimizer_work_request_log_entry_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_work_request_log_entry_collection_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_optimizer_work_request_log_entry_collection_t (
items dbms_cloud_oci_optimizer_work_request_log_entry_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field
Description
items
(required) A collection of work request log entries.