Skip to content

optimizer.oracle.com/v1beta1

Back to API Reference

APIVersion: optimizer.oracle.com/v1beta1

This content is generated from the checked-in CRD schemas in config/crd/bases/. If a description is missing or incorrect, fix the source comments or generator inputs and rerun make generate manifests; do not hand-edit config/crd/bases/*.yaml.

Packages

No customer-visible package currently exposes optimizer.oracle.com/v1beta1.

Resources

Kind Scope Sample Packages
Profile Namespaced Sample -

Profile

Profile is the Schema for the profiles API.

  • Plural: profiles
  • Scope: Namespaced
  • APIVersion: optimizer.oracle.com/v1beta1
  • Sample: Sample (config/samples/optimizer_v1beta1_profile.yaml)
  • Packages: Not currently exposed by a customer-visible package.

Spec

ProfileSpec defines the desired state of Profile.

Field Description Type Required Default Enum
aggregationIntervalInDays The time period over which to collect data for the recommendations, measured in number of days. integer No - -
compartmentId The OCID of the tenancy. The tenancy is the root compartment. string Yes - -
definedTags Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: {"foo-namespace": {"bar-key": "value"}} map[string, map[string, string]] No - -
description Text describing the profile. Avoid entering confidential information. string Yes - -
freeformTags Simple key-value pair applied without any predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Exists for cross-compatibility only. Example: {"bar-key": "value"} map[string, string] No - -
levelsConfiguration ProfileLevelsConfiguration defines nested fields for Profile.LevelsConfiguration. object Yes - -
name The name assigned to the profile. Avoid entering confidential information. string Yes - -
systemTags Usage of system tag keys. These predefined keys are scoped to namespaces. Example: { "orcl-cloud": { "free-tier-retained": "true" } } map[string, map[string, string]] No - -
targetCompartments ProfileTargetCompartments defines nested fields for Profile.TargetCompartments. object No - -
targetTags ProfileTargetTags defines nested fields for Profile.TargetTags. object No - -

Spec.levelsConfiguration

Back to Profile spec

ProfileLevelsConfiguration defines nested fields for Profile.LevelsConfiguration.

Field Description Type Required Default Enum
items The array of configuration levels. list[object] No - -

Spec.levelsConfiguration.items[]

Back to Profile spec

ProfileLevelsConfigurationItem defines nested fields for Profile.LevelsConfiguration.Item.

Field Description Type Required Default Enum
level The pre-defined profile level. string No - -
recommendationId The unique OCID of the recommendation. string No - -

Spec.targetCompartments

Back to Profile spec

ProfileTargetCompartments defines nested fields for Profile.TargetCompartments.

Field Description Type Required Default Enum
items The list of OCIDs attached to the compartments specified in the current profile override. list[string] Yes - -

Spec.targetTags

Back to Profile spec

ProfileTargetTags defines nested fields for Profile.TargetTags.

Field Description Type Required Default Enum
items The list of tags specified in the current profile override. list[object] Yes - -

Spec.targetTags.items[]

Back to Profile spec

ProfileTargetTagsItem defines nested fields for Profile.TargetTags.Item.

Field Description Type Required Default Enum
tagDefinitionName The name you use to refer to the tag, also known as the tag key. string Yes - -
tagNamespaceName The name of the tag namespace. string Yes - -
tagValueType 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. string Yes - -
tagValues The list of tag values. The tag value is the value that the user applying the tag adds to the tag key. list[string] No - -

Status

ProfileStatus defines the observed state of Profile.

Field Description Type Required Default Enum
aggregationIntervalInDays The time period over which to collect data for the recommendations, measured in number of days. integer No - -
compartmentId The OCID of the tenancy. The tenancy is the root compartment. string No - -
definedTags Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: {"foo-namespace": {"bar-key": "value"}} map[string, map[string, string]] No - -
description Text describing the profile. Avoid entering confidential information. string No - -
freeformTags Simple key-value pair applied without any predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Exists for cross-compatibility only. Example: {"bar-key": "value"} map[string, string] No - -
id The unique OCID of the profile. string No - -
levelsConfiguration ProfileLevelsConfiguration defines nested fields for Profile.LevelsConfiguration. object No - -
lifecycleState The profile's current state. string No - -
name The name assigned to the profile. Avoid entering confidential information. string No - -
status - object Yes - -
systemTags Usage of system tag keys. These predefined keys are scoped to namespaces. Example: { "orcl-cloud": { "free-tier-retained": "true" } } map[string, map[string, string]] No - -
targetCompartments ProfileTargetCompartments defines nested fields for Profile.TargetCompartments. object No - -
targetTags ProfileTargetTags defines nested fields for Profile.TargetTags. object No - -
timeCreated The date and time the profile was created, in the format defined by RFC3339. string No - -
timeUpdated The date and time the profile was last updated, in the format defined by RFC3339. string No - -

Status.levelsConfiguration

Back to Profile status

ProfileLevelsConfiguration defines nested fields for Profile.LevelsConfiguration.

Field Description Type Required Default Enum
items The array of configuration levels. list[object] No - -

Status.levelsConfiguration.items[]

Back to Profile status

ProfileLevelsConfigurationItem defines nested fields for Profile.LevelsConfiguration.Item.

Field Description Type Required Default Enum
level The pre-defined profile level. string No - -
recommendationId The unique OCID of the recommendation. string No - -

Status.status

Back to Profile status

Field Description Type Required Default Enum
async Async is the canonical controller-owned async contract. Resource-local legacy work-request fields may remain as compatibility mirrors while follow-on migrations land, but new async state should project here first. object No - -
conditions - list[object] No - -
createdAt - string (date-time) No - -
deletedAt - string (date-time) No - -
message - string No - -
ocid - string No - -
opcRequestId OpcRequestID is the latest non-empty OCI request ID from a mutating OCI response or surfaced OCI service error that materially contributed to the current shared status projection. Headerless follow-up observations keep the last non-empty value intact. string No - -
reason - string No - -
requestedAt - string (date-time) No - -
updatedAt - string (date-time) No - -

Status.status.async

Back to Profile status

Async is the canonical controller-owned async contract. Resource-local legacy work-request fields may remain as compatibility mirrors while follow-on migrations land, but new async state should project here first.

Field Description Type Required Default Enum
current - object No - -

Status.status.async.current

Back to Profile status

Field Description Type Required Default Enum
message - string No - -
normalizedClass - string Yes - attention, canceled, failed, pending, succeeded, unknown
percentComplete - number No - -
phase - string Yes - create, delete, update
rawOperationType - string No - -
rawStatus - string No - -
source - string Yes - lifecycle, none, workrequest
updatedAt - string (date-time) Yes - -
workRequestId - string No - -

Status.status.conditions[]

Back to Profile status

Field Description Type Required Default Enum
lastTransitionTime - string (date-time) No - -
message - string No - -
reason - string No - -
status - string Yes - -
type - string Yes - -

Status.targetCompartments

Back to Profile status

ProfileTargetCompartments defines nested fields for Profile.TargetCompartments.

Field Description Type Required Default Enum
items The list of OCIDs attached to the compartments specified in the current profile override. list[string] Yes - -

Status.targetTags

Back to Profile status

ProfileTargetTags defines nested fields for Profile.TargetTags.

Field Description Type Required Default Enum
items The list of tags specified in the current profile override. list[object] Yes - -

Status.targetTags.items[]

Back to Profile status

ProfileTargetTagsItem defines nested fields for Profile.TargetTags.Item.

Field Description Type Required Default Enum
tagDefinitionName The name you use to refer to the tag, also known as the tag key. string Yes - -
tagNamespaceName The name of the tag namespace. string Yes - -
tagValueType 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. string Yes - -
tagValues The list of tag values. The tag value is the value that the user applying the tag adds to the tag key. list[string] No - -