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<pulumi.ID>, 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<outputs.ContainerEngine.AddonAddonError[]>;
    /**
     * The name of the addon.
     */
    readonly addonName: pulumi.Output<string>;
    /**
     * The OCID of the cluster.
     */
    readonly clusterId: pulumi.Output<string>;
    /**
     * (Updatable) Addon configuration details
     */
    readonly configurations: pulumi.Output<outputs.ContainerEngine.AddonConfiguration[]>;
    /**
     * current installed version of the addon
     */
    readonly currentInstalledVersion: pulumi.Output<string>;
    /**
     * 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<boolean | undefined>;
    /**
     * Whether to remove addon resource in deletion.
     */
    readonly removeAddonResourcesOnDelete: pulumi.Output<boolean>;
    /**
     * The state of the addon.
     */
    readonly state: pulumi.Output<string>;
    /**
     * The time the cluster was created.
     */
    readonly timeCreated: pulumi.Output<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
     */
    readonly version: pulumi.Output<string | undefined>;
    /**
     * 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<pulumi.Input<inputs.ContainerEngine.AddonAddonError>[] | undefined>;
    /**
     * The name of the addon.
     */
    addonName?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the cluster.
     */
    clusterId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Addon configuration details
     */
    configurations?: pulumi.Input<pulumi.Input<inputs.ContainerEngine.AddonConfiguration>[] | undefined>;
    /**
     * current installed version of the addon
     */
    currentInstalledVersion?: pulumi.Input<string | 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<boolean | undefined>;
    /**
     * Whether to remove addon resource in deletion.
     */
    removeAddonResourcesOnDelete?: pulumi.Input<boolean | undefined>;
    /**
     * The state of the addon.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The time the cluster was created.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * (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<string | undefined>;
}
/**
 * The set of arguments for constructing a Addon resource.
 */
export interface AddonArgs {
    /**
     * The name of the addon.
     */
    addonName: pulumi.Input<string>;
    /**
     * The OCID of the cluster.
     */
    clusterId: pulumi.Input<string>;
    /**
     * (Updatable) Addon configuration details
     */
    configurations?: pulumi.Input<pulumi.Input<inputs.ContainerEngine.AddonConfiguration>[] | 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<boolean | undefined>;
    /**
     * Whether to remove addon resource in deletion.
     */
    removeAddonResourcesOnDelete: pulumi.Input<boolean>;
    /**
     * (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<string | undefined>;
}
//# sourceMappingURL=addon.d.ts.map