Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Deprecated: volcengine.tls.Tags has been deprecated in favor of volcengine.tls.getTags
Use this data source to query detailed information of tls tags
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const basic = volcengine.tls.getTags({
maxResults: 10,
resourceIds: ["b01a99c0-cf7b-482f-b317-6563865111c6"],
resourceType: "project",
});
import pulumi
import pulumi_volcengine as volcengine
basic = volcengine.tls.get_tags(max_results=10,
resource_ids=["b01a99c0-cf7b-482f-b317-6563865111c6"],
resource_type="project")
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.GetTags(ctx, &tls.GetTagsArgs{
MaxResults: pulumi.IntRef(10),
ResourceIds: []string{
"b01a99c0-cf7b-482f-b317-6563865111c6",
},
ResourceType: "project",
}, 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 basic = Volcengine.Tls.GetTags.Invoke(new()
{
MaxResults = 10,
ResourceIds = new[]
{
"b01a99c0-cf7b-482f-b317-6563865111c6",
},
ResourceType = "project",
});
});
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.GetTagsArgs;
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 basic = TlsFunctions.getTags(GetTagsArgs.builder()
.maxResults(10)
.resourceIds("b01a99c0-cf7b-482f-b317-6563865111c6")
.resourceType("project")
.build());
}
}
variables:
basic:
fn::invoke:
Function: volcengine:tls:getTags
Arguments:
maxResults: 10
resourceIds:
- b01a99c0-cf7b-482f-b317-6563865111c6
resourceType: project
Using Tags
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 tags(args: TagsArgs, opts?: InvokeOptions): Promise<TagsResult>
function tagsOutput(args: TagsOutputArgs, opts?: InvokeOptions): Output<TagsResult>def tags(max_results: Optional[int] = None,
next_token: Optional[str] = None,
output_file: Optional[str] = None,
resource_ids: Optional[Sequence[str]] = None,
resource_type: Optional[str] = None,
tag_filters: Optional[Sequence[TagsTagFilter]] = None,
opts: Optional[InvokeOptions] = None) -> TagsResult
def tags_output(max_results: Optional[pulumi.Input[int]] = None,
next_token: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
resource_type: Optional[pulumi.Input[str]] = None,
tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[TagsTagFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[TagsResult]func Tags(ctx *Context, args *TagsArgs, opts ...InvokeOption) (*TagsResult, error)
func TagsOutput(ctx *Context, args *TagsOutputArgs, opts ...InvokeOption) TagsResultOutputpublic static class Tags
{
public static Task<TagsResult> InvokeAsync(TagsArgs args, InvokeOptions? opts = null)
public static Output<TagsResult> Invoke(TagsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<TagsResult> tags(TagsArgs args, InvokeOptions options)
public static Output<TagsResult> tags(TagsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls:Tags
arguments:
# arguments dictionaryThe following arguments are supported:
- Resource
Ids List<string> - The IDs of the resources.
- Resource
Type string - The type of the resource. Valid values: project, topic, shipper, host_group, host, consumer_group, rule, alarm, alarm_notify_group, etl_task, import_task, schedule_sql_task, download_task, trace_instance.
- Max
Results int - The number of results returned per page. Default value: 20. Maximum value: 100.
- Next
Token string - The token to get the next page of results. If this parameter is left empty, it means to get the first page of results.
- Output
File string - File name where to save data source results.
- Tag
Filters List<TagsTag Filter> - The tag filters.
- Resource
Ids []string - The IDs of the resources.
- Resource
Type string - The type of the resource. Valid values: project, topic, shipper, host_group, host, consumer_group, rule, alarm, alarm_notify_group, etl_task, import_task, schedule_sql_task, download_task, trace_instance.
- Max
Results int - The number of results returned per page. Default value: 20. Maximum value: 100.
- Next
Token string - The token to get the next page of results. If this parameter is left empty, it means to get the first page of results.
- Output
File string - File name where to save data source results.
- Tag
Filters []TagsTag Filter - The tag filters.
- resource
Ids List<String> - The IDs of the resources.
- resource
Type String - The type of the resource. Valid values: project, topic, shipper, host_group, host, consumer_group, rule, alarm, alarm_notify_group, etl_task, import_task, schedule_sql_task, download_task, trace_instance.
- max
Results Integer - The number of results returned per page. Default value: 20. Maximum value: 100.
- next
Token String - The token to get the next page of results. If this parameter is left empty, it means to get the first page of results.
- output
File String - File name where to save data source results.
- tag
Filters List<TagsTag Filter> - The tag filters.
- resource
Ids string[] - The IDs of the resources.
- resource
Type string - The type of the resource. Valid values: project, topic, shipper, host_group, host, consumer_group, rule, alarm, alarm_notify_group, etl_task, import_task, schedule_sql_task, download_task, trace_instance.
- max
Results number - The number of results returned per page. Default value: 20. Maximum value: 100.
- next
Token string - The token to get the next page of results. If this parameter is left empty, it means to get the first page of results.
- output
File string - File name where to save data source results.
- tag
Filters TagsTag Filter[] - The tag filters.
- resource_
ids Sequence[str] - The IDs of the resources.
- resource_
type str - The type of the resource. Valid values: project, topic, shipper, host_group, host, consumer_group, rule, alarm, alarm_notify_group, etl_task, import_task, schedule_sql_task, download_task, trace_instance.
- max_
results int - The number of results returned per page. Default value: 20. Maximum value: 100.
- next_
token str - The token to get the next page of results. If this parameter is left empty, it means to get the first page of results.
- output_
file str - File name where to save data source results.
- tag_
filters Sequence[TagsTag Filter] - The tag filters.
- resource
Ids List<String> - The IDs of the resources.
- resource
Type String - The type of the resource. Valid values: project, topic, shipper, host_group, host, consumer_group, rule, alarm, alarm_notify_group, etl_task, import_task, schedule_sql_task, download_task, trace_instance.
- max
Results Number - The number of results returned per page. Default value: 20. Maximum value: 100.
- next
Token String - The token to get the next page of results. If this parameter is left empty, it means to get the first page of results.
- output
File String - File name where to save data source results.
- tag
Filters List<Property Map> - The tag filters.
Tags Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Ids List<string> - Resource
Type string - The type of the resource.
-
List<Tags
Tag> - The list of tags.
- Max
Results int - Next
Token string - Output
File string - Tag
Filters List<TagsTag Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Ids []string - Resource
Type string - The type of the resource.
-
[]Tags
Tag - The list of tags.
- Max
Results int - Next
Token string - Output
File string - Tag
Filters []TagsTag Filter
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Ids List<String> - resource
Type String - The type of the resource.
-
List<Tags
Tag> - The list of tags.
- max
Results Integer - next
Token String - output
File String - tag
Filters List<TagsTag Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Ids string[] - resource
Type string - The type of the resource.
-
Tags
Tag[] - The list of tags.
- max
Results number - next
Token string - output
File string - tag
Filters TagsTag Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
ids Sequence[str] - resource_
type str - The type of the resource.
-
Sequence[Tags
Tag] - The list of tags.
- max_
results int - next_
token str - output_
file str - tag_
filters Sequence[TagsTag Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Ids List<String> - resource
Type String - The type of the resource.
- List<Property Map>
- The list of tags.
- max
Results Number - next
Token String - output
File String - tag
Filters List<Property Map>
Supporting Types
TagsTag
- Key string
- The key of the tag.
- Resource
Id string - The ID of the resource.
- Resource
Type string - The type of the resource. Valid values: project, topic, shipper, host_group, host, consumer_group, rule, alarm, alarm_notify_group, etl_task, import_task, schedule_sql_task, download_task, trace_instance.
- Value string
- The value of the tag.
- Key string
- The key of the tag.
- Resource
Id string - The ID of the resource.
- Resource
Type string - The type of the resource. Valid values: project, topic, shipper, host_group, host, consumer_group, rule, alarm, alarm_notify_group, etl_task, import_task, schedule_sql_task, download_task, trace_instance.
- Value string
- The value of the tag.
- key String
- The key of the tag.
- resource
Id String - The ID of the resource.
- resource
Type String - The type of the resource. Valid values: project, topic, shipper, host_group, host, consumer_group, rule, alarm, alarm_notify_group, etl_task, import_task, schedule_sql_task, download_task, trace_instance.
- value String
- The value of the tag.
- key string
- The key of the tag.
- resource
Id string - The ID of the resource.
- resource
Type string - The type of the resource. Valid values: project, topic, shipper, host_group, host, consumer_group, rule, alarm, alarm_notify_group, etl_task, import_task, schedule_sql_task, download_task, trace_instance.
- value string
- The value of the tag.
- key str
- The key of the tag.
- resource_
id str - The ID of the resource.
- resource_
type str - The type of the resource. Valid values: project, topic, shipper, host_group, host, consumer_group, rule, alarm, alarm_notify_group, etl_task, import_task, schedule_sql_task, download_task, trace_instance.
- value str
- The value of the tag.
- key String
- The key of the tag.
- resource
Id String - The ID of the resource.
- resource
Type String - The type of the resource. Valid values: project, topic, shipper, host_group, host, consumer_group, rule, alarm, alarm_notify_group, etl_task, import_task, schedule_sql_task, download_task, trace_instance.
- value String
- The value of the tag.
TagsTagFilter
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
