@huaweicloudos/pulumi
Version:
A Pulumi package for creating and managing Huaweicloud cloud resources.
136 lines (135 loc) • 3.92 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class Project extends pulumi.CustomResource {
/**
* Get an existing Project 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?: ProjectState, opts?: pulumi.CustomResourceOptions): Project;
/**
* Returns true if the given object is an instance of Project. 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 Project;
/**
* Whether the project is archived.
*/
readonly archive: pulumi.Output<number>;
/**
* The description about the project.
*/
readonly description: pulumi.Output<string>;
/**
* The enterprise project ID of the project.
*/
readonly enterpriseProjectId: pulumi.Output<string>;
/**
* The project name.
*/
readonly name: pulumi.Output<string>;
/**
* The project code.
*/
readonly projectCode: pulumi.Output<string>;
/**
* The number id of project.
*/
readonly projectNumId: pulumi.Output<number>;
readonly region: pulumi.Output<string>;
/**
* The source of project.
*/
readonly source: pulumi.Output<string>;
/**
* The template id which used to create project.
*/
readonly templateId: pulumi.Output<number>;
/**
* The type of project.
*/
readonly type: pulumi.Output<string>;
/**
* Create a Project 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: ProjectArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Project resources.
*/
export interface ProjectState {
/**
* Whether the project is archived.
*/
archive?: pulumi.Input<number>;
/**
* The description about the project.
*/
description?: pulumi.Input<string>;
/**
* The enterprise project ID of the project.
*/
enterpriseProjectId?: pulumi.Input<string>;
/**
* The project name.
*/
name?: pulumi.Input<string>;
/**
* The project code.
*/
projectCode?: pulumi.Input<string>;
/**
* The number id of project.
*/
projectNumId?: pulumi.Input<number>;
region?: pulumi.Input<string>;
/**
* The source of project.
*/
source?: pulumi.Input<string>;
/**
* The template id which used to create project.
*/
templateId?: pulumi.Input<number>;
/**
* The type of project.
*/
type?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Project resource.
*/
export interface ProjectArgs {
/**
* The description about the project.
*/
description?: pulumi.Input<string>;
/**
* The enterprise project ID of the project.
*/
enterpriseProjectId?: pulumi.Input<string>;
/**
* The project name.
*/
name?: pulumi.Input<string>;
region?: pulumi.Input<string>;
/**
* The source of project.
*/
source?: pulumi.Input<string>;
/**
* The template id which used to create project.
*/
templateId?: pulumi.Input<number>;
/**
* The type of project.
*/
type: pulumi.Input<string>;
}