1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. GaussdbInfluxInstance
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.GaussdbInfluxInstance

Explore with Pulumi AI

GaussDB for influx instance management within FlexibleEngine.

Example Usage

create a gaussdb for influx instance with tags

import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";

const instance1 = new flexibleengine.GaussdbInfluxInstance("instance1", {
    password: _var.password,
    flavor: "geminidb.influxdb.large.4",
    volumeSize: 100,
    vpcId: _var.vpc_id,
    subnetId: _var.subnet_id,
    securityGroupId: _var.secgroup_id,
    availabilityZone: _var.availability_zone,
    tags: {
        foo: "bar",
        key: "value",
    },
});
Copy
import pulumi
import pulumi_flexibleengine as flexibleengine

instance1 = flexibleengine.GaussdbInfluxInstance("instance1",
    password=var["password"],
    flavor="geminidb.influxdb.large.4",
    volume_size=100,
    vpc_id=var["vpc_id"],
    subnet_id=var["subnet_id"],
    security_group_id=var["secgroup_id"],
    availability_zone=var["availability_zone"],
    tags={
        "foo": "bar",
        "key": "value",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := flexibleengine.NewGaussdbInfluxInstance(ctx, "instance1", &flexibleengine.GaussdbInfluxInstanceArgs{
			Password:         pulumi.Any(_var.Password),
			Flavor:           pulumi.String("geminidb.influxdb.large.4"),
			VolumeSize:       pulumi.Float64(100),
			VpcId:            pulumi.Any(_var.Vpc_id),
			SubnetId:         pulumi.Any(_var.Subnet_id),
			SecurityGroupId:  pulumi.Any(_var.Secgroup_id),
			AvailabilityZone: pulumi.Any(_var.Availability_zone),
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;

return await Deployment.RunAsync(() => 
{
    var instance1 = new Flexibleengine.GaussdbInfluxInstance("instance1", new()
    {
        Password = @var.Password,
        Flavor = "geminidb.influxdb.large.4",
        VolumeSize = 100,
        VpcId = @var.Vpc_id,
        SubnetId = @var.Subnet_id,
        SecurityGroupId = @var.Secgroup_id,
        AvailabilityZone = @var.Availability_zone,
        Tags = 
        {
            { "foo", "bar" },
            { "key", "value" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.GaussdbInfluxInstance;
import com.pulumi.flexibleengine.GaussdbInfluxInstanceArgs;
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) {
        var instance1 = new GaussdbInfluxInstance("instance1", GaussdbInfluxInstanceArgs.builder()
            .password(var_.password())
            .flavor("geminidb.influxdb.large.4")
            .volumeSize(100)
            .vpcId(var_.vpc_id())
            .subnetId(var_.subnet_id())
            .securityGroupId(var_.secgroup_id())
            .availabilityZone(var_.availability_zone())
            .tags(Map.ofEntries(
                Map.entry("foo", "bar"),
                Map.entry("key", "value")
            ))
            .build());

    }
}
Copy
resources:
  instance1:
    type: flexibleengine:GaussdbInfluxInstance
    properties:
      password: ${var.password}
      flavor: geminidb.influxdb.large.4
      volumeSize: 100
      vpcId: ${var.vpc_id}
      subnetId: ${var.subnet_id}
      securityGroupId: ${var.secgroup_id}
      availabilityZone: ${var.availability_zone}
      tags:
        foo: bar
        key: value
Copy

create a gaussdb influx instance with backup strategy

import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";

const instance1 = new flexibleengine.GaussdbInfluxInstance("instance1", {
    password: _var.password,
    flavor: "geminidb.influxdb.large.4",
    volumeSize: 100,
    vpcId: _var.vpc_id,
    subnetId: _var.subnet_id,
    securityGroupId: _var.secgroup_id,
    availabilityZone: _var.availability_zone,
    backupStrategy: {
        startTime: "03:00-04:00",
        keepDays: 14,
    },
});
Copy
import pulumi
import pulumi_flexibleengine as flexibleengine

instance1 = flexibleengine.GaussdbInfluxInstance("instance1",
    password=var["password"],
    flavor="geminidb.influxdb.large.4",
    volume_size=100,
    vpc_id=var["vpc_id"],
    subnet_id=var["subnet_id"],
    security_group_id=var["secgroup_id"],
    availability_zone=var["availability_zone"],
    backup_strategy={
        "start_time": "03:00-04:00",
        "keep_days": 14,
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := flexibleengine.NewGaussdbInfluxInstance(ctx, "instance1", &flexibleengine.GaussdbInfluxInstanceArgs{
			Password:         pulumi.Any(_var.Password),
			Flavor:           pulumi.String("geminidb.influxdb.large.4"),
			VolumeSize:       pulumi.Float64(100),
			VpcId:            pulumi.Any(_var.Vpc_id),
			SubnetId:         pulumi.Any(_var.Subnet_id),
			SecurityGroupId:  pulumi.Any(_var.Secgroup_id),
			AvailabilityZone: pulumi.Any(_var.Availability_zone),
			BackupStrategy: &flexibleengine.GaussdbInfluxInstanceBackupStrategyArgs{
				StartTime: pulumi.String("03:00-04:00"),
				KeepDays:  pulumi.Float64(14),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;

return await Deployment.RunAsync(() => 
{
    var instance1 = new Flexibleengine.GaussdbInfluxInstance("instance1", new()
    {
        Password = @var.Password,
        Flavor = "geminidb.influxdb.large.4",
        VolumeSize = 100,
        VpcId = @var.Vpc_id,
        SubnetId = @var.Subnet_id,
        SecurityGroupId = @var.Secgroup_id,
        AvailabilityZone = @var.Availability_zone,
        BackupStrategy = new Flexibleengine.Inputs.GaussdbInfluxInstanceBackupStrategyArgs
        {
            StartTime = "03:00-04:00",
            KeepDays = 14,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.GaussdbInfluxInstance;
import com.pulumi.flexibleengine.GaussdbInfluxInstanceArgs;
import com.pulumi.flexibleengine.inputs.GaussdbInfluxInstanceBackupStrategyArgs;
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) {
        var instance1 = new GaussdbInfluxInstance("instance1", GaussdbInfluxInstanceArgs.builder()
            .password(var_.password())
            .flavor("geminidb.influxdb.large.4")
            .volumeSize(100)
            .vpcId(var_.vpc_id())
            .subnetId(var_.subnet_id())
            .securityGroupId(var_.secgroup_id())
            .availabilityZone(var_.availability_zone())
            .backupStrategy(GaussdbInfluxInstanceBackupStrategyArgs.builder()
                .startTime("03:00-04:00")
                .keepDays(14)
                .build())
            .build());

    }
}
Copy
resources:
  instance1:
    type: flexibleengine:GaussdbInfluxInstance
    properties:
      password: ${var.password}
      flavor: geminidb.influxdb.large.4
      volumeSize: 100
      vpcId: ${var.vpc_id}
      subnetId: ${var.subnet_id}
      securityGroupId: ${var.secgroup_id}
      availabilityZone: ${var.availability_zone}
      backupStrategy:
        startTime: 03:00-04:00
        keepDays: 14
Copy

Create GaussdbInfluxInstance Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new GaussdbInfluxInstance(name: string, args: GaussdbInfluxInstanceArgs, opts?: CustomResourceOptions);
@overload
def GaussdbInfluxInstance(resource_name: str,
                          args: GaussdbInfluxInstanceArgs,
                          opts: Optional[ResourceOptions] = None)

@overload
def GaussdbInfluxInstance(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          flavor: Optional[str] = None,
                          availability_zone: Optional[str] = None,
                          vpc_id: Optional[str] = None,
                          volume_size: Optional[float] = None,
                          subnet_id: Optional[str] = None,
                          password: Optional[str] = None,
                          name: Optional[str] = None,
                          period: Optional[float] = None,
                          enterprise_project_id: Optional[str] = None,
                          dedicated_resource_id: Optional[str] = None,
                          force_import: Optional[bool] = None,
                          gaussdb_influx_instance_id: Optional[str] = None,
                          auto_renew: Optional[str] = None,
                          node_num: Optional[float] = None,
                          datastore: Optional[GaussdbInfluxInstanceDatastoreArgs] = None,
                          dedicated_resource_name: Optional[str] = None,
                          period_unit: Optional[str] = None,
                          region: Optional[str] = None,
                          security_group_id: Optional[str] = None,
                          ssl: Optional[bool] = None,
                          configuration_id: Optional[str] = None,
                          tags: Optional[Mapping[str, str]] = None,
                          timeouts: Optional[GaussdbInfluxInstanceTimeoutsArgs] = None,
                          charging_mode: Optional[str] = None,
                          backup_strategy: Optional[GaussdbInfluxInstanceBackupStrategyArgs] = None)
func NewGaussdbInfluxInstance(ctx *Context, name string, args GaussdbInfluxInstanceArgs, opts ...ResourceOption) (*GaussdbInfluxInstance, error)
public GaussdbInfluxInstance(string name, GaussdbInfluxInstanceArgs args, CustomResourceOptions? opts = null)
public GaussdbInfluxInstance(String name, GaussdbInfluxInstanceArgs args)
public GaussdbInfluxInstance(String name, GaussdbInfluxInstanceArgs args, CustomResourceOptions options)
type: flexibleengine:GaussdbInfluxInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. GaussdbInfluxInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. GaussdbInfluxInstanceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. GaussdbInfluxInstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. GaussdbInfluxInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. GaussdbInfluxInstanceArgs
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 gaussdbInfluxInstanceResource = new Flexibleengine.GaussdbInfluxInstance("gaussdbInfluxInstanceResource", new()
{
    Flavor = "string",
    AvailabilityZone = "string",
    VpcId = "string",
    VolumeSize = 0,
    SubnetId = "string",
    Password = "string",
    Name = "string",
    Period = 0,
    EnterpriseProjectId = "string",
    DedicatedResourceId = "string",
    ForceImport = false,
    GaussdbInfluxInstanceId = "string",
    AutoRenew = "string",
    NodeNum = 0,
    Datastore = new Flexibleengine.Inputs.GaussdbInfluxInstanceDatastoreArgs
    {
        Engine = "string",
        StorageEngine = "string",
        Version = "string",
    },
    DedicatedResourceName = "string",
    PeriodUnit = "string",
    Region = "string",
    SecurityGroupId = "string",
    Ssl = false,
    ConfigurationId = "string",
    Tags = 
    {
        { "string", "string" },
    },
    Timeouts = new Flexibleengine.Inputs.GaussdbInfluxInstanceTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
    ChargingMode = "string",
    BackupStrategy = new Flexibleengine.Inputs.GaussdbInfluxInstanceBackupStrategyArgs
    {
        StartTime = "string",
        KeepDays = 0,
    },
});
Copy
example, err := flexibleengine.NewGaussdbInfluxInstance(ctx, "gaussdbInfluxInstanceResource", &flexibleengine.GaussdbInfluxInstanceArgs{
	Flavor:                  pulumi.String("string"),
	AvailabilityZone:        pulumi.String("string"),
	VpcId:                   pulumi.String("string"),
	VolumeSize:              pulumi.Float64(0),
	SubnetId:                pulumi.String("string"),
	Password:                pulumi.String("string"),
	Name:                    pulumi.String("string"),
	Period:                  pulumi.Float64(0),
	EnterpriseProjectId:     pulumi.String("string"),
	DedicatedResourceId:     pulumi.String("string"),
	ForceImport:             pulumi.Bool(false),
	GaussdbInfluxInstanceId: pulumi.String("string"),
	AutoRenew:               pulumi.String("string"),
	NodeNum:                 pulumi.Float64(0),
	Datastore: &flexibleengine.GaussdbInfluxInstanceDatastoreArgs{
		Engine:        pulumi.String("string"),
		StorageEngine: pulumi.String("string"),
		Version:       pulumi.String("string"),
	},
	DedicatedResourceName: pulumi.String("string"),
	PeriodUnit:            pulumi.String("string"),
	Region:                pulumi.String("string"),
	SecurityGroupId:       pulumi.String("string"),
	Ssl:                   pulumi.Bool(false),
	ConfigurationId:       pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Timeouts: &flexibleengine.GaussdbInfluxInstanceTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Update: pulumi.String("string"),
	},
	ChargingMode: pulumi.String("string"),
	BackupStrategy: &flexibleengine.GaussdbInfluxInstanceBackupStrategyArgs{
		StartTime: pulumi.String("string"),
		KeepDays:  pulumi.Float64(0),
	},
})
Copy
var gaussdbInfluxInstanceResource = new GaussdbInfluxInstance("gaussdbInfluxInstanceResource", GaussdbInfluxInstanceArgs.builder()
    .flavor("string")
    .availabilityZone("string")
    .vpcId("string")
    .volumeSize(0)
    .subnetId("string")
    .password("string")
    .name("string")
    .period(0)
    .enterpriseProjectId("string")
    .dedicatedResourceId("string")
    .forceImport(false)
    .gaussdbInfluxInstanceId("string")
    .autoRenew("string")
    .nodeNum(0)
    .datastore(GaussdbInfluxInstanceDatastoreArgs.builder()
        .engine("string")
        .storageEngine("string")
        .version("string")
        .build())
    .dedicatedResourceName("string")
    .periodUnit("string")
    .region("string")
    .securityGroupId("string")
    .ssl(false)
    .configurationId("string")
    .tags(Map.of("string", "string"))
    .timeouts(GaussdbInfluxInstanceTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .chargingMode("string")
    .backupStrategy(GaussdbInfluxInstanceBackupStrategyArgs.builder()
        .startTime("string")
        .keepDays(0)
        .build())
    .build());
Copy
gaussdb_influx_instance_resource = flexibleengine.GaussdbInfluxInstance("gaussdbInfluxInstanceResource",
    flavor="string",
    availability_zone="string",
    vpc_id="string",
    volume_size=0,
    subnet_id="string",
    password="string",
    name="string",
    period=0,
    enterprise_project_id="string",
    dedicated_resource_id="string",
    force_import=False,
    gaussdb_influx_instance_id="string",
    auto_renew="string",
    node_num=0,
    datastore={
        "engine": "string",
        "storage_engine": "string",
        "version": "string",
    },
    dedicated_resource_name="string",
    period_unit="string",
    region="string",
    security_group_id="string",
    ssl=False,
    configuration_id="string",
    tags={
        "string": "string",
    },
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    },
    charging_mode="string",
    backup_strategy={
        "start_time": "string",
        "keep_days": 0,
    })
Copy
const gaussdbInfluxInstanceResource = new flexibleengine.GaussdbInfluxInstance("gaussdbInfluxInstanceResource", {
    flavor: "string",
    availabilityZone: "string",
    vpcId: "string",
    volumeSize: 0,
    subnetId: "string",
    password: "string",
    name: "string",
    period: 0,
    enterpriseProjectId: "string",
    dedicatedResourceId: "string",
    forceImport: false,
    gaussdbInfluxInstanceId: "string",
    autoRenew: "string",
    nodeNum: 0,
    datastore: {
        engine: "string",
        storageEngine: "string",
        version: "string",
    },
    dedicatedResourceName: "string",
    periodUnit: "string",
    region: "string",
    securityGroupId: "string",
    ssl: false,
    configurationId: "string",
    tags: {
        string: "string",
    },
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
    chargingMode: "string",
    backupStrategy: {
        startTime: "string",
        keepDays: 0,
    },
});
Copy
type: flexibleengine:GaussdbInfluxInstance
properties:
    autoRenew: string
    availabilityZone: string
    backupStrategy:
        keepDays: 0
        startTime: string
    chargingMode: string
    configurationId: string
    datastore:
        engine: string
        storageEngine: string
        version: string
    dedicatedResourceId: string
    dedicatedResourceName: string
    enterpriseProjectId: string
    flavor: string
    forceImport: false
    gaussdbInfluxInstanceId: string
    name: string
    nodeNum: 0
    password: string
    period: 0
    periodUnit: string
    region: string
    securityGroupId: string
    ssl: false
    subnetId: string
    tags:
        string: string
    timeouts:
        create: string
        delete: string
        update: string
    volumeSize: 0
    vpcId: string
Copy

GaussdbInfluxInstance Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The GaussdbInfluxInstance resource accepts the following input properties:

AvailabilityZone This property is required. string
Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
Flavor This property is required. string
Specifies the instance specifications. For details, see DB Instance Specifications Changing this parameter will create a new resource.
Password This property is required. string
Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
SubnetId This property is required. string
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
VolumeSize This property is required. double
Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB influx instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
VpcId This property is required. string
Specifies the VPC ID. Changing this parameter will create a new resource.
AutoRenew string
BackupStrategy GaussdbInfluxInstanceBackupStrategy
Specifies the advanced backup policy. The backup_strategy object structure is documented below.
ChargingMode string
ConfigurationId string
Specifies the Parameter Template ID.
Datastore GaussdbInfluxInstanceDatastore
Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
DedicatedResourceId string
DedicatedResourceName string
EnterpriseProjectId string
ForceImport bool
If specified, try to import the instance instead of creating if the name already existed.
GaussdbInfluxInstanceId string
Indicates the node ID.
Name string
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
NodeNum double
Specifies the number of nodes, ranges from 3 to 16. Defaults to 3.
Period double
PeriodUnit string
Region string
The region in which to create the influx instance resource. If omitted, the provider-level region will be used. Changing this creates a new influx instance resource.
SecurityGroupId string
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
Ssl bool
Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
Tags Dictionary<string, string>

The key/value pairs to associate with the instance.

The datastore block supports:

Timeouts GaussdbInfluxInstanceTimeouts
AvailabilityZone This property is required. string
Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
Flavor This property is required. string
Specifies the instance specifications. For details, see DB Instance Specifications Changing this parameter will create a new resource.
Password This property is required. string
Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
SubnetId This property is required. string
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
VolumeSize This property is required. float64
Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB influx instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
VpcId This property is required. string
Specifies the VPC ID. Changing this parameter will create a new resource.
AutoRenew string
BackupStrategy GaussdbInfluxInstanceBackupStrategyArgs
Specifies the advanced backup policy. The backup_strategy object structure is documented below.
ChargingMode string
ConfigurationId string
Specifies the Parameter Template ID.
Datastore GaussdbInfluxInstanceDatastoreArgs
Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
DedicatedResourceId string
DedicatedResourceName string
EnterpriseProjectId string
ForceImport bool
If specified, try to import the instance instead of creating if the name already existed.
GaussdbInfluxInstanceId string
Indicates the node ID.
Name string
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
NodeNum float64
Specifies the number of nodes, ranges from 3 to 16. Defaults to 3.
Period float64
PeriodUnit string
Region string
The region in which to create the influx instance resource. If omitted, the provider-level region will be used. Changing this creates a new influx instance resource.
SecurityGroupId string
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
Ssl bool
Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
Tags map[string]string

The key/value pairs to associate with the instance.

The datastore block supports:

Timeouts GaussdbInfluxInstanceTimeoutsArgs
availabilityZone This property is required. String
Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
flavor This property is required. String
Specifies the instance specifications. For details, see DB Instance Specifications Changing this parameter will create a new resource.
password This property is required. String
Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
subnetId This property is required. String
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
volumeSize This property is required. Double
Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB influx instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
vpcId This property is required. String
Specifies the VPC ID. Changing this parameter will create a new resource.
autoRenew String
backupStrategy GaussdbInfluxInstanceBackupStrategy
Specifies the advanced backup policy. The backup_strategy object structure is documented below.
chargingMode String
configurationId String
Specifies the Parameter Template ID.
datastore GaussdbInfluxInstanceDatastore
Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
dedicatedResourceId String
dedicatedResourceName String
enterpriseProjectId String
forceImport Boolean
If specified, try to import the instance instead of creating if the name already existed.
gaussdbInfluxInstanceId String
Indicates the node ID.
name String
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
nodeNum Double
Specifies the number of nodes, ranges from 3 to 16. Defaults to 3.
period Double
periodUnit String
region String
The region in which to create the influx instance resource. If omitted, the provider-level region will be used. Changing this creates a new influx instance resource.
securityGroupId String
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
ssl Boolean
Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
tags Map<String,String>

The key/value pairs to associate with the instance.

The datastore block supports:

timeouts GaussdbInfluxInstanceTimeouts
availabilityZone This property is required. string
Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
flavor This property is required. string
Specifies the instance specifications. For details, see DB Instance Specifications Changing this parameter will create a new resource.
password This property is required. string
Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
subnetId This property is required. string
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
volumeSize This property is required. number
Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB influx instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
vpcId This property is required. string
Specifies the VPC ID. Changing this parameter will create a new resource.
autoRenew string
backupStrategy GaussdbInfluxInstanceBackupStrategy
Specifies the advanced backup policy. The backup_strategy object structure is documented below.
chargingMode string
configurationId string
Specifies the Parameter Template ID.
datastore GaussdbInfluxInstanceDatastore
Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
dedicatedResourceId string
dedicatedResourceName string
enterpriseProjectId string
forceImport boolean
If specified, try to import the instance instead of creating if the name already existed.
gaussdbInfluxInstanceId string
Indicates the node ID.
name string
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
nodeNum number
Specifies the number of nodes, ranges from 3 to 16. Defaults to 3.
period number
periodUnit string
region string
The region in which to create the influx instance resource. If omitted, the provider-level region will be used. Changing this creates a new influx instance resource.
securityGroupId string
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
ssl boolean
Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
tags {[key: string]: string}

The key/value pairs to associate with the instance.

The datastore block supports:

timeouts GaussdbInfluxInstanceTimeouts
availability_zone This property is required. str
Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
flavor This property is required. str
Specifies the instance specifications. For details, see DB Instance Specifications Changing this parameter will create a new resource.
password This property is required. str
Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
subnet_id This property is required. str
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
volume_size This property is required. float
Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB influx instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
vpc_id This property is required. str
Specifies the VPC ID. Changing this parameter will create a new resource.
auto_renew str
backup_strategy GaussdbInfluxInstanceBackupStrategyArgs
Specifies the advanced backup policy. The backup_strategy object structure is documented below.
charging_mode str
configuration_id str
Specifies the Parameter Template ID.
datastore GaussdbInfluxInstanceDatastoreArgs
Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
dedicated_resource_id str
dedicated_resource_name str
enterprise_project_id str
force_import bool
If specified, try to import the instance instead of creating if the name already existed.
gaussdb_influx_instance_id str
Indicates the node ID.
name str
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
node_num float
Specifies the number of nodes, ranges from 3 to 16. Defaults to 3.
period float
period_unit str
region str
The region in which to create the influx instance resource. If omitted, the provider-level region will be used. Changing this creates a new influx instance resource.
security_group_id str
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
ssl bool
Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
tags Mapping[str, str]

The key/value pairs to associate with the instance.

The datastore block supports:

timeouts GaussdbInfluxInstanceTimeoutsArgs
availabilityZone This property is required. String
Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
flavor This property is required. String
Specifies the instance specifications. For details, see DB Instance Specifications Changing this parameter will create a new resource.
password This property is required. String
Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
subnetId This property is required. String
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
volumeSize This property is required. Number
Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB influx instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
vpcId This property is required. String
Specifies the VPC ID. Changing this parameter will create a new resource.
autoRenew String
backupStrategy Property Map
Specifies the advanced backup policy. The backup_strategy object structure is documented below.
chargingMode String
configurationId String
Specifies the Parameter Template ID.
datastore Property Map
Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
dedicatedResourceId String
dedicatedResourceName String
enterpriseProjectId String
forceImport Boolean
If specified, try to import the instance instead of creating if the name already existed.
gaussdbInfluxInstanceId String
Indicates the node ID.
name String
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
nodeNum Number
Specifies the number of nodes, ranges from 3 to 16. Defaults to 3.
period Number
periodUnit String
region String
The region in which to create the influx instance resource. If omitted, the provider-level region will be used. Changing this creates a new influx instance resource.
securityGroupId String
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
ssl Boolean
Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
tags Map<String>

The key/value pairs to associate with the instance.

The datastore block supports:

timeouts Property Map

Outputs

All input properties are implicitly available as output properties. Additionally, the GaussdbInfluxInstance resource produces the following output properties:

DbUserName string
Indicates the default username.
Id string
The provider-assigned unique ID for this managed resource.
LbIpAddress string
Indicates the LB IP address of the db.
LbPort string
Indicates the LB port of the db.
Mode string
Indicates the instance type.
Nodes List<GaussdbInfluxInstanceNode>
Indicates the instance nodes information. The nodes object structure is documented below.
Port double
Indicates the database port.
PrivateIps List<string>
Indicates the IP address list of the db.
Status string
Indicates the node status.
DbUserName string
Indicates the default username.
Id string
The provider-assigned unique ID for this managed resource.
LbIpAddress string
Indicates the LB IP address of the db.
LbPort string
Indicates the LB port of the db.
Mode string
Indicates the instance type.
Nodes []GaussdbInfluxInstanceNode
Indicates the instance nodes information. The nodes object structure is documented below.
Port float64
Indicates the database port.
PrivateIps []string
Indicates the IP address list of the db.
Status string
Indicates the node status.
dbUserName String
Indicates the default username.
id String
The provider-assigned unique ID for this managed resource.
lbIpAddress String
Indicates the LB IP address of the db.
lbPort String
Indicates the LB port of the db.
mode String
Indicates the instance type.
nodes List<GaussdbInfluxInstanceNode>
Indicates the instance nodes information. The nodes object structure is documented below.
port Double
Indicates the database port.
privateIps List<String>
Indicates the IP address list of the db.
status String
Indicates the node status.
dbUserName string
Indicates the default username.
id string
The provider-assigned unique ID for this managed resource.
lbIpAddress string
Indicates the LB IP address of the db.
lbPort string
Indicates the LB port of the db.
mode string
Indicates the instance type.
nodes GaussdbInfluxInstanceNode[]
Indicates the instance nodes information. The nodes object structure is documented below.
port number
Indicates the database port.
privateIps string[]
Indicates the IP address list of the db.
status string
Indicates the node status.
db_user_name str
Indicates the default username.
id str
The provider-assigned unique ID for this managed resource.
lb_ip_address str
Indicates the LB IP address of the db.
lb_port str
Indicates the LB port of the db.
mode str
Indicates the instance type.
nodes Sequence[GaussdbInfluxInstanceNode]
Indicates the instance nodes information. The nodes object structure is documented below.
port float
Indicates the database port.
private_ips Sequence[str]
Indicates the IP address list of the db.
status str
Indicates the node status.
dbUserName String
Indicates the default username.
id String
The provider-assigned unique ID for this managed resource.
lbIpAddress String
Indicates the LB IP address of the db.
lbPort String
Indicates the LB port of the db.
mode String
Indicates the instance type.
nodes List<Property Map>
Indicates the instance nodes information. The nodes object structure is documented below.
port Number
Indicates the database port.
privateIps List<String>
Indicates the IP address list of the db.
status String
Indicates the node status.

Look up Existing GaussdbInfluxInstance Resource

Get an existing GaussdbInfluxInstance 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?: GaussdbInfluxInstanceState, opts?: CustomResourceOptions): GaussdbInfluxInstance
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        auto_renew: Optional[str] = None,
        availability_zone: Optional[str] = None,
        backup_strategy: Optional[GaussdbInfluxInstanceBackupStrategyArgs] = None,
        charging_mode: Optional[str] = None,
        configuration_id: Optional[str] = None,
        datastore: Optional[GaussdbInfluxInstanceDatastoreArgs] = None,
        db_user_name: Optional[str] = None,
        dedicated_resource_id: Optional[str] = None,
        dedicated_resource_name: Optional[str] = None,
        enterprise_project_id: Optional[str] = None,
        flavor: Optional[str] = None,
        force_import: Optional[bool] = None,
        gaussdb_influx_instance_id: Optional[str] = None,
        lb_ip_address: Optional[str] = None,
        lb_port: Optional[str] = None,
        mode: Optional[str] = None,
        name: Optional[str] = None,
        node_num: Optional[float] = None,
        nodes: Optional[Sequence[GaussdbInfluxInstanceNodeArgs]] = None,
        password: Optional[str] = None,
        period: Optional[float] = None,
        period_unit: Optional[str] = None,
        port: Optional[float] = None,
        private_ips: Optional[Sequence[str]] = None,
        region: Optional[str] = None,
        security_group_id: Optional[str] = None,
        ssl: Optional[bool] = None,
        status: Optional[str] = None,
        subnet_id: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        timeouts: Optional[GaussdbInfluxInstanceTimeoutsArgs] = None,
        volume_size: Optional[float] = None,
        vpc_id: Optional[str] = None) -> GaussdbInfluxInstance
func GetGaussdbInfluxInstance(ctx *Context, name string, id IDInput, state *GaussdbInfluxInstanceState, opts ...ResourceOption) (*GaussdbInfluxInstance, error)
public static GaussdbInfluxInstance Get(string name, Input<string> id, GaussdbInfluxInstanceState? state, CustomResourceOptions? opts = null)
public static GaussdbInfluxInstance get(String name, Output<String> id, GaussdbInfluxInstanceState state, CustomResourceOptions options)
resources:  _:    type: flexibleengine:GaussdbInfluxInstance    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AutoRenew string
AvailabilityZone string
Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
BackupStrategy GaussdbInfluxInstanceBackupStrategy
Specifies the advanced backup policy. The backup_strategy object structure is documented below.
ChargingMode string
ConfigurationId string
Specifies the Parameter Template ID.
Datastore GaussdbInfluxInstanceDatastore
Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
DbUserName string
Indicates the default username.
DedicatedResourceId string
DedicatedResourceName string
EnterpriseProjectId string
Flavor string
Specifies the instance specifications. For details, see DB Instance Specifications Changing this parameter will create a new resource.
ForceImport bool
If specified, try to import the instance instead of creating if the name already existed.
GaussdbInfluxInstanceId string
Indicates the node ID.
LbIpAddress string
Indicates the LB IP address of the db.
LbPort string
Indicates the LB port of the db.
Mode string
Indicates the instance type.
Name string
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
NodeNum double
Specifies the number of nodes, ranges from 3 to 16. Defaults to 3.
Nodes List<GaussdbInfluxInstanceNode>
Indicates the instance nodes information. The nodes object structure is documented below.
Password string
Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
Period double
PeriodUnit string
Port double
Indicates the database port.
PrivateIps List<string>
Indicates the IP address list of the db.
Region string
The region in which to create the influx instance resource. If omitted, the provider-level region will be used. Changing this creates a new influx instance resource.
SecurityGroupId string
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
Ssl bool
Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
Status string
Indicates the node status.
SubnetId string
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
Tags Dictionary<string, string>

The key/value pairs to associate with the instance.

The datastore block supports:

Timeouts GaussdbInfluxInstanceTimeouts
VolumeSize double
Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB influx instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
VpcId string
Specifies the VPC ID. Changing this parameter will create a new resource.
AutoRenew string
AvailabilityZone string
Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
BackupStrategy GaussdbInfluxInstanceBackupStrategyArgs
Specifies the advanced backup policy. The backup_strategy object structure is documented below.
ChargingMode string
ConfigurationId string
Specifies the Parameter Template ID.
Datastore GaussdbInfluxInstanceDatastoreArgs
Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
DbUserName string
Indicates the default username.
DedicatedResourceId string
DedicatedResourceName string
EnterpriseProjectId string
Flavor string
Specifies the instance specifications. For details, see DB Instance Specifications Changing this parameter will create a new resource.
ForceImport bool
If specified, try to import the instance instead of creating if the name already existed.
GaussdbInfluxInstanceId string
Indicates the node ID.
LbIpAddress string
Indicates the LB IP address of the db.
LbPort string
Indicates the LB port of the db.
Mode string
Indicates the instance type.
Name string
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
NodeNum float64
Specifies the number of nodes, ranges from 3 to 16. Defaults to 3.
Nodes []GaussdbInfluxInstanceNodeArgs
Indicates the instance nodes information. The nodes object structure is documented below.
Password string
Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
Period float64
PeriodUnit string
Port float64
Indicates the database port.
PrivateIps []string
Indicates the IP address list of the db.
Region string
The region in which to create the influx instance resource. If omitted, the provider-level region will be used. Changing this creates a new influx instance resource.
SecurityGroupId string
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
Ssl bool
Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
Status string
Indicates the node status.
SubnetId string
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
Tags map[string]string

The key/value pairs to associate with the instance.

The datastore block supports:

Timeouts GaussdbInfluxInstanceTimeoutsArgs
VolumeSize float64
Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB influx instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
VpcId string
Specifies the VPC ID. Changing this parameter will create a new resource.
autoRenew String
availabilityZone String
Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
backupStrategy GaussdbInfluxInstanceBackupStrategy
Specifies the advanced backup policy. The backup_strategy object structure is documented below.
chargingMode String
configurationId String
Specifies the Parameter Template ID.
datastore GaussdbInfluxInstanceDatastore
Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
dbUserName String
Indicates the default username.
dedicatedResourceId String
dedicatedResourceName String
enterpriseProjectId String
flavor String
Specifies the instance specifications. For details, see DB Instance Specifications Changing this parameter will create a new resource.
forceImport Boolean
If specified, try to import the instance instead of creating if the name already existed.
gaussdbInfluxInstanceId String
Indicates the node ID.
lbIpAddress String
Indicates the LB IP address of the db.
lbPort String
Indicates the LB port of the db.
mode String
Indicates the instance type.
name String
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
nodeNum Double
Specifies the number of nodes, ranges from 3 to 16. Defaults to 3.
nodes List<GaussdbInfluxInstanceNode>
Indicates the instance nodes information. The nodes object structure is documented below.
password String
Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
period Double
periodUnit String
port Double
Indicates the database port.
privateIps List<String>
Indicates the IP address list of the db.
region String
The region in which to create the influx instance resource. If omitted, the provider-level region will be used. Changing this creates a new influx instance resource.
securityGroupId String
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
ssl Boolean
Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
status String
Indicates the node status.
subnetId String
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
tags Map<String,String>

The key/value pairs to associate with the instance.

The datastore block supports:

timeouts GaussdbInfluxInstanceTimeouts
volumeSize Double
Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB influx instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
vpcId String
Specifies the VPC ID. Changing this parameter will create a new resource.
autoRenew string
availabilityZone string
Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
backupStrategy GaussdbInfluxInstanceBackupStrategy
Specifies the advanced backup policy. The backup_strategy object structure is documented below.
chargingMode string
configurationId string
Specifies the Parameter Template ID.
datastore GaussdbInfluxInstanceDatastore
Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
dbUserName string
Indicates the default username.
dedicatedResourceId string
dedicatedResourceName string
enterpriseProjectId string
flavor string
Specifies the instance specifications. For details, see DB Instance Specifications Changing this parameter will create a new resource.
forceImport boolean
If specified, try to import the instance instead of creating if the name already existed.
gaussdbInfluxInstanceId string
Indicates the node ID.
lbIpAddress string
Indicates the LB IP address of the db.
lbPort string
Indicates the LB port of the db.
mode string
Indicates the instance type.
name string
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
nodeNum number
Specifies the number of nodes, ranges from 3 to 16. Defaults to 3.
nodes GaussdbInfluxInstanceNode[]
Indicates the instance nodes information. The nodes object structure is documented below.
password string
Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
period number
periodUnit string
port number
Indicates the database port.
privateIps string[]
Indicates the IP address list of the db.
region string
The region in which to create the influx instance resource. If omitted, the provider-level region will be used. Changing this creates a new influx instance resource.
securityGroupId string
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
ssl boolean
Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
status string
Indicates the node status.
subnetId string
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
tags {[key: string]: string}

The key/value pairs to associate with the instance.

The datastore block supports:

timeouts GaussdbInfluxInstanceTimeouts
volumeSize number
Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB influx instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
vpcId string
Specifies the VPC ID. Changing this parameter will create a new resource.
auto_renew str
availability_zone str
Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
backup_strategy GaussdbInfluxInstanceBackupStrategyArgs
Specifies the advanced backup policy. The backup_strategy object structure is documented below.
charging_mode str
configuration_id str
Specifies the Parameter Template ID.
datastore GaussdbInfluxInstanceDatastoreArgs
Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
db_user_name str
Indicates the default username.
dedicated_resource_id str
dedicated_resource_name str
enterprise_project_id str
flavor str
Specifies the instance specifications. For details, see DB Instance Specifications Changing this parameter will create a new resource.
force_import bool
If specified, try to import the instance instead of creating if the name already existed.
gaussdb_influx_instance_id str
Indicates the node ID.
lb_ip_address str
Indicates the LB IP address of the db.
lb_port str
Indicates the LB port of the db.
mode str
Indicates the instance type.
name str
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
node_num float
Specifies the number of nodes, ranges from 3 to 16. Defaults to 3.
nodes Sequence[GaussdbInfluxInstanceNodeArgs]
Indicates the instance nodes information. The nodes object structure is documented below.
password str
Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
period float
period_unit str
port float
Indicates the database port.
private_ips Sequence[str]
Indicates the IP address list of the db.
region str
The region in which to create the influx instance resource. If omitted, the provider-level region will be used. Changing this creates a new influx instance resource.
security_group_id str
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
ssl bool
Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
status str
Indicates the node status.
subnet_id str
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
tags Mapping[str, str]

The key/value pairs to associate with the instance.

The datastore block supports:

timeouts GaussdbInfluxInstanceTimeoutsArgs
volume_size float
Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB influx instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
vpc_id str
Specifies the VPC ID. Changing this parameter will create a new resource.
autoRenew String
availabilityZone String
Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
backupStrategy Property Map
Specifies the advanced backup policy. The backup_strategy object structure is documented below.
chargingMode String
configurationId String
Specifies the Parameter Template ID.
datastore Property Map
Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
dbUserName String
Indicates the default username.
dedicatedResourceId String
dedicatedResourceName String
enterpriseProjectId String
flavor String
Specifies the instance specifications. For details, see DB Instance Specifications Changing this parameter will create a new resource.
forceImport Boolean
If specified, try to import the instance instead of creating if the name already existed.
gaussdbInfluxInstanceId String
Indicates the node ID.
lbIpAddress String
Indicates the LB IP address of the db.
lbPort String
Indicates the LB port of the db.
mode String
Indicates the instance type.
name String
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
nodeNum Number
Specifies the number of nodes, ranges from 3 to 16. Defaults to 3.
nodes List<Property Map>
Indicates the instance nodes information. The nodes object structure is documented below.
password String
Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
period Number
periodUnit String
port Number
Indicates the database port.
privateIps List<String>
Indicates the IP address list of the db.
region String
The region in which to create the influx instance resource. If omitted, the provider-level region will be used. Changing this creates a new influx instance resource.
securityGroupId String
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
ssl Boolean
Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
status String
Indicates the node status.
subnetId String
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
tags Map<String>

The key/value pairs to associate with the instance.

The datastore block supports:

timeouts Property Map
volumeSize Number
Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB influx instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
vpcId String
Specifies the VPC ID. Changing this parameter will create a new resource.

Supporting Types

GaussdbInfluxInstanceBackupStrategy
, GaussdbInfluxInstanceBackupStrategyArgs

StartTime This property is required. string
Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
KeepDays double
Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
StartTime This property is required. string
Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
KeepDays float64
Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
startTime This property is required. String
Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
keepDays Double
Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
startTime This property is required. string
Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
keepDays number
Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
start_time This property is required. str
Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
keep_days float
Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
startTime This property is required. String
Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
keepDays Number
Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.

GaussdbInfluxInstanceDatastore
, GaussdbInfluxInstanceDatastoreArgs

Engine This property is required. string
Specifies the database engine. Only influxdb is supported now. Changing this parameter will create a new resource.
StorageEngine This property is required. string

Specifies the storage engine. Only rocksDB is supported now. Changing this parameter will create a new resource.

The backup_strategy block supports:

Version This property is required. string
Specifies the database version. Changing this parameter will create a new resource.
Engine This property is required. string
Specifies the database engine. Only influxdb is supported now. Changing this parameter will create a new resource.
StorageEngine This property is required. string

Specifies the storage engine. Only rocksDB is supported now. Changing this parameter will create a new resource.

The backup_strategy block supports:

Version This property is required. string
Specifies the database version. Changing this parameter will create a new resource.
engine This property is required. String
Specifies the database engine. Only influxdb is supported now. Changing this parameter will create a new resource.
storageEngine This property is required. String

Specifies the storage engine. Only rocksDB is supported now. Changing this parameter will create a new resource.

The backup_strategy block supports:

version This property is required. String
Specifies the database version. Changing this parameter will create a new resource.
engine This property is required. string
Specifies the database engine. Only influxdb is supported now. Changing this parameter will create a new resource.
storageEngine This property is required. string

Specifies the storage engine. Only rocksDB is supported now. Changing this parameter will create a new resource.

The backup_strategy block supports:

version This property is required. string
Specifies the database version. Changing this parameter will create a new resource.
engine This property is required. str
Specifies the database engine. Only influxdb is supported now. Changing this parameter will create a new resource.
storage_engine This property is required. str

Specifies the storage engine. Only rocksDB is supported now. Changing this parameter will create a new resource.

The backup_strategy block supports:

version This property is required. str
Specifies the database version. Changing this parameter will create a new resource.
engine This property is required. String
Specifies the database engine. Only influxdb is supported now. Changing this parameter will create a new resource.
storageEngine This property is required. String

Specifies the storage engine. Only rocksDB is supported now. Changing this parameter will create a new resource.

The backup_strategy block supports:

version This property is required. String
Specifies the database version. Changing this parameter will create a new resource.

GaussdbInfluxInstanceNode
, GaussdbInfluxInstanceNodeArgs

Id This property is required. string
Indicates the node ID.
Name This property is required. string
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
PrivateIp This property is required. string
Indicates the private IP address of a node.
Status This property is required. string
Indicates the node status.
SupportReduce This property is required. bool
Indicates whether the node support reduce or not.
Id This property is required. string
Indicates the node ID.
Name This property is required. string
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
PrivateIp This property is required. string
Indicates the private IP address of a node.
Status This property is required. string
Indicates the node status.
SupportReduce This property is required. bool
Indicates whether the node support reduce or not.
id This property is required. String
Indicates the node ID.
name This property is required. String
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
privateIp This property is required. String
Indicates the private IP address of a node.
status This property is required. String
Indicates the node status.
supportReduce This property is required. Boolean
Indicates whether the node support reduce or not.
id This property is required. string
Indicates the node ID.
name This property is required. string
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
privateIp This property is required. string
Indicates the private IP address of a node.
status This property is required. string
Indicates the node status.
supportReduce This property is required. boolean
Indicates whether the node support reduce or not.
id This property is required. str
Indicates the node ID.
name This property is required. str
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
private_ip This property is required. str
Indicates the private IP address of a node.
status This property is required. str
Indicates the node status.
support_reduce This property is required. bool
Indicates whether the node support reduce or not.
id This property is required. String
Indicates the node ID.
name This property is required. String
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
privateIp This property is required. String
Indicates the private IP address of a node.
status This property is required. String
Indicates the node status.
supportReduce This property is required. Boolean
Indicates whether the node support reduce or not.

GaussdbInfluxInstanceTimeouts
, GaussdbInfluxInstanceTimeoutsArgs

Create string
Delete string
Update string
Create string
Delete string
Update string
create String
delete String
update String
create string
delete string
update string
create str
delete str
update str
create String
delete String
update String

Import

GaussDB influx instance can be imported using the id, e.g.

bash

$ pulumi import flexibleengine:index/gaussdbInfluxInstance:GaussdbInfluxInstance instance_1 2e045d8b-b226-4aa2-91b9-7e76357655c06
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
License
Notes
This Pulumi package is based on the flexibleengine Terraform Provider.