UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

100 lines (99 loc) 3.83 kB
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; /** * Use this resource to add nodes into a node pool within HuaweiCloud. * * ## Example Usage */ export declare class NodePoolNodesAdd extends pulumi.CustomResource { /** * Get an existing NodePoolNodesAdd 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?: NodePoolNodesAddState, opts?: pulumi.CustomResourceOptions): NodePoolNodesAdd; /** * Returns true if the given object is an instance of NodePoolNodesAdd. 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 NodePoolNodesAdd; /** * Specifies the cluster ID. */ readonly clusterId: pulumi.Output<string>; readonly enableForceNew: pulumi.Output<string | undefined>; /** * Specifies the list of nodes to add into the pool. * The nodeList structure is documented below. */ readonly nodeLists: pulumi.Output<outputs.Cce.NodePoolNodesAddNodeList[]>; /** * Specifies the node pool ID. */ readonly nodepoolId: pulumi.Output<string>; /** * The region in which to create the CCE pool nodes add resource. * If omitted, the provider-level region will be used. Changing this parameter will create a new resource. */ readonly region: pulumi.Output<string>; /** * Create a NodePoolNodesAdd 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: NodePoolNodesAddArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NodePoolNodesAdd resources. */ export interface NodePoolNodesAddState { /** * Specifies the cluster ID. */ clusterId?: pulumi.Input<string>; enableForceNew?: pulumi.Input<string>; /** * Specifies the list of nodes to add into the pool. * The nodeList structure is documented below. */ nodeLists?: pulumi.Input<pulumi.Input<inputs.Cce.NodePoolNodesAddNodeList>[]>; /** * Specifies the node pool ID. */ nodepoolId?: pulumi.Input<string>; /** * The region in which to create the CCE pool nodes add resource. * If omitted, the provider-level region will be used. Changing this parameter will create a new resource. */ region?: pulumi.Input<string>; } /** * The set of arguments for constructing a NodePoolNodesAdd resource. */ export interface NodePoolNodesAddArgs { /** * Specifies the cluster ID. */ clusterId: pulumi.Input<string>; enableForceNew?: pulumi.Input<string>; /** * Specifies the list of nodes to add into the pool. * The nodeList structure is documented below. */ nodeLists: pulumi.Input<pulumi.Input<inputs.Cce.NodePoolNodesAddNodeList>[]>; /** * Specifies the node pool ID. */ nodepoolId: pulumi.Input<string>; /** * The region in which to create the CCE pool nodes add resource. * If omitted, the provider-level region will be used. Changing this parameter will create a new resource. */ region?: pulumi.Input<string>; }