1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. tls
  6. Project
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
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:

    ProjectName string
    Log project name
    Description string
    Brief description of the log project
    IamProjectName string
    The IAM project associated with the log project
    Tags List<Volcengine.ProjectTag>
    ProjectName string
    Log project name
    Description string
    Brief description of the log project
    IamProjectName string
    The IAM project associated with the log project
    Tags []ProjectTagArgs
    projectName String
    Log project name
    description String
    Brief description of the log project
    iamProjectName String
    The IAM project associated with the log project
    tags List<ProjectTag>
    projectName string
    Log project name
    description string
    Brief description of the log project
    iamProjectName string
    The IAM project associated with the log project
    tags ProjectTag[]
    project_name str
    Log project name
    description str
    Brief description of the log project
    iam_project_name str
    The IAM project associated with the log project
    tags Sequence[ProjectTagArgs]
    projectName String
    Log project name
    description String
    Brief description of the log project
    iamProjectName String
    The IAM project associated with the log project
    tags List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:

    CreatedTime string
    Log project creation time
    Id string
    The provider-assigned unique ID for this managed resource.
    InnerNetDomain string
    Private network connection domain name
    ProjectId string
    Log project ID
    TopicCount int
    Number of log topics in the current log project
    CreatedTime string
    Log project creation time
    Id string
    The provider-assigned unique ID for this managed resource.
    InnerNetDomain string
    Private network connection domain name
    ProjectId string
    Log project ID
    TopicCount int
    Number of log topics in the current log project
    createdTime String
    Log project creation time
    id String
    The provider-assigned unique ID for this managed resource.
    innerNetDomain String
    Private network connection domain name
    projectId String
    Log project ID
    topicCount Integer
    Number of log topics in the current log project
    createdTime string
    Log project creation time
    id string
    The provider-assigned unique ID for this managed resource.
    innerNetDomain string
    Private network connection domain name
    projectId string
    Log project ID
    topicCount 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_domain str
    Private network connection domain name
    project_id str
    Log project ID
    topic_count int
    Number of log topics in the current log project
    createdTime String
    Log project creation time
    id String
    The provider-assigned unique ID for this managed resource.
    innerNetDomain String
    Private network connection domain name
    projectId String
    Log project ID
    topicCount 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) -> Project
    func 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.
    The following state arguments are supported:
    CreatedTime string
    Log project creation time
    Description string
    Brief description of the log project
    IamProjectName string
    The IAM project associated with the log project
    InnerNetDomain string
    Private network connection domain name
    ProjectId string
    Log project ID
    ProjectName string
    Log project name
    Tags List<Volcengine.ProjectTag>
    TopicCount int
    Number of log topics in the current log project
    CreatedTime string
    Log project creation time
    Description string
    Brief description of the log project
    IamProjectName string
    The IAM project associated with the log project
    InnerNetDomain string
    Private network connection domain name
    ProjectId string
    Log project ID
    ProjectName string
    Log project name
    Tags []ProjectTagArgs
    TopicCount int
    Number of log topics in the current log project
    createdTime String
    Log project creation time
    description String
    Brief description of the log project
    iamProjectName String
    The IAM project associated with the log project
    innerNetDomain String
    Private network connection domain name
    projectId String
    Log project ID
    projectName String
    Log project name
    tags List<ProjectTag>
    topicCount Integer
    Number of log topics in the current log project
    createdTime string
    Log project creation time
    description string
    Brief description of the log project
    iamProjectName string
    The IAM project associated with the log project
    innerNetDomain string
    Private network connection domain name
    projectId string
    Log project ID
    projectName string
    Log project name
    tags ProjectTag[]
    topicCount 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_name str
    The IAM project associated with the log project
    inner_net_domain str
    Private network connection domain name
    project_id str
    Log project ID
    project_name str
    Log project name
    tags Sequence[ProjectTagArgs]
    topic_count int
    Number of log topics in the current log project
    createdTime String
    Log project creation time
    description String
    Brief description of the log project
    iamProjectName String
    The IAM project associated with the log project
    innerNetDomain String
    Private network connection domain name
    projectId String
    Log project ID
    projectName String
    Log project name
    tags List<Property Map>
    topicCount Number
    Number of log topics in the current log project

    Supporting Types

    ProjectTag, ProjectTagArgs

    Key string
    Tag key
    Value string
    Tag value
    Key string
    Tag key
    Value string
    Tag value
    key String
    Tag key
    value String
    Tag value
    key string
    Tag key
    value string
    Tag value
    key str
    Tag key
    value str
    Tag value
    key String
    Tag key
    value String
    Tag value

    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 volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.