UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

81 lines (80 loc) 2.55 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get available HuaweiCloud GeminiDB Cassandra dedicated resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const thisCassandraDedicatedResource = pulumi.output(huaweicloud.GaussDBforNoSQL.getCassandraDedicatedResource({ * resourceName: "test", * })); * ``` */ export declare function getCassandraDedicatedResource(args?: GetCassandraDedicatedResourceArgs, opts?: pulumi.InvokeOptions): Promise<GetCassandraDedicatedResourceResult>; /** * A collection of arguments for invoking getCassandraDedicatedResource. */ export interface GetCassandraDedicatedResourceArgs { /** * The region in which to obtain the dedicated resource. If omitted, the provider-level * region will be used. */ region?: string; /** * Specifies the dedicated resource name. */ resourceName?: string; } /** * A collection of values returned by getCassandraDedicatedResource. */ export interface GetCassandraDedicatedResourceResult { /** * Indicates the architecture of the dedicated resource. */ readonly architecture: string; /** * Indicates the availability zone of the dedicated resource. */ readonly availabilityZone: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Indicates the ram size of the dedicated resource. */ readonly ram: number; readonly region: string; readonly resourceName: string; /** * Indicates the status of the dedicated resource. */ readonly status: string; /** * Indicates the vcpus count of the dedicated resource. */ readonly vcpus: number; /** * Indicates the volume size of the dedicated resource. */ readonly volume: number; } export declare function getCassandraDedicatedResourceOutput(args?: GetCassandraDedicatedResourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCassandraDedicatedResourceResult>; /** * A collection of arguments for invoking getCassandraDedicatedResource. */ export interface GetCassandraDedicatedResourceOutputArgs { /** * The region in which to obtain the dedicated resource. If omitted, the provider-level * region will be used. */ region?: pulumi.Input<string>; /** * Specifies the dedicated resource name. */ resourceName?: pulumi.Input<string>; }