UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

119 lines (118 loc) 3.91 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Provides a resource to manage bioos cluster * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const foo = new volcengine.bioos.Cluster("foo", { * description: "test-description", * sharedConfig: { * enable: true, * }, * }); * ``` * * ## Import * * Cluster can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:bioos/cluster:Cluster default ***** * ``` */ export declare class Cluster extends pulumi.CustomResource { /** * Get an existing Cluster 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?: ClusterState, opts?: pulumi.CustomResourceOptions): Cluster; /** * Returns true if the given object is an instance of Cluster. 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 Cluster; /** * The id of the bioos cluster. */ readonly clusterId: pulumi.Output<string>; /** * The description of the cluster. */ readonly description: pulumi.Output<string | undefined>; /** * The name of the cluster. */ readonly name: pulumi.Output<string>; /** * The configuration of the shared cluster. */ readonly sharedConfig: pulumi.Output<outputs.bioos.ClusterSharedConfig>; /** * The configuration of the vke cluster. This cluster type is not recommended. It is recommended to use a shared cluster. */ readonly vkeConfig: pulumi.Output<outputs.bioos.ClusterVkeConfig>; /** * Create a Cluster 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?: ClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Cluster resources. */ export interface ClusterState { /** * The id of the bioos cluster. */ clusterId?: pulumi.Input<string>; /** * The description of the cluster. */ description?: pulumi.Input<string>; /** * The name of the cluster. */ name?: pulumi.Input<string>; /** * The configuration of the shared cluster. */ sharedConfig?: pulumi.Input<inputs.bioos.ClusterSharedConfig>; /** * The configuration of the vke cluster. This cluster type is not recommended. It is recommended to use a shared cluster. */ vkeConfig?: pulumi.Input<inputs.bioos.ClusterVkeConfig>; } /** * The set of arguments for constructing a Cluster resource. */ export interface ClusterArgs { /** * The description of the cluster. */ description?: pulumi.Input<string>; /** * The name of the cluster. */ name?: pulumi.Input<string>; /** * The configuration of the shared cluster. */ sharedConfig?: pulumi.Input<inputs.bioos.ClusterSharedConfig>; /** * The configuration of the vke cluster. This cluster type is not recommended. It is recommended to use a shared cluster. */ vkeConfig?: pulumi.Input<inputs.bioos.ClusterVkeConfig>; }