Skip to main content

addon_options

Creates, updates, deletes, gets or lists an addon_options resource.

Overview​

Nameaddon_options
TypeResource
Idoci.container_engine.addon_options

Fields​

The following fields are returned by SELECT queries:

The properties that define addon summary.

NameDatatypeDescription
namestringName of the addon and it would be unique. (example: flannel)
addonGroupstringAddon group info, a namespace concept that groups addons with similar functionalities. (example: oke/cluster-network)
addonSchemaVersionstringAddon definition schema version to validate addon. (example: 0.1)
definedTagsobjectDefined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm). Example: {"Operations": {"CostCenter": "42"}}
descriptionstringDescription on the addon. (example: BlaBla)
freeformTagsobjectFree-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm). Example: {"Department": "Finance"}
isEssentialbooleanIs it an essential addon for cluster operation or not.
lifecycleStatestringThe life cycle state of the addon. (ACTIVE, INACTIVE) (example: ACTIVE)
systemTagsobjectUsage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
timeCreatedstring (date-time)The time the work request was created. (example: 2017-07-21T16:11:29Z)
versionsarrayThe resources this work request affects.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectkubernetesVersion, regionaddonName, opc-request-id, limit, page, sortOrder, sortBy, shouldShowAllVersionsGet list of supported addons for a specific kubernetes version.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
kubernetesVersionstringThe kubernetes version to fetch the addons.
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
addonNamestringThe name of the addon.
limitintegerFor list pagination. The maximum number of results per page, or items to return in a paginated "List" call. 1 is the minimum, 1000 is the maximum. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
pagestringFor list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).
shouldShowAllVersionsbooleanSpecifies whether all add-on versions should be displayed. The default value is false. If set to true, the API will return all available add-on versions, including deprecated versions and detailed build numbers. Please note that the use of deprecated versions, as well as the specification of a particular build of a supported version, is not recommended for standard operations.
sortBystringThe optional field to sort the results by.
sortOrderstringThe optional order in which to sort the results.

SELECT examples​

Get list of supported addons for a specific kubernetes version.

SELECT
name,
addonGroup,
addonSchemaVersion,
definedTags,
description,
freeformTags,
isEssential,
lifecycleState,
systemTags,
timeCreated,
versions
FROM oci.container_engine.addon_options
WHERE kubernetesVersion = '{{ kubernetesVersion }}' -- required
AND region = '{{ region }}' -- required
AND addonName = '{{ addonName }}'
AND opc-request-id = '{{ opc-request-id }}'
AND limit = '{{ limit }}'
AND page = '{{ page }}'
AND sortOrder = '{{ sortOrder }}'
AND sortBy = '{{ sortBy }}'
AND shouldShowAllVersions = '{{ shouldShowAllVersions }}'
;