@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
162 lines (161 loc) • 4.43 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Provides a resource to manage cen
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@volcengine/pulumi";
*
* const foo = new volcengine.cen.Cen("foo", {
* cenName: "acc-test-cen",
* description: "acc-test",
* projectName: "default",
* tags: [{
* key: "k1",
* value: "v1",
* }],
* });
* ```
*
* ## Import
*
* Cen can be imported using the id, e.g.
*
* ```sh
* $ pulumi import volcengine:cen/cen:Cen default cen-7qthudw0ll6jmc****
* ```
*/
export declare class Cen extends pulumi.CustomResource {
/**
* Get an existing Cen 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?: CenState, opts?: pulumi.CustomResourceOptions): Cen;
/**
* Returns true if the given object is an instance of Cen. 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 Cen;
/**
* The account ID of the cen.
*/
readonly accountId: pulumi.Output<string>;
/**
* A list of bandwidth package IDs of the cen.
*/
readonly cenBandwidthPackageIds: pulumi.Output<string[]>;
/**
* The ID of the cen.
*/
readonly cenId: pulumi.Output<string>;
/**
* The name of the cen.
*/
readonly cenName: pulumi.Output<string>;
/**
* The create time of the cen.
*/
readonly creationTime: pulumi.Output<string>;
/**
* The description of the cen.
*/
readonly description: pulumi.Output<string>;
/**
* The ProjectName of the cen instance.
*/
readonly projectName: pulumi.Output<string>;
/**
* The status of the cen.
*/
readonly status: pulumi.Output<string>;
/**
* Tags.
*/
readonly tags: pulumi.Output<outputs.cen.CenTag[] | undefined>;
/**
* The update time of the cen.
*/
readonly updateTime: pulumi.Output<string>;
/**
* Create a Cen 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?: CenArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Cen resources.
*/
export interface CenState {
/**
* The account ID of the cen.
*/
accountId?: pulumi.Input<string>;
/**
* A list of bandwidth package IDs of the cen.
*/
cenBandwidthPackageIds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The ID of the cen.
*/
cenId?: pulumi.Input<string>;
/**
* The name of the cen.
*/
cenName?: pulumi.Input<string>;
/**
* The create time of the cen.
*/
creationTime?: pulumi.Input<string>;
/**
* The description of the cen.
*/
description?: pulumi.Input<string>;
/**
* The ProjectName of the cen instance.
*/
projectName?: pulumi.Input<string>;
/**
* The status of the cen.
*/
status?: pulumi.Input<string>;
/**
* Tags.
*/
tags?: pulumi.Input<pulumi.Input<inputs.cen.CenTag>[]>;
/**
* The update time of the cen.
*/
updateTime?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Cen resource.
*/
export interface CenArgs {
/**
* The name of the cen.
*/
cenName?: pulumi.Input<string>;
/**
* The description of the cen.
*/
description?: pulumi.Input<string>;
/**
* The ProjectName of the cen instance.
*/
projectName?: pulumi.Input<string>;
/**
* Tags.
*/
tags?: pulumi.Input<pulumi.Input<inputs.cen.CenTag>[]>;
}