1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. graphdatabase
  5. getDbInstances
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.graphdatabase.getDbInstances

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 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);
    
    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)
    
    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
    	})
    }
    
    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),
        };
    });
    
    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()));
        }
    }
    
    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}
    

    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>
    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]
    func GetDbInstances(ctx *Context, args *GetDbInstancesArgs, opts ...InvokeOption) (*GetDbInstancesResult, error)
    func GetDbInstancesOutput(ctx *Context, args *GetDbInstancesOutputArgs, opts ...InvokeOption) GetDbInstancesResultOutput

    > 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)
    }
    public static CompletableFuture<GetDbInstancesResult> getDbInstances(GetDbInstancesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:graphdatabase/getDbInstances:getDbInstances
      arguments:
        # arguments dictionary

    The following arguments are supported:

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