Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi
alicloud.graphdatabase.getDbInstances
Explore with Pulumi AI
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)
public static Output<GetDbInstancesResult> getDbInstances(GetDbInstancesArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:graphdatabase/getDbInstances:getDbInstances
arguments:
# arguments dictionary
The following arguments are supported:
- Db
Instance Description Changes to this property will trigger replacement.
- According to the practical example or notes.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids
Changes to this property will trigger replacement.
- A list of Db Instance IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status
Changes to this property will trigger replacement.
- Instance status. Value range:
Creating
,Running
,Deleting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
- Db
Instance Description Changes to this property will trigger replacement.
- According to the practical example or notes.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids
Changes to this property will trigger replacement.
- A list of Db Instance IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status
Changes to this property will trigger replacement.
- Instance status. Value range:
Creating
,Running
,Deleting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
- db
Instance Description Changes to this property will trigger replacement.
- According to the practical example or notes.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Db Instance IDs.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- Instance status. Value range:
Creating
,Running
,Deleting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
- db
Instance Description Changes to this property will trigger replacement.
- According to the practical example or notes.
- enable
Details boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Db Instance IDs.
- output
File string - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- Instance status. Value range:
Creating
,Running
,Deleting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
- db_
instance_ description Changes to this property will trigger replacement.
- According to the practical example or notes.
- enable_
details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- 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.
- Instance status. Value range:
Creating
,Running
,Deleting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
- db
Instance Description Changes to this property will trigger replacement.
- According to the practical example or notes.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Db Instance IDs.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- Instance status. Value range:
Creating
,Running
,Deleting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
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.
Ali Cloud. Graph Database. Outputs. Get Db Instances Instance> - Db
Instance stringDescription - Enable
Details bool - Output
File string - Status string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Instances
[]Get
Db Instances Instance - Db
Instance stringDescription - Enable
Details bool - Output
File string - Status string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- instances
List<Get
Db Instances Instance> - db
Instance StringDescription - enable
Details Boolean - output
File String - status String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- instances
Get
Db Instances Instance[] - db
Instance stringDescription - enable
Details boolean - output
File string - status string
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- instances
Sequence[Get
Db Instances Instance] - db_
instance_ strdescription - 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>
- db
Instance StringDescription - enable
Details Boolean - output
File String - status String
Supporting Types
GetDbInstancesInstance
- Connection
String This property is required. string - Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
- Create
Time This property is required. string - Creation time, which follows the format of
YYYY-MM-DD 'T'hh:mm:ssZ
, such as2011-05-30 T12:11:4Z
. - Current
Minor Version This property is required. string - The current kernel image version.
- Db
Instance Category This property is required. string - The category of the db instance.
- Db
Instance Cpu This property is required. string - For example, instances can be grouped according to Cpu core count.
- Db
Instance Description This property is required. string - According to the practical example or notes.
- Db
Instance Id This property is required. string - The ID of the instance.
- Db
Instance Ip Arrays This property is required. List<Pulumi.Ali Cloud. Graph Database. Inputs. Get Db Instances Instance Db Instance Ip Array> - IP ADDRESS whitelist for the instance group list.
- Db
Instance Memory This property is required. string - Instance memory, which is measured in MB.
- Db
Instance Network Type This property is required. string - The network type of the db instance.
- Db
Instance Storage Type This property is required. string - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. - Db
Instance Type This property is required. string - The type of the db instance.
- Db
Node Class This property is required. string - The class of the db node.
- Db
Node Count This property is required. string - The count of the db node.
- Db
Node Storage This property is required. string - Instance storage space, which is measured in GB.
- Db
Version This property is required. string - Kernel Version. Value range:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - Expire
Time 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.
- Latest
Minor Version This property is required. string - The latest kernel image version.
- Lock
Mode This property is required. string - Instance lock state. Value range:
Unlock
,ManualLock
,LockByExpiration
,LockByRestoration
andLockByDiskQuota
.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. string - An instance is locked the reason.
- Maintain
Time This property is required. string - 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. string - The master instance ID of the db instance.
- Payment
Type This property is required. string - The paymen type of the resource.
- Port
This property is required. int - Application Port.
- Public
Connection String This property is required. string - 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. 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
andNetAddressDeleting
. - Vpc
Id This property is required. string - The vpc id of the db instance.
- Vswitch
Id This property is required. string - The vswitch id.
- Zone
Id This property is required. string - The zone ID of the resource.
- Connection
String This property is required. string - Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
- Create
Time This property is required. string - Creation time, which follows the format of
YYYY-MM-DD 'T'hh:mm:ssZ
, such as2011-05-30 T12:11:4Z
. - Current
Minor Version This property is required. string - The current kernel image version.
- Db
Instance Category This property is required. string - The category of the db instance.
- Db
Instance Cpu This property is required. string - For example, instances can be grouped according to Cpu core count.
- Db
Instance Description This property is required. string - According to the practical example or notes.
- Db
Instance Id This property is required. string - The ID of the instance.
- Db
Instance Ip Arrays This property is required. []GetDb Instances Instance Db Instance Ip Array - IP ADDRESS whitelist for the instance group list.
- Db
Instance Memory This property is required. string - Instance memory, which is measured in MB.
- Db
Instance Network Type This property is required. string - The network type of the db instance.
- Db
Instance Storage Type This property is required. string - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. - Db
Instance Type This property is required. string - The type of the db instance.
- Db
Node Class This property is required. string - The class of the db node.
- Db
Node Count This property is required. string - The count of the db node.
- Db
Node Storage This property is required. string - Instance storage space, which is measured in GB.
- Db
Version This property is required. string - Kernel Version. Value range:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - Expire
Time 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.
- Latest
Minor Version This property is required. string - The latest kernel image version.
- Lock
Mode This property is required. string - Instance lock state. Value range:
Unlock
,ManualLock
,LockByExpiration
,LockByRestoration
andLockByDiskQuota
.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. string - An instance is locked the reason.
- Maintain
Time This property is required. string - 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. string - The master instance ID of the db instance.
- Payment
Type This property is required. string - The paymen type of the resource.
- Port
This property is required. int - Application Port.
- Public
Connection String This property is required. string - 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. []string - The array of the readonly db instances.
- Status
This property is required. string - Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
. - Vpc
Id This property is required. string - The vpc id of the db instance.
- Vswitch
Id This property is required. string - The vswitch id.
- Zone
Id This property is required. string - The zone ID of the resource.
- connection
String This property is required. String - Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
- create
Time This property is required. String - Creation time, which follows the format of
YYYY-MM-DD 'T'hh:mm:ssZ
, such as2011-05-30 T12:11:4Z
. - current
Minor Version This property is required. String - The current kernel image version.
- db
Instance Category This property is required. String - The category of the db instance.
- db
Instance Cpu This property is required. String - For example, instances can be grouped according to Cpu core count.
- db
Instance Description This property is required. String - According to the practical example or notes.
- db
Instance Id This property is required. String - The ID of the instance.
- db
Instance Ip Arrays This property is required. List<GetDb Instances Instance Db Instance Ip Array> - IP ADDRESS whitelist for the instance group list.
- db
Instance Memory This property is required. String - Instance memory, which is measured in MB.
- db
Instance Network Type This property is required. String - The network type of the db instance.
- db
Instance Storage Type This property is required. String - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. - db
Instance Type This property is required. String - The type of the db instance.
- db
Node Class This property is required. String - The class of the db node.
- db
Node Count This property is required. String - The count of the db node.
- db
Node Storage This property is required. String - Instance storage space, which is measured in GB.
- db
Version This property is required. String - Kernel Version. Value range:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - expire
Time 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.
- latest
Minor Version This property is required. String - The latest kernel image version.
- lock
Mode This property is required. String - Instance lock state. Value range:
Unlock
,ManualLock
,LockByExpiration
,LockByRestoration
andLockByDiskQuota
.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. String - An instance is locked the reason.
- maintain
Time This property is required. String - 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. String - The master instance ID of the db instance.
- payment
Type This property is required. String - The paymen type of the resource.
- port
This property is required. Integer - Application Port.
- public
Connection String This property is required. String - The public connection string ID of the resource.
- public
Port This property is required. Integer - The public port ID of the resource.
- read
Only Db Instance Ids 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
andNetAddressDeleting
. - vpc
Id This property is required. String - The vpc id of the db instance.
- vswitch
Id This property is required. String - The vswitch id.
- zone
Id This property is required. String - The zone ID of the resource.
- connection
String This property is required. string - Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
- create
Time This property is required. string - Creation time, which follows the format of
YYYY-MM-DD 'T'hh:mm:ssZ
, such as2011-05-30 T12:11:4Z
. - current
Minor Version This property is required. string - The current kernel image version.
- db
Instance Category This property is required. string - The category of the db instance.
- db
Instance Cpu This property is required. string - For example, instances can be grouped according to Cpu core count.
- db
Instance Description This property is required. string - According to the practical example or notes.
- db
Instance Id This property is required. string - The ID of the instance.
- db
Instance Ip Arrays This property is required. GetDb Instances Instance Db Instance Ip Array[] - IP ADDRESS whitelist for the instance group list.
- db
Instance Memory This property is required. string - Instance memory, which is measured in MB.
- db
Instance Network Type This property is required. string - The network type of the db instance.
- db
Instance Storage Type This property is required. string - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. - db
Instance Type This property is required. string - The type of the db instance.
- db
Node Class This property is required. string - The class of the db node.
- db
Node Count This property is required. string - The count of the db node.
- db
Node Storage This property is required. string - Instance storage space, which is measured in GB.
- db
Version This property is required. string - Kernel Version. Value range:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - expire
Time 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.
- latest
Minor Version This property is required. string - The latest kernel image version.
- lock
Mode This property is required. string - Instance lock state. Value range:
Unlock
,ManualLock
,LockByExpiration
,LockByRestoration
andLockByDiskQuota
.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. string - An instance is locked the reason.
- maintain
Time This property is required. string - 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. string - The master instance ID of the db instance.
- payment
Type This property is required. string - The paymen type of the resource.
- port
This property is required. number - Application Port.
- public
Connection String This property is required. string - The public connection string ID of the resource.
- public
Port This property is required. number - The public port ID of the resource.
- read
Only Db Instance Ids 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
andNetAddressDeleting
. - vpc
Id This property is required. string - The vpc id of the db instance.
- vswitch
Id This property is required. string - The vswitch id.
- zone
Id 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 as2011-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[GetDb Instances Instance Db Instance Ip Array] - 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
or1.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
andLockByDiskQuota
.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
andNetAddressDeleting
. - 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.
- connection
String This property is required. String - Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
- create
Time This property is required. String - Creation time, which follows the format of
YYYY-MM-DD 'T'hh:mm:ssZ
, such as2011-05-30 T12:11:4Z
. - current
Minor Version This property is required. String - The current kernel image version.
- db
Instance Category This property is required. String - The category of the db instance.
- db
Instance Cpu This property is required. String - For example, instances can be grouped according to Cpu core count.
- db
Instance Description This property is required. String - According to the practical example or notes.
- db
Instance Id This property is required. String - The ID of the instance.
- db
Instance Ip Arrays This property is required. List<Property Map> - IP ADDRESS whitelist for the instance group list.
- db
Instance Memory This property is required. String - Instance memory, which is measured in MB.
- db
Instance Network Type This property is required. String - The network type of the db instance.
- db
Instance Storage Type This property is required. String - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. - db
Instance Type This property is required. String - The type of the db instance.
- db
Node Class This property is required. String - The class of the db node.
- db
Node Count This property is required. String - The count of the db node.
- db
Node Storage This property is required. String - Instance storage space, which is measured in GB.
- db
Version This property is required. String - Kernel Version. Value range:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - expire
Time 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.
- latest
Minor Version This property is required. String - The latest kernel image version.
- lock
Mode This property is required. String - Instance lock state. Value range:
Unlock
,ManualLock
,LockByExpiration
,LockByRestoration
andLockByDiskQuota
.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. String - An instance is locked the reason.
- maintain
Time This property is required. String - 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. String - The master instance ID of the db instance.
- payment
Type This property is required. String - The paymen type of the resource.
- port
This property is required. Number - Application Port.
- public
Connection String This property is required. String - The public connection string ID of the resource.
- public
Port This property is required. Number - The public port ID of the resource.
- read
Only Db Instance Ids 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
andNetAddressDeleting
. - vpc
Id This property is required. String - The vpc id of the db instance.
- vswitch
Id This property is required. String - The vswitch id.
- zone
Id This property is required. String - The zone ID of the resource.
GetDbInstancesInstanceDbInstanceIpArray
- Db
Instance stringIp Array Attribute - The default is empty. To distinguish between the different property console does not display a
hidden
label grouping. - Db
Instance stringIp Array Name - IP ADDRESS whitelist group name.
- Security
Ips 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
and10.23.12.24
(IP) or10.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 stringIp Array Attribute - The default is empty. To distinguish between the different property console does not display a
hidden
label grouping. - Db
Instance stringIp Array Name - IP ADDRESS whitelist group name.
- Security
Ips 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
and10.23.12.24
(IP) or10.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 StringIp Array Attribute - The default is empty. To distinguish between the different property console does not display a
hidden
label grouping. - db
Instance StringIp Array Name - IP ADDRESS whitelist group name.
- security
Ips 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
and10.23.12.24
(IP) or10.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 stringIp Array Attribute - The default is empty. To distinguish between the different property console does not display a
hidden
label grouping. - db
Instance stringIp Array Name - IP ADDRESS whitelist group name.
- security
Ips 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
and10.23.12.24
(IP) or10.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_ strip_ array_ attribute - The default is empty. To distinguish between the different property console does not display a
hidden
label grouping. - db_
instance_ strip_ array_ name - 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
and10.23.12.24
(IP) or10.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 StringIp Array Attribute - The default is empty. To distinguish between the different property console does not display a
hidden
label grouping. - db
Instance StringIp Array Name - IP ADDRESS whitelist group name.
- security
Ips 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
and10.23.12.24
(IP) or10.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.