@huaweicloudos/pulumi
Version:
A Pulumi package for creating and managing Huaweicloud cloud resources.
52 lines (51 loc) • 1.53 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import { output as outputs } from "../types";
/**
* Use this data source to get the list of CCE charts within HuaweiCloud.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as huaweicloud from "@pulumi/huaweicloud";
*
* const test = pulumi.output(huaweicloud.Cce.getCharts());
* ```
*/
export declare function getCharts(args?: GetChartsArgs, opts?: pulumi.InvokeOptions): Promise<GetChartsResult>;
/**
* A collection of arguments for invoking getCharts.
*/
export interface GetChartsArgs {
/**
* Specifies the region in which to obtain the CCE charts. If omitted, the
* provider-level region will be used.
*/
region?: string;
}
/**
* A collection of values returned by getCharts.
*/
export interface GetChartsResult {
/**
* The list of charts.
* The charts structure is documented below.
*/
readonly charts: outputs.Cce.GetChartsChart[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly region: string;
}
export declare function getChartsOutput(args?: GetChartsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetChartsResult>;
/**
* A collection of arguments for invoking getCharts.
*/
export interface GetChartsOutputArgs {
/**
* Specifies the region in which to obtain the CCE charts. If omitted, the
* provider-level region will be used.
*/
region?: pulumi.Input<string>;
}