oci logo
Oracle Cloud Infrastructure v0.20.0, May 31 23

oci.ContainerEngine.Addon

Explore with Pulumi AI

This resource provides the Addon resource in Oracle Cloud Infrastructure Container Engine service.

Install the specified addon for a cluster.

Create Addon Resource

new Addon(name: string, args: AddonArgs, opts?: CustomResourceOptions);
@overload
def Addon(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          addon_name: Optional[str] = None,
          cluster_id: Optional[str] = None,
          configurations: Optional[Sequence[_containerengine.AddonConfigurationArgs]] = None,
          remove_addon_resources_on_delete: Optional[bool] = None,
          version: Optional[str] = None)
@overload
def Addon(resource_name: str,
          args: AddonArgs,
          opts: Optional[ResourceOptions] = None)
func NewAddon(ctx *Context, name string, args AddonArgs, opts ...ResourceOption) (*Addon, error)
public Addon(string name, AddonArgs args, CustomResourceOptions? opts = null)
public Addon(String name, AddonArgs args)
public Addon(String name, AddonArgs args, CustomResourceOptions options)
type: oci:ContainerEngine:Addon
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AddonArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AddonArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AddonArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AddonArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AddonArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Addon Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Addon resource accepts the following input properties:

AddonName string

The name of the addon.

ClusterId string

The OCID of the cluster.

RemoveAddonResourcesOnDelete bool

Whether to remove addon resource in deletion.

Configurations List<AddonConfigurationArgs>

(Updatable) Addon configuration details.

Version string

(Updatable) The version of addon to be installed.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

AddonName string

The name of the addon.

ClusterId string

The OCID of the cluster.

RemoveAddonResourcesOnDelete bool

Whether to remove addon resource in deletion.

Configurations []AddonConfigurationArgs

(Updatable) Addon configuration details.

Version string

(Updatable) The version of addon to be installed.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

addonName String

The name of the addon.

clusterId String

The OCID of the cluster.

removeAddonResourcesOnDelete Boolean

Whether to remove addon resource in deletion.

configurations List<AddonConfigurationArgs>

(Updatable) Addon configuration details.

version String

(Updatable) The version of addon to be installed.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

addonName string

The name of the addon.

clusterId string

The OCID of the cluster.

removeAddonResourcesOnDelete boolean

Whether to remove addon resource in deletion.

configurations AddonConfigurationArgs[]

(Updatable) Addon configuration details.

version string

(Updatable) The version of addon to be installed.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

addon_name str

The name of the addon.

cluster_id str

The OCID of the cluster.

remove_addon_resources_on_delete bool

Whether to remove addon resource in deletion.

configurations AddonConfigurationArgs]

(Updatable) Addon configuration details.

version str

(Updatable) The version of addon to be installed.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

addonName String

The name of the addon.

clusterId String

The OCID of the cluster.

removeAddonResourcesOnDelete Boolean

Whether to remove addon resource in deletion.

configurations List<Property Map>

(Updatable) Addon configuration details.

version String

(Updatable) The version of addon to be installed.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Outputs

All input properties are implicitly available as output properties. Additionally, the Addon resource produces the following output properties:

AddonErrors List<AddonAddonError>

The error info of the addon.

CurrentInstalledVersion string

current installed version of the addon

Id string

The provider-assigned unique ID for this managed resource.

State string

The state of the addon.

TimeCreated string

The time the cluster was created.

AddonErrors []AddonAddonError

The error info of the addon.

CurrentInstalledVersion string

current installed version of the addon

Id string

The provider-assigned unique ID for this managed resource.

State string

The state of the addon.

TimeCreated string

The time the cluster was created.

addonErrors List<AddonAddonError>

The error info of the addon.

currentInstalledVersion String

current installed version of the addon

id String

The provider-assigned unique ID for this managed resource.

state String

The state of the addon.

timeCreated String

The time the cluster was created.

addonErrors AddonAddonError[]

The error info of the addon.

currentInstalledVersion string

current installed version of the addon

id string

The provider-assigned unique ID for this managed resource.

state string

The state of the addon.

timeCreated string

The time the cluster was created.

addon_errors AddonAddonError]

The error info of the addon.

current_installed_version str

current installed version of the addon

id str

The provider-assigned unique ID for this managed resource.

state str

The state of the addon.

time_created str

The time the cluster was created.

addonErrors List<Property Map>

The error info of the addon.

currentInstalledVersion String

current installed version of the addon

id String

The provider-assigned unique ID for this managed resource.

state String

The state of the addon.

timeCreated String

The time the cluster was created.

Look up Existing Addon Resource

Get an existing Addon resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AddonState, opts?: CustomResourceOptions): Addon
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        addon_errors: Optional[Sequence[_containerengine.AddonAddonErrorArgs]] = None,
        addon_name: Optional[str] = None,
        cluster_id: Optional[str] = None,
        configurations: Optional[Sequence[_containerengine.AddonConfigurationArgs]] = None,
        current_installed_version: Optional[str] = None,
        remove_addon_resources_on_delete: Optional[bool] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None,
        version: Optional[str] = None) -> Addon
func GetAddon(ctx *Context, name string, id IDInput, state *AddonState, opts ...ResourceOption) (*Addon, error)
public static Addon Get(string name, Input<string> id, AddonState? state, CustomResourceOptions? opts = null)
public static Addon get(String name, Output<String> id, AddonState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AddonErrors List<AddonAddonErrorArgs>

The error info of the addon.

AddonName string

The name of the addon.

ClusterId string

The OCID of the cluster.

Configurations List<AddonConfigurationArgs>

(Updatable) Addon configuration details.

CurrentInstalledVersion string

current installed version of the addon

RemoveAddonResourcesOnDelete bool

Whether to remove addon resource in deletion.

State string

The state of the addon.

TimeCreated string

The time the cluster was created.

Version string

(Updatable) The version of addon to be installed.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

AddonErrors []AddonAddonErrorArgs

The error info of the addon.

AddonName string

The name of the addon.

ClusterId string

The OCID of the cluster.

Configurations []AddonConfigurationArgs

(Updatable) Addon configuration details.

CurrentInstalledVersion string

current installed version of the addon

RemoveAddonResourcesOnDelete bool

Whether to remove addon resource in deletion.

State string

The state of the addon.

TimeCreated string

The time the cluster was created.

Version string

(Updatable) The version of addon to be installed.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

addonErrors List<AddonAddonErrorArgs>

The error info of the addon.

addonName String

The name of the addon.

clusterId String

The OCID of the cluster.

configurations List<AddonConfigurationArgs>

(Updatable) Addon configuration details.

currentInstalledVersion String

current installed version of the addon

removeAddonResourcesOnDelete Boolean

Whether to remove addon resource in deletion.

state String

The state of the addon.

timeCreated String

The time the cluster was created.

version String

(Updatable) The version of addon to be installed.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

addonErrors AddonAddonErrorArgs[]

The error info of the addon.

addonName string

The name of the addon.

clusterId string

The OCID of the cluster.

configurations AddonConfigurationArgs[]

(Updatable) Addon configuration details.

currentInstalledVersion string

current installed version of the addon

removeAddonResourcesOnDelete boolean

Whether to remove addon resource in deletion.

state string

The state of the addon.

timeCreated string

The time the cluster was created.

version string

(Updatable) The version of addon to be installed.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

addon_errors AddonAddonErrorArgs]

The error info of the addon.

addon_name str

The name of the addon.

cluster_id str

The OCID of the cluster.

configurations AddonConfigurationArgs]

(Updatable) Addon configuration details.

current_installed_version str

current installed version of the addon

remove_addon_resources_on_delete bool

Whether to remove addon resource in deletion.

state str

The state of the addon.

time_created str

The time the cluster was created.

version str

(Updatable) The version of addon to be installed.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

addonErrors List<Property Map>

The error info of the addon.

addonName String

The name of the addon.

clusterId String

The OCID of the cluster.

configurations List<Property Map>

(Updatable) Addon configuration details.

currentInstalledVersion String

current installed version of the addon

removeAddonResourcesOnDelete Boolean

Whether to remove addon resource in deletion.

state String

The state of the addon.

timeCreated String

The time the cluster was created.

version String

(Updatable) The version of addon to be installed.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Supporting Types

AddonAddonError

Code string

A short error code that defines the upstream error, meant for programmatic parsing. See API Errors.

Message string

A human-readable error string of the upstream error.

Status string

The status of the HTTP response encountered in the upstream error.

Code string

A short error code that defines the upstream error, meant for programmatic parsing. See API Errors.

Message string

A human-readable error string of the upstream error.

Status string

The status of the HTTP response encountered in the upstream error.

code String

A short error code that defines the upstream error, meant for programmatic parsing. See API Errors.

message String

A human-readable error string of the upstream error.

status String

The status of the HTTP response encountered in the upstream error.

code string

A short error code that defines the upstream error, meant for programmatic parsing. See API Errors.

message string

A human-readable error string of the upstream error.

status string

The status of the HTTP response encountered in the upstream error.

code str

A short error code that defines the upstream error, meant for programmatic parsing. See API Errors.

message str

A human-readable error string of the upstream error.

status str

The status of the HTTP response encountered in the upstream error.

code String

A short error code that defines the upstream error, meant for programmatic parsing. See API Errors.

message String

A human-readable error string of the upstream error.

status String

The status of the HTTP response encountered in the upstream error.

AddonConfiguration

Key string

(Updatable) configuration key name

Value string

(Updatable) configuration value name

Key string

(Updatable) configuration key name

Value string

(Updatable) configuration value name

key String

(Updatable) configuration key name

value String

(Updatable) configuration value name

key string

(Updatable) configuration key name

value string

(Updatable) configuration value name

key str

(Updatable) configuration key name

value str

(Updatable) configuration value name

key String

(Updatable) configuration key name

value String

(Updatable) configuration value name

Import

Addons can be imported using the id, e.g.

 $ pulumi import oci:ContainerEngine/addon:Addon test_addon "clusters/{clusterId}/addons/{addonName}"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.