@huaweicloudos/pulumi
Version:
A Pulumi package for creating and managing Huaweicloud cloud resources.
51 lines (50 loc) • 1.43 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import { output as outputs } from "../types";
/**
* Use this data source to get the list of IMS tags within HuaweiCloud.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as huaweicloud from "@pulumi/huaweicloud";
*
* const test = pulumi.output(huaweicloud.Ims.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;
/**
* The tag list.
*/
readonly tags: outputs.Ims.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>;
}