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

alicloud.graphdatabase.DbInstance

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    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:

    DbInstanceCategory string
    The category of the db instance. Valid values: HA, SINGLE(Available in 1.173.0+).
    DbInstanceNetworkType string
    The network type of the db instance. Valid values: vpc.
    DbInstanceStorageType string
    Disk storage type. Valid values: cloud_essd, cloud_ssd. Modification is not supported.
    DbNodeClass string
    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.
    DbNodeStorage int
    Instance storage space, which is measured in GB.
    DbVersion string
    Kernel Version. Valid values: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
    PaymentType string
    The paymen type of the resource. Valid values: PayAsYouGo.
    DbInstanceDescription string
    According to the practical example or notes.
    DbInstanceIpArrays List<Pulumi.AliCloud.GraphDatabase.Inputs.DbInstanceDbInstanceIpArray>
    IP ADDRESS whitelist for the instance group list. See db_instance_ip_array below.
    VpcId string
    ID of the VPC.
    VswitchId string
    The ID of attaching vswitch to instance.
    ZoneId string
    The zone ID of the resource.
    DbInstanceCategory string
    The category of the db instance. Valid values: HA, SINGLE(Available in 1.173.0+).
    DbInstanceNetworkType string
    The network type of the db instance. Valid values: vpc.
    DbInstanceStorageType string
    Disk storage type. Valid values: cloud_essd, cloud_ssd. Modification is not supported.
    DbNodeClass string
    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.
    DbNodeStorage int
    Instance storage space, which is measured in GB.
    DbVersion string
    Kernel Version. Valid values: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
    PaymentType string
    The paymen type of the resource. Valid values: PayAsYouGo.
    DbInstanceDescription string
    According to the practical example or notes.
    DbInstanceIpArrays []DbInstanceDbInstanceIpArrayArgs
    IP ADDRESS whitelist for the instance group list. See db_instance_ip_array below.
    VpcId string
    ID of the VPC.
    VswitchId string
    The ID of attaching vswitch to instance.
    ZoneId string
    The zone ID of the resource.
    dbInstanceCategory String
    The category of the db instance. Valid values: HA, SINGLE(Available in 1.173.0+).
    dbInstanceNetworkType String
    The network type of the db instance. Valid values: vpc.
    dbInstanceStorageType String
    Disk storage type. Valid values: cloud_essd, cloud_ssd. Modification is not supported.
    dbNodeClass String
    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.
    dbNodeStorage Integer
    Instance storage space, which is measured in GB.
    dbVersion String
    Kernel Version. Valid values: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
    paymentType String
    The paymen type of the resource. Valid values: PayAsYouGo.
    dbInstanceDescription String
    According to the practical example or notes.
    dbInstanceIpArrays List<DbInstanceDbInstanceIpArray>
    IP ADDRESS whitelist for the instance group list. See db_instance_ip_array below.
    vpcId String
    ID of the VPC.
    vswitchId String
    The ID of attaching vswitch to instance.
    zoneId String
    The zone ID of the resource.
    dbInstanceCategory string
    The category of the db instance. Valid values: HA, SINGLE(Available in 1.173.0+).
    dbInstanceNetworkType string
    The network type of the db instance. Valid values: vpc.
    dbInstanceStorageType string
    Disk storage type. Valid values: cloud_essd, cloud_ssd. Modification is not supported.
    dbNodeClass string
    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.
    dbNodeStorage number
    Instance storage space, which is measured in GB.
    dbVersion string
    Kernel Version. Valid values: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
    paymentType string
    The paymen type of the resource. Valid values: PayAsYouGo.
    dbInstanceDescription string
    According to the practical example or notes.
    dbInstanceIpArrays DbInstanceDbInstanceIpArray[]
    IP ADDRESS whitelist for the instance group list. See db_instance_ip_array below.
    vpcId string
    ID of the VPC.
    vswitchId string
    The ID of attaching vswitch to instance.
    zoneId string
    The zone ID of the resource.
    db_instance_category str
    The category of the db instance. Valid values: HA, SINGLE(Available in 1.173.0+).
    db_instance_network_type str
    The network type of the db instance. Valid values: vpc.
    db_instance_storage_type str
    Disk storage type. Valid values: cloud_essd, cloud_ssd. Modification is not supported.
    db_node_class str
    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_storage int
    Instance storage space, which is measured in GB.
    db_version str
    Kernel Version. Valid values: 1.0 or 1.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_description str
    According to the practical example or notes.
    db_instance_ip_arrays Sequence[DbInstanceDbInstanceIpArrayArgs]
    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.
    dbInstanceCategory String
    The category of the db instance. Valid values: HA, SINGLE(Available in 1.173.0+).
    dbInstanceNetworkType String
    The network type of the db instance. Valid values: vpc.
    dbInstanceStorageType String
    Disk storage type. Valid values: cloud_essd, cloud_ssd. Modification is not supported.
    dbNodeClass String
    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.
    dbNodeStorage Number
    Instance storage space, which is measured in GB.
    dbVersion String
    Kernel Version. Valid values: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
    paymentType String
    The paymen type of the resource. Valid values: PayAsYouGo.
    dbInstanceDescription String
    According to the practical example or notes.
    dbInstanceIpArrays List<Property Map>
    IP ADDRESS whitelist for the instance group list. See db_instance_ip_array below.
    vpcId String
    ID of the VPC.
    vswitchId String
    The ID of attaching vswitch to instance.
    zoneId 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:

    ConnectionString 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 and NetAddressDeleting.
    ConnectionString 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 and NetAddressDeleting.
    connectionString 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 and NetAddressDeleting.
    connectionString 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 and NetAddressDeleting.
    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 and NetAddressDeleting.
    connectionString 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 and NetAddressDeleting.

    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.
    The following state arguments are supported:
    ConnectionString string
    (Available in 1.196.0+) The connection string of the instance.
    DbInstanceCategory string
    The category of the db instance. Valid values: HA, SINGLE(Available in 1.173.0+).
    DbInstanceDescription string
    According to the practical example or notes.
    DbInstanceIpArrays List<Pulumi.AliCloud.GraphDatabase.Inputs.DbInstanceDbInstanceIpArray>
    IP ADDRESS whitelist for the instance group list. See db_instance_ip_array below.
    DbInstanceNetworkType string
    The network type of the db instance. Valid values: vpc.
    DbInstanceStorageType string
    Disk storage type. Valid values: cloud_essd, cloud_ssd. Modification is not supported.
    DbNodeClass string
    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.
    DbNodeStorage int
    Instance storage space, which is measured in GB.
    DbVersion string
    Kernel Version. Valid values: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
    PaymentType 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 and NetAddressDeleting.
    VpcId string
    ID of the VPC.
    VswitchId string
    The ID of attaching vswitch to instance.
    ZoneId string
    The zone ID of the resource.
    ConnectionString string
    (Available in 1.196.0+) The connection string of the instance.
    DbInstanceCategory string
    The category of the db instance. Valid values: HA, SINGLE(Available in 1.173.0+).
    DbInstanceDescription string
    According to the practical example or notes.
    DbInstanceIpArrays []DbInstanceDbInstanceIpArrayArgs
    IP ADDRESS whitelist for the instance group list. See db_instance_ip_array below.
    DbInstanceNetworkType string
    The network type of the db instance. Valid values: vpc.
    DbInstanceStorageType string
    Disk storage type. Valid values: cloud_essd, cloud_ssd. Modification is not supported.
    DbNodeClass string
    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.
    DbNodeStorage int
    Instance storage space, which is measured in GB.
    DbVersion string
    Kernel Version. Valid values: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
    PaymentType 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 and NetAddressDeleting.
    VpcId string
    ID of the VPC.
    VswitchId string
    The ID of attaching vswitch to instance.
    ZoneId string
    The zone ID of the resource.
    connectionString String
    (Available in 1.196.0+) The connection string of the instance.
    dbInstanceCategory String
    The category of the db instance. Valid values: HA, SINGLE(Available in 1.173.0+).
    dbInstanceDescription String
    According to the practical example or notes.
    dbInstanceIpArrays List<DbInstanceDbInstanceIpArray>
    IP ADDRESS whitelist for the instance group list. See db_instance_ip_array below.
    dbInstanceNetworkType String
    The network type of the db instance. Valid values: vpc.
    dbInstanceStorageType String
    Disk storage type. Valid values: cloud_essd, cloud_ssd. Modification is not supported.
    dbNodeClass String
    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.
    dbNodeStorage Integer
    Instance storage space, which is measured in GB.
    dbVersion String
    Kernel Version. Valid values: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
    paymentType 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 and NetAddressDeleting.
    vpcId String
    ID of the VPC.
    vswitchId String
    The ID of attaching vswitch to instance.
    zoneId String
    The zone ID of the resource.
    connectionString string
    (Available in 1.196.0+) The connection string of the instance.
    dbInstanceCategory string
    The category of the db instance. Valid values: HA, SINGLE(Available in 1.173.0+).
    dbInstanceDescription string
    According to the practical example or notes.
    dbInstanceIpArrays DbInstanceDbInstanceIpArray[]
    IP ADDRESS whitelist for the instance group list. See db_instance_ip_array below.
    dbInstanceNetworkType string
    The network type of the db instance. Valid values: vpc.
    dbInstanceStorageType string
    Disk storage type. Valid values: cloud_essd, cloud_ssd. Modification is not supported.
    dbNodeClass string
    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.
    dbNodeStorage number
    Instance storage space, which is measured in GB.
    dbVersion string
    Kernel Version. Valid values: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
    paymentType 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 and NetAddressDeleting.
    vpcId string
    ID of the VPC.
    vswitchId string
    The ID of attaching vswitch to instance.
    zoneId string
    The zone ID of the resource.
    connection_string str
    (Available in 1.196.0+) The connection string of the instance.
    db_instance_category str
    The category of the db instance. Valid values: HA, SINGLE(Available in 1.173.0+).
    db_instance_description str
    According to the practical example or notes.
    db_instance_ip_arrays Sequence[DbInstanceDbInstanceIpArrayArgs]
    IP ADDRESS whitelist for the instance group list. See db_instance_ip_array below.
    db_instance_network_type str
    The network type of the db instance. Valid values: vpc.
    db_instance_storage_type str
    Disk storage type. Valid values: cloud_essd, cloud_ssd. Modification is not supported.
    db_node_class str
    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_storage int
    Instance storage space, which is measured in GB.
    db_version str
    Kernel Version. Valid values: 1.0 or 1.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 and NetAddressDeleting.
    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.
    connectionString String
    (Available in 1.196.0+) The connection string of the instance.
    dbInstanceCategory String
    The category of the db instance. Valid values: HA, SINGLE(Available in 1.173.0+).
    dbInstanceDescription String
    According to the practical example or notes.
    dbInstanceIpArrays List<Property Map>
    IP ADDRESS whitelist for the instance group list. See db_instance_ip_array below.
    dbInstanceNetworkType String
    The network type of the db instance. Valid values: vpc.
    dbInstanceStorageType String
    Disk storage type. Valid values: cloud_essd, cloud_ssd. Modification is not supported.
    dbNodeClass String
    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.
    dbNodeStorage Number
    Instance storage space, which is measured in GB.
    dbVersion String
    Kernel Version. Valid values: 1.0 or 1.0-OpenCypher. 1.0: represented as gremlin, 1.0-OpenCypher: said opencypher.
    paymentType 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 and NetAddressDeleting.
    vpcId String
    ID of the VPC.
    vswitchId String
    The ID of attaching vswitch to instance.
    zoneId String
    The zone ID of the resource.

    Supporting Types

    DbInstanceDbInstanceIpArray, DbInstanceDbInstanceIpArrayArgs

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

    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.
    alicloud logo
    Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi