alicloud.graphdatabase.DbInstance
Explore with Pulumi AI
Provides a Graph Database Db Instance resource.
For information about Graph Database Db Instance and how to use it, see What is Db Instance.
NOTE: Available since v1.136.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "tf-example";
const example = new alicloud.graphdatabase.DbInstance("example", {
dbNodeClass: "gdb.r.2xlarge",
dbInstanceNetworkType: "vpc",
dbVersion: "1.0",
dbInstanceCategory: "HA",
dbInstanceStorageType: "cloud_ssd",
dbNodeStorage: 50,
paymentType: "PayAsYouGo",
dbInstanceDescription: name,
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf-example"
example = alicloud.graphdatabase.DbInstance("example",
db_node_class="gdb.r.2xlarge",
db_instance_network_type="vpc",
db_version="1.0",
db_instance_category="HA",
db_instance_storage_type="cloud_ssd",
db_node_storage=50,
payment_type="PayAsYouGo",
db_instance_description=name)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/graphdatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "tf-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_, err := graphdatabase.NewDbInstance(ctx, "example", &graphdatabase.DbInstanceArgs{
DbNodeClass: pulumi.String("gdb.r.2xlarge"),
DbInstanceNetworkType: pulumi.String("vpc"),
DbVersion: pulumi.String("1.0"),
DbInstanceCategory: pulumi.String("HA"),
DbInstanceStorageType: pulumi.String("cloud_ssd"),
DbNodeStorage: pulumi.Int(50),
PaymentType: pulumi.String("PayAsYouGo"),
DbInstanceDescription: pulumi.String(name),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf-example";
var example = new AliCloud.GraphDatabase.DbInstance("example", new()
{
DbNodeClass = "gdb.r.2xlarge",
DbInstanceNetworkType = "vpc",
DbVersion = "1.0",
DbInstanceCategory = "HA",
DbInstanceStorageType = "cloud_ssd",
DbNodeStorage = 50,
PaymentType = "PayAsYouGo",
DbInstanceDescription = name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.graphdatabase.DbInstance;
import com.pulumi.alicloud.graphdatabase.DbInstanceArgs;
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 config = ctx.config();
final var name = config.get("name").orElse("tf-example");
var example = new DbInstance("example", DbInstanceArgs.builder()
.dbNodeClass("gdb.r.2xlarge")
.dbInstanceNetworkType("vpc")
.dbVersion("1.0")
.dbInstanceCategory("HA")
.dbInstanceStorageType("cloud_ssd")
.dbNodeStorage("50")
.paymentType("PayAsYouGo")
.dbInstanceDescription(name)
.build());
}
}
configuration:
name:
type: string
default: tf-example
resources:
example:
type: alicloud:graphdatabase:DbInstance
properties:
dbNodeClass: gdb.r.2xlarge
dbInstanceNetworkType: vpc
dbVersion: '1.0'
dbInstanceCategory: HA
dbInstanceStorageType: cloud_ssd
dbNodeStorage: '50'
paymentType: PayAsYouGo
dbInstanceDescription: ${name}
Create DbInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DbInstance(name: string, args: DbInstanceArgs, opts?: CustomResourceOptions);
@overload
def DbInstance(resource_name: str,
args: DbInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DbInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
db_instance_category: Optional[str] = None,
db_instance_network_type: Optional[str] = None,
db_instance_storage_type: Optional[str] = None,
db_node_class: Optional[str] = None,
db_node_storage: Optional[int] = None,
db_version: Optional[str] = None,
payment_type: Optional[str] = None,
db_instance_description: Optional[str] = None,
db_instance_ip_arrays: Optional[Sequence[DbInstanceDbInstanceIpArrayArgs]] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None,
zone_id: Optional[str] = None)
func NewDbInstance(ctx *Context, name string, args DbInstanceArgs, opts ...ResourceOption) (*DbInstance, error)
public DbInstance(string name, DbInstanceArgs args, CustomResourceOptions? opts = null)
public DbInstance(String name, DbInstanceArgs args)
public DbInstance(String name, DbInstanceArgs args, CustomResourceOptions options)
type: alicloud:graphdatabase:DbInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DbInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DbInstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DbInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dbInstanceResource = new AliCloud.GraphDatabase.DbInstance("dbInstanceResource", new()
{
DbInstanceCategory = "string",
DbInstanceNetworkType = "string",
DbInstanceStorageType = "string",
DbNodeClass = "string",
DbNodeStorage = 0,
DbVersion = "string",
PaymentType = "string",
DbInstanceDescription = "string",
DbInstanceIpArrays = new[]
{
new AliCloud.GraphDatabase.Inputs.DbInstanceDbInstanceIpArrayArgs
{
DbInstanceIpArrayAttribute = "string",
DbInstanceIpArrayName = "string",
SecurityIps = "string",
},
},
VpcId = "string",
VswitchId = "string",
ZoneId = "string",
});
example, err := graphdatabase.NewDbInstance(ctx, "dbInstanceResource", &graphdatabase.DbInstanceArgs{
DbInstanceCategory: pulumi.String("string"),
DbInstanceNetworkType: pulumi.String("string"),
DbInstanceStorageType: pulumi.String("string"),
DbNodeClass: pulumi.String("string"),
DbNodeStorage: pulumi.Int(0),
DbVersion: pulumi.String("string"),
PaymentType: pulumi.String("string"),
DbInstanceDescription: pulumi.String("string"),
DbInstanceIpArrays: graphdatabase.DbInstanceDbInstanceIpArrayArray{
&graphdatabase.DbInstanceDbInstanceIpArrayArgs{
DbInstanceIpArrayAttribute: pulumi.String("string"),
DbInstanceIpArrayName: pulumi.String("string"),
SecurityIps: pulumi.String("string"),
},
},
VpcId: pulumi.String("string"),
VswitchId: pulumi.String("string"),
ZoneId: pulumi.String("string"),
})
var dbInstanceResource = new DbInstance("dbInstanceResource", DbInstanceArgs.builder()
.dbInstanceCategory("string")
.dbInstanceNetworkType("string")
.dbInstanceStorageType("string")
.dbNodeClass("string")
.dbNodeStorage(0)
.dbVersion("string")
.paymentType("string")
.dbInstanceDescription("string")
.dbInstanceIpArrays(DbInstanceDbInstanceIpArrayArgs.builder()
.dbInstanceIpArrayAttribute("string")
.dbInstanceIpArrayName("string")
.securityIps("string")
.build())
.vpcId("string")
.vswitchId("string")
.zoneId("string")
.build());
db_instance_resource = alicloud.graphdatabase.DbInstance("dbInstanceResource",
db_instance_category="string",
db_instance_network_type="string",
db_instance_storage_type="string",
db_node_class="string",
db_node_storage=0,
db_version="string",
payment_type="string",
db_instance_description="string",
db_instance_ip_arrays=[alicloud.graphdatabase.DbInstanceDbInstanceIpArrayArgs(
db_instance_ip_array_attribute="string",
db_instance_ip_array_name="string",
security_ips="string",
)],
vpc_id="string",
vswitch_id="string",
zone_id="string")
const dbInstanceResource = new alicloud.graphdatabase.DbInstance("dbInstanceResource", {
dbInstanceCategory: "string",
dbInstanceNetworkType: "string",
dbInstanceStorageType: "string",
dbNodeClass: "string",
dbNodeStorage: 0,
dbVersion: "string",
paymentType: "string",
dbInstanceDescription: "string",
dbInstanceIpArrays: [{
dbInstanceIpArrayAttribute: "string",
dbInstanceIpArrayName: "string",
securityIps: "string",
}],
vpcId: "string",
vswitchId: "string",
zoneId: "string",
});
type: alicloud:graphdatabase:DbInstance
properties:
dbInstanceCategory: string
dbInstanceDescription: string
dbInstanceIpArrays:
- dbInstanceIpArrayAttribute: string
dbInstanceIpArrayName: string
securityIps: string
dbInstanceNetworkType: string
dbInstanceStorageType: string
dbNodeClass: string
dbNodeStorage: 0
dbVersion: string
paymentType: string
vpcId: string
vswitchId: string
zoneId: string
DbInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DbInstance resource accepts the following input properties:
- Db
Instance stringCategory - The category of the db instance. Valid values:
HA
,SINGLE
(Available in 1.173.0+). - Db
Instance stringNetwork Type - The network type of the db instance. Valid values:
vpc
. - Db
Instance stringStorage Type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. Modification is not supported. - Db
Node stringClass - The class of the db node. Valid values:
gdb.r.xlarge
,gdb.r.2xlarge
,gdb.r.4xlarge
,gdb.r.8xlarge
,gdb.r.16xlarge
,gdb.r.xlarge_basic
,gdb.r.2xlarge_basic
,gdb.r.4xlarge_basic
,gdb.r.8xlarge_basic
,gdb.r.16xlarge_basic
. - Db
Node intStorage - Instance storage space, which is measured in GB.
- Db
Version string - Kernel Version. Valid values:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - Payment
Type string - The paymen type of the resource. Valid values:
PayAsYouGo
. - Db
Instance stringDescription - According to the practical example or notes.
- Db
Instance List<Pulumi.Ip Arrays Ali Cloud. Graph Database. Inputs. Db Instance Db Instance Ip Array> - IP ADDRESS whitelist for the instance group list. See
db_instance_ip_array
below. - Vpc
Id string - ID of the VPC.
- Vswitch
Id string - The ID of attaching vswitch to instance.
- Zone
Id string - The zone ID of the resource.
- Db
Instance stringCategory - The category of the db instance. Valid values:
HA
,SINGLE
(Available in 1.173.0+). - Db
Instance stringNetwork Type - The network type of the db instance. Valid values:
vpc
. - Db
Instance stringStorage Type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. Modification is not supported. - Db
Node stringClass - The class of the db node. Valid values:
gdb.r.xlarge
,gdb.r.2xlarge
,gdb.r.4xlarge
,gdb.r.8xlarge
,gdb.r.16xlarge
,gdb.r.xlarge_basic
,gdb.r.2xlarge_basic
,gdb.r.4xlarge_basic
,gdb.r.8xlarge_basic
,gdb.r.16xlarge_basic
. - Db
Node intStorage - Instance storage space, which is measured in GB.
- Db
Version string - Kernel Version. Valid values:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - Payment
Type string - The paymen type of the resource. Valid values:
PayAsYouGo
. - Db
Instance stringDescription - According to the practical example or notes.
- Db
Instance []DbIp Arrays Instance Db Instance Ip Array Args - IP ADDRESS whitelist for the instance group list. See
db_instance_ip_array
below. - Vpc
Id string - ID of the VPC.
- Vswitch
Id string - The ID of attaching vswitch to instance.
- Zone
Id string - The zone ID of the resource.
- db
Instance StringCategory - The category of the db instance. Valid values:
HA
,SINGLE
(Available in 1.173.0+). - db
Instance StringNetwork Type - The network type of the db instance. Valid values:
vpc
. - db
Instance StringStorage Type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. Modification is not supported. - db
Node StringClass - The class of the db node. Valid values:
gdb.r.xlarge
,gdb.r.2xlarge
,gdb.r.4xlarge
,gdb.r.8xlarge
,gdb.r.16xlarge
,gdb.r.xlarge_basic
,gdb.r.2xlarge_basic
,gdb.r.4xlarge_basic
,gdb.r.8xlarge_basic
,gdb.r.16xlarge_basic
. - db
Node IntegerStorage - Instance storage space, which is measured in GB.
- db
Version String - Kernel Version. Valid values:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - payment
Type String - The paymen type of the resource. Valid values:
PayAsYouGo
. - db
Instance StringDescription - According to the practical example or notes.
- db
Instance List<DbIp Arrays Instance Db Instance Ip Array> - IP ADDRESS whitelist for the instance group list. See
db_instance_ip_array
below. - vpc
Id String - ID of the VPC.
- vswitch
Id String - The ID of attaching vswitch to instance.
- zone
Id String - The zone ID of the resource.
- db
Instance stringCategory - The category of the db instance. Valid values:
HA
,SINGLE
(Available in 1.173.0+). - db
Instance stringNetwork Type - The network type of the db instance. Valid values:
vpc
. - db
Instance stringStorage Type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. Modification is not supported. - db
Node stringClass - The class of the db node. Valid values:
gdb.r.xlarge
,gdb.r.2xlarge
,gdb.r.4xlarge
,gdb.r.8xlarge
,gdb.r.16xlarge
,gdb.r.xlarge_basic
,gdb.r.2xlarge_basic
,gdb.r.4xlarge_basic
,gdb.r.8xlarge_basic
,gdb.r.16xlarge_basic
. - db
Node numberStorage - Instance storage space, which is measured in GB.
- db
Version string - Kernel Version. Valid values:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - payment
Type string - The paymen type of the resource. Valid values:
PayAsYouGo
. - db
Instance stringDescription - According to the practical example or notes.
- db
Instance DbIp Arrays Instance Db Instance Ip Array[] - IP ADDRESS whitelist for the instance group list. See
db_instance_ip_array
below. - vpc
Id string - ID of the VPC.
- vswitch
Id string - The ID of attaching vswitch to instance.
- zone
Id string - The zone ID of the resource.
- db_
instance_ strcategory - The category of the db instance. Valid values:
HA
,SINGLE
(Available in 1.173.0+). - db_
instance_ strnetwork_ type - The network type of the db instance. Valid values:
vpc
. - db_
instance_ strstorage_ type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. Modification is not supported. - db_
node_ strclass - The class of the db node. Valid values:
gdb.r.xlarge
,gdb.r.2xlarge
,gdb.r.4xlarge
,gdb.r.8xlarge
,gdb.r.16xlarge
,gdb.r.xlarge_basic
,gdb.r.2xlarge_basic
,gdb.r.4xlarge_basic
,gdb.r.8xlarge_basic
,gdb.r.16xlarge_basic
. - db_
node_ intstorage - Instance storage space, which is measured in GB.
- db_
version str - Kernel Version. Valid values:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - payment_
type str - The paymen type of the resource. Valid values:
PayAsYouGo
. - db_
instance_ strdescription - According to the practical example or notes.
- db_
instance_ Sequence[Dbip_ arrays Instance Db Instance Ip Array Args] - IP ADDRESS whitelist for the instance group list. See
db_instance_ip_array
below. - vpc_
id str - ID of the VPC.
- vswitch_
id str - The ID of attaching vswitch to instance.
- zone_
id str - The zone ID of the resource.
- db
Instance StringCategory - The category of the db instance. Valid values:
HA
,SINGLE
(Available in 1.173.0+). - db
Instance StringNetwork Type - The network type of the db instance. Valid values:
vpc
. - db
Instance StringStorage Type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. Modification is not supported. - db
Node StringClass - The class of the db node. Valid values:
gdb.r.xlarge
,gdb.r.2xlarge
,gdb.r.4xlarge
,gdb.r.8xlarge
,gdb.r.16xlarge
,gdb.r.xlarge_basic
,gdb.r.2xlarge_basic
,gdb.r.4xlarge_basic
,gdb.r.8xlarge_basic
,gdb.r.16xlarge_basic
. - db
Node NumberStorage - Instance storage space, which is measured in GB.
- db
Version String - Kernel Version. Valid values:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - payment
Type String - The paymen type of the resource. Valid values:
PayAsYouGo
. - db
Instance StringDescription - According to the practical example or notes.
- db
Instance List<Property Map>Ip Arrays - IP ADDRESS whitelist for the instance group list. See
db_instance_ip_array
below. - vpc
Id String - ID of the VPC.
- vswitch
Id String - The ID of attaching vswitch to instance.
- zone
Id String - The zone ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the DbInstance resource produces the following output properties:
- Connection
String string - (Available in 1.196.0+) The connection string of the instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Port string
- (Available in 1.196.0+) The connection port of the instance.
- Status string
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
- Connection
String string - (Available in 1.196.0+) The connection string of the instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Port string
- (Available in 1.196.0+) The connection port of the instance.
- Status string
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
- connection
String String - (Available in 1.196.0+) The connection string of the instance.
- id String
- The provider-assigned unique ID for this managed resource.
- port String
- (Available in 1.196.0+) The connection port of the instance.
- status String
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
- connection
String string - (Available in 1.196.0+) The connection string of the instance.
- id string
- The provider-assigned unique ID for this managed resource.
- port string
- (Available in 1.196.0+) The connection port of the instance.
- status string
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
- connection_
string str - (Available in 1.196.0+) The connection string of the instance.
- id str
- The provider-assigned unique ID for this managed resource.
- port str
- (Available in 1.196.0+) The connection port of the instance.
- status str
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
- connection
String String - (Available in 1.196.0+) The connection string of the instance.
- id String
- The provider-assigned unique ID for this managed resource.
- port String
- (Available in 1.196.0+) The connection port of the instance.
- status String
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
.
Look up Existing DbInstance Resource
Get an existing DbInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DbInstanceState, opts?: CustomResourceOptions): DbInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connection_string: Optional[str] = None,
db_instance_category: Optional[str] = None,
db_instance_description: Optional[str] = None,
db_instance_ip_arrays: Optional[Sequence[DbInstanceDbInstanceIpArrayArgs]] = None,
db_instance_network_type: Optional[str] = None,
db_instance_storage_type: Optional[str] = None,
db_node_class: Optional[str] = None,
db_node_storage: Optional[int] = None,
db_version: Optional[str] = None,
payment_type: Optional[str] = None,
port: Optional[str] = None,
status: Optional[str] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None,
zone_id: Optional[str] = None) -> DbInstance
func GetDbInstance(ctx *Context, name string, id IDInput, state *DbInstanceState, opts ...ResourceOption) (*DbInstance, error)
public static DbInstance Get(string name, Input<string> id, DbInstanceState? state, CustomResourceOptions? opts = null)
public static DbInstance get(String name, Output<String> id, DbInstanceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Connection
String string - (Available in 1.196.0+) The connection string of the instance.
- Db
Instance stringCategory - The category of the db instance. Valid values:
HA
,SINGLE
(Available in 1.173.0+). - Db
Instance stringDescription - According to the practical example or notes.
- Db
Instance List<Pulumi.Ip Arrays Ali Cloud. Graph Database. Inputs. Db Instance Db Instance Ip Array> - IP ADDRESS whitelist for the instance group list. See
db_instance_ip_array
below. - Db
Instance stringNetwork Type - The network type of the db instance. Valid values:
vpc
. - Db
Instance stringStorage Type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. Modification is not supported. - Db
Node stringClass - The class of the db node. Valid values:
gdb.r.xlarge
,gdb.r.2xlarge
,gdb.r.4xlarge
,gdb.r.8xlarge
,gdb.r.16xlarge
,gdb.r.xlarge_basic
,gdb.r.2xlarge_basic
,gdb.r.4xlarge_basic
,gdb.r.8xlarge_basic
,gdb.r.16xlarge_basic
. - Db
Node intStorage - Instance storage space, which is measured in GB.
- Db
Version string - Kernel Version. Valid values:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - Payment
Type string - The paymen type of the resource. Valid values:
PayAsYouGo
. - Port string
- (Available in 1.196.0+) The connection port of the instance.
- Status string
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
. - Vpc
Id string - ID of the VPC.
- Vswitch
Id string - The ID of attaching vswitch to instance.
- Zone
Id string - The zone ID of the resource.
- Connection
String string - (Available in 1.196.0+) The connection string of the instance.
- Db
Instance stringCategory - The category of the db instance. Valid values:
HA
,SINGLE
(Available in 1.173.0+). - Db
Instance stringDescription - According to the practical example or notes.
- Db
Instance []DbIp Arrays Instance Db Instance Ip Array Args - IP ADDRESS whitelist for the instance group list. See
db_instance_ip_array
below. - Db
Instance stringNetwork Type - The network type of the db instance. Valid values:
vpc
. - Db
Instance stringStorage Type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. Modification is not supported. - Db
Node stringClass - The class of the db node. Valid values:
gdb.r.xlarge
,gdb.r.2xlarge
,gdb.r.4xlarge
,gdb.r.8xlarge
,gdb.r.16xlarge
,gdb.r.xlarge_basic
,gdb.r.2xlarge_basic
,gdb.r.4xlarge_basic
,gdb.r.8xlarge_basic
,gdb.r.16xlarge_basic
. - Db
Node intStorage - Instance storage space, which is measured in GB.
- Db
Version string - Kernel Version. Valid values:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - Payment
Type string - The paymen type of the resource. Valid values:
PayAsYouGo
. - Port string
- (Available in 1.196.0+) The connection port of the instance.
- Status string
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
. - Vpc
Id string - ID of the VPC.
- Vswitch
Id string - The ID of attaching vswitch to instance.
- Zone
Id string - The zone ID of the resource.
- connection
String String - (Available in 1.196.0+) The connection string of the instance.
- db
Instance StringCategory - The category of the db instance. Valid values:
HA
,SINGLE
(Available in 1.173.0+). - db
Instance StringDescription - According to the practical example or notes.
- db
Instance List<DbIp Arrays Instance Db Instance Ip Array> - IP ADDRESS whitelist for the instance group list. See
db_instance_ip_array
below. - db
Instance StringNetwork Type - The network type of the db instance. Valid values:
vpc
. - db
Instance StringStorage Type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. Modification is not supported. - db
Node StringClass - The class of the db node. Valid values:
gdb.r.xlarge
,gdb.r.2xlarge
,gdb.r.4xlarge
,gdb.r.8xlarge
,gdb.r.16xlarge
,gdb.r.xlarge_basic
,gdb.r.2xlarge_basic
,gdb.r.4xlarge_basic
,gdb.r.8xlarge_basic
,gdb.r.16xlarge_basic
. - db
Node IntegerStorage - Instance storage space, which is measured in GB.
- db
Version String - Kernel Version. Valid values:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - payment
Type String - The paymen type of the resource. Valid values:
PayAsYouGo
. - port String
- (Available in 1.196.0+) The connection port of the instance.
- status String
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
. - vpc
Id String - ID of the VPC.
- vswitch
Id String - The ID of attaching vswitch to instance.
- zone
Id String - The zone ID of the resource.
- connection
String string - (Available in 1.196.0+) The connection string of the instance.
- db
Instance stringCategory - The category of the db instance. Valid values:
HA
,SINGLE
(Available in 1.173.0+). - db
Instance stringDescription - According to the practical example or notes.
- db
Instance DbIp Arrays Instance Db Instance Ip Array[] - IP ADDRESS whitelist for the instance group list. See
db_instance_ip_array
below. - db
Instance stringNetwork Type - The network type of the db instance. Valid values:
vpc
. - db
Instance stringStorage Type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. Modification is not supported. - db
Node stringClass - The class of the db node. Valid values:
gdb.r.xlarge
,gdb.r.2xlarge
,gdb.r.4xlarge
,gdb.r.8xlarge
,gdb.r.16xlarge
,gdb.r.xlarge_basic
,gdb.r.2xlarge_basic
,gdb.r.4xlarge_basic
,gdb.r.8xlarge_basic
,gdb.r.16xlarge_basic
. - db
Node numberStorage - Instance storage space, which is measured in GB.
- db
Version string - Kernel Version. Valid values:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - payment
Type string - The paymen type of the resource. Valid values:
PayAsYouGo
. - port string
- (Available in 1.196.0+) The connection port of the instance.
- status string
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
. - vpc
Id string - ID of the VPC.
- vswitch
Id string - The ID of attaching vswitch to instance.
- zone
Id string - The zone ID of the resource.
- connection_
string str - (Available in 1.196.0+) The connection string of the instance.
- db_
instance_ strcategory - The category of the db instance. Valid values:
HA
,SINGLE
(Available in 1.173.0+). - db_
instance_ strdescription - According to the practical example or notes.
- db_
instance_ Sequence[Dbip_ arrays Instance Db Instance Ip Array Args] - IP ADDRESS whitelist for the instance group list. See
db_instance_ip_array
below. - db_
instance_ strnetwork_ type - The network type of the db instance. Valid values:
vpc
. - db_
instance_ strstorage_ type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. Modification is not supported. - db_
node_ strclass - The class of the db node. Valid values:
gdb.r.xlarge
,gdb.r.2xlarge
,gdb.r.4xlarge
,gdb.r.8xlarge
,gdb.r.16xlarge
,gdb.r.xlarge_basic
,gdb.r.2xlarge_basic
,gdb.r.4xlarge_basic
,gdb.r.8xlarge_basic
,gdb.r.16xlarge_basic
. - db_
node_ intstorage - Instance storage space, which is measured in GB.
- db_
version str - Kernel Version. Valid values:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - payment_
type str - The paymen type of the resource. Valid values:
PayAsYouGo
. - port str
- (Available in 1.196.0+) The connection port of the instance.
- status str
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
. - vpc_
id str - ID of the VPC.
- vswitch_
id str - The ID of attaching vswitch to instance.
- zone_
id str - The zone ID of the resource.
- connection
String String - (Available in 1.196.0+) The connection string of the instance.
- db
Instance StringCategory - The category of the db instance. Valid values:
HA
,SINGLE
(Available in 1.173.0+). - db
Instance StringDescription - According to the practical example or notes.
- db
Instance List<Property Map>Ip Arrays - IP ADDRESS whitelist for the instance group list. See
db_instance_ip_array
below. - db
Instance StringNetwork Type - The network type of the db instance. Valid values:
vpc
. - db
Instance StringStorage Type - Disk storage type. Valid values:
cloud_essd
,cloud_ssd
. Modification is not supported. - db
Node StringClass - The class of the db node. Valid values:
gdb.r.xlarge
,gdb.r.2xlarge
,gdb.r.4xlarge
,gdb.r.8xlarge
,gdb.r.16xlarge
,gdb.r.xlarge_basic
,gdb.r.2xlarge_basic
,gdb.r.4xlarge_basic
,gdb.r.8xlarge_basic
,gdb.r.16xlarge_basic
. - db
Node NumberStorage - Instance storage space, which is measured in GB.
- db
Version String - Kernel Version. Valid values:
1.0
or1.0-OpenCypher
.1.0
: represented as gremlin,1.0-OpenCypher
: said opencypher. - payment
Type String - The paymen type of the resource. Valid values:
PayAsYouGo
. - port String
- (Available in 1.196.0+) The connection port of the instance.
- status String
- Instance status. Value range:
Creating
,Running
,Deleting
,Rebooting
,DBInstanceClassChanging
,NetAddressCreating
andNetAddressDeleting
. - vpc
Id String - ID of the VPC.
- vswitch
Id String - The ID of attaching vswitch to instance.
- zone
Id String - The zone ID of the resource.
Supporting Types
DbInstanceDbInstanceIpArray, DbInstanceDbInstanceIpArrayArgs
- 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]).
Import
Graph Database Db Instance can be imported using the id, e.g.
$ pulumi import alicloud:graphdatabase/dbInstance:DbInstance example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.