Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.tls.getProjects
Explore with Pulumi AI
Use this data source to query detailed information of tls projects
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.tls.getProjects({});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.tls.get_projects()
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.GetProjects(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Tls.GetProjects.Invoke();
});
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.GetProjectsArgs;
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.getProjects();
}
}
variables:
default:
fn::invoke:
Function: volcengine:tls:getProjects
Arguments: {}
Using getProjects
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 getProjects(args: GetProjectsArgs, opts?: InvokeOptions): Promise<GetProjectsResult>
function getProjectsOutput(args: GetProjectsOutputArgs, opts?: InvokeOptions): Output<GetProjectsResult>
def get_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[GetProjectsTag]] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectsResult
def get_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[GetProjectsTagArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectsResult]
func GetProjects(ctx *Context, args *GetProjectsArgs, opts ...InvokeOption) (*GetProjectsResult, error)
func GetProjectsOutput(ctx *Context, args *GetProjectsOutputArgs, opts ...InvokeOption) GetProjectsResultOutput
> Note: This function is named GetProjects
in the Go SDK.
public static class GetProjects
{
public static Task<GetProjectsResult> InvokeAsync(GetProjectsArgs args, InvokeOptions? opts = null)
public static Output<GetProjectsResult> Invoke(GetProjectsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProjectsResult> getProjects(GetProjectsArgs args, InvokeOptions options)
public static Output<GetProjectsResult> getProjects(GetProjectsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls/getProjects:getProjects
arguments:
# arguments dictionary
The following arguments are supported:
- Iam
Project stringName - The IAM project name of the tls project.
- Is
Full boolName - Whether to match accurately when filtering based on ProjectName.
- Name
Regex string - A Name Regex of tls project.
- Output
File string - File name where to save data source results.
- Project
Id 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.
- Project
Name 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.
- List<Get
Projects Tag> - Tags.
- Iam
Project stringName - The IAM project name of the tls project.
- Is
Full boolName - Whether to match accurately when filtering based on ProjectName.
- Name
Regex string - A Name Regex of tls project.
- Output
File string - File name where to save data source results.
- Project
Id 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.
- Project
Name 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.
- []Get
Projects Tag - Tags.
- iam
Project StringName - The IAM project name of the tls project.
- is
Full BooleanName - Whether to match accurately when filtering based on ProjectName.
- name
Regex String - A Name Regex of tls project.
- output
File String - File name where to save data source results.
- project
Id 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.
- project
Name 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.
- List<Get
Projects Tag> - Tags.
- iam
Project stringName - The IAM project name of the tls project.
- is
Full booleanName - Whether to match accurately when filtering based on ProjectName.
- name
Regex string - A Name Regex of tls project.
- output
File string - File name where to save data source results.
- project
Id 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.
- project
Name 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.
- Get
Projects Tag[] - Tags.
- iam_
project_ strname - The IAM project name of the tls project.
- is_
full_ boolname - 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.
- Sequence[Get
Projects Tag] - Tags.
- iam
Project StringName - The IAM project name of the tls project.
- is
Full BooleanName - Whether to match accurately when filtering based on ProjectName.
- name
Regex String - A Name Regex of tls project.
- output
File String - File name where to save data source results.
- project
Id 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.
- project
Name 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.
- List<Property Map>
- Tags.
getProjects Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Tls
Projects List<GetProjects Tls Project> - The collection of tls project query.
- Total
Count int - The total count of tls project query.
- Iam
Project stringName - The IAM project name of the tls project.
- Is
Full boolName - Name
Regex string - Output
File string - Project
Id string - The ID of the tls project.
- Project
Name string - The name of the tls project.
- List<Get
Projects Tag> - Tags.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tls
Projects []GetProjects Tls Project - The collection of tls project query.
- Total
Count int - The total count of tls project query.
- Iam
Project stringName - The IAM project name of the tls project.
- Is
Full boolName - Name
Regex string - Output
File string - Project
Id string - The ID of the tls project.
- Project
Name string - The name of the tls project.
- []Get
Projects Tag - Tags.
- id String
- The provider-assigned unique ID for this managed resource.
- tls
Projects List<GetProjects Tls Project> - The collection of tls project query.
- total
Count Integer - The total count of tls project query.
- iam
Project StringName - The IAM project name of the tls project.
- is
Full BooleanName - name
Regex String - output
File String - project
Id String - The ID of the tls project.
- project
Name String - The name of the tls project.
- List<Get
Projects Tag> - Tags.
- id string
- The provider-assigned unique ID for this managed resource.
- tls
Projects GetProjects Tls Project[] - The collection of tls project query.
- total
Count number - The total count of tls project query.
- iam
Project stringName - The IAM project name of the tls project.
- is
Full booleanName - name
Regex string - output
File string - project
Id string - The ID of the tls project.
- project
Name string - The name of the tls project.
- Get
Projects Tag[] - Tags.
- id str
- The provider-assigned unique ID for this managed resource.
- tls_
projects Sequence[GetProjects Tls Project] - The collection of tls project query.
- total_
count int - The total count of tls project query.
- iam_
project_ strname - The IAM project name of the tls project.
- is_
full_ boolname - name_
regex str - output_
file str - project_
id str - The ID of the tls project.
- project_
name str - The name of the tls project.
- Sequence[Get
Projects Tag] - Tags.
- id String
- The provider-assigned unique ID for this managed resource.
- tls
Projects List<Property Map> - The collection of tls project query.
- total
Count Number - The total count of tls project query.
- iam
Project StringName - The IAM project name of the tls project.
- is
Full BooleanName - name
Regex String - output
File String - project
Id String - The ID of the tls project.
- project
Name String - The name of the tls project.
- List<Property Map>
- Tags.
Supporting Types
GetProjectsTag
GetProjectsTlsProject
- Create
Time string - The create time of the tls project.
- Description string
- The description of the tls project.
- Iam
Project stringName - The IAM project name of the tls project.
- Id string
- The ID of the tls project.
- Inner
Net stringDomain - The inner net domain of the tls project.
- Project
Id 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.
- Project
Name 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.
- List<Get
Projects Tls Project Tag> - Tags.
- Topic
Count int - The count of topics in the tls project.
- Create
Time string - The create time of the tls project.
- Description string
- The description of the tls project.
- Iam
Project stringName - The IAM project name of the tls project.
- Id string
- The ID of the tls project.
- Inner
Net stringDomain - The inner net domain of the tls project.
- Project
Id 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.
- Project
Name 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.
- []Get
Projects Tls Project Tag - Tags.
- Topic
Count int - The count of topics in the tls project.
- create
Time String - The create time of the tls project.
- description String
- The description of the tls project.
- iam
Project StringName - The IAM project name of the tls project.
- id String
- The ID of the tls project.
- inner
Net StringDomain - The inner net domain of the tls project.
- project
Id 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.
- project
Name 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.
- List<Get
Projects Tls Project Tag> - Tags.
- topic
Count Integer - The count of topics in the tls project.
- create
Time string - The create time of the tls project.
- description string
- The description of the tls project.
- iam
Project stringName - The IAM project name of the tls project.
- id string
- The ID of the tls project.
- inner
Net stringDomain - The inner net domain of the tls project.
- project
Id 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.
- project
Name 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.
- Get
Projects Tls Project Tag[] - Tags.
- topic
Count 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_ strname - The IAM project name of the tls project.
- id str
- The ID of the tls project.
- inner_
net_ strdomain - 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.
- Sequence[Get
Projects Tls Project Tag] - Tags.
- topic_
count int - The count of topics in the tls project.
- create
Time String - The create time of the tls project.
- description String
- The description of the tls project.
- iam
Project StringName - The IAM project name of the tls project.
- id String
- The ID of the tls project.
- inner
Net StringDomain - The inner net domain of the tls project.
- project
Id 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.
- project
Name 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.
- List<Property Map>
- Tags.
- topic
Count Number - The count of topics in the tls project.
GetProjectsTlsProjectTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.