Oracle Cloud Infrastructure v0.20.0, May 31 23
Oracle Cloud Infrastructure v0.20.0, May 31 23
oci.ContainerEngine.getAddonOptions
Explore with Pulumi AI
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
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 = @var.Addon_option_kubernetes_version,
AddonName = oci_containerengine_addon.Test_addon.Name,
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/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: _var.Addon_option_kubernetes_version,
AddonName: pulumi.StringRef(oci_containerengine_addon.Test_addon.Name),
}, nil)
if err != nil {
return err
}
return nil
})
}
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(var_.addon_option_kubernetes_version())
.addonName(oci_containerengine_addon.test_addon().name())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_addon_options = oci.ContainerEngine.get_addon_options(kubernetes_version=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
addon_name=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAddonOptions = oci.ContainerEngine.getAddonOptions({
kubernetesVersion: _var.addon_option_kubernetes_version,
addonName: oci_containerengine_addon.test_addon.name,
});
variables:
testAddonOptions:
fn::invoke:
Function: oci:ContainerEngine:getAddonOptions
Arguments:
kubernetesVersion: ${var.addon_option_kubernetes_version}
addonName: ${oci_containerengine_addon.test_addon.name}
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[_containerengine.GetAddonOptionsFilter]] = None,
kubernetes_version: Optional[str] = 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[_containerengine.GetAddonOptionsFilterArgs]]]] = None,
kubernetes_version: Optional[pulumi.Input[str]] = 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:ContainerEngine/getAddonOptions:getAddonOptions
arguments:
# arguments dictionary
The 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>
- Kubernetes
Version string The kubernetes version to fetch the addons.
- Addon
Name string The name of the addon.
- Filters
[]Get
Addon Options Filter
- kubernetes
Version String The kubernetes version to fetch the addons.
- addon
Name String The name of the addon.
- filters
List<Get
Addon Options Filter>
- kubernetes
Version string The kubernetes version to fetch the addons.
- addon
Name string The name of the addon.
- filters
Get
Addon Options Filter[]
- kubernetes_
version str The kubernetes version to fetch the addons.
- addon_
name str The name of the addon.
- filters
Get
Addon Options Filter]
- kubernetes
Version String The kubernetes version to fetch the addons.
- addon
Name String The name of the addon.
- filters List<Property Map>
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>
- 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
- 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>
- 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[]
- addon_
options 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
Get
Addon Options Filter]
- 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>
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, object>
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, object>
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, object>
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]interface{}
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]interface{}
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]interface{}
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,Object>
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,Object>
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,Object>
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]: any}
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]: any}
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]: any}
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, Any]
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, Any]
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, Any]
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
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<Any>
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<Any>
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<Any>
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
Get
Addon Options Addon Option Version Configuration] Addon version configuration details.
- description str
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 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
oci
Terraform Provider.