UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

51 lines (50 loc) 1.58 kB
import * as pulumi from "@pulumi/pulumi"; import { output as outputs } from "../types"; /** * Use this data source to get the predefined tags. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const test = pulumi.output(huaweicloud.Rds.getPredefinedTags()); * ``` */ export declare function getPredefinedTags(args?: GetPredefinedTagsArgs, opts?: pulumi.InvokeOptions): Promise<GetPredefinedTagsResult>; /** * A collection of arguments for invoking getPredefinedTags. */ export interface GetPredefinedTagsArgs { /** * 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 getPredefinedTags. */ export interface GetPredefinedTagsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly region: string; /** * Indicates the list of predefined tags. */ readonly tags: outputs.Rds.GetPredefinedTagsTag[]; } export declare function getPredefinedTagsOutput(args?: GetPredefinedTagsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPredefinedTagsResult>; /** * A collection of arguments for invoking getPredefinedTags. */ export interface GetPredefinedTagsOutputArgs { /** * Specifies the region in which to query the resource. * If omitted, the provider-level region will be used. */ region?: pulumi.Input<string>; }