UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

118 lines (117 loc) 3.75 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of tls tags * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const basic = volcengine.tls.getTags({ * maxResults: 10, * resourceIds: ["6e6ea17f-ee1d-494f-83f7-c3ecc5c351ea"], * resourceType: "project", * }); * ``` */ /** @deprecated volcengine.tls.Tags has been deprecated in favor of volcengine.tls.getTags */ export declare function tags(args: TagsArgs, opts?: pulumi.InvokeOptions): Promise<TagsResult>; /** * A collection of arguments for invoking Tags. */ export interface TagsArgs { /** * The number of results returned per page. Default value: 20. Maximum value: 100. */ maxResults?: number; /** * The token to get the next page of results. If this parameter is left empty, it means to get the first page of results. */ nextToken?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The IDs of the resources. */ resourceIds: 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. */ resourceType: string; /** * The tag filters. */ tagFilters?: inputs.tls.TagsTagFilter[]; } /** * A collection of values returned by Tags. */ export interface TagsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly maxResults?: number; readonly nextToken?: string; readonly outputFile?: string; readonly resourceIds: string[]; /** * The type of the resource. */ readonly resourceType: string; readonly tagFilters?: outputs.tls.TagsTagFilter[]; /** * The list of tags. */ readonly tags: outputs.tls.TagsTag[]; } /** * Use this data source to query detailed information of tls tags * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const basic = volcengine.tls.getTags({ * maxResults: 10, * resourceIds: ["6e6ea17f-ee1d-494f-83f7-c3ecc5c351ea"], * resourceType: "project", * }); * ``` */ /** @deprecated volcengine.tls.Tags has been deprecated in favor of volcengine.tls.getTags */ export declare function tagsOutput(args: TagsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<TagsResult>; /** * A collection of arguments for invoking Tags. */ export interface TagsOutputArgs { /** * The number of results returned per page. Default value: 20. Maximum value: 100. */ maxResults?: pulumi.Input<number>; /** * The token to get the next page of results. If this parameter is left empty, it means to get the first page of results. */ nextToken?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The IDs of the resources. */ resourceIds: pulumi.Input<pulumi.Input<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. */ resourceType: pulumi.Input<string>; /** * The tag filters. */ tagFilters?: pulumi.Input<pulumi.Input<inputs.tls.TagsTagFilterArgs>[]>; }