published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Resource project (Project) provides a mechanism for resource group management, helping you achieve logical resource isolation. You can use resource projects for project-based authorization, billing, and other operations.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const iAMProjectDemo = new volcenginecc.iam.Project("IAMProjectDemo", {
description: "IAMProjectDemo description",
projectName: "default",
displayName: "IAMProjectDemo",
parentProjectName: "default",
});
import pulumi
import pulumi_volcenginecc as volcenginecc
i_am_project_demo = volcenginecc.iam.Project("IAMProjectDemo",
description="IAMProjectDemo description",
project_name="default",
display_name="IAMProjectDemo",
parent_project_name="default")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/iam"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iam.NewProject(ctx, "IAMProjectDemo", &iam.ProjectArgs{
Description: pulumi.String("IAMProjectDemo description"),
ProjectName: pulumi.String("default"),
DisplayName: pulumi.String("IAMProjectDemo"),
ParentProjectName: pulumi.String("default"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var iAMProjectDemo = new Volcenginecc.Iam.Project("IAMProjectDemo", new()
{
Description = "IAMProjectDemo description",
ProjectName = "default",
DisplayName = "IAMProjectDemo",
ParentProjectName = "default",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.iam.Project;
import com.volcengine.volcenginecc.iam.ProjectArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var iAMProjectDemo = new Project("iAMProjectDemo", ProjectArgs.builder()
.description("IAMProjectDemo description")
.projectName("default")
.displayName("IAMProjectDemo")
.parentProjectName("default")
.build());
}
}
resources:
iAMProjectDemo:
type: volcenginecc:iam:Project
name: IAMProjectDemo
properties:
description: IAMProjectDemo description
projectName: default
displayName: IAMProjectDemo
parentProjectName: default
Create Project Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Project(name: string, args: ProjectArgs, opts?: CustomResourceOptions);@overload
def Project(resource_name: str,
args: ProjectArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Project(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_name: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
parent_project_name: Optional[str] = None)func NewProject(ctx *Context, name string, args ProjectArgs, opts ...ResourceOption) (*Project, error)public Project(string name, ProjectArgs args, CustomResourceOptions? opts = null)
public Project(String name, ProjectArgs args)
public Project(String name, ProjectArgs args, CustomResourceOptions options)
type: volcenginecc:iam:Project
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var projectResource = new Volcenginecc.Iam.Project("projectResource", new()
{
ProjectName = "string",
Description = "string",
DisplayName = "string",
ParentProjectName = "string",
});
example, err := iam.NewProject(ctx, "projectResource", &iam.ProjectArgs{
ProjectName: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
ParentProjectName: pulumi.String("string"),
})
var projectResource = new com.volcengine.volcenginecc.iam.Project("projectResource", com.volcengine.volcenginecc.iam.ProjectArgs.builder()
.projectName("string")
.description("string")
.displayName("string")
.parentProjectName("string")
.build());
project_resource = volcenginecc.iam.Project("projectResource",
project_name="string",
description="string",
display_name="string",
parent_project_name="string")
const projectResource = new volcenginecc.iam.Project("projectResource", {
projectName: "string",
description: "string",
displayName: "string",
parentProjectName: "string",
});
type: volcenginecc:iam:Project
properties:
description: string
displayName: string
parentProjectName: string
projectName: string
Project Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Project resource accepts the following input properties:
- Project
Name string - Project Name
- Description string
- Description
- Display
Name string - Display Name
- Parent
Project stringName - Parent Project Name
- Project
Name string - Project Name
- Description string
- Description
- Display
Name string - Display Name
- Parent
Project stringName - Parent Project Name
- project
Name String - Project Name
- description String
- Description
- display
Name String - Display Name
- parent
Project StringName - Parent Project Name
- project
Name string - Project Name
- description string
- Description
- display
Name string - Display Name
- parent
Project stringName - Parent Project Name
- project_
name str - Project Name
- description str
- Description
- display_
name str - Display Name
- parent_
project_ strname - Parent Project Name
- project
Name String - Project Name
- description String
- Description
- display
Name String - Display Name
- parent
Project StringName - Parent Project Name
Outputs
All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:
- Account
Id int - Account ID
- Created
Time string - Creation Time
- Has
Permission bool - Visible
- Id string
- The provider-assigned unique ID for this managed resource.
- Path string
- Project Path
- Status string
- Enabled Status
- Updated
Time string - Update Time
- Account
Id int - Account ID
- Created
Time string - Creation Time
- Has
Permission bool - Visible
- Id string
- The provider-assigned unique ID for this managed resource.
- Path string
- Project Path
- Status string
- Enabled Status
- Updated
Time string - Update Time
- account
Id Integer - Account ID
- created
Time String - Creation Time
- has
Permission Boolean - Visible
- id String
- The provider-assigned unique ID for this managed resource.
- path String
- Project Path
- status String
- Enabled Status
- updated
Time String - Update Time
- account
Id number - Account ID
- created
Time string - Creation Time
- has
Permission boolean - Visible
- id string
- The provider-assigned unique ID for this managed resource.
- path string
- Project Path
- status string
- Enabled Status
- updated
Time string - Update Time
- account_
id int - Account ID
- created_
time str - Creation Time
- has_
permission bool - Visible
- id str
- The provider-assigned unique ID for this managed resource.
- path str
- Project Path
- status str
- Enabled Status
- updated_
time str - Update Time
- account
Id Number - Account ID
- created
Time String - Creation Time
- has
Permission Boolean - Visible
- id String
- The provider-assigned unique ID for this managed resource.
- path String
- Project Path
- status String
- Enabled Status
- updated
Time String - Update Time
Look up Existing Project Resource
Get an existing Project resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ProjectState, opts?: CustomResourceOptions): Project@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[int] = None,
created_time: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
has_permission: Optional[bool] = None,
parent_project_name: Optional[str] = None,
path: Optional[str] = None,
project_name: Optional[str] = None,
status: Optional[str] = None,
updated_time: Optional[str] = None) -> Projectfunc GetProject(ctx *Context, name string, id IDInput, state *ProjectState, opts ...ResourceOption) (*Project, error)public static Project Get(string name, Input<string> id, ProjectState? state, CustomResourceOptions? opts = null)public static Project get(String name, Output<String> id, ProjectState state, CustomResourceOptions options)resources: _: type: volcenginecc:iam:Project get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id int - Account ID
- Created
Time string - Creation Time
- Description string
- Description
- Display
Name string - Display Name
- Has
Permission bool - Visible
- Parent
Project stringName - Parent Project Name
- Path string
- Project Path
- Project
Name string - Project Name
- Status string
- Enabled Status
- Updated
Time string - Update Time
- Account
Id int - Account ID
- Created
Time string - Creation Time
- Description string
- Description
- Display
Name string - Display Name
- Has
Permission bool - Visible
- Parent
Project stringName - Parent Project Name
- Path string
- Project Path
- Project
Name string - Project Name
- Status string
- Enabled Status
- Updated
Time string - Update Time
- account
Id Integer - Account ID
- created
Time String - Creation Time
- description String
- Description
- display
Name String - Display Name
- has
Permission Boolean - Visible
- parent
Project StringName - Parent Project Name
- path String
- Project Path
- project
Name String - Project Name
- status String
- Enabled Status
- updated
Time String - Update Time
- account
Id number - Account ID
- created
Time string - Creation Time
- description string
- Description
- display
Name string - Display Name
- has
Permission boolean - Visible
- parent
Project stringName - Parent Project Name
- path string
- Project Path
- project
Name string - Project Name
- status string
- Enabled Status
- updated
Time string - Update Time
- account_
id int - Account ID
- created_
time str - Creation Time
- description str
- Description
- display_
name str - Display Name
- has_
permission bool - Visible
- parent_
project_ strname - Parent Project Name
- path str
- Project Path
- project_
name str - Project Name
- status str
- Enabled Status
- updated_
time str - Update Time
- account
Id Number - Account ID
- created
Time String - Creation Time
- description String
- Description
- display
Name String - Display Name
- has
Permission Boolean - Visible
- parent
Project StringName - Parent Project Name
- path String
- Project Path
- project
Name String - Project Name
- status String
- Enabled Status
- updated
Time String - Update Time
Import
$ pulumi import volcenginecc:iam/project:Project example "project_name"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
