import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Addon resource in Oracle Cloud Infrastructure Container Engine service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/containerengine/latest/Addon * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/container_engine * * Install the specified addon for a cluster. * * ## Import * * Addons can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:ContainerEngine/addon:Addon test_addon "clusters/{clusterId}/addons/{addonName}" * ``` */ export declare class Addon extends pulumi.CustomResource { /** * Get an existing Addon resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AddonState, opts?: pulumi.CustomResourceOptions): Addon; /** * Returns true if the given object is an instance of Addon. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Addon; /** * The error info of the addon. */ readonly addonErrors: pulumi.Output; /** * The name of the addon. */ readonly addonName: pulumi.Output; /** * The OCID of the cluster. */ readonly clusterId: pulumi.Output; /** * (Updatable) Addon configuration details */ readonly configurations: pulumi.Output; /** * current installed version of the addon */ readonly currentInstalledVersion: pulumi.Output; /** * Whether or not to override an existing addon installation. Defaults to false. If set to true, any existing addon installation would be overridden as per new installation details. */ readonly overrideExisting: pulumi.Output; /** * Whether to remove addon resource in deletion. */ readonly removeAddonResourcesOnDelete: pulumi.Output; /** * The state of the addon. */ readonly state: pulumi.Output; /** * The time the cluster was created. */ readonly timeCreated: pulumi.Output; /** * (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 */ readonly version: pulumi.Output; /** * Create a Addon resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AddonArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Addon resources. */ export interface AddonState { /** * The error info of the addon. */ addonErrors?: pulumi.Input[] | undefined>; /** * The name of the addon. */ addonName?: pulumi.Input; /** * The OCID of the cluster. */ clusterId?: pulumi.Input; /** * (Updatable) Addon configuration details */ configurations?: pulumi.Input[] | undefined>; /** * current installed version of the addon */ currentInstalledVersion?: pulumi.Input; /** * Whether or not to override an existing addon installation. Defaults to false. If set to true, any existing addon installation would be overridden as per new installation details. */ overrideExisting?: pulumi.Input; /** * Whether to remove addon resource in deletion. */ removeAddonResourcesOnDelete?: pulumi.Input; /** * The state of the addon. */ state?: pulumi.Input; /** * The time the cluster was created. */ timeCreated?: pulumi.Input; /** * (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 */ version?: pulumi.Input; } /** * The set of arguments for constructing a Addon resource. */ export interface AddonArgs { /** * The name of the addon. */ addonName: pulumi.Input; /** * The OCID of the cluster. */ clusterId: pulumi.Input; /** * (Updatable) Addon configuration details */ configurations?: pulumi.Input[] | undefined>; /** * Whether or not to override an existing addon installation. Defaults to false. If set to true, any existing addon installation would be overridden as per new installation details. */ overrideExisting?: pulumi.Input; /** * Whether to remove addon resource in deletion. */ removeAddonResourcesOnDelete: pulumi.Input; /** * (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 */ version?: pulumi.Input; } //# sourceMappingURL=addon.d.ts.map