Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.ContainerEngine.getAddonOptions
Start a Neo task
Explain and create an oci.ContainerEngine.getAddonOptions resource
This data source provides the list of Addon Options in Oracle Cloud Infrastructure Container Engine service.
Get list of supported addons for a specific kubernetes version.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAddonOptions = oci.ContainerEngine.getAddonOptions({
kubernetesVersion: addonOptionKubernetesVersion,
addonName: testAddon.name,
shouldShowAllVersions: addonOptionShouldShowAllVersions,
});
import pulumi
import pulumi_oci as oci
test_addon_options = oci.ContainerEngine.get_addon_options(kubernetes_version=addon_option_kubernetes_version,
addon_name=test_addon["name"],
should_show_all_versions=addon_option_should_show_all_versions)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/containerengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerengine.GetAddonOptions(ctx, &containerengine.GetAddonOptionsArgs{
KubernetesVersion: addonOptionKubernetesVersion,
AddonName: pulumi.StringRef(testAddon.Name),
ShouldShowAllVersions: pulumi.BoolRef(addonOptionShouldShowAllVersions),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testAddonOptions = Oci.ContainerEngine.GetAddonOptions.Invoke(new()
{
KubernetesVersion = addonOptionKubernetesVersion,
AddonName = testAddon.Name,
ShouldShowAllVersions = addonOptionShouldShowAllVersions,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ContainerEngine.ContainerEngineFunctions;
import com.pulumi.oci.ContainerEngine.inputs.GetAddonOptionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testAddonOptions = ContainerEngineFunctions.getAddonOptions(GetAddonOptionsArgs.builder()
.kubernetesVersion(addonOptionKubernetesVersion)
.addonName(testAddon.name())
.shouldShowAllVersions(addonOptionShouldShowAllVersions)
.build());
}
}
variables:
testAddonOptions:
fn::invoke:
function: oci:ContainerEngine:getAddonOptions
arguments:
kubernetesVersion: ${addonOptionKubernetesVersion}
addonName: ${testAddon.name}
shouldShowAllVersions: ${addonOptionShouldShowAllVersions}
Using getAddonOptions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAddonOptions(args: GetAddonOptionsArgs, opts?: InvokeOptions): Promise<GetAddonOptionsResult>
function getAddonOptionsOutput(args: GetAddonOptionsOutputArgs, opts?: InvokeOptions): Output<GetAddonOptionsResult>def get_addon_options(addon_name: Optional[str] = None,
filters: Optional[Sequence[GetAddonOptionsFilter]] = None,
kubernetes_version: Optional[str] = None,
should_show_all_versions: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetAddonOptionsResult
def get_addon_options_output(addon_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetAddonOptionsFilterArgs]]]] = None,
kubernetes_version: Optional[pulumi.Input[str]] = None,
should_show_all_versions: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAddonOptionsResult]func GetAddonOptions(ctx *Context, args *GetAddonOptionsArgs, opts ...InvokeOption) (*GetAddonOptionsResult, error)
func GetAddonOptionsOutput(ctx *Context, args *GetAddonOptionsOutputArgs, opts ...InvokeOption) GetAddonOptionsResultOutput> Note: This function is named GetAddonOptions in the Go SDK.
public static class GetAddonOptions
{
public static Task<GetAddonOptionsResult> InvokeAsync(GetAddonOptionsArgs args, InvokeOptions? opts = null)
public static Output<GetAddonOptionsResult> Invoke(GetAddonOptionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAddonOptionsResult> getAddonOptions(GetAddonOptionsArgs args, InvokeOptions options)
public static Output<GetAddonOptionsResult> getAddonOptions(GetAddonOptionsArgs args, InvokeOptions options)
fn::invoke:
function: oci:ContainerEngine/getAddonOptions:getAddonOptions
arguments:
# arguments dictionaryThe following arguments are supported:
- Kubernetes
Version string - The kubernetes version to fetch the addons.
- Addon
Name string - The name of the addon.
- Filters
List<Get
Addon Options Filter> - Should
Show boolAll Versions - Whether to show all add-on versions
- Kubernetes
Version string - The kubernetes version to fetch the addons.
- Addon
Name string - The name of the addon.
- Filters
[]Get
Addon Options Filter - Should
Show boolAll Versions - Whether to show all add-on versions
- kubernetes
Version String - The kubernetes version to fetch the addons.
- addon
Name String - The name of the addon.
- filters
List<Get
Addon Options Filter> - should
Show BooleanAll Versions - Whether to show all add-on versions
- kubernetes
Version string - The kubernetes version to fetch the addons.
- addon
Name string - The name of the addon.
- filters
Get
Addon Options Filter[] - should
Show booleanAll Versions - Whether to show all add-on versions
- kubernetes_
version str - The kubernetes version to fetch the addons.
- addon_
name str - The name of the addon.
- filters
Sequence[Get
Addon Options Filter] - should_
show_ boolall_ versions - Whether to show all add-on versions
- kubernetes
Version String - The kubernetes version to fetch the addons.
- addon
Name String - The name of the addon.
- filters List<Property Map>
- should
Show BooleanAll Versions - Whether to show all add-on versions
getAddonOptions Result
The following output properties are available:
- Addon
Options List<GetAddon Options Addon Option> - The list of addon_options.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kubernetes
Version string - Addon
Name string - Filters
List<Get
Addon Options Filter> - Should
Show boolAll Versions
- Addon
Options []GetAddon Options Addon Option - The list of addon_options.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kubernetes
Version string - Addon
Name string - Filters
[]Get
Addon Options Filter - Should
Show boolAll Versions
- addon
Options List<GetAddon Options Addon Option> - The list of addon_options.
- id String
- The provider-assigned unique ID for this managed resource.
- kubernetes
Version String - addon
Name String - filters
List<Get
Addon Options Filter> - should
Show BooleanAll Versions
- addon
Options GetAddon Options Addon Option[] - The list of addon_options.
- id string
- The provider-assigned unique ID for this managed resource.
- kubernetes
Version string - addon
Name string - filters
Get
Addon Options Filter[] - should
Show booleanAll Versions
- addon_
options Sequence[GetAddon Options Addon Option] - The list of addon_options.
- id str
- The provider-assigned unique ID for this managed resource.
- kubernetes_
version str - addon_
name str - filters
Sequence[Get
Addon Options Filter] - should_
show_ boolall_ versions
- addon
Options List<Property Map> - The list of addon_options.
- id String
- The provider-assigned unique ID for this managed resource.
- kubernetes
Version String - addon
Name String - filters List<Property Map>
- should
Show BooleanAll Versions
Supporting Types
GetAddonOptionsAddonOption
- Addon
Group string - Addon group info, a namespace concept that groups addons with similar functionalities.
- Addon
Schema stringVersion - Addon definition schema version to validate addon.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- Information about the addon version.
- Dictionary<string, string>
- Free-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. Example:
{"Department": "Finance"} - Is
Essential bool - Is it an essential addon for cluster operation or not.
- Name string
- Name of the addon and it would be unique.
- State string
- The life cycle state of the addon.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time the work request was created.
- Versions
List<Get
Addon Options Addon Option Version> - The resources this work request affects.
- Addon
Group string - Addon group info, a namespace concept that groups addons with similar functionalities.
- Addon
Schema stringVersion - Addon definition schema version to validate addon.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- Information about the addon version.
- map[string]string
- Free-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. Example:
{"Department": "Finance"} - Is
Essential bool - Is it an essential addon for cluster operation or not.
- Name string
- Name of the addon and it would be unique.
- State string
- The life cycle state of the addon.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time the work request was created.
- Versions
[]Get
Addon Options Addon Option Version - The resources this work request affects.
- addon
Group String - Addon group info, a namespace concept that groups addons with similar functionalities.
- addon
Schema StringVersion - Addon definition schema version to validate addon.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- Information about the addon version.
- Map<String,String>
- Free-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. Example:
{"Department": "Finance"} - is
Essential Boolean - Is it an essential addon for cluster operation or not.
- name String
- Name of the addon and it would be unique.
- state String
- The life cycle state of the addon.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time the work request was created.
- versions
List<Get
Addon Options Addon Option Version> - The resources this work request affects.
- addon
Group string - Addon group info, a namespace concept that groups addons with similar functionalities.
- addon
Schema stringVersion - Addon definition schema version to validate addon.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description string
- Information about the addon version.
- {[key: string]: string}
- Free-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. Example:
{"Department": "Finance"} - is
Essential boolean - Is it an essential addon for cluster operation or not.
- name string
- Name of the addon and it would be unique.
- state string
- The life cycle state of the addon.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The time the work request was created.
- versions
Get
Addon Options Addon Option Version[] - The resources this work request affects.
- addon_
group str - Addon group info, a namespace concept that groups addons with similar functionalities.
- addon_
schema_ strversion - Addon definition schema version to validate addon.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description str
- Information about the addon version.
- Mapping[str, str]
- Free-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. Example:
{"Department": "Finance"} - is_
essential bool - Is it an essential addon for cluster operation or not.
- name str
- Name of the addon and it would be unique.
- state str
- The life cycle state of the addon.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The time the work request was created.
- versions
Sequence[Get
Addon Options Addon Option Version] - The resources this work request affects.
- addon
Group String - Addon group info, a namespace concept that groups addons with similar functionalities.
- addon
Schema StringVersion - Addon definition schema version to validate addon.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- Information about the addon version.
- Map<String>
- Free-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. Example:
{"Department": "Finance"} - is
Essential Boolean - Is it an essential addon for cluster operation or not.
- name String
- Name of the addon and it would be unique.
- state String
- The life cycle state of the addon.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time the work request was created.
- versions List<Property Map>
- The resources this work request affects.
GetAddonOptionsAddonOptionVersion
- Configurations
List<Get
Addon Options Addon Option Version Configuration> - Addon version configuration details.
- Description string
- Information about the addon version.
- Kubernetes
Version List<GetFilters Addon Options Addon Option Version Kubernetes Version Filter> - The range of kubernetes versions an addon can be configured.
- Status string
- Current state of the addon, only active will be visible to customer, visibility of versions in other status will be filtered based on limits property.
- Version
Number string - Version number, need be comparable within an addon.
- Configurations
[]Get
Addon Options Addon Option Version Configuration - Addon version configuration details.
- Description string
- Information about the addon version.
- Kubernetes
Version []GetFilters Addon Options Addon Option Version Kubernetes Version Filter - The range of kubernetes versions an addon can be configured.
- Status string
- Current state of the addon, only active will be visible to customer, visibility of versions in other status will be filtered based on limits property.
- Version
Number string - Version number, need be comparable within an addon.
- configurations
List<Get
Addon Options Addon Option Version Configuration> - Addon version configuration details.
- description String
- Information about the addon version.
- kubernetes
Version List<GetFilters Addon Options Addon Option Version Kubernetes Version Filter> - The range of kubernetes versions an addon can be configured.
- status String
- Current state of the addon, only active will be visible to customer, visibility of versions in other status will be filtered based on limits property.
- version
Number String - Version number, need be comparable within an addon.
- configurations
Get
Addon Options Addon Option Version Configuration[] - Addon version configuration details.
- description string
- Information about the addon version.
- kubernetes
Version GetFilters Addon Options Addon Option Version Kubernetes Version Filter[] - The range of kubernetes versions an addon can be configured.
- status string
- Current state of the addon, only active will be visible to customer, visibility of versions in other status will be filtered based on limits property.
- version
Number string - Version number, need be comparable within an addon.
- configurations
Sequence[Get
Addon Options Addon Option Version Configuration] - Addon version configuration details.
- description str
- Information about the addon version.
- kubernetes_
version_ Sequence[Getfilters Addon Options Addon Option Version Kubernetes Version Filter] - The range of kubernetes versions an addon can be configured.
- status str
- Current state of the addon, only active will be visible to customer, visibility of versions in other status will be filtered based on limits property.
- version_
number str - Version number, need be comparable within an addon.
- configurations List<Property Map>
- Addon version configuration details.
- description String
- Information about the addon version.
- kubernetes
Version List<Property Map>Filters - The range of kubernetes versions an addon can be configured.
- status String
- Current state of the addon, only active will be visible to customer, visibility of versions in other status will be filtered based on limits property.
- version
Number String - Version number, need be comparable within an addon.
GetAddonOptionsAddonOptionVersionConfiguration
- Description string
- Information about the addon version.
- Display
Name string - Display name of addon version.
- Is
Required bool - If the the configuration is required or not.
- Key string
- Addon configuration key
- Value string
- Addon configuration value
- Description string
- Information about the addon version.
- Display
Name string - Display name of addon version.
- Is
Required bool - If the the configuration is required or not.
- Key string
- Addon configuration key
- Value string
- Addon configuration value
- description String
- Information about the addon version.
- display
Name String - Display name of addon version.
- is
Required Boolean - If the the configuration is required or not.
- key String
- Addon configuration key
- value String
- Addon configuration value
- description string
- Information about the addon version.
- display
Name string - Display name of addon version.
- is
Required boolean - If the the configuration is required or not.
- key string
- Addon configuration key
- value string
- Addon configuration value
- description str
- Information about the addon version.
- display_
name str - Display name of addon version.
- is_
required bool - If the the configuration is required or not.
- key str
- Addon configuration key
- value str
- Addon configuration value
- description String
- Information about the addon version.
- display
Name String - Display name of addon version.
- is
Required Boolean - If the the configuration is required or not.
- key String
- Addon configuration key
- value String
- Addon configuration value
GetAddonOptionsAddonOptionVersionKubernetesVersionFilter
- Exact
Kubernetes List<string>Versions - The exact version of kubernetes that are compatible.
- Maximum
Version string - The latest kubernetes version.
- Minimal
Version string - The earliest kubernetes version.
- Exact
Kubernetes []stringVersions - The exact version of kubernetes that are compatible.
- Maximum
Version string - The latest kubernetes version.
- Minimal
Version string - The earliest kubernetes version.
- exact
Kubernetes List<String>Versions - The exact version of kubernetes that are compatible.
- maximum
Version String - The latest kubernetes version.
- minimal
Version String - The earliest kubernetes version.
- exact
Kubernetes string[]Versions - The exact version of kubernetes that are compatible.
- maximum
Version string - The latest kubernetes version.
- minimal
Version string - The earliest kubernetes version.
- exact_
kubernetes_ Sequence[str]versions - The exact version of kubernetes that are compatible.
- maximum_
version str - The latest kubernetes version.
- minimal_
version str - The earliest kubernetes version.
- exact
Kubernetes List<String>Versions - The exact version of kubernetes that are compatible.
- maximum
Version String - The latest kubernetes version.
- minimal
Version String - The earliest kubernetes version.
GetAddonOptionsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
