1. Packages
  2. Volcengine
  3. API Docs
  4. tls
  5. Projects
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.tls.Projects

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    Use this data source to query detailed information of tls projects

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Tls.Projects.Invoke(new()
        {
            ProjectId = "e020c978-4f05-40e1-9167-0113d3ef****",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tls.Projects(ctx, &tls.ProjectsArgs{
    			ProjectId: pulumi.StringRef("e020c978-4f05-40e1-9167-0113d3ef****"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.tls.TlsFunctions;
    import com.pulumi.volcengine.tls.inputs.ProjectsArgs;
    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) {
            final var default = TlsFunctions.Projects(ProjectsArgs.builder()
                .projectId("e020c978-4f05-40e1-9167-0113d3ef****")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.tls.projects(project_id="e020c978-4f05-40e1-9167-0113d3ef****")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.tls.Projects({
        projectId: "e020c978-4f05-40e1-9167-0113d3ef****",
    });
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:tls:Projects
          Arguments:
            projectId: e020c978-4f05-40e1-9167-0113d3ef****
    

    Using Projects

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function projects(args: ProjectsArgs, opts?: InvokeOptions): Promise<ProjectsResult>
    function projectsOutput(args: ProjectsOutputArgs, opts?: InvokeOptions): Output<ProjectsResult>
    def projects(iam_project_name: Optional[str] = None,
                 is_full_name: Optional[bool] = None,
                 name_regex: Optional[str] = None,
                 output_file: Optional[str] = None,
                 project_id: Optional[str] = None,
                 project_name: Optional[str] = None,
                 tags: Optional[Sequence[ProjectsTag]] = None,
                 opts: Optional[InvokeOptions] = None) -> ProjectsResult
    def projects_output(iam_project_name: Optional[pulumi.Input[str]] = None,
                 is_full_name: Optional[pulumi.Input[bool]] = None,
                 name_regex: Optional[pulumi.Input[str]] = None,
                 output_file: Optional[pulumi.Input[str]] = None,
                 project_id: Optional[pulumi.Input[str]] = None,
                 project_name: Optional[pulumi.Input[str]] = None,
                 tags: Optional[pulumi.Input[Sequence[pulumi.Input[ProjectsTagArgs]]]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[ProjectsResult]
    func Projects(ctx *Context, args *ProjectsArgs, opts ...InvokeOption) (*ProjectsResult, error)
    func ProjectsOutput(ctx *Context, args *ProjectsOutputArgs, opts ...InvokeOption) ProjectsResultOutput
    public static class Projects 
    {
        public static Task<ProjectsResult> InvokeAsync(ProjectsArgs args, InvokeOptions? opts = null)
        public static Output<ProjectsResult> Invoke(ProjectsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ProjectsResult> projects(ProjectsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:tls:Projects
      arguments:
        # arguments dictionary

    The following arguments are supported:

    IamProjectName string
    The IAM project name of the tls project.
    IsFullName bool
    Whether to match accurately when filtering based on ProjectName.
    NameRegex string
    A Name Regex of tls project.
    OutputFile string
    File name where to save data source results.
    ProjectId string
    The id of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    ProjectName string
    The name of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    Tags List<ProjectsTag>
    Tags.
    IamProjectName string
    The IAM project name of the tls project.
    IsFullName bool
    Whether to match accurately when filtering based on ProjectName.
    NameRegex string
    A Name Regex of tls project.
    OutputFile string
    File name where to save data source results.
    ProjectId string
    The id of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    ProjectName string
    The name of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    Tags []ProjectsTag
    Tags.
    iamProjectName String
    The IAM project name of the tls project.
    isFullName Boolean
    Whether to match accurately when filtering based on ProjectName.
    nameRegex String
    A Name Regex of tls project.
    outputFile String
    File name where to save data source results.
    projectId String
    The id of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    projectName String
    The name of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    tags List<ProjectsTag>
    Tags.
    iamProjectName string
    The IAM project name of the tls project.
    isFullName boolean
    Whether to match accurately when filtering based on ProjectName.
    nameRegex string
    A Name Regex of tls project.
    outputFile string
    File name where to save data source results.
    projectId string
    The id of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    projectName string
    The name of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    tags ProjectsTag[]
    Tags.
    iam_project_name str
    The IAM project name of the tls project.
    is_full_name bool
    Whether to match accurately when filtering based on ProjectName.
    name_regex str
    A Name Regex of tls project.
    output_file str
    File name where to save data source results.
    project_id str
    The id of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    project_name str
    The name of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    tags Sequence[ProjectsTag]
    Tags.
    iamProjectName String
    The IAM project name of the tls project.
    isFullName Boolean
    Whether to match accurately when filtering based on ProjectName.
    nameRegex String
    A Name Regex of tls project.
    outputFile String
    File name where to save data source results.
    projectId String
    The id of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    projectName String
    The name of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    tags List<Property Map>
    Tags.

    Projects Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    TlsProjects List<ProjectsTlsProject>
    The collection of tls project query.
    TotalCount int
    The total count of tls project query.
    IamProjectName string
    The IAM project name of the tls project.
    IsFullName bool
    NameRegex string
    OutputFile string
    ProjectId string
    The ID of the tls project.
    ProjectName string
    The name of the tls project.
    Tags List<ProjectsTag>
    Tags.
    Id string
    The provider-assigned unique ID for this managed resource.
    TlsProjects []ProjectsTlsProject
    The collection of tls project query.
    TotalCount int
    The total count of tls project query.
    IamProjectName string
    The IAM project name of the tls project.
    IsFullName bool
    NameRegex string
    OutputFile string
    ProjectId string
    The ID of the tls project.
    ProjectName string
    The name of the tls project.
    Tags []ProjectsTag
    Tags.
    id String
    The provider-assigned unique ID for this managed resource.
    tlsProjects List<ProjectsTlsProject>
    The collection of tls project query.
    totalCount Integer
    The total count of tls project query.
    iamProjectName String
    The IAM project name of the tls project.
    isFullName Boolean
    nameRegex String
    outputFile String
    projectId String
    The ID of the tls project.
    projectName String
    The name of the tls project.
    tags List<ProjectsTag>
    Tags.
    id string
    The provider-assigned unique ID for this managed resource.
    tlsProjects ProjectsTlsProject[]
    The collection of tls project query.
    totalCount number
    The total count of tls project query.
    iamProjectName string
    The IAM project name of the tls project.
    isFullName boolean
    nameRegex string
    outputFile string
    projectId string
    The ID of the tls project.
    projectName string
    The name of the tls project.
    tags ProjectsTag[]
    Tags.
    id str
    The provider-assigned unique ID for this managed resource.
    tls_projects Sequence[ProjectsTlsProject]
    The collection of tls project query.
    total_count int
    The total count of tls project query.
    iam_project_name str
    The IAM project name of the tls project.
    is_full_name bool
    name_regex str
    output_file str
    project_id str
    The ID of the tls project.
    project_name str
    The name of the tls project.
    tags Sequence[ProjectsTag]
    Tags.
    id String
    The provider-assigned unique ID for this managed resource.
    tlsProjects List<Property Map>
    The collection of tls project query.
    totalCount Number
    The total count of tls project query.
    iamProjectName String
    The IAM project name of the tls project.
    isFullName Boolean
    nameRegex String
    outputFile String
    projectId String
    The ID of the tls project.
    projectName String
    The name of the tls project.
    tags List<Property Map>
    Tags.

    Supporting Types

    ProjectsTag

    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.
    key string
    The Key of Tags.
    value string
    The Value of Tags.
    key str
    The Key of Tags.
    value str
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.

    ProjectsTlsProject

    CreateTime string
    The create time of the tls project.
    Description string
    The description of the tls project.
    IamProjectName string
    The IAM project name of the tls project.
    Id string
    The ID of the tls project.
    InnerNetDomain string
    The inner net domain of the tls project.
    ProjectId string
    The id of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    ProjectName string
    The name of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    Tags List<ProjectsTlsProjectTag>
    Tags.
    TopicCount int
    The count of topics in the tls project.
    CreateTime string
    The create time of the tls project.
    Description string
    The description of the tls project.
    IamProjectName string
    The IAM project name of the tls project.
    Id string
    The ID of the tls project.
    InnerNetDomain string
    The inner net domain of the tls project.
    ProjectId string
    The id of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    ProjectName string
    The name of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    Tags []ProjectsTlsProjectTag
    Tags.
    TopicCount int
    The count of topics in the tls project.
    createTime String
    The create time of the tls project.
    description String
    The description of the tls project.
    iamProjectName String
    The IAM project name of the tls project.
    id String
    The ID of the tls project.
    innerNetDomain String
    The inner net domain of the tls project.
    projectId String
    The id of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    projectName String
    The name of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    tags List<ProjectsTlsProjectTag>
    Tags.
    topicCount Integer
    The count of topics in the tls project.
    createTime string
    The create time of the tls project.
    description string
    The description of the tls project.
    iamProjectName string
    The IAM project name of the tls project.
    id string
    The ID of the tls project.
    innerNetDomain string
    The inner net domain of the tls project.
    projectId string
    The id of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    projectName string
    The name of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    tags ProjectsTlsProjectTag[]
    Tags.
    topicCount number
    The count of topics in the tls project.
    create_time str
    The create time of the tls project.
    description str
    The description of the tls project.
    iam_project_name str
    The IAM project name of the tls project.
    id str
    The ID of the tls project.
    inner_net_domain str
    The inner net domain of the tls project.
    project_id str
    The id of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    project_name str
    The name of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    tags Sequence[ProjectsTlsProjectTag]
    Tags.
    topic_count int
    The count of topics in the tls project.
    createTime String
    The create time of the tls project.
    description String
    The description of the tls project.
    iamProjectName String
    The IAM project name of the tls project.
    id String
    The ID of the tls project.
    innerNetDomain String
    The inner net domain of the tls project.
    projectId String
    The id of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    projectName String
    The name of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
    tags List<Property Map>
    Tags.
    topicCount Number
    The count of topics in the tls project.

    ProjectsTlsProjectTag

    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.
    key string
    The Key of Tags.
    value string
    The Value of Tags.
    key str
    The Key of Tags.
    value str
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine