flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getGaussdbCassandraInstances
Start a Neo task
Explain and create a flexibleengine.getGaussdbCassandraInstances resource
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get available FlexibleEngine gaussdb cassandra instances.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const _this = flexibleengine.getGaussdbCassandraInstances({
name: "gaussdb-instance",
});
import pulumi
import pulumi_flexibleengine as flexibleengine
this = flexibleengine.get_gaussdb_cassandra_instances(name="gaussdb-instance")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := flexibleengine.GetGaussdbCassandraInstances(ctx, &flexibleengine.GetGaussdbCassandraInstancesArgs{
Name: pulumi.StringRef("gaussdb-instance"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var @this = Flexibleengine.GetGaussdbCassandraInstances.Invoke(new()
{
Name = "gaussdb-instance",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FlexibleengineFunctions;
import com.pulumi.flexibleengine.inputs.GetGaussdbCassandraInstancesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var this = FlexibleengineFunctions.getGaussdbCassandraInstances(GetGaussdbCassandraInstancesArgs.builder()
.name("gaussdb-instance")
.build());
}
}
variables:
this:
fn::invoke:
function: flexibleengine:getGaussdbCassandraInstances
arguments:
name: gaussdb-instance
Using getGaussdbCassandraInstances
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGaussdbCassandraInstances(args: GetGaussdbCassandraInstancesArgs, opts?: InvokeOptions): Promise<GetGaussdbCassandraInstancesResult>
function getGaussdbCassandraInstancesOutput(args: GetGaussdbCassandraInstancesOutputArgs, opts?: InvokeOptions): Output<GetGaussdbCassandraInstancesResult>def get_gaussdb_cassandra_instances(id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
subnet_id: Optional[str] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGaussdbCassandraInstancesResult
def get_gaussdb_cassandra_instances_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
subnet_id: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGaussdbCassandraInstancesResult]func GetGaussdbCassandraInstances(ctx *Context, args *GetGaussdbCassandraInstancesArgs, opts ...InvokeOption) (*GetGaussdbCassandraInstancesResult, error)
func GetGaussdbCassandraInstancesOutput(ctx *Context, args *GetGaussdbCassandraInstancesOutputArgs, opts ...InvokeOption) GetGaussdbCassandraInstancesResultOutput> Note: This function is named GetGaussdbCassandraInstances in the Go SDK.
public static class GetGaussdbCassandraInstances
{
public static Task<GetGaussdbCassandraInstancesResult> InvokeAsync(GetGaussdbCassandraInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetGaussdbCassandraInstancesResult> Invoke(GetGaussdbCassandraInstancesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGaussdbCassandraInstancesResult> getGaussdbCassandraInstances(GetGaussdbCassandraInstancesArgs args, InvokeOptions options)
public static Output<GetGaussdbCassandraInstancesResult> getGaussdbCassandraInstances(GetGaussdbCassandraInstancesArgs args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getGaussdbCassandraInstances:getGaussdbCassandraInstances
arguments:
# arguments dictionaryThe following arguments are supported:
getGaussdbCassandraInstances Result
The following output properties are available:
- Id string
- Indicates the node ID.
- Instances
List<Get
Gaussdb Cassandra Instances Instance> - An array of available instances. The instances object structure is documented below.
- Region string
- The region of the instance.
- Name string
- Indicates the node name.
- Subnet
Id string - Indicates the network ID of a subnet.
- Vpc
Id string - Indicates the VPC ID.
- Id string
- Indicates the node ID.
- Instances
[]Get
Gaussdb Cassandra Instances Instance - An array of available instances. The instances object structure is documented below.
- Region string
- The region of the instance.
- Name string
- Indicates the node name.
- Subnet
Id string - Indicates the network ID of a subnet.
- Vpc
Id string - Indicates the VPC ID.
- id String
- Indicates the node ID.
- instances
List<Get
Gaussdb Cassandra Instances Instance> - An array of available instances. The instances object structure is documented below.
- region String
- The region of the instance.
- name String
- Indicates the node name.
- subnet
Id String - Indicates the network ID of a subnet.
- vpc
Id String - Indicates the VPC ID.
- id string
- Indicates the node ID.
- instances
Get
Gaussdb Cassandra Instances Instance[] - An array of available instances. The instances object structure is documented below.
- region string
- The region of the instance.
- name string
- Indicates the node name.
- subnet
Id string - Indicates the network ID of a subnet.
- vpc
Id string - Indicates the VPC ID.
- id str
- Indicates the node ID.
- instances
Sequence[Get
Gaussdb Cassandra Instances Instance] - An array of available instances. The instances object structure is documented below.
- region str
- The region of the instance.
- name str
- Indicates the node name.
- subnet_
id str - Indicates the network ID of a subnet.
- vpc_
id str - Indicates the VPC ID.
- id String
- Indicates the node ID.
- instances List<Property Map>
- An array of available instances. The instances object structure is documented below.
- region String
- The region of the instance.
- name String
- Indicates the node name.
- subnet
Id String - Indicates the network ID of a subnet.
- vpc
Id String - Indicates the VPC ID.
Supporting Types
GetGaussdbCassandraInstancesInstance
- Availability
Zone string - Indicates the availability zone where the node resides.
- Backup
Strategies List<GetGaussdb Cassandra Instances Instance Backup Strategy> - Indicates the advanced backup policy. The backup_strategy object structure is documented below.
- Datastores
List<Get
Gaussdb Cassandra Instances Instance Datastore> - Indicates the database information. The datastore object structure is documented below.
- Db
User stringName - Indicates the default username.
- Enterprise
Project stringId - Indicates the enterprise project id.
- Flavor string
- Indicates the instance specifications.
- Id string
- Indicates the node ID.
- Mode string
- Indicates the instance mode.
- Name string
- Specifies the name of the instance.
- Node
Num double - Indicates the count of the nodes.
- Nodes
List<Get
Gaussdb Cassandra Instances Instance Node> - Indicates the instance nodes information. The nodes object structure is documented below.
- Port double
- Indicates the database port.
- Private
Ips List<string> - Indicates the list of private IP address of the nodes.
- Region string
- The region in which to obtain the instance. If omitted, the provider-level region will be used.
- Security
Group stringId - Indicates the security group ID.
- Status string
- Indicates the node status.
- Subnet
Id string - Specifies the network ID of a subnet.
- Dictionary<string, string>
- Indicates the key/value tags of the instance.
- Volume
Size double - Indicates the size of the volume.
- Vpc
Id string - Specifies the VPC ID.
- Availability
Zone string - Indicates the availability zone where the node resides.
- Backup
Strategies []GetGaussdb Cassandra Instances Instance Backup Strategy - Indicates the advanced backup policy. The backup_strategy object structure is documented below.
- Datastores
[]Get
Gaussdb Cassandra Instances Instance Datastore - Indicates the database information. The datastore object structure is documented below.
- Db
User stringName - Indicates the default username.
- Enterprise
Project stringId - Indicates the enterprise project id.
- Flavor string
- Indicates the instance specifications.
- Id string
- Indicates the node ID.
- Mode string
- Indicates the instance mode.
- Name string
- Specifies the name of the instance.
- Node
Num float64 - Indicates the count of the nodes.
- Nodes
[]Get
Gaussdb Cassandra Instances Instance Node - Indicates the instance nodes information. The nodes object structure is documented below.
- Port float64
- Indicates the database port.
- Private
Ips []string - Indicates the list of private IP address of the nodes.
- Region string
- The region in which to obtain the instance. If omitted, the provider-level region will be used.
- Security
Group stringId - Indicates the security group ID.
- Status string
- Indicates the node status.
- Subnet
Id string - Specifies the network ID of a subnet.
- map[string]string
- Indicates the key/value tags of the instance.
- Volume
Size float64 - Indicates the size of the volume.
- Vpc
Id string - Specifies the VPC ID.
- availability
Zone String - Indicates the availability zone where the node resides.
- backup
Strategies List<GetGaussdb Cassandra Instances Instance Backup Strategy> - Indicates the advanced backup policy. The backup_strategy object structure is documented below.
- datastores
List<Get
Gaussdb Cassandra Instances Instance Datastore> - Indicates the database information. The datastore object structure is documented below.
- db
User StringName - Indicates the default username.
- enterprise
Project StringId - Indicates the enterprise project id.
- flavor String
- Indicates the instance specifications.
- id String
- Indicates the node ID.
- mode String
- Indicates the instance mode.
- name String
- Specifies the name of the instance.
- node
Num Double - Indicates the count of the nodes.
- nodes
List<Get
Gaussdb Cassandra Instances Instance Node> - Indicates the instance nodes information. The nodes object structure is documented below.
- port Double
- Indicates the database port.
- private
Ips List<String> - Indicates the list of private IP address of the nodes.
- region String
- The region in which to obtain the instance. If omitted, the provider-level region will be used.
- security
Group StringId - Indicates the security group ID.
- status String
- Indicates the node status.
- subnet
Id String - Specifies the network ID of a subnet.
- Map<String,String>
- Indicates the key/value tags of the instance.
- volume
Size Double - Indicates the size of the volume.
- vpc
Id String - Specifies the VPC ID.
- availability
Zone string - Indicates the availability zone where the node resides.
- backup
Strategies GetGaussdb Cassandra Instances Instance Backup Strategy[] - Indicates the advanced backup policy. The backup_strategy object structure is documented below.
- datastores
Get
Gaussdb Cassandra Instances Instance Datastore[] - Indicates the database information. The datastore object structure is documented below.
- db
User stringName - Indicates the default username.
- enterprise
Project stringId - Indicates the enterprise project id.
- flavor string
- Indicates the instance specifications.
- id string
- Indicates the node ID.
- mode string
- Indicates the instance mode.
- name string
- Specifies the name of the instance.
- node
Num number - Indicates the count of the nodes.
- nodes
Get
Gaussdb Cassandra Instances Instance Node[] - Indicates the instance nodes information. The nodes object structure is documented below.
- port number
- Indicates the database port.
- private
Ips string[] - Indicates the list of private IP address of the nodes.
- region string
- The region in which to obtain the instance. If omitted, the provider-level region will be used.
- security
Group stringId - Indicates the security group ID.
- status string
- Indicates the node status.
- subnet
Id string - Specifies the network ID of a subnet.
- {[key: string]: string}
- Indicates the key/value tags of the instance.
- volume
Size number - Indicates the size of the volume.
- vpc
Id string - Specifies the VPC ID.
- availability_
zone str - Indicates the availability zone where the node resides.
- backup_
strategies Sequence[GetGaussdb Cassandra Instances Instance Backup Strategy] - Indicates the advanced backup policy. The backup_strategy object structure is documented below.
- datastores
Sequence[Get
Gaussdb Cassandra Instances Instance Datastore] - Indicates the database information. The datastore object structure is documented below.
- db_
user_ strname - Indicates the default username.
- enterprise_
project_ strid - Indicates the enterprise project id.
- flavor str
- Indicates the instance specifications.
- id str
- Indicates the node ID.
- mode str
- Indicates the instance mode.
- name str
- Specifies the name of the instance.
- node_
num float - Indicates the count of the nodes.
- nodes
Sequence[Get
Gaussdb Cassandra Instances Instance Node] - Indicates the instance nodes information. The nodes object structure is documented below.
- port float
- Indicates the database port.
- private_
ips Sequence[str] - Indicates the list of private IP address of the nodes.
- region str
- The region in which to obtain the instance. If omitted, the provider-level region will be used.
- security_
group_ strid - Indicates the security group ID.
- status str
- Indicates the node status.
- subnet_
id str - Specifies the network ID of a subnet.
- Mapping[str, str]
- Indicates the key/value tags of the instance.
- volume_
size float - Indicates the size of the volume.
- vpc_
id str - Specifies the VPC ID.
- availability
Zone String - Indicates the availability zone where the node resides.
- backup
Strategies List<Property Map> - Indicates the advanced backup policy. The backup_strategy object structure is documented below.
- datastores List<Property Map>
- Indicates the database information. The datastore object structure is documented below.
- db
User StringName - Indicates the default username.
- enterprise
Project StringId - Indicates the enterprise project id.
- flavor String
- Indicates the instance specifications.
- id String
- Indicates the node ID.
- mode String
- Indicates the instance mode.
- name String
- Specifies the name of the instance.
- node
Num Number - Indicates the count of the nodes.
- nodes List<Property Map>
- Indicates the instance nodes information. The nodes object structure is documented below.
- port Number
- Indicates the database port.
- private
Ips List<String> - Indicates the list of private IP address of the nodes.
- region String
- The region in which to obtain the instance. If omitted, the provider-level region will be used.
- security
Group StringId - Indicates the security group ID.
- status String
- Indicates the node status.
- subnet
Id String - Specifies the network ID of a subnet.
- Map<String>
- Indicates the key/value tags of the instance.
- volume
Size Number - Indicates the size of the volume.
- vpc
Id String - Specifies the VPC ID.
GetGaussdbCassandraInstancesInstanceBackupStrategy
- keep_
days float - Indicates the number of days to retain the generated
- start_
time str - Indicates the backup time window.
GetGaussdbCassandraInstancesInstanceDatastore
- Engine string
- Indicates the database engine.
- Storage
Engine string - Indicates the database storage engine.
- Version string
- Indicates the database version.
- Engine string
- Indicates the database engine.
- Storage
Engine string - Indicates the database storage engine.
- Version string
- Indicates the database version.
- engine String
- Indicates the database engine.
- storage
Engine String - Indicates the database storage engine.
- version String
- Indicates the database version.
- engine string
- Indicates the database engine.
- storage
Engine string - Indicates the database storage engine.
- version string
- Indicates the database version.
- engine str
- Indicates the database engine.
- storage_
engine str - Indicates the database storage engine.
- version str
- Indicates the database version.
- engine String
- Indicates the database engine.
- storage
Engine String - Indicates the database storage engine.
- version String
- Indicates the database version.
GetGaussdbCassandraInstancesInstanceNode
- Availability
Zone string - Indicates the availability zone where the node resides.
- Id string
- Indicates the node ID.
- Name string
- Specifies the name of the instance.
- Private
Ip string - Indicates the private IP address of a node.
- Status string
- Indicates the node status.
- Support
Reduce bool - Indicates whether the node support reduce.
- Availability
Zone string - Indicates the availability zone where the node resides.
- Id string
- Indicates the node ID.
- Name string
- Specifies the name of the instance.
- Private
Ip string - Indicates the private IP address of a node.
- Status string
- Indicates the node status.
- Support
Reduce bool - Indicates whether the node support reduce.
- availability
Zone String - Indicates the availability zone where the node resides.
- id String
- Indicates the node ID.
- name String
- Specifies the name of the instance.
- private
Ip String - Indicates the private IP address of a node.
- status String
- Indicates the node status.
- support
Reduce Boolean - Indicates whether the node support reduce.
- availability
Zone string - Indicates the availability zone where the node resides.
- id string
- Indicates the node ID.
- name string
- Specifies the name of the instance.
- private
Ip string - Indicates the private IP address of a node.
- status string
- Indicates the node status.
- support
Reduce boolean - Indicates whether the node support reduce.
- availability_
zone str - Indicates the availability zone where the node resides.
- id str
- Indicates the node ID.
- name str
- Specifies the name of the instance.
- private_
ip str - Indicates the private IP address of a node.
- status str
- Indicates the node status.
- support_
reduce bool - Indicates whether the node support reduce.
- availability
Zone String - Indicates the availability zone where the node resides.
- id String
- Indicates the node ID.
- name String
- Specifies the name of the instance.
- private
Ip String - Indicates the private IP address of a node.
- status String
- Indicates the node status.
- support
Reduce Boolean - Indicates whether the node support reduce.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengineTerraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
