UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

92 lines (91 loc) 2.52 kB
import * as pulumi from "@pulumi/pulumi"; import { output as outputs } from "../types"; /** * Use this data source to get available HuaweiCloud GeminiDB Cassandra instances. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const thisCassandraInstances = pulumi.output(huaweicloud.GaussDBforNoSQL.getCassandraInstances({ * name: "gaussdb-instance", * })); * ``` */ export declare function getCassandraInstances(args?: GetCassandraInstancesArgs, opts?: pulumi.InvokeOptions): Promise<GetCassandraInstancesResult>; /** * A collection of arguments for invoking getCassandraInstances. */ export interface GetCassandraInstancesArgs { /** * Specifies the name of the instance. */ name?: string; /** * The region in which to obtain the instance. If omitted, the provider-level region will * be used. */ region?: string; /** * Specifies the network ID of a subnet. */ subnetId?: string; /** * Specifies the VPC ID. */ vpcId?: string; } /** * A collection of values returned by getCassandraInstances. */ export interface GetCassandraInstancesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An array of available instances. */ readonly instances: outputs.GaussDBforNoSQL.GetCassandraInstancesInstance[]; /** * Indicates the node name. */ readonly name?: string; /** * The region of the instance. */ readonly region: string; /** * Indicates the network ID of a subnet. */ readonly subnetId?: string; /** * Indicates the VPC ID. */ readonly vpcId?: string; } export declare function getCassandraInstancesOutput(args?: GetCassandraInstancesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCassandraInstancesResult>; /** * A collection of arguments for invoking getCassandraInstances. */ export interface GetCassandraInstancesOutputArgs { /** * Specifies the name of the instance. */ name?: pulumi.Input<string>; /** * The region in which to obtain the instance. If omitted, the provider-level region will * be used. */ region?: pulumi.Input<string>; /** * Specifies the network ID of a subnet. */ subnetId?: pulumi.Input<string>; /** * Specifies the VPC ID. */ vpcId?: pulumi.Input<string>; }