@huaweicloudos/pulumi
Version:
A Pulumi package for creating and managing Huaweicloud cloud resources.
135 lines (134 loc) • 4.8 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
/**
* ## Import
*
* CCE add-on can be imported using the cluster ID and add-on ID separated by a slash, e.g.bash
*
* ```sh
* $ pulumi import huaweicloud:Cce/addon:Addon my_addon <cluster_id>/<id>
* ```
*/
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;
/**
* Specifies the cluster ID.
* Changing this parameter will create a new resource.
*/
readonly clusterId: pulumi.Output<string>;
/**
* Description of add-on instance.
*/
readonly description: pulumi.Output<string>;
/**
* Specifies the region in which to create the CCE add-on resource.
* If omitted, the provider-level region will be used. Changing this creates a new CCE add-on resource.
*/
readonly region: pulumi.Output<string>;
/**
* Add-on status information.
*/
readonly status: pulumi.Output<string>;
/**
* Specifies the name of the add-on template.
* Changing this parameter will create a new resource.
*/
readonly templateName: pulumi.Output<string>;
/**
* Specifies the add-on template installation parameters.
* These parameters vary depending on the add-on. The structure is documented below.
*/
readonly values: pulumi.Output<outputs.Cce.AddonValues | undefined>;
/**
* Specifies the version of the add-on.
*/
readonly version: pulumi.Output<string>;
/**
* 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 {
/**
* Specifies the cluster ID.
* Changing this parameter will create a new resource.
*/
clusterId?: pulumi.Input<string>;
/**
* Description of add-on instance.
*/
description?: pulumi.Input<string>;
/**
* Specifies the region in which to create the CCE add-on resource.
* If omitted, the provider-level region will be used. Changing this creates a new CCE add-on resource.
*/
region?: pulumi.Input<string>;
/**
* Add-on status information.
*/
status?: pulumi.Input<string>;
/**
* Specifies the name of the add-on template.
* Changing this parameter will create a new resource.
*/
templateName?: pulumi.Input<string>;
/**
* Specifies the add-on template installation parameters.
* These parameters vary depending on the add-on. The structure is documented below.
*/
values?: pulumi.Input<inputs.Cce.AddonValues>;
/**
* Specifies the version of the add-on.
*/
version?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Addon resource.
*/
export interface AddonArgs {
/**
* Specifies the cluster ID.
* Changing this parameter will create a new resource.
*/
clusterId: pulumi.Input<string>;
/**
* Specifies the region in which to create the CCE add-on resource.
* If omitted, the provider-level region will be used. Changing this creates a new CCE add-on resource.
*/
region?: pulumi.Input<string>;
/**
* Specifies the name of the add-on template.
* Changing this parameter will create a new resource.
*/
templateName: pulumi.Input<string>;
/**
* Specifies the add-on template installation parameters.
* These parameters vary depending on the add-on. The structure is documented below.
*/
values?: pulumi.Input<inputs.Cce.AddonValues>;
/**
* Specifies the version of the add-on.
*/
version?: pulumi.Input<string>;
}