UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

87 lines (86 loc) 2.49 kB
import * as pulumi from "@pulumi/pulumi"; import { output as outputs } from "../types"; /** * Use this data source to get available HuaweiCloud GeminiDB Cassandra flavors. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const flavors = pulumi.output(huaweicloud.GaussDBforNoSQL.getCassandraFlavors()); * ``` */ export declare function getCassandraFlavors(args?: GetCassandraFlavorsArgs, opts?: pulumi.InvokeOptions): Promise<GetCassandraFlavorsResult>; /** * A collection of arguments for invoking getCassandraFlavors. */ export interface GetCassandraFlavorsArgs { /** * Specifies the memory size of the flavors. */ memory?: string; /** * The region in which to obtain the flavors. If omitted, the provider-level region will be * used. */ region?: string; /** * Specifies the count of vcpus of the flavors. */ vcpus?: string; /** * Specifies the engine version of the flavors. */ version?: string; } /** * A collection of values returned by getCassandraFlavors. */ export interface GetCassandraFlavorsResult { /** * Indicates the flavors information. Structure is documented below. */ readonly flavors: outputs.GaussDBforNoSQL.GetCassandraFlavorsFlavor[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Indicates the memory size in GB. */ readonly memory?: string; readonly region: string; /** * Indicates the CPU size. */ readonly vcpus?: string; /** * Indicates the database version. */ readonly version?: string; } export declare function getCassandraFlavorsOutput(args?: GetCassandraFlavorsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCassandraFlavorsResult>; /** * A collection of arguments for invoking getCassandraFlavors. */ export interface GetCassandraFlavorsOutputArgs { /** * Specifies the memory size of the flavors. */ memory?: pulumi.Input<string>; /** * The region in which to obtain the flavors. If omitted, the provider-level region will be * used. */ region?: pulumi.Input<string>; /** * Specifies the count of vcpus of the flavors. */ vcpus?: pulumi.Input<string>; /** * Specifies the engine version of the flavors. */ version?: pulumi.Input<string>; }