UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

51 lines (50 loc) 1.42 kB
import * as pulumi from "@pulumi/pulumi"; import { output as outputs } from "../types"; /** * Use this data source to get the project tags. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const test = pulumi.output(huaweicloud.Rds.getTags()); * ``` */ export declare function getTags(args?: GetTagsArgs, opts?: pulumi.InvokeOptions): Promise<GetTagsResult>; /** * A collection of arguments for invoking getTags. */ export interface GetTagsArgs { /** * Specifies the region in which to query the resource. * If omitted, the provider-level region will be used. */ region?: string; } /** * A collection of values returned by getTags. */ export interface GetTagsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly region: string; /** * Indicates the tag list. */ readonly tags: outputs.Rds.GetTagsTag[]; } export declare function getTagsOutput(args?: GetTagsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTagsResult>; /** * A collection of arguments for invoking getTags. */ export interface GetTagsOutputArgs { /** * Specifies the region in which to query the resource. * If omitted, the provider-level region will be used. */ region?: pulumi.Input<string>; }