UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

92 lines (91 loc) 2.34 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of iam tags * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.iam.getTags({ * resourceType: "Role", * }); * ``` */ export declare function getTags(args: GetTagsArgs, opts?: pulumi.InvokeOptions): Promise<GetTagsResult>; /** * A collection of arguments for invoking getTags. */ export interface GetTagsArgs { /** * File name where to save data source results. */ outputFile?: string; /** * The names of the resource. */ resourceNames?: string[]; /** * The type of the resource. Valid values: User, Role. */ resourceType: string; } /** * A collection of values returned by getTags. */ export interface GetTagsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The next token of query. */ readonly nextToken: string; readonly outputFile?: string; readonly resourceNames?: string[]; /** * The collection of query. */ readonly resourceTags: outputs.iam.GetTagsResourceTag[]; /** * The type of the resource. */ readonly resourceType: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of iam tags * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.iam.getTags({ * resourceType: "Role", * }); * ``` */ export declare function getTagsOutput(args: GetTagsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTagsResult>; /** * A collection of arguments for invoking getTags. */ export interface GetTagsOutputArgs { /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The names of the resource. */ resourceNames?: pulumi.Input<pulumi.Input<string>[]>; /** * The type of the resource. Valid values: User, Role. */ resourceType: pulumi.Input<string>; }