@huaweicloudos/pulumi
Version:
A Pulumi package for creating and managing Huaweicloud cloud resources.
114 lines (113 loc) • 3.66 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import { output as outputs } from "../types";
/**
* Use this data source to get available flavors of DWS cluster node.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as huaweicloud from "@pulumi/huaweicloud";
*
* const flavor = pulumi.output(huaweicloud.Dws.getFlaovrs({
* vcpus: 8,
* }));
* ```
*/
export declare function getFlaovrs(args?: GetFlaovrsArgs, opts?: pulumi.InvokeOptions): Promise<GetFlaovrsResult>;
/**
* A collection of arguments for invoking getFlaovrs.
*/
export interface GetFlaovrsArgs {
/**
* The availability zone name.
*/
availabilityZone?: string;
/**
* The type of datastore.
* The options are as follows:
* - **dws**: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
* - **hybrid**: a single data warehouse used for transaction and analytics workloads,
* in single-node or cluster mode.
* - **stream**: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
*/
datastoreType?: string;
/**
* The ram of the dws node flavor in GB.
*/
memory?: number;
/**
* Specifies the region in which to query the data source.
* If omitted, the provider-level region will be used.
*/
region?: string;
/**
* The vcpus of the dws node flavor.
*/
vcpus?: number;
}
/**
* A collection of values returned by getFlaovrs.
*/
export interface GetFlaovrsResult {
readonly availabilityZone?: string;
/**
* The type of datastore.
* The options are as follows:
* - **dws**: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
* - **hybrid**: a single data warehouse used for transaction and analytics workloads,
* in single-node or cluster mode.
* - **stream**: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
*/
readonly datastoreType?: string;
/**
* The list of flavor detail.
* The Flavors structure is documented below.
*/
readonly flavors: outputs.Dws.GetFlaovrsFlavor[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The ram of the dws node flavor in GB.
*/
readonly memory?: number;
readonly region: string;
/**
* The vcpus of the dws node flavor.
*/
readonly vcpus?: number;
}
export declare function getFlaovrsOutput(args?: GetFlaovrsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFlaovrsResult>;
/**
* A collection of arguments for invoking getFlaovrs.
*/
export interface GetFlaovrsOutputArgs {
/**
* The availability zone name.
*/
availabilityZone?: pulumi.Input<string>;
/**
* The type of datastore.
* The options are as follows:
* - **dws**: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
* - **hybrid**: a single data warehouse used for transaction and analytics workloads,
* in single-node or cluster mode.
* - **stream**: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
*/
datastoreType?: pulumi.Input<string>;
/**
* The ram of the dws node flavor in GB.
*/
memory?: pulumi.Input<number>;
/**
* Specifies the region in which to query the data source.
* If omitted, the provider-level region will be used.
*/
region?: pulumi.Input<string>;
/**
* The vcpus of the dws node flavor.
*/
vcpus?: pulumi.Input<number>;
}