published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
A log project is a data management unit used for tenant resource isolation and control. Typically, each log project corresponds to an application, service, or product
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const tLSProjectDemo = new volcenginecc.tls.Project("TLSProjectDemo", {
projectName: "ccapi_test",
description: "ccapi_test",
iamProjectName: "default",
tags: [{
key: "env",
value: "test",
}],
});
import pulumi
import pulumi_volcenginecc as volcenginecc
t_ls_project_demo = volcenginecc.tls.Project("TLSProjectDemo",
project_name="ccapi_test",
description="ccapi_test",
iam_project_name="default",
tags=[{
"key": "env",
"value": "test",
}])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/tls"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tls.NewProject(ctx, "TLSProjectDemo", &tls.ProjectArgs{
ProjectName: pulumi.String("ccapi_test"),
Description: pulumi.String("ccapi_test"),
IamProjectName: pulumi.String("default"),
Tags: tls.ProjectTagArray{
&tls.ProjectTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("test"),
},
},
})
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 tLSProjectDemo = new Volcenginecc.Tls.Project("TLSProjectDemo", new()
{
ProjectName = "ccapi_test",
Description = "ccapi_test",
IamProjectName = "default",
Tags = new[]
{
new Volcenginecc.Tls.Inputs.ProjectTagArgs
{
Key = "env",
Value = "test",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.tls.Project;
import com.volcengine.volcenginecc.tls.ProjectArgs;
import com.pulumi.volcenginecc.tls.inputs.ProjectTagArgs;
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 tLSProjectDemo = new Project("tLSProjectDemo", ProjectArgs.builder()
.projectName("ccapi_test")
.description("ccapi_test")
.iamProjectName("default")
.tags(ProjectTagArgs.builder()
.key("env")
.value("test")
.build())
.build());
}
}
resources:
tLSProjectDemo:
type: volcenginecc:tls:Project
name: TLSProjectDemo
properties:
projectName: ccapi_test
description: ccapi_test
iamProjectName: default
tags:
- key: env
value: test
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,
iam_project_name: Optional[str] = None,
tags: Optional[Sequence[ProjectTagArgs]] = 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:tls: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 volcengineccProjectResource = new Volcenginecc.Tls.Project("volcengineccProjectResource", new()
{
ProjectName = "string",
Description = "string",
IamProjectName = "string",
Tags = new[]
{
new Volcenginecc.Tls.Inputs.ProjectTagArgs
{
Key = "string",
Value = "string",
},
},
});
example, err := tls.NewProject(ctx, "volcengineccProjectResource", &tls.ProjectArgs{
ProjectName: pulumi.String("string"),
Description: pulumi.String("string"),
IamProjectName: pulumi.String("string"),
Tags: tls.ProjectTagArray{
&tls.ProjectTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
var volcengineccProjectResource = new com.volcengine.volcenginecc.tls.Project("volcengineccProjectResource", com.volcengine.volcenginecc.tls.ProjectArgs.builder()
.projectName("string")
.description("string")
.iamProjectName("string")
.tags(ProjectTagArgs.builder()
.key("string")
.value("string")
.build())
.build());
volcenginecc_project_resource = volcenginecc.tls.Project("volcengineccProjectResource",
project_name="string",
description="string",
iam_project_name="string",
tags=[{
"key": "string",
"value": "string",
}])
const volcengineccProjectResource = new volcenginecc.tls.Project("volcengineccProjectResource", {
projectName: "string",
description: "string",
iamProjectName: "string",
tags: [{
key: "string",
value: "string",
}],
});
type: volcenginecc:tls:Project
properties:
description: string
iamProjectName: string
projectName: string
tags:
- key: string
value: 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 - Log project name
- Description string
- Brief description of the log project
- Iam
Project stringName - The IAM project associated with the log project
-
List<Volcengine.
Project Tag>
- Project
Name string - Log project name
- Description string
- Brief description of the log project
- Iam
Project stringName - The IAM project associated with the log project
-
[]Project
Tag Args
- project
Name String - Log project name
- description String
- Brief description of the log project
- iam
Project StringName - The IAM project associated with the log project
-
List<Project
Tag>
- project
Name string - Log project name
- description string
- Brief description of the log project
- iam
Project stringName - The IAM project associated with the log project
-
Project
Tag[]
- project_
name str - Log project name
- description str
- Brief description of the log project
- iam_
project_ strname - The IAM project associated with the log project
-
Sequence[Project
Tag Args]
- project
Name String - Log project name
- description String
- Brief description of the log project
- iam
Project StringName - The IAM project associated with the log project
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:
- Created
Time string - Log project creation time
- Id string
- The provider-assigned unique ID for this managed resource.
- Inner
Net stringDomain - Private network connection domain name
- Project
Id string - Log project ID
- Topic
Count int - Number of log topics in the current log project
- Created
Time string - Log project creation time
- Id string
- The provider-assigned unique ID for this managed resource.
- Inner
Net stringDomain - Private network connection domain name
- Project
Id string - Log project ID
- Topic
Count int - Number of log topics in the current log project
- created
Time String - Log project creation time
- id String
- The provider-assigned unique ID for this managed resource.
- inner
Net StringDomain - Private network connection domain name
- project
Id String - Log project ID
- topic
Count Integer - Number of log topics in the current log project
- created
Time string - Log project creation time
- id string
- The provider-assigned unique ID for this managed resource.
- inner
Net stringDomain - Private network connection domain name
- project
Id string - Log project ID
- topic
Count number - Number of log topics in the current log project
- created_
time str - Log project creation time
- id str
- The provider-assigned unique ID for this managed resource.
- inner_
net_ strdomain - Private network connection domain name
- project_
id str - Log project ID
- topic_
count int - Number of log topics in the current log project
- created
Time String - Log project creation time
- id String
- The provider-assigned unique ID for this managed resource.
- inner
Net StringDomain - Private network connection domain name
- project
Id String - Log project ID
- topic
Count Number - Number of log topics in the current log project
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,
created_time: Optional[str] = None,
description: Optional[str] = None,
iam_project_name: Optional[str] = None,
inner_net_domain: Optional[str] = None,
project_id: Optional[str] = None,
project_name: Optional[str] = None,
tags: Optional[Sequence[ProjectTagArgs]] = None,
topic_count: Optional[int] = 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:tls: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.
- Created
Time string - Log project creation time
- Description string
- Brief description of the log project
- Iam
Project stringName - The IAM project associated with the log project
- Inner
Net stringDomain - Private network connection domain name
- Project
Id string - Log project ID
- Project
Name string - Log project name
-
List<Volcengine.
Project Tag> - Topic
Count int - Number of log topics in the current log project
- Created
Time string - Log project creation time
- Description string
- Brief description of the log project
- Iam
Project stringName - The IAM project associated with the log project
- Inner
Net stringDomain - Private network connection domain name
- Project
Id string - Log project ID
- Project
Name string - Log project name
-
[]Project
Tag Args - Topic
Count int - Number of log topics in the current log project
- created
Time String - Log project creation time
- description String
- Brief description of the log project
- iam
Project StringName - The IAM project associated with the log project
- inner
Net StringDomain - Private network connection domain name
- project
Id String - Log project ID
- project
Name String - Log project name
-
List<Project
Tag> - topic
Count Integer - Number of log topics in the current log project
- created
Time string - Log project creation time
- description string
- Brief description of the log project
- iam
Project stringName - The IAM project associated with the log project
- inner
Net stringDomain - Private network connection domain name
- project
Id string - Log project ID
- project
Name string - Log project name
-
Project
Tag[] - topic
Count number - Number of log topics in the current log project
- created_
time str - Log project creation time
- description str
- Brief description of the log project
- iam_
project_ strname - The IAM project associated with the log project
- inner_
net_ strdomain - Private network connection domain name
- project_
id str - Log project ID
- project_
name str - Log project name
-
Sequence[Project
Tag Args] - topic_
count int - Number of log topics in the current log project
- created
Time String - Log project creation time
- description String
- Brief description of the log project
- iam
Project StringName - The IAM project associated with the log project
- inner
Net StringDomain - Private network connection domain name
- project
Id String - Log project ID
- project
Name String - Log project name
- List<Property Map>
- topic
Count Number - Number of log topics in the current log project
Supporting Types
ProjectTag, ProjectTagArgs
Import
$ pulumi import volcenginecc:tls/project:Project example "project_id"
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
