1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. graphdatabase
  5. getDbInstances
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.graphdatabase.getDbInstances

Explore with Pulumi AI

Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

This data source provides the Graph Database Db Instances of the current Alibaba Cloud user.

NOTE: Available in v1.136.0+.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const ids = alicloud.graphdatabase.getDbInstances({
    ids: ["example_id"],
});
export const graphDatabaseDbInstanceId1 = ids.then(ids => ids.instances?.[0]?.id);
const status = alicloud.graphdatabase.getDbInstances({
    ids: ["example_id"],
    status: "Running",
});
export const graphDatabaseDbInstanceId2 = status.then(status => status.instances?.[0]?.id);
const description = alicloud.graphdatabase.getDbInstances({
    ids: ["example_id"],
    dbInstanceDescription: "example_value",
});
export const graphDatabaseDbInstanceId3 = description.then(description => description.instances?.[0]?.id);
Copy
import pulumi
import pulumi_alicloud as alicloud

ids = alicloud.graphdatabase.get_db_instances(ids=["example_id"])
pulumi.export("graphDatabaseDbInstanceId1", ids.instances[0].id)
status = alicloud.graphdatabase.get_db_instances(ids=["example_id"],
    status="Running")
pulumi.export("graphDatabaseDbInstanceId2", status.instances[0].id)
description = alicloud.graphdatabase.get_db_instances(ids=["example_id"],
    db_instance_description="example_value")
pulumi.export("graphDatabaseDbInstanceId3", description.instances[0].id)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/graphdatabase"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := graphdatabase.GetDbInstances(ctx, &graphdatabase.GetDbInstancesArgs{
			Ids: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("graphDatabaseDbInstanceId1", ids.Instances[0].Id)
		status, err := graphdatabase.GetDbInstances(ctx, &graphdatabase.GetDbInstancesArgs{
			Ids: []string{
				"example_id",
			},
			Status: pulumi.StringRef("Running"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("graphDatabaseDbInstanceId2", status.Instances[0].Id)
		description, err := graphdatabase.GetDbInstances(ctx, &graphdatabase.GetDbInstancesArgs{
			Ids: []string{
				"example_id",
			},
			DbInstanceDescription: pulumi.StringRef("example_value"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("graphDatabaseDbInstanceId3", description.Instances[0].Id)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var ids = AliCloud.GraphDatabase.GetDbInstances.Invoke(new()
    {
        Ids = new[]
        {
            "example_id",
        },
    });

    var status = AliCloud.GraphDatabase.GetDbInstances.Invoke(new()
    {
        Ids = new[]
        {
            "example_id",
        },
        Status = "Running",
    });

    var description = AliCloud.GraphDatabase.GetDbInstances.Invoke(new()
    {
        Ids = new[]
        {
            "example_id",
        },
        DbInstanceDescription = "example_value",
    });

    return new Dictionary<string, object?>
    {
        ["graphDatabaseDbInstanceId1"] = ids.Apply(getDbInstancesResult => getDbInstancesResult.Instances[0]?.Id),
        ["graphDatabaseDbInstanceId2"] = status.Apply(getDbInstancesResult => getDbInstancesResult.Instances[0]?.Id),
        ["graphDatabaseDbInstanceId3"] = description.Apply(getDbInstancesResult => getDbInstancesResult.Instances[0]?.Id),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.graphdatabase.GraphdatabaseFunctions;
import com.pulumi.alicloud.graphdatabase.inputs.GetDbInstancesArgs;
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 ids = GraphdatabaseFunctions.getDbInstances(GetDbInstancesArgs.builder()
            .ids("example_id")
            .build());

        ctx.export("graphDatabaseDbInstanceId1", ids.applyValue(getDbInstancesResult -> getDbInstancesResult.instances()[0].id()));
        final var status = GraphdatabaseFunctions.getDbInstances(GetDbInstancesArgs.builder()
            .ids("example_id")
            .status("Running")
            .build());

        ctx.export("graphDatabaseDbInstanceId2", status.applyValue(getDbInstancesResult -> getDbInstancesResult.instances()[0].id()));
        final var description = GraphdatabaseFunctions.getDbInstances(GetDbInstancesArgs.builder()
            .ids("example_id")
            .dbInstanceDescription("example_value")
            .build());

        ctx.export("graphDatabaseDbInstanceId3", description.applyValue(getDbInstancesResult -> getDbInstancesResult.instances()[0].id()));
    }
}
Copy
variables:
  ids:
    fn::invoke:
      function: alicloud:graphdatabase:getDbInstances
      arguments:
        ids:
          - example_id
  status:
    fn::invoke:
      function: alicloud:graphdatabase:getDbInstances
      arguments:
        ids:
          - example_id
        status: Running
  description:
    fn::invoke:
      function: alicloud:graphdatabase:getDbInstances
      arguments:
        ids:
          - example_id
        dbInstanceDescription: example_value
outputs:
  graphDatabaseDbInstanceId1: ${ids.instances[0].id}
  graphDatabaseDbInstanceId2: ${status.instances[0].id}
  graphDatabaseDbInstanceId3: ${description.instances[0].id}
Copy

Using getDbInstances

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 getDbInstances(args: GetDbInstancesArgs, opts?: InvokeOptions): Promise<GetDbInstancesResult>
function getDbInstancesOutput(args: GetDbInstancesOutputArgs, opts?: InvokeOptions): Output<GetDbInstancesResult>
Copy
def get_db_instances(db_instance_description: Optional[str] = None,
                     enable_details: Optional[bool] = None,
                     ids: Optional[Sequence[str]] = None,
                     output_file: Optional[str] = None,
                     status: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetDbInstancesResult
def get_db_instances_output(db_instance_description: Optional[pulumi.Input[str]] = None,
                     enable_details: Optional[pulumi.Input[bool]] = None,
                     ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                     output_file: Optional[pulumi.Input[str]] = None,
                     status: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetDbInstancesResult]
Copy
func GetDbInstances(ctx *Context, args *GetDbInstancesArgs, opts ...InvokeOption) (*GetDbInstancesResult, error)
func GetDbInstancesOutput(ctx *Context, args *GetDbInstancesOutputArgs, opts ...InvokeOption) GetDbInstancesResultOutput
Copy

> Note: This function is named GetDbInstances in the Go SDK.

public static class GetDbInstances 
{
    public static Task<GetDbInstancesResult> InvokeAsync(GetDbInstancesArgs args, InvokeOptions? opts = null)
    public static Output<GetDbInstancesResult> Invoke(GetDbInstancesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDbInstancesResult> getDbInstances(GetDbInstancesArgs args, InvokeOptions options)
public static Output<GetDbInstancesResult> getDbInstances(GetDbInstancesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:graphdatabase/getDbInstances:getDbInstances
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DbInstanceDescription Changes to this property will trigger replacement. string
According to the practical example or notes.
EnableDetails bool
Default to false. Set it to true can output more details about resource attributes.
Ids Changes to this property will trigger replacement. List<string>
A list of Db Instance IDs.
OutputFile string
File name where to save data source results (after running pulumi preview).
Status Changes to this property will trigger replacement. string
Instance status. Value range: Creating, Running, Deleting, DBInstanceClassChanging, NetAddressCreating and NetAddressDeleting.
DbInstanceDescription Changes to this property will trigger replacement. string
According to the practical example or notes.
EnableDetails bool
Default to false. Set it to true can output more details about resource attributes.
Ids Changes to this property will trigger replacement. []string
A list of Db Instance IDs.
OutputFile string
File name where to save data source results (after running pulumi preview).
Status Changes to this property will trigger replacement. string
Instance status. Value range: Creating, Running, Deleting, DBInstanceClassChanging, NetAddressCreating and NetAddressDeleting.
dbInstanceDescription Changes to this property will trigger replacement. String
According to the practical example or notes.
enableDetails Boolean
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. List<String>
A list of Db Instance IDs.
outputFile String
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. String
Instance status. Value range: Creating, Running, Deleting, DBInstanceClassChanging, NetAddressCreating and NetAddressDeleting.
dbInstanceDescription Changes to this property will trigger replacement. string
According to the practical example or notes.
enableDetails boolean
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. string[]
A list of Db Instance IDs.
outputFile string
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. string
Instance status. Value range: Creating, Running, Deleting, DBInstanceClassChanging, NetAddressCreating and NetAddressDeleting.
db_instance_description Changes to this property will trigger replacement. str
According to the practical example or notes.
enable_details bool
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. Sequence[str]
A list of Db Instance IDs.
output_file str
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. str
Instance status. Value range: Creating, Running, Deleting, DBInstanceClassChanging, NetAddressCreating and NetAddressDeleting.
dbInstanceDescription Changes to this property will trigger replacement. String
According to the practical example or notes.
enableDetails Boolean
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. List<String>
A list of Db Instance IDs.
outputFile String
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. String
Instance status. Value range: Creating, Running, Deleting, DBInstanceClassChanging, NetAddressCreating and NetAddressDeleting.

getDbInstances Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
Instances List<Pulumi.AliCloud.GraphDatabase.Outputs.GetDbInstancesInstance>
DbInstanceDescription string
EnableDetails bool
OutputFile string
Status string
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
Instances []GetDbInstancesInstance
DbInstanceDescription string
EnableDetails bool
OutputFile string
Status string
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
instances List<GetDbInstancesInstance>
dbInstanceDescription String
enableDetails Boolean
outputFile String
status String
id string
The provider-assigned unique ID for this managed resource.
ids string[]
instances GetDbInstancesInstance[]
dbInstanceDescription string
enableDetails boolean
outputFile string
status string
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
instances Sequence[GetDbInstancesInstance]
db_instance_description str
enable_details bool
output_file str
status str
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
instances List<Property Map>
dbInstanceDescription String
enableDetails Boolean
outputFile String
status String

Supporting Types

GetDbInstancesInstance

ConnectionString This property is required. string
Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
CreateTime This property is required. string
Creation time, which follows the format of YYYY-MM-DD 'T'hh:mm:ssZ, such as 2011-05-30 T12:11:4Z.
CurrentMinorVersion This property is required. string
The current kernel image version.
DbInstanceCategory This property is required. string
The category of the db instance.
DbInstanceCpu This property is required. string
For example, instances can be grouped according to Cpu core count.
DbInstanceDescription This property is required. string
According to the practical example or notes.
DbInstanceId This property is required. string
The ID of the instance.
DbInstanceIpArrays This property is required. List<Pulumi.AliCloud.GraphDatabase.Inputs.GetDbInstancesInstanceDbInstanceIpArray>
IP ADDRESS whitelist for the instance group list.
DbInstanceMemory This property is required. string
Instance memory, which is measured in MB.
DbInstanceNetworkType This property is required. string
The network type of the db instance.
DbInstanceStorageType This property is required. string
Disk storage type. Valid values: cloud_essd, cloud_ssd.
DbInstanceType This property is required. string
The type of the db instance.
DbNodeClass This property is required. string
The class of the db node.
DbNodeCount This property is required. string
The count of the db node.
DbNodeStorage This property is required. string
Instance storage space, which is measured in GB.
DbVersion This property is required. string
Kernel Version. Value range: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
ExpireTime This property is required. string
The instance after it expires time for subscription instance.
Expired This property is required. string
The expire status of the db instance.
Id This property is required. string
The ID of the Db Instance.
LatestMinorVersion This property is required. string
The latest kernel image version.
LockMode This property is required. string
Instance lock state. Value range: Unlock, ManualLock, LockByExpiration, LockByRestoration and LockByDiskQuota. Unlock: normal. ManualLock: the manual trigger lock. LockByExpiration: that represents the instance expires automatically lock. LockByRestoration: indicates that the instance rollback before auto-lock. LockByDiskQuota: that represents the instance space full automatic lock.
LockReason This property is required. string
An instance is locked the reason.
MaintainTime This property is required. string
Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance.
MasterDbInstanceId This property is required. string
The master instance ID of the db instance.
PaymentType This property is required. string
The paymen type of the resource.
Port This property is required. int
Application Port.
PublicConnectionString This property is required. string
The public connection string ID of the resource.
PublicPort This property is required. int
The public port ID of the resource.
ReadOnlyDbInstanceIds This property is required. List<string>
The array of the readonly db instances.
Status This property is required. string
Instance status. Value range: Creating, Running, Deleting, Rebooting, DBInstanceClassChanging, NetAddressCreating and NetAddressDeleting.
VpcId This property is required. string
The vpc id of the db instance.
VswitchId This property is required. string
The vswitch id.
ZoneId This property is required. string
The zone ID of the resource.
ConnectionString This property is required. string
Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
CreateTime This property is required. string
Creation time, which follows the format of YYYY-MM-DD 'T'hh:mm:ssZ, such as 2011-05-30 T12:11:4Z.
CurrentMinorVersion This property is required. string
The current kernel image version.
DbInstanceCategory This property is required. string
The category of the db instance.
DbInstanceCpu This property is required. string
For example, instances can be grouped according to Cpu core count.
DbInstanceDescription This property is required. string
According to the practical example or notes.
DbInstanceId This property is required. string
The ID of the instance.
DbInstanceIpArrays This property is required. []GetDbInstancesInstanceDbInstanceIpArray
IP ADDRESS whitelist for the instance group list.
DbInstanceMemory This property is required. string
Instance memory, which is measured in MB.
DbInstanceNetworkType This property is required. string
The network type of the db instance.
DbInstanceStorageType This property is required. string
Disk storage type. Valid values: cloud_essd, cloud_ssd.
DbInstanceType This property is required. string
The type of the db instance.
DbNodeClass This property is required. string
The class of the db node.
DbNodeCount This property is required. string
The count of the db node.
DbNodeStorage This property is required. string
Instance storage space, which is measured in GB.
DbVersion This property is required. string
Kernel Version. Value range: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
ExpireTime This property is required. string
The instance after it expires time for subscription instance.
Expired This property is required. string
The expire status of the db instance.
Id This property is required. string
The ID of the Db Instance.
LatestMinorVersion This property is required. string
The latest kernel image version.
LockMode This property is required. string
Instance lock state. Value range: Unlock, ManualLock, LockByExpiration, LockByRestoration and LockByDiskQuota. Unlock: normal. ManualLock: the manual trigger lock. LockByExpiration: that represents the instance expires automatically lock. LockByRestoration: indicates that the instance rollback before auto-lock. LockByDiskQuota: that represents the instance space full automatic lock.
LockReason This property is required. string
An instance is locked the reason.
MaintainTime This property is required. string
Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance.
MasterDbInstanceId This property is required. string
The master instance ID of the db instance.
PaymentType This property is required. string
The paymen type of the resource.
Port This property is required. int
Application Port.
PublicConnectionString This property is required. string
The public connection string ID of the resource.
PublicPort This property is required. int
The public port ID of the resource.
ReadOnlyDbInstanceIds This property is required. []string
The array of the readonly db instances.
Status This property is required. string
Instance status. Value range: Creating, Running, Deleting, Rebooting, DBInstanceClassChanging, NetAddressCreating and NetAddressDeleting.
VpcId This property is required. string
The vpc id of the db instance.
VswitchId This property is required. string
The vswitch id.
ZoneId This property is required. string
The zone ID of the resource.
connectionString This property is required. String
Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
createTime This property is required. String
Creation time, which follows the format of YYYY-MM-DD 'T'hh:mm:ssZ, such as 2011-05-30 T12:11:4Z.
currentMinorVersion This property is required. String
The current kernel image version.
dbInstanceCategory This property is required. String
The category of the db instance.
dbInstanceCpu This property is required. String
For example, instances can be grouped according to Cpu core count.
dbInstanceDescription This property is required. String
According to the practical example or notes.
dbInstanceId This property is required. String
The ID of the instance.
dbInstanceIpArrays This property is required. List<GetDbInstancesInstanceDbInstanceIpArray>
IP ADDRESS whitelist for the instance group list.
dbInstanceMemory This property is required. String
Instance memory, which is measured in MB.
dbInstanceNetworkType This property is required. String
The network type of the db instance.
dbInstanceStorageType This property is required. String
Disk storage type. Valid values: cloud_essd, cloud_ssd.
dbInstanceType This property is required. String
The type of the db instance.
dbNodeClass This property is required. String
The class of the db node.
dbNodeCount This property is required. String
The count of the db node.
dbNodeStorage This property is required. String
Instance storage space, which is measured in GB.
dbVersion This property is required. String
Kernel Version. Value range: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
expireTime This property is required. String
The instance after it expires time for subscription instance.
expired This property is required. String
The expire status of the db instance.
id This property is required. String
The ID of the Db Instance.
latestMinorVersion This property is required. String
The latest kernel image version.
lockMode This property is required. String
Instance lock state. Value range: Unlock, ManualLock, LockByExpiration, LockByRestoration and LockByDiskQuota. Unlock: normal. ManualLock: the manual trigger lock. LockByExpiration: that represents the instance expires automatically lock. LockByRestoration: indicates that the instance rollback before auto-lock. LockByDiskQuota: that represents the instance space full automatic lock.
lockReason This property is required. String
An instance is locked the reason.
maintainTime This property is required. String
Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance.
masterDbInstanceId This property is required. String
The master instance ID of the db instance.
paymentType This property is required. String
The paymen type of the resource.
port This property is required. Integer
Application Port.
publicConnectionString This property is required. String
The public connection string ID of the resource.
publicPort This property is required. Integer
The public port ID of the resource.
readOnlyDbInstanceIds This property is required. List<String>
The array of the readonly db instances.
status This property is required. String
Instance status. Value range: Creating, Running, Deleting, Rebooting, DBInstanceClassChanging, NetAddressCreating and NetAddressDeleting.
vpcId This property is required. String
The vpc id of the db instance.
vswitchId This property is required. String
The vswitch id.
zoneId This property is required. String
The zone ID of the resource.
connectionString This property is required. string
Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
createTime This property is required. string
Creation time, which follows the format of YYYY-MM-DD 'T'hh:mm:ssZ, such as 2011-05-30 T12:11:4Z.
currentMinorVersion This property is required. string
The current kernel image version.
dbInstanceCategory This property is required. string
The category of the db instance.
dbInstanceCpu This property is required. string
For example, instances can be grouped according to Cpu core count.
dbInstanceDescription This property is required. string
According to the practical example or notes.
dbInstanceId This property is required. string
The ID of the instance.
dbInstanceIpArrays This property is required. GetDbInstancesInstanceDbInstanceIpArray[]
IP ADDRESS whitelist for the instance group list.
dbInstanceMemory This property is required. string
Instance memory, which is measured in MB.
dbInstanceNetworkType This property is required. string
The network type of the db instance.
dbInstanceStorageType This property is required. string
Disk storage type. Valid values: cloud_essd, cloud_ssd.
dbInstanceType This property is required. string
The type of the db instance.
dbNodeClass This property is required. string
The class of the db node.
dbNodeCount This property is required. string
The count of the db node.
dbNodeStorage This property is required. string
Instance storage space, which is measured in GB.
dbVersion This property is required. string
Kernel Version. Value range: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
expireTime This property is required. string
The instance after it expires time for subscription instance.
expired This property is required. string
The expire status of the db instance.
id This property is required. string
The ID of the Db Instance.
latestMinorVersion This property is required. string
The latest kernel image version.
lockMode This property is required. string
Instance lock state. Value range: Unlock, ManualLock, LockByExpiration, LockByRestoration and LockByDiskQuota. Unlock: normal. ManualLock: the manual trigger lock. LockByExpiration: that represents the instance expires automatically lock. LockByRestoration: indicates that the instance rollback before auto-lock. LockByDiskQuota: that represents the instance space full automatic lock.
lockReason This property is required. string
An instance is locked the reason.
maintainTime This property is required. string
Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance.
masterDbInstanceId This property is required. string
The master instance ID of the db instance.
paymentType This property is required. string
The paymen type of the resource.
port This property is required. number
Application Port.
publicConnectionString This property is required. string
The public connection string ID of the resource.
publicPort This property is required. number
The public port ID of the resource.
readOnlyDbInstanceIds This property is required. string[]
The array of the readonly db instances.
status This property is required. string
Instance status. Value range: Creating, Running, Deleting, Rebooting, DBInstanceClassChanging, NetAddressCreating and NetAddressDeleting.
vpcId This property is required. string
The vpc id of the db instance.
vswitchId This property is required. string
The vswitch id.
zoneId This property is required. string
The zone ID of the resource.
connection_string This property is required. str
Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
create_time This property is required. str
Creation time, which follows the format of YYYY-MM-DD 'T'hh:mm:ssZ, such as 2011-05-30 T12:11:4Z.
current_minor_version This property is required. str
The current kernel image version.
db_instance_category This property is required. str
The category of the db instance.
db_instance_cpu This property is required. str
For example, instances can be grouped according to Cpu core count.
db_instance_description This property is required. str
According to the practical example or notes.
db_instance_id This property is required. str
The ID of the instance.
db_instance_ip_arrays This property is required. Sequence[GetDbInstancesInstanceDbInstanceIpArray]
IP ADDRESS whitelist for the instance group list.
db_instance_memory This property is required. str
Instance memory, which is measured in MB.
db_instance_network_type This property is required. str
The network type of the db instance.
db_instance_storage_type This property is required. str
Disk storage type. Valid values: cloud_essd, cloud_ssd.
db_instance_type This property is required. str
The type of the db instance.
db_node_class This property is required. str
The class of the db node.
db_node_count This property is required. str
The count of the db node.
db_node_storage This property is required. str
Instance storage space, which is measured in GB.
db_version This property is required. str
Kernel Version. Value range: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
expire_time This property is required. str
The instance after it expires time for subscription instance.
expired This property is required. str
The expire status of the db instance.
id This property is required. str
The ID of the Db Instance.
latest_minor_version This property is required. str
The latest kernel image version.
lock_mode This property is required. str
Instance lock state. Value range: Unlock, ManualLock, LockByExpiration, LockByRestoration and LockByDiskQuota. Unlock: normal. ManualLock: the manual trigger lock. LockByExpiration: that represents the instance expires automatically lock. LockByRestoration: indicates that the instance rollback before auto-lock. LockByDiskQuota: that represents the instance space full automatic lock.
lock_reason This property is required. str
An instance is locked the reason.
maintain_time This property is required. str
Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance.
master_db_instance_id This property is required. str
The master instance ID of the db instance.
payment_type This property is required. str
The paymen type of the resource.
port This property is required. int
Application Port.
public_connection_string This property is required. str
The public connection string ID of the resource.
public_port This property is required. int
The public port ID of the resource.
read_only_db_instance_ids This property is required. Sequence[str]
The array of the readonly db instances.
status This property is required. str
Instance status. Value range: Creating, Running, Deleting, Rebooting, DBInstanceClassChanging, NetAddressCreating and NetAddressDeleting.
vpc_id This property is required. str
The vpc id of the db instance.
vswitch_id This property is required. str
The vswitch id.
zone_id This property is required. str
The zone ID of the resource.
connectionString This property is required. String
Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
createTime This property is required. String
Creation time, which follows the format of YYYY-MM-DD 'T'hh:mm:ssZ, such as 2011-05-30 T12:11:4Z.
currentMinorVersion This property is required. String
The current kernel image version.
dbInstanceCategory This property is required. String
The category of the db instance.
dbInstanceCpu This property is required. String
For example, instances can be grouped according to Cpu core count.
dbInstanceDescription This property is required. String
According to the practical example or notes.
dbInstanceId This property is required. String
The ID of the instance.
dbInstanceIpArrays This property is required. List<Property Map>
IP ADDRESS whitelist for the instance group list.
dbInstanceMemory This property is required. String
Instance memory, which is measured in MB.
dbInstanceNetworkType This property is required. String
The network type of the db instance.
dbInstanceStorageType This property is required. String
Disk storage type. Valid values: cloud_essd, cloud_ssd.
dbInstanceType This property is required. String
The type of the db instance.
dbNodeClass This property is required. String
The class of the db node.
dbNodeCount This property is required. String
The count of the db node.
dbNodeStorage This property is required. String
Instance storage space, which is measured in GB.
dbVersion This property is required. String
Kernel Version. Value range: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
expireTime This property is required. String
The instance after it expires time for subscription instance.
expired This property is required. String
The expire status of the db instance.
id This property is required. String
The ID of the Db Instance.
latestMinorVersion This property is required. String
The latest kernel image version.
lockMode This property is required. String
Instance lock state. Value range: Unlock, ManualLock, LockByExpiration, LockByRestoration and LockByDiskQuota. Unlock: normal. ManualLock: the manual trigger lock. LockByExpiration: that represents the instance expires automatically lock. LockByRestoration: indicates that the instance rollback before auto-lock. LockByDiskQuota: that represents the instance space full automatic lock.
lockReason This property is required. String
An instance is locked the reason.
maintainTime This property is required. String
Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance.
masterDbInstanceId This property is required. String
The master instance ID of the db instance.
paymentType This property is required. String
The paymen type of the resource.
port This property is required. Number
Application Port.
publicConnectionString This property is required. String
The public connection string ID of the resource.
publicPort This property is required. Number
The public port ID of the resource.
readOnlyDbInstanceIds This property is required. List<String>
The array of the readonly db instances.
status This property is required. String
Instance status. Value range: Creating, Running, Deleting, Rebooting, DBInstanceClassChanging, NetAddressCreating and NetAddressDeleting.
vpcId This property is required. String
The vpc id of the db instance.
vswitchId This property is required. String
The vswitch id.
zoneId This property is required. String
The zone ID of the resource.

GetDbInstancesInstanceDbInstanceIpArray

DbInstanceIpArrayAttribute string
The default is empty. To distinguish between the different property console does not display a hidden label grouping.
DbInstanceIpArrayName string
IP ADDRESS whitelist group name.
SecurityIps string
IP ADDRESS whitelist addresses in the IP ADDRESS list, and a maximum of 1000 comma-separated format is as follows: 0.0.0.0/0 and 10.23.12.24(IP) or 10.23.12.24/24(CIDR mode, CIDR (Classless Inter-Domain Routing)/24 represents the address prefixes in the length of the range [1,32]).
DbInstanceIpArrayAttribute string
The default is empty. To distinguish between the different property console does not display a hidden label grouping.
DbInstanceIpArrayName string
IP ADDRESS whitelist group name.
SecurityIps string
IP ADDRESS whitelist addresses in the IP ADDRESS list, and a maximum of 1000 comma-separated format is as follows: 0.0.0.0/0 and 10.23.12.24(IP) or 10.23.12.24/24(CIDR mode, CIDR (Classless Inter-Domain Routing)/24 represents the address prefixes in the length of the range [1,32]).
dbInstanceIpArrayAttribute String
The default is empty. To distinguish between the different property console does not display a hidden label grouping.
dbInstanceIpArrayName String
IP ADDRESS whitelist group name.
securityIps String
IP ADDRESS whitelist addresses in the IP ADDRESS list, and a maximum of 1000 comma-separated format is as follows: 0.0.0.0/0 and 10.23.12.24(IP) or 10.23.12.24/24(CIDR mode, CIDR (Classless Inter-Domain Routing)/24 represents the address prefixes in the length of the range [1,32]).
dbInstanceIpArrayAttribute string
The default is empty. To distinguish between the different property console does not display a hidden label grouping.
dbInstanceIpArrayName string
IP ADDRESS whitelist group name.
securityIps string
IP ADDRESS whitelist addresses in the IP ADDRESS list, and a maximum of 1000 comma-separated format is as follows: 0.0.0.0/0 and 10.23.12.24(IP) or 10.23.12.24/24(CIDR mode, CIDR (Classless Inter-Domain Routing)/24 represents the address prefixes in the length of the range [1,32]).
db_instance_ip_array_attribute str
The default is empty. To distinguish between the different property console does not display a hidden label grouping.
db_instance_ip_array_name str
IP ADDRESS whitelist group name.
security_ips str
IP ADDRESS whitelist addresses in the IP ADDRESS list, and a maximum of 1000 comma-separated format is as follows: 0.0.0.0/0 and 10.23.12.24(IP) or 10.23.12.24/24(CIDR mode, CIDR (Classless Inter-Domain Routing)/24 represents the address prefixes in the length of the range [1,32]).
dbInstanceIpArrayAttribute String
The default is empty. To distinguish between the different property console does not display a hidden label grouping.
dbInstanceIpArrayName String
IP ADDRESS whitelist group name.
securityIps String
IP ADDRESS whitelist addresses in the IP ADDRESS list, and a maximum of 1000 comma-separated format is as follows: 0.0.0.0/0 and 10.23.12.24(IP) or 10.23.12.24/24(CIDR mode, CIDR (Classless Inter-Domain Routing)/24 represents the address prefixes in the length of the range [1,32]).

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi