Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:graphdatabase/getDbInstances:getDbInstances
arguments:
# arguments dictionary
The following arguments are supported:
- Db
Instance stringDescription - According to the practical example or notes.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids List<string>
- A list of Db Instance IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status string
- Instance status. Value range:
Creating
,Running
,Deleting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
- Db
Instance stringDescription - According to the practical example or notes.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids []string
- A list of Db Instance IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status string
- Instance status. Value range:
Creating
,Running
,Deleting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
- db
Instance StringDescription - According to the practical example or notes.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids List<String>
- A list of Db Instance IDs.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status String
- Instance status. Value range:
Creating
,Running
,Deleting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
- db
Instance stringDescription - According to the practical example or notes.
- enable
Details boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids string[]
- A list of Db Instance IDs.
- output
File string - File name where to save data source results (after running
pulumi preview
). - status string
- Instance status. Value range:
Creating
,Running
,Deleting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
- db_
instance_ strdescription - According to the practical example or notes.
- enable_
details bool - Default to
false
. Set it totrue
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
andNetAddressDeleting
.
- db
Instance StringDescription - According to the practical example or notes.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids List<String>
- A list of Db Instance IDs.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status String
- 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 string - Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
- Create
Time string - Creation time, which follows the format of
YYYY-MM-DD 'T'hh:mm:ssZ
, such as2011-05-30 T12:11:4Z
. - Current
Minor stringVersion - The current kernel image version.
- Db
Instance stringCategory - The category of the db instance.
- Db
Instance stringCpu - For example, instances can be grouped according to Cpu core count.
- Db
Instance stringDescription - According to the practical example or notes.
- Db
Instance stringId - The ID of the instance.
- Db
Instance List<Pulumi.Ip Arrays Ali Cloud. Graph Database. Inputs. Get Db Instances Instance Db Instance Ip Array> - IP ADDRESS whitelist for the instance group list.
- Db
Instance stringMemory - Instance memory, which is measured in MB.
- Db
Instance stringNetwork Type - The network type of the db instance.
- Db
Instance stringStorage Type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. - Db
Instance stringType - The type of the db instance.
- Db
Node stringClass - The class of the db node.
- Db
Node stringCount - The count of the db node.
- Db
Node stringStorage - Instance storage space, which is measured in GB.
- Db
Version string - Kernel Version. Value range:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - Expire
Time 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.
- Latest
Minor stringVersion - The latest kernel image version.
- Lock
Mode 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 string - An instance is locked the reason.
- Maintain
Time string - Instance maintenance time such as
00:00Z-02:00Z
, 0 to 2 points to carry out routine maintenance. - Master
Db stringInstance Id - The master instance ID of the db instance.
- Payment
Type string - The paymen type of the resource.
- Port int
- Application Port.
- Public
Connection stringString - The public connection string ID of the resource.
- Public
Port int - The public port ID of the resource.
- Read
Only List<string>Db Instance Ids - The array of the readonly db instances.
- Status string
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
. - Vpc
Id string - The vpc id of the db instance.
- Vswitch
Id string - The vswitch id.
- Zone
Id string - The zone ID of the resource.
- Connection
String string - Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
- Create
Time string - Creation time, which follows the format of
YYYY-MM-DD 'T'hh:mm:ssZ
, such as2011-05-30 T12:11:4Z
. - Current
Minor stringVersion - The current kernel image version.
- Db
Instance stringCategory - The category of the db instance.
- Db
Instance stringCpu - For example, instances can be grouped according to Cpu core count.
- Db
Instance stringDescription - According to the practical example or notes.
- Db
Instance stringId - The ID of the instance.
- Db
Instance []GetIp Arrays Db Instances Instance Db Instance Ip Array - IP ADDRESS whitelist for the instance group list.
- Db
Instance stringMemory - Instance memory, which is measured in MB.
- Db
Instance stringNetwork Type - The network type of the db instance.
- Db
Instance stringStorage Type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. - Db
Instance stringType - The type of the db instance.
- Db
Node stringClass - The class of the db node.
- Db
Node stringCount - The count of the db node.
- Db
Node stringStorage - Instance storage space, which is measured in GB.
- Db
Version string - Kernel Version. Value range:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - Expire
Time 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.
- Latest
Minor stringVersion - The latest kernel image version.
- Lock
Mode 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 string - An instance is locked the reason.
- Maintain
Time string - Instance maintenance time such as
00:00Z-02:00Z
, 0 to 2 points to carry out routine maintenance. - Master
Db stringInstance Id - The master instance ID of the db instance.
- Payment
Type string - The paymen type of the resource.
- Port int
- Application Port.
- Public
Connection stringString - The public connection string ID of the resource.
- Public
Port int - The public port ID of the resource.
- Read
Only []stringDb Instance Ids - The array of the readonly db instances.
- Status string
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
. - Vpc
Id string - The vpc id of the db instance.
- Vswitch
Id string - The vswitch id.
- Zone
Id string - The zone ID of the resource.
- connection
String String - Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
- create
Time String - Creation time, which follows the format of
YYYY-MM-DD 'T'hh:mm:ssZ
, such as2011-05-30 T12:11:4Z
. - current
Minor StringVersion - The current kernel image version.
- db
Instance StringCategory - The category of the db instance.
- db
Instance StringCpu - For example, instances can be grouped according to Cpu core count.
- db
Instance StringDescription - According to the practical example or notes.
- db
Instance StringId - The ID of the instance.
- db
Instance List<GetIp Arrays Db Instances Instance Db Instance Ip Array> - IP ADDRESS whitelist for the instance group list.
- db
Instance StringMemory - Instance memory, which is measured in MB.
- db
Instance StringNetwork Type - The network type of the db instance.
- db
Instance StringStorage Type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. - db
Instance StringType - The type of the db instance.
- db
Node StringClass - The class of the db node.
- db
Node StringCount - The count of the db node.
- db
Node StringStorage - Instance storage space, which is measured in GB.
- db
Version String - Kernel Version. Value range:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - expire
Time 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.
- latest
Minor StringVersion - The latest kernel image version.
- lock
Mode 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 String - An instance is locked the reason.
- maintain
Time String - Instance maintenance time such as
00:00Z-02:00Z
, 0 to 2 points to carry out routine maintenance. - master
Db StringInstance Id - The master instance ID of the db instance.
- payment
Type String - The paymen type of the resource.
- port Integer
- Application Port.
- public
Connection StringString - The public connection string ID of the resource.
- public
Port Integer - The public port ID of the resource.
- read
Only List<String>Db Instance Ids - The array of the readonly db instances.
- status String
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
. - vpc
Id String - The vpc id of the db instance.
- vswitch
Id String - The vswitch id.
- zone
Id String - The zone ID of the resource.
- connection
String string - Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
- create
Time string - Creation time, which follows the format of
YYYY-MM-DD 'T'hh:mm:ssZ
, such as2011-05-30 T12:11:4Z
. - current
Minor stringVersion - The current kernel image version.
- db
Instance stringCategory - The category of the db instance.
- db
Instance stringCpu - For example, instances can be grouped according to Cpu core count.
- db
Instance stringDescription - According to the practical example or notes.
- db
Instance stringId - The ID of the instance.
- db
Instance GetIp Arrays Db Instances Instance Db Instance Ip Array[] - IP ADDRESS whitelist for the instance group list.
- db
Instance stringMemory - Instance memory, which is measured in MB.
- db
Instance stringNetwork Type - The network type of the db instance.
- db
Instance stringStorage Type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. - db
Instance stringType - The type of the db instance.
- db
Node stringClass - The class of the db node.
- db
Node stringCount - The count of the db node.
- db
Node stringStorage - Instance storage space, which is measured in GB.
- db
Version string - Kernel Version. Value range:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - expire
Time 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.
- latest
Minor stringVersion - The latest kernel image version.
- lock
Mode 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 string - An instance is locked the reason.
- maintain
Time string - Instance maintenance time such as
00:00Z-02:00Z
, 0 to 2 points to carry out routine maintenance. - master
Db stringInstance Id - The master instance ID of the db instance.
- payment
Type string - The paymen type of the resource.
- port number
- Application Port.
- public
Connection stringString - The public connection string ID of the resource.
- public
Port number - The public port ID of the resource.
- read
Only string[]Db Instance Ids - The array of the readonly db instances.
- status string
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
. - vpc
Id string - The vpc id of the db instance.
- vswitch
Id string - The vswitch id.
- zone
Id 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 as2011-05-30 T12:11:4Z
. - current_
minor_ strversion - The current kernel image version.
- db_
instance_ strcategory - The category of the db instance.
- db_
instance_ strcpu - For example, instances can be grouped according to Cpu core count.
- db_
instance_ strdescription - According to the practical example or notes.
- db_
instance_ strid - The ID of the instance.
- db_
instance_ Sequence[Getip_ arrays Db Instances Instance Db Instance Ip Array] - IP ADDRESS whitelist for the instance group list.
- db_
instance_ strmemory - Instance memory, which is measured in MB.
- db_
instance_ strnetwork_ type - The network type of the db instance.
- db_
instance_ strstorage_ type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. - db_
instance_ strtype - The type of the db instance.
- db_
node_ strclass - The class of the db node.
- db_
node_ strcount - The count of the db node.
- db_
node_ strstorage - Instance storage space, which is measured in GB.
- db_
version str - Kernel Version. Value range:
1.0
or1.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_ strversion - The latest kernel image version.
- lock_
mode 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 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_ strinstance_ id - The master instance ID of the db instance.
- payment_
type str - The paymen type of the resource.
- port int
- Application Port.
- public_
connection_ strstring - The public connection string ID of the resource.
- public_
port int - The public port ID of the resource.
- read_
only_ Sequence[str]db_ instance_ ids - The array of the readonly db instances.
- status str
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
. - 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.
- connection
String String - Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name).
- create
Time String - Creation time, which follows the format of
YYYY-MM-DD 'T'hh:mm:ssZ
, such as2011-05-30 T12:11:4Z
. - current
Minor StringVersion - The current kernel image version.
- db
Instance StringCategory - The category of the db instance.
- db
Instance StringCpu - For example, instances can be grouped according to Cpu core count.
- db
Instance StringDescription - According to the practical example or notes.
- db
Instance StringId - The ID of the instance.
- db
Instance List<Property Map>Ip Arrays - IP ADDRESS whitelist for the instance group list.
- db
Instance StringMemory - Instance memory, which is measured in MB.
- db
Instance StringNetwork Type - The network type of the db instance.
- db
Instance StringStorage Type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. - db
Instance StringType - The type of the db instance.
- db
Node StringClass - The class of the db node.
- db
Node StringCount - The count of the db node.
- db
Node StringStorage - Instance storage space, which is measured in GB.
- db
Version String - Kernel Version. Value range:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - expire
Time 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.
- latest
Minor StringVersion - The latest kernel image version.
- lock
Mode 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 String - An instance is locked the reason.
- maintain
Time String - Instance maintenance time such as
00:00Z-02:00Z
, 0 to 2 points to carry out routine maintenance. - master
Db StringInstance Id - The master instance ID of the db instance.
- payment
Type String - The paymen type of the resource.
- port Number
- Application Port.
- public
Connection StringString - The public connection string ID of the resource.
- public
Port Number - The public port ID of the resource.
- read
Only List<String>Db Instance Ids - The array of the readonly db instances.
- status String
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
. - vpc
Id String - The vpc id of the db instance.
- vswitch
Id String - The vswitch id.
- zone
Id 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.