flexibleengine.DdsInstanceV3
Explore with Pulumi AI
Manages dds instance resource within FlexibleEngine
Example Usage
Creating A Cluster Community Edition
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const exampleVpc = new flexibleengine.VpcV1("exampleVpc", {cidr: "192.168.0.0/16"});
const exampleSubnet = new flexibleengine.VpcSubnetV1("exampleSubnet", {
cidr: "192.168.0.0/24",
gatewayIp: "192.168.0.1",
vpcId: exampleVpc.vpcV1Id,
});
const exampleSecgroup = new flexibleengine.NetworkingSecgroupV2("exampleSecgroup", {description: "My neutron security group"});
const instance = new flexibleengine.DdsInstanceV3("instance", {
region: "eu-west-0",
availabilityZone: "eu-west-0a",
vpcId: exampleVpc.vpcV1Id,
subnetId: exampleSubnet.vpcSubnetV1Id,
securityGroupId: exampleSecgroup.networkingSecgroupV2Id,
password: "Test@123",
mode: "Sharding",
datastore: {
type: "DDS-Community",
version: "3.4",
storageEngine: "wiredTiger",
},
flavors: [
{
type: "mongos",
num: 2,
specCode: "dds.mongodb.s3.medium.4.mongos",
},
{
type: "shard",
num: 2,
storage: "ULTRAHIGH",
size: 20,
specCode: "dds.mongodb.s3.medium.4.shard",
},
{
type: "config",
num: 1,
storage: "ULTRAHIGH",
size: 20,
specCode: "dds.mongodb.s3.large.2.config",
},
],
backupStrategy: {
startTime: "08:00-09:00",
keepDays: 8,
},
});
import pulumi
import pulumi_flexibleengine as flexibleengine
example_vpc = flexibleengine.VpcV1("exampleVpc", cidr="192.168.0.0/16")
example_subnet = flexibleengine.VpcSubnetV1("exampleSubnet",
cidr="192.168.0.0/24",
gateway_ip="192.168.0.1",
vpc_id=example_vpc.vpc_v1_id)
example_secgroup = flexibleengine.NetworkingSecgroupV2("exampleSecgroup", description="My neutron security group")
instance = flexibleengine.DdsInstanceV3("instance",
region="eu-west-0",
availability_zone="eu-west-0a",
vpc_id=example_vpc.vpc_v1_id,
subnet_id=example_subnet.vpc_subnet_v1_id,
security_group_id=example_secgroup.networking_secgroup_v2_id,
password="Test@123",
mode="Sharding",
datastore={
"type": "DDS-Community",
"version": "3.4",
"storage_engine": "wiredTiger",
},
flavors=[
{
"type": "mongos",
"num": 2,
"spec_code": "dds.mongodb.s3.medium.4.mongos",
},
{
"type": "shard",
"num": 2,
"storage": "ULTRAHIGH",
"size": 20,
"spec_code": "dds.mongodb.s3.medium.4.shard",
},
{
"type": "config",
"num": 1,
"storage": "ULTRAHIGH",
"size": 20,
"spec_code": "dds.mongodb.s3.large.2.config",
},
],
backup_strategy={
"start_time": "08:00-09:00",
"keep_days": 8,
})
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 {
exampleVpc, err := flexibleengine.NewVpcV1(ctx, "exampleVpc", &flexibleengine.VpcV1Args{
Cidr: pulumi.String("192.168.0.0/16"),
})
if err != nil {
return err
}
exampleSubnet, err := flexibleengine.NewVpcSubnetV1(ctx, "exampleSubnet", &flexibleengine.VpcSubnetV1Args{
Cidr: pulumi.String("192.168.0.0/24"),
GatewayIp: pulumi.String("192.168.0.1"),
VpcId: exampleVpc.VpcV1Id,
})
if err != nil {
return err
}
exampleSecgroup, err := flexibleengine.NewNetworkingSecgroupV2(ctx, "exampleSecgroup", &flexibleengine.NetworkingSecgroupV2Args{
Description: pulumi.String("My neutron security group"),
})
if err != nil {
return err
}
_, err = flexibleengine.NewDdsInstanceV3(ctx, "instance", &flexibleengine.DdsInstanceV3Args{
Region: pulumi.String("eu-west-0"),
AvailabilityZone: pulumi.String("eu-west-0a"),
VpcId: exampleVpc.VpcV1Id,
SubnetId: exampleSubnet.VpcSubnetV1Id,
SecurityGroupId: exampleSecgroup.NetworkingSecgroupV2Id,
Password: pulumi.String("Test@123"),
Mode: pulumi.String("Sharding"),
Datastore: &flexibleengine.DdsInstanceV3DatastoreArgs{
Type: pulumi.String("DDS-Community"),
Version: pulumi.String("3.4"),
StorageEngine: pulumi.String("wiredTiger"),
},
Flavors: flexibleengine.DdsInstanceV3FlavorArray{
&flexibleengine.DdsInstanceV3FlavorArgs{
Type: pulumi.String("mongos"),
Num: pulumi.Float64(2),
SpecCode: pulumi.String("dds.mongodb.s3.medium.4.mongos"),
},
&flexibleengine.DdsInstanceV3FlavorArgs{
Type: pulumi.String("shard"),
Num: pulumi.Float64(2),
Storage: pulumi.String("ULTRAHIGH"),
Size: pulumi.Float64(20),
SpecCode: pulumi.String("dds.mongodb.s3.medium.4.shard"),
},
&flexibleengine.DdsInstanceV3FlavorArgs{
Type: pulumi.String("config"),
Num: pulumi.Float64(1),
Storage: pulumi.String("ULTRAHIGH"),
Size: pulumi.Float64(20),
SpecCode: pulumi.String("dds.mongodb.s3.large.2.config"),
},
},
BackupStrategy: &flexibleengine.DdsInstanceV3BackupStrategyArgs{
StartTime: pulumi.String("08:00-09:00"),
KeepDays: pulumi.Float64(8),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var exampleVpc = new Flexibleengine.VpcV1("exampleVpc", new()
{
Cidr = "192.168.0.0/16",
});
var exampleSubnet = new Flexibleengine.VpcSubnetV1("exampleSubnet", new()
{
Cidr = "192.168.0.0/24",
GatewayIp = "192.168.0.1",
VpcId = exampleVpc.VpcV1Id,
});
var exampleSecgroup = new Flexibleengine.NetworkingSecgroupV2("exampleSecgroup", new()
{
Description = "My neutron security group",
});
var instance = new Flexibleengine.DdsInstanceV3("instance", new()
{
Region = "eu-west-0",
AvailabilityZone = "eu-west-0a",
VpcId = exampleVpc.VpcV1Id,
SubnetId = exampleSubnet.VpcSubnetV1Id,
SecurityGroupId = exampleSecgroup.NetworkingSecgroupV2Id,
Password = "Test@123",
Mode = "Sharding",
Datastore = new Flexibleengine.Inputs.DdsInstanceV3DatastoreArgs
{
Type = "DDS-Community",
Version = "3.4",
StorageEngine = "wiredTiger",
},
Flavors = new[]
{
new Flexibleengine.Inputs.DdsInstanceV3FlavorArgs
{
Type = "mongos",
Num = 2,
SpecCode = "dds.mongodb.s3.medium.4.mongos",
},
new Flexibleengine.Inputs.DdsInstanceV3FlavorArgs
{
Type = "shard",
Num = 2,
Storage = "ULTRAHIGH",
Size = 20,
SpecCode = "dds.mongodb.s3.medium.4.shard",
},
new Flexibleengine.Inputs.DdsInstanceV3FlavorArgs
{
Type = "config",
Num = 1,
Storage = "ULTRAHIGH",
Size = 20,
SpecCode = "dds.mongodb.s3.large.2.config",
},
},
BackupStrategy = new Flexibleengine.Inputs.DdsInstanceV3BackupStrategyArgs
{
StartTime = "08:00-09:00",
KeepDays = 8,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.VpcV1;
import com.pulumi.flexibleengine.VpcV1Args;
import com.pulumi.flexibleengine.VpcSubnetV1;
import com.pulumi.flexibleengine.VpcSubnetV1Args;
import com.pulumi.flexibleengine.NetworkingSecgroupV2;
import com.pulumi.flexibleengine.NetworkingSecgroupV2Args;
import com.pulumi.flexibleengine.DdsInstanceV3;
import com.pulumi.flexibleengine.DdsInstanceV3Args;
import com.pulumi.flexibleengine.inputs.DdsInstanceV3DatastoreArgs;
import com.pulumi.flexibleengine.inputs.DdsInstanceV3FlavorArgs;
import com.pulumi.flexibleengine.inputs.DdsInstanceV3BackupStrategyArgs;
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 exampleVpc = new VpcV1("exampleVpc", VpcV1Args.builder()
.cidr("192.168.0.0/16")
.build());
var exampleSubnet = new VpcSubnetV1("exampleSubnet", VpcSubnetV1Args.builder()
.cidr("192.168.0.0/24")
.gatewayIp("192.168.0.1")
.vpcId(exampleVpc.vpcV1Id())
.build());
var exampleSecgroup = new NetworkingSecgroupV2("exampleSecgroup", NetworkingSecgroupV2Args.builder()
.description("My neutron security group")
.build());
var instance = new DdsInstanceV3("instance", DdsInstanceV3Args.builder()
.region("eu-west-0")
.availabilityZone("eu-west-0a")
.vpcId(exampleVpc.vpcV1Id())
.subnetId(exampleSubnet.vpcSubnetV1Id())
.securityGroupId(exampleSecgroup.networkingSecgroupV2Id())
.password("Test@123")
.mode("Sharding")
.datastore(DdsInstanceV3DatastoreArgs.builder()
.type("DDS-Community")
.version("3.4")
.storageEngine("wiredTiger")
.build())
.flavors(
DdsInstanceV3FlavorArgs.builder()
.type("mongos")
.num(2)
.specCode("dds.mongodb.s3.medium.4.mongos")
.build(),
DdsInstanceV3FlavorArgs.builder()
.type("shard")
.num(2)
.storage("ULTRAHIGH")
.size(20)
.specCode("dds.mongodb.s3.medium.4.shard")
.build(),
DdsInstanceV3FlavorArgs.builder()
.type("config")
.num(1)
.storage("ULTRAHIGH")
.size(20)
.specCode("dds.mongodb.s3.large.2.config")
.build())
.backupStrategy(DdsInstanceV3BackupStrategyArgs.builder()
.startTime("08:00-09:00")
.keepDays("8")
.build())
.build());
}
}
resources:
exampleVpc:
type: flexibleengine:VpcV1
properties:
cidr: 192.168.0.0/16
exampleSubnet:
type: flexibleengine:VpcSubnetV1
properties:
cidr: 192.168.0.0/24
gatewayIp: 192.168.0.1
vpcId: ${exampleVpc.vpcV1Id}
exampleSecgroup:
type: flexibleengine:NetworkingSecgroupV2
properties:
description: My neutron security group
instance:
type: flexibleengine:DdsInstanceV3
properties:
region: eu-west-0
availabilityZone: eu-west-0a
vpcId: ${exampleVpc.vpcV1Id}
subnetId: ${exampleSubnet.vpcSubnetV1Id}
securityGroupId: ${exampleSecgroup.networkingSecgroupV2Id}
password: Test@123
mode: Sharding
datastore:
type: DDS-Community
version: '3.4'
storageEngine: wiredTiger
flavors:
- type: mongos
num: 2
specCode: dds.mongodb.s3.medium.4.mongos
- type: shard
num: 2
storage: ULTRAHIGH
size: 20
specCode: dds.mongodb.s3.medium.4.shard
- type: config
num: 1
storage: ULTRAHIGH
size: 20
specCode: dds.mongodb.s3.large.2.config
backupStrategy:
startTime: 08:00-09:00
keepDays: '8'
Creating A Replica Set
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const instance = new flexibleengine.DdsInstanceV3("instance", {
region: "eu-west-0",
availabilityZone: "eu-west-0a",
vpcId: flexibleengine_vpc_v1.example_vpc.id,
subnetId: flexibleengine_vpc_subnet_v1.example_subnet.id,
securityGroupId: flexibleengine_networking_secgroup_v2.example_secgroup.id,
password: "Test@123",
mode: "ReplicaSet",
datastore: {
type: "DDS-Community",
version: "3.4",
storageEngine: "wiredTiger",
},
flavors: [{
type: "replica",
num: 1,
storage: "ULTRAHIGH",
size: 30,
specCode: "dds.mongodb.s3.medium.4.repset",
}],
backupStrategy: {
startTime: "08:00-09:00",
keepDays: 8,
},
});
import pulumi
import pulumi_flexibleengine as flexibleengine
instance = flexibleengine.DdsInstanceV3("instance",
region="eu-west-0",
availability_zone="eu-west-0a",
vpc_id=flexibleengine_vpc_v1["example_vpc"]["id"],
subnet_id=flexibleengine_vpc_subnet_v1["example_subnet"]["id"],
security_group_id=flexibleengine_networking_secgroup_v2["example_secgroup"]["id"],
password="Test@123",
mode="ReplicaSet",
datastore={
"type": "DDS-Community",
"version": "3.4",
"storage_engine": "wiredTiger",
},
flavors=[{
"type": "replica",
"num": 1,
"storage": "ULTRAHIGH",
"size": 30,
"spec_code": "dds.mongodb.s3.medium.4.repset",
}],
backup_strategy={
"start_time": "08:00-09:00",
"keep_days": 8,
})
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.NewDdsInstanceV3(ctx, "instance", &flexibleengine.DdsInstanceV3Args{
Region: pulumi.String("eu-west-0"),
AvailabilityZone: pulumi.String("eu-west-0a"),
VpcId: pulumi.Any(flexibleengine_vpc_v1.Example_vpc.Id),
SubnetId: pulumi.Any(flexibleengine_vpc_subnet_v1.Example_subnet.Id),
SecurityGroupId: pulumi.Any(flexibleengine_networking_secgroup_v2.Example_secgroup.Id),
Password: pulumi.String("Test@123"),
Mode: pulumi.String("ReplicaSet"),
Datastore: &flexibleengine.DdsInstanceV3DatastoreArgs{
Type: pulumi.String("DDS-Community"),
Version: pulumi.String("3.4"),
StorageEngine: pulumi.String("wiredTiger"),
},
Flavors: flexibleengine.DdsInstanceV3FlavorArray{
&flexibleengine.DdsInstanceV3FlavorArgs{
Type: pulumi.String("replica"),
Num: pulumi.Float64(1),
Storage: pulumi.String("ULTRAHIGH"),
Size: pulumi.Float64(30),
SpecCode: pulumi.String("dds.mongodb.s3.medium.4.repset"),
},
},
BackupStrategy: &flexibleengine.DdsInstanceV3BackupStrategyArgs{
StartTime: pulumi.String("08:00-09:00"),
KeepDays: pulumi.Float64(8),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var instance = new Flexibleengine.DdsInstanceV3("instance", new()
{
Region = "eu-west-0",
AvailabilityZone = "eu-west-0a",
VpcId = flexibleengine_vpc_v1.Example_vpc.Id,
SubnetId = flexibleengine_vpc_subnet_v1.Example_subnet.Id,
SecurityGroupId = flexibleengine_networking_secgroup_v2.Example_secgroup.Id,
Password = "Test@123",
Mode = "ReplicaSet",
Datastore = new Flexibleengine.Inputs.DdsInstanceV3DatastoreArgs
{
Type = "DDS-Community",
Version = "3.4",
StorageEngine = "wiredTiger",
},
Flavors = new[]
{
new Flexibleengine.Inputs.DdsInstanceV3FlavorArgs
{
Type = "replica",
Num = 1,
Storage = "ULTRAHIGH",
Size = 30,
SpecCode = "dds.mongodb.s3.medium.4.repset",
},
},
BackupStrategy = new Flexibleengine.Inputs.DdsInstanceV3BackupStrategyArgs
{
StartTime = "08:00-09:00",
KeepDays = 8,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.DdsInstanceV3;
import com.pulumi.flexibleengine.DdsInstanceV3Args;
import com.pulumi.flexibleengine.inputs.DdsInstanceV3DatastoreArgs;
import com.pulumi.flexibleengine.inputs.DdsInstanceV3FlavorArgs;
import com.pulumi.flexibleengine.inputs.DdsInstanceV3BackupStrategyArgs;
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 instance = new DdsInstanceV3("instance", DdsInstanceV3Args.builder()
.region("eu-west-0")
.availabilityZone("eu-west-0a")
.vpcId(flexibleengine_vpc_v1.example_vpc().id())
.subnetId(flexibleengine_vpc_subnet_v1.example_subnet().id())
.securityGroupId(flexibleengine_networking_secgroup_v2.example_secgroup().id())
.password("Test@123")
.mode("ReplicaSet")
.datastore(DdsInstanceV3DatastoreArgs.builder()
.type("DDS-Community")
.version("3.4")
.storageEngine("wiredTiger")
.build())
.flavors(DdsInstanceV3FlavorArgs.builder()
.type("replica")
.num(1)
.storage("ULTRAHIGH")
.size(30)
.specCode("dds.mongodb.s3.medium.4.repset")
.build())
.backupStrategy(DdsInstanceV3BackupStrategyArgs.builder()
.startTime("08:00-09:00")
.keepDays("8")
.build())
.build());
}
}
resources:
instance:
type: flexibleengine:DdsInstanceV3
properties:
region: eu-west-0
availabilityZone: eu-west-0a
vpcId: ${flexibleengine_vpc_v1.example_vpc.id}
subnetId: ${flexibleengine_vpc_subnet_v1.example_subnet.id}
securityGroupId: ${flexibleengine_networking_secgroup_v2.example_secgroup.id}
password: Test@123
mode: ReplicaSet
datastore:
type: DDS-Community
version: '3.4'
storageEngine: wiredTiger
flavors:
- type: replica
num: 1
storage: ULTRAHIGH
size: 30
specCode: dds.mongodb.s3.medium.4.repset
backupStrategy:
startTime: 08:00-09:00
keepDays: '8'
Create DdsInstanceV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DdsInstanceV3(name: string, args: DdsInstanceV3Args, opts?: CustomResourceOptions);
@overload
def DdsInstanceV3(resource_name: str,
args: DdsInstanceV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def DdsInstanceV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
subnet_id: Optional[str] = None,
password: Optional[str] = None,
datastore: Optional[DdsInstanceV3DatastoreArgs] = None,
vpc_id: Optional[str] = None,
mode: Optional[str] = None,
flavors: Optional[Sequence[DdsInstanceV3FlavorArgs]] = None,
availability_zone: Optional[str] = None,
security_group_id: Optional[str] = None,
disk_encryption_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
ssl: Optional[bool] = None,
backup_strategy: Optional[DdsInstanceV3BackupStrategyArgs] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[DdsInstanceV3TimeoutsArgs] = None,
dds_instance_v3_id: Optional[str] = None)
func NewDdsInstanceV3(ctx *Context, name string, args DdsInstanceV3Args, opts ...ResourceOption) (*DdsInstanceV3, error)
public DdsInstanceV3(string name, DdsInstanceV3Args args, CustomResourceOptions? opts = null)
public DdsInstanceV3(String name, DdsInstanceV3Args args)
public DdsInstanceV3(String name, DdsInstanceV3Args args, CustomResourceOptions options)
type: flexibleengine:DdsInstanceV3
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 DdsInstanceV3Args
- 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 DdsInstanceV3Args
- 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 DdsInstanceV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DdsInstanceV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DdsInstanceV3Args
- 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 ddsInstanceV3Resource = new Flexibleengine.DdsInstanceV3("ddsInstanceV3Resource", new()
{
SubnetId = "string",
Password = "string",
Datastore = new Flexibleengine.Inputs.DdsInstanceV3DatastoreArgs
{
Type = "string",
Version = "string",
StorageEngine = "string",
},
VpcId = "string",
Mode = "string",
Flavors = new[]
{
new Flexibleengine.Inputs.DdsInstanceV3FlavorArgs
{
Num = 0,
SpecCode = "string",
Type = "string",
Size = 0,
Storage = "string",
},
},
AvailabilityZone = "string",
SecurityGroupId = "string",
DiskEncryptionId = "string",
Name = "string",
Region = "string",
Ssl = false,
BackupStrategy = new Flexibleengine.Inputs.DdsInstanceV3BackupStrategyArgs
{
KeepDays = 0,
StartTime = "string",
},
Tags =
{
{ "string", "string" },
},
Timeouts = new Flexibleengine.Inputs.DdsInstanceV3TimeoutsArgs
{
Create = "string",
Delete = "string",
},
DdsInstanceV3Id = "string",
});
example, err := flexibleengine.NewDdsInstanceV3(ctx, "ddsInstanceV3Resource", &flexibleengine.DdsInstanceV3Args{
SubnetId: pulumi.String("string"),
Password: pulumi.String("string"),
Datastore: &flexibleengine.DdsInstanceV3DatastoreArgs{
Type: pulumi.String("string"),
Version: pulumi.String("string"),
StorageEngine: pulumi.String("string"),
},
VpcId: pulumi.String("string"),
Mode: pulumi.String("string"),
Flavors: flexibleengine.DdsInstanceV3FlavorArray{
&flexibleengine.DdsInstanceV3FlavorArgs{
Num: pulumi.Float64(0),
SpecCode: pulumi.String("string"),
Type: pulumi.String("string"),
Size: pulumi.Float64(0),
Storage: pulumi.String("string"),
},
},
AvailabilityZone: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
DiskEncryptionId: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
Ssl: pulumi.Bool(false),
BackupStrategy: &flexibleengine.DdsInstanceV3BackupStrategyArgs{
KeepDays: pulumi.Float64(0),
StartTime: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &flexibleengine.DdsInstanceV3TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
DdsInstanceV3Id: pulumi.String("string"),
})
var ddsInstanceV3Resource = new DdsInstanceV3("ddsInstanceV3Resource", DdsInstanceV3Args.builder()
.subnetId("string")
.password("string")
.datastore(DdsInstanceV3DatastoreArgs.builder()
.type("string")
.version("string")
.storageEngine("string")
.build())
.vpcId("string")
.mode("string")
.flavors(DdsInstanceV3FlavorArgs.builder()
.num(0)
.specCode("string")
.type("string")
.size(0)
.storage("string")
.build())
.availabilityZone("string")
.securityGroupId("string")
.diskEncryptionId("string")
.name("string")
.region("string")
.ssl(false)
.backupStrategy(DdsInstanceV3BackupStrategyArgs.builder()
.keepDays(0)
.startTime("string")
.build())
.tags(Map.of("string", "string"))
.timeouts(DdsInstanceV3TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.ddsInstanceV3Id("string")
.build());
dds_instance_v3_resource = flexibleengine.DdsInstanceV3("ddsInstanceV3Resource",
subnet_id="string",
password="string",
datastore={
"type": "string",
"version": "string",
"storage_engine": "string",
},
vpc_id="string",
mode="string",
flavors=[{
"num": 0,
"spec_code": "string",
"type": "string",
"size": 0,
"storage": "string",
}],
availability_zone="string",
security_group_id="string",
disk_encryption_id="string",
name="string",
region="string",
ssl=False,
backup_strategy={
"keep_days": 0,
"start_time": "string",
},
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
},
dds_instance_v3_id="string")
const ddsInstanceV3Resource = new flexibleengine.DdsInstanceV3("ddsInstanceV3Resource", {
subnetId: "string",
password: "string",
datastore: {
type: "string",
version: "string",
storageEngine: "string",
},
vpcId: "string",
mode: "string",
flavors: [{
num: 0,
specCode: "string",
type: "string",
size: 0,
storage: "string",
}],
availabilityZone: "string",
securityGroupId: "string",
diskEncryptionId: "string",
name: "string",
region: "string",
ssl: false,
backupStrategy: {
keepDays: 0,
startTime: "string",
},
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
},
ddsInstanceV3Id: "string",
});
type: flexibleengine:DdsInstanceV3
properties:
availabilityZone: string
backupStrategy:
keepDays: 0
startTime: string
datastore:
storageEngine: string
type: string
version: string
ddsInstanceV3Id: string
diskEncryptionId: string
flavors:
- num: 0
size: 0
specCode: string
storage: string
type: string
mode: string
name: string
password: string
region: string
securityGroupId: string
ssl: false
subnetId: string
tags:
string: string
timeouts:
create: string
delete: string
vpcId: string
DdsInstanceV3 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 DdsInstanceV3 resource accepts the following input properties:
- Availability
Zone string - Specifies the ID of the availability zone. Changing this creates a new instance.
- Datastore
Dds
Instance V3Datastore - Specifies database information. The datastore object structure is documented below. Changing this creates a new instance.
- Flavors
List<Dds
Instance V3Flavor> - Specifies the flavors information. The flavor object structure is documented below. Changing this creates a new instance.
- Mode string
- Specifies the mode of the database instance.Changing this creates a new instance.
- Password string
- Specifies the Administrator password of the database instance. Changing this creates a new instance.
- Security
Group stringId - Specifies the security group ID of the DDS instance. Changing this creates a new instance.
- Subnet
Id string - Specifies the ID of the VPC Subnet. Changing this creates a new instance.
- Vpc
Id string - Specifies the VPC ID. Changing this creates a new instance.
- Backup
Strategy DdsInstance V3Backup Strategy - Specifies the advanced backup policy. The backup_strategy object structure is documented below. Changing this creates a new instance.
- Dds
Instance stringV3Id - Indicates the node ID.
- Disk
Encryption stringId - Specifies the disk encryption ID of the instance. Changing this creates a new instance.
- Name string
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- Region string
- Specifies the region of the DDS instance. Changing this creates a new instance.
- Ssl bool
- Specifies whether to enable or disable SSL. Defaults to true. Changing this creates a new instance.
- Dictionary<string, string>
The key/value pairs to associate with the DDS instance.
The
datastore
block supports:- Timeouts
Dds
Instance V3Timeouts
- Availability
Zone string - Specifies the ID of the availability zone. Changing this creates a new instance.
- Datastore
Dds
Instance V3Datastore Args - Specifies database information. The datastore object structure is documented below. Changing this creates a new instance.
- Flavors
[]Dds
Instance V3Flavor Args - Specifies the flavors information. The flavor object structure is documented below. Changing this creates a new instance.
- Mode string
- Specifies the mode of the database instance.Changing this creates a new instance.
- Password string
- Specifies the Administrator password of the database instance. Changing this creates a new instance.
- Security
Group stringId - Specifies the security group ID of the DDS instance. Changing this creates a new instance.
- Subnet
Id string - Specifies the ID of the VPC Subnet. Changing this creates a new instance.
- Vpc
Id string - Specifies the VPC ID. Changing this creates a new instance.
- Backup
Strategy DdsInstance V3Backup Strategy Args - Specifies the advanced backup policy. The backup_strategy object structure is documented below. Changing this creates a new instance.
- Dds
Instance stringV3Id - Indicates the node ID.
- Disk
Encryption stringId - Specifies the disk encryption ID of the instance. Changing this creates a new instance.
- Name string
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- Region string
- Specifies the region of the DDS instance. Changing this creates a new instance.
- Ssl bool
- Specifies whether to enable or disable SSL. Defaults to true. Changing this creates a new instance.
- map[string]string
The key/value pairs to associate with the DDS instance.
The
datastore
block supports:- Timeouts
Dds
Instance V3Timeouts Args
- availability
Zone String - Specifies the ID of the availability zone. Changing this creates a new instance.
- datastore
Dds
Instance V3Datastore - Specifies database information. The datastore object structure is documented below. Changing this creates a new instance.
- flavors
List<Dds
Instance V3Flavor> - Specifies the flavors information. The flavor object structure is documented below. Changing this creates a new instance.
- mode String
- Specifies the mode of the database instance.Changing this creates a new instance.
- password String
- Specifies the Administrator password of the database instance. Changing this creates a new instance.
- security
Group StringId - Specifies the security group ID of the DDS instance. Changing this creates a new instance.
- subnet
Id String - Specifies the ID of the VPC Subnet. Changing this creates a new instance.
- vpc
Id String - Specifies the VPC ID. Changing this creates a new instance.
- backup
Strategy DdsInstance V3Backup Strategy - Specifies the advanced backup policy. The backup_strategy object structure is documented below. Changing this creates a new instance.
- dds
Instance StringV3Id - Indicates the node ID.
- disk
Encryption StringId - Specifies the disk encryption ID of the instance. Changing this creates a new instance.
- name String
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- region String
- Specifies the region of the DDS instance. Changing this creates a new instance.
- ssl Boolean
- Specifies whether to enable or disable SSL. Defaults to true. Changing this creates a new instance.
- Map<String,String>
The key/value pairs to associate with the DDS instance.
The
datastore
block supports:- timeouts
Dds
Instance V3Timeouts
- availability
Zone string - Specifies the ID of the availability zone. Changing this creates a new instance.
- datastore
Dds
Instance V3Datastore - Specifies database information. The datastore object structure is documented below. Changing this creates a new instance.
- flavors
Dds
Instance V3Flavor[] - Specifies the flavors information. The flavor object structure is documented below. Changing this creates a new instance.
- mode string
- Specifies the mode of the database instance.Changing this creates a new instance.
- password string
- Specifies the Administrator password of the database instance. Changing this creates a new instance.
- security
Group stringId - Specifies the security group ID of the DDS instance. Changing this creates a new instance.
- subnet
Id string - Specifies the ID of the VPC Subnet. Changing this creates a new instance.
- vpc
Id string - Specifies the VPC ID. Changing this creates a new instance.
- backup
Strategy DdsInstance V3Backup Strategy - Specifies the advanced backup policy. The backup_strategy object structure is documented below. Changing this creates a new instance.
- dds
Instance stringV3Id - Indicates the node ID.
- disk
Encryption stringId - Specifies the disk encryption ID of the instance. Changing this creates a new instance.
- name string
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- region string
- Specifies the region of the DDS instance. Changing this creates a new instance.
- ssl boolean
- Specifies whether to enable or disable SSL. Defaults to true. Changing this creates a new instance.
- {[key: string]: string}
The key/value pairs to associate with the DDS instance.
The
datastore
block supports:- timeouts
Dds
Instance V3Timeouts
- availability_
zone str - Specifies the ID of the availability zone. Changing this creates a new instance.
- datastore
Dds
Instance V3Datastore Args - Specifies database information. The datastore object structure is documented below. Changing this creates a new instance.
- flavors
Sequence[Dds
Instance V3Flavor Args] - Specifies the flavors information. The flavor object structure is documented below. Changing this creates a new instance.
- mode str
- Specifies the mode of the database instance.Changing this creates a new instance.
- password str
- Specifies the Administrator password of the database instance. Changing this creates a new instance.
- security_
group_ strid - Specifies the security group ID of the DDS instance. Changing this creates a new instance.
- subnet_
id str - Specifies the ID of the VPC Subnet. Changing this creates a new instance.
- vpc_
id str - Specifies the VPC ID. Changing this creates a new instance.
- backup_
strategy DdsInstance V3Backup Strategy Args - Specifies the advanced backup policy. The backup_strategy object structure is documented below. Changing this creates a new instance.
- dds_
instance_ strv3_ id - Indicates the node ID.
- disk_
encryption_ strid - Specifies the disk encryption ID of the instance. Changing this creates a new instance.
- name str
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- region str
- Specifies the region of the DDS instance. Changing this creates a new instance.
- ssl bool
- Specifies whether to enable or disable SSL. Defaults to true. Changing this creates a new instance.
- Mapping[str, str]
The key/value pairs to associate with the DDS instance.
The
datastore
block supports:- timeouts
Dds
Instance V3Timeouts Args
- availability
Zone String - Specifies the ID of the availability zone. Changing this creates a new instance.
- datastore Property Map
- Specifies database information. The datastore object structure is documented below. Changing this creates a new instance.
- flavors List<Property Map>
- Specifies the flavors information. The flavor object structure is documented below. Changing this creates a new instance.
- mode String
- Specifies the mode of the database instance.Changing this creates a new instance.
- password String
- Specifies the Administrator password of the database instance. Changing this creates a new instance.
- security
Group StringId - Specifies the security group ID of the DDS instance. Changing this creates a new instance.
- subnet
Id String - Specifies the ID of the VPC Subnet. Changing this creates a new instance.
- vpc
Id String - Specifies the VPC ID. Changing this creates a new instance.
- backup
Strategy Property Map - Specifies the advanced backup policy. The backup_strategy object structure is documented below. Changing this creates a new instance.
- dds
Instance StringV3Id - Indicates the node ID.
- disk
Encryption StringId - Specifies the disk encryption ID of the instance. Changing this creates a new instance.
- name String
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- region String
- Specifies the region of the DDS instance. Changing this creates a new instance.
- ssl Boolean
- Specifies whether to enable or disable SSL. Defaults to true. Changing this creates a new instance.
- Map<String>
The key/value pairs to associate with the DDS instance.
The
datastore
block supports:- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the DdsInstanceV3 resource produces the following output properties:
- Db
Username string - Indicates the DB Administator name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Nodes
List<Dds
Instance V3Node> - Indicates the instance nodes information.The nodes object structure is documented below.
- Port double
- Indicates the database port number. The port range is 2100 to 9500.
- Status string
- Indicates the node status.
- Db
Username string - Indicates the DB Administator name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Nodes
[]Dds
Instance V3Node - Indicates the instance nodes information.The nodes object structure is documented below.
- Port float64
- Indicates the database port number. The port range is 2100 to 9500.
- Status string
- Indicates the node status.
- db
Username String - Indicates the DB Administator name.
- id String
- The provider-assigned unique ID for this managed resource.
- nodes
List<Dds
Instance V3Node> - Indicates the instance nodes information.The nodes object structure is documented below.
- port Double
- Indicates the database port number. The port range is 2100 to 9500.
- status String
- Indicates the node status.
- db
Username string - Indicates the DB Administator name.
- id string
- The provider-assigned unique ID for this managed resource.
- nodes
Dds
Instance V3Node[] - Indicates the instance nodes information.The nodes object structure is documented below.
- port number
- Indicates the database port number. The port range is 2100 to 9500.
- status string
- Indicates the node status.
- db_
username str - Indicates the DB Administator name.
- id str
- The provider-assigned unique ID for this managed resource.
- nodes
Sequence[Dds
Instance V3Node] - Indicates the instance nodes information.The nodes object structure is documented below.
- port float
- Indicates the database port number. The port range is 2100 to 9500.
- status str
- Indicates the node status.
- db
Username String - Indicates the DB Administator name.
- id String
- The provider-assigned unique ID for this managed resource.
- nodes List<Property Map>
- Indicates the instance nodes information.The nodes object structure is documented below.
- port Number
- Indicates the database port number. The port range is 2100 to 9500.
- status String
- Indicates the node status.
Look up Existing DdsInstanceV3 Resource
Get an existing DdsInstanceV3 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?: DdsInstanceV3State, opts?: CustomResourceOptions): DdsInstanceV3
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability_zone: Optional[str] = None,
backup_strategy: Optional[DdsInstanceV3BackupStrategyArgs] = None,
datastore: Optional[DdsInstanceV3DatastoreArgs] = None,
db_username: Optional[str] = None,
dds_instance_v3_id: Optional[str] = None,
disk_encryption_id: Optional[str] = None,
flavors: Optional[Sequence[DdsInstanceV3FlavorArgs]] = None,
mode: Optional[str] = None,
name: Optional[str] = None,
nodes: Optional[Sequence[DdsInstanceV3NodeArgs]] = None,
password: Optional[str] = None,
port: Optional[float] = 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[DdsInstanceV3TimeoutsArgs] = None,
vpc_id: Optional[str] = None) -> DdsInstanceV3
func GetDdsInstanceV3(ctx *Context, name string, id IDInput, state *DdsInstanceV3State, opts ...ResourceOption) (*DdsInstanceV3, error)
public static DdsInstanceV3 Get(string name, Input<string> id, DdsInstanceV3State? state, CustomResourceOptions? opts = null)
public static DdsInstanceV3 get(String name, Output<String> id, DdsInstanceV3State state, CustomResourceOptions options)
resources: _: type: flexibleengine:DdsInstanceV3 get: id: ${id}
- 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.
- Availability
Zone string - Specifies the ID of the availability zone. Changing this creates a new instance.
- Backup
Strategy DdsInstance V3Backup Strategy - Specifies the advanced backup policy. The backup_strategy object structure is documented below. Changing this creates a new instance.
- Datastore
Dds
Instance V3Datastore - Specifies database information. The datastore object structure is documented below. Changing this creates a new instance.
- Db
Username string - Indicates the DB Administator name.
- Dds
Instance stringV3Id - Indicates the node ID.
- Disk
Encryption stringId - Specifies the disk encryption ID of the instance. Changing this creates a new instance.
- Flavors
List<Dds
Instance V3Flavor> - Specifies the flavors information. The flavor object structure is documented below. Changing this creates a new instance.
- Mode string
- Specifies the mode of the database instance.Changing this creates a new instance.
- Name string
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- Nodes
List<Dds
Instance V3Node> - Indicates the instance nodes information.The nodes object structure is documented below.
- Password string
- Specifies the Administrator password of the database instance. Changing this creates a new instance.
- Port double
- Indicates the database port number. The port range is 2100 to 9500.
- Region string
- Specifies the region of the DDS instance. Changing this creates a new instance.
- Security
Group stringId - Specifies the security group ID of the DDS instance. Changing this creates a new instance.
- Ssl bool
- Specifies whether to enable or disable SSL. Defaults to true. Changing this creates a new instance.
- Status string
- Indicates the node status.
- Subnet
Id string - Specifies the ID of the VPC Subnet. Changing this creates a new instance.
- Dictionary<string, string>
The key/value pairs to associate with the DDS instance.
The
datastore
block supports:- Timeouts
Dds
Instance V3Timeouts - Vpc
Id string - Specifies the VPC ID. Changing this creates a new instance.
- Availability
Zone string - Specifies the ID of the availability zone. Changing this creates a new instance.
- Backup
Strategy DdsInstance V3Backup Strategy Args - Specifies the advanced backup policy. The backup_strategy object structure is documented below. Changing this creates a new instance.
- Datastore
Dds
Instance V3Datastore Args - Specifies database information. The datastore object structure is documented below. Changing this creates a new instance.
- Db
Username string - Indicates the DB Administator name.
- Dds
Instance stringV3Id - Indicates the node ID.
- Disk
Encryption stringId - Specifies the disk encryption ID of the instance. Changing this creates a new instance.
- Flavors
[]Dds
Instance V3Flavor Args - Specifies the flavors information. The flavor object structure is documented below. Changing this creates a new instance.
- Mode string
- Specifies the mode of the database instance.Changing this creates a new instance.
- Name string
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- Nodes
[]Dds
Instance V3Node Args - Indicates the instance nodes information.The nodes object structure is documented below.
- Password string
- Specifies the Administrator password of the database instance. Changing this creates a new instance.
- Port float64
- Indicates the database port number. The port range is 2100 to 9500.
- Region string
- Specifies the region of the DDS instance. Changing this creates a new instance.
- Security
Group stringId - Specifies the security group ID of the DDS instance. Changing this creates a new instance.
- Ssl bool
- Specifies whether to enable or disable SSL. Defaults to true. Changing this creates a new instance.
- Status string
- Indicates the node status.
- Subnet
Id string - Specifies the ID of the VPC Subnet. Changing this creates a new instance.
- map[string]string
The key/value pairs to associate with the DDS instance.
The
datastore
block supports:- Timeouts
Dds
Instance V3Timeouts Args - Vpc
Id string - Specifies the VPC ID. Changing this creates a new instance.
- availability
Zone String - Specifies the ID of the availability zone. Changing this creates a new instance.
- backup
Strategy DdsInstance V3Backup Strategy - Specifies the advanced backup policy. The backup_strategy object structure is documented below. Changing this creates a new instance.
- datastore
Dds
Instance V3Datastore - Specifies database information. The datastore object structure is documented below. Changing this creates a new instance.
- db
Username String - Indicates the DB Administator name.
- dds
Instance StringV3Id - Indicates the node ID.
- disk
Encryption StringId - Specifies the disk encryption ID of the instance. Changing this creates a new instance.
- flavors
List<Dds
Instance V3Flavor> - Specifies the flavors information. The flavor object structure is documented below. Changing this creates a new instance.
- mode String
- Specifies the mode of the database instance.Changing this creates a new instance.
- name String
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- nodes
List<Dds
Instance V3Node> - Indicates the instance nodes information.The nodes object structure is documented below.
- password String
- Specifies the Administrator password of the database instance. Changing this creates a new instance.
- port Double
- Indicates the database port number. The port range is 2100 to 9500.
- region String
- Specifies the region of the DDS instance. Changing this creates a new instance.
- security
Group StringId - Specifies the security group ID of the DDS instance. Changing this creates a new instance.
- ssl Boolean
- Specifies whether to enable or disable SSL. Defaults to true. Changing this creates a new instance.
- status String
- Indicates the node status.
- subnet
Id String - Specifies the ID of the VPC Subnet. Changing this creates a new instance.
- Map<String,String>
The key/value pairs to associate with the DDS instance.
The
datastore
block supports:- timeouts
Dds
Instance V3Timeouts - vpc
Id String - Specifies the VPC ID. Changing this creates a new instance.
- availability
Zone string - Specifies the ID of the availability zone. Changing this creates a new instance.
- backup
Strategy DdsInstance V3Backup Strategy - Specifies the advanced backup policy. The backup_strategy object structure is documented below. Changing this creates a new instance.
- datastore
Dds
Instance V3Datastore - Specifies database information. The datastore object structure is documented below. Changing this creates a new instance.
- db
Username string - Indicates the DB Administator name.
- dds
Instance stringV3Id - Indicates the node ID.
- disk
Encryption stringId - Specifies the disk encryption ID of the instance. Changing this creates a new instance.
- flavors
Dds
Instance V3Flavor[] - Specifies the flavors information. The flavor object structure is documented below. Changing this creates a new instance.
- mode string
- Specifies the mode of the database instance.Changing this creates a new instance.
- name string
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- nodes
Dds
Instance V3Node[] - Indicates the instance nodes information.The nodes object structure is documented below.
- password string
- Specifies the Administrator password of the database instance. Changing this creates a new instance.
- port number
- Indicates the database port number. The port range is 2100 to 9500.
- region string
- Specifies the region of the DDS instance. Changing this creates a new instance.
- security
Group stringId - Specifies the security group ID of the DDS instance. Changing this creates a new instance.
- ssl boolean
- Specifies whether to enable or disable SSL. Defaults to true. Changing this creates a new instance.
- status string
- Indicates the node status.
- subnet
Id string - Specifies the ID of the VPC Subnet. Changing this creates a new instance.
- {[key: string]: string}
The key/value pairs to associate with the DDS instance.
The
datastore
block supports:- timeouts
Dds
Instance V3Timeouts - vpc
Id string - Specifies the VPC ID. Changing this creates a new instance.
- availability_
zone str - Specifies the ID of the availability zone. Changing this creates a new instance.
- backup_
strategy DdsInstance V3Backup Strategy Args - Specifies the advanced backup policy. The backup_strategy object structure is documented below. Changing this creates a new instance.
- datastore
Dds
Instance V3Datastore Args - Specifies database information. The datastore object structure is documented below. Changing this creates a new instance.
- db_
username str - Indicates the DB Administator name.
- dds_
instance_ strv3_ id - Indicates the node ID.
- disk_
encryption_ strid - Specifies the disk encryption ID of the instance. Changing this creates a new instance.
- flavors
Sequence[Dds
Instance V3Flavor Args] - Specifies the flavors information. The flavor object structure is documented below. Changing this creates a new instance.
- mode str
- Specifies the mode of the database instance.Changing this creates a new instance.
- name str
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- nodes
Sequence[Dds
Instance V3Node Args] - Indicates the instance nodes information.The nodes object structure is documented below.
- password str
- Specifies the Administrator password of the database instance. Changing this creates a new instance.
- port float
- Indicates the database port number. The port range is 2100 to 9500.
- region str
- Specifies the region of the DDS instance. Changing this creates a new instance.
- security_
group_ strid - Specifies the security group ID of the DDS instance. Changing this creates a new instance.
- ssl bool
- Specifies whether to enable or disable SSL. Defaults to true. Changing this creates a new instance.
- status str
- Indicates the node status.
- subnet_
id str - Specifies the ID of the VPC Subnet. Changing this creates a new instance.
- Mapping[str, str]
The key/value pairs to associate with the DDS instance.
The
datastore
block supports:- timeouts
Dds
Instance V3Timeouts Args - vpc_
id str - Specifies the VPC ID. Changing this creates a new instance.
- availability
Zone String - Specifies the ID of the availability zone. Changing this creates a new instance.
- backup
Strategy Property Map - Specifies the advanced backup policy. The backup_strategy object structure is documented below. Changing this creates a new instance.
- datastore Property Map
- Specifies database information. The datastore object structure is documented below. Changing this creates a new instance.
- db
Username String - Indicates the DB Administator name.
- dds
Instance StringV3Id - Indicates the node ID.
- disk
Encryption StringId - Specifies the disk encryption ID of the instance. Changing this creates a new instance.
- flavors List<Property Map>
- Specifies the flavors information. The flavor object structure is documented below. Changing this creates a new instance.
- mode String
- Specifies the mode of the database instance.Changing this creates a new instance.
- name String
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- nodes List<Property Map>
- Indicates the instance nodes information.The nodes object structure is documented below.
- password String
- Specifies the Administrator password of the database instance. Changing this creates a new instance.
- port Number
- Indicates the database port number. The port range is 2100 to 9500.
- region String
- Specifies the region of the DDS instance. Changing this creates a new instance.
- security
Group StringId - Specifies the security group ID of the DDS instance. Changing this creates a new instance.
- ssl Boolean
- Specifies whether to enable or disable SSL. Defaults to true. Changing this creates a new instance.
- status String
- Indicates the node status.
- subnet
Id String - Specifies the ID of the VPC Subnet. Changing this creates a new instance.
- Map<String>
The key/value pairs to associate with the DDS instance.
The
datastore
block supports:- timeouts Property Map
- vpc
Id String - Specifies the VPC ID. Changing this creates a new instance.
Supporting Types
DdsInstanceV3BackupStrategy, DdsInstanceV3BackupStrategyArgs
- Keep
Days double - Specifies the number of days to retain the generated backup files.
The value range is from 0 to 732.
- 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 string - Specifies the backup time window. Automated backups will be triggered
during the backup time window. The value cannot be empty. 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 from mm and MM must be the same and must be set to any of the following 00, 15, 30, or 45.
- Keep
Days float64 - Specifies the number of days to retain the generated backup files.
The value range is from 0 to 732.
- 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 string - Specifies the backup time window. Automated backups will be triggered
during the backup time window. The value cannot be empty. 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 from mm and MM must be the same and must be set to any of the following 00, 15, 30, or 45.
- keep
Days Double - Specifies the number of days to retain the generated backup files.
The value range is from 0 to 732.
- 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 String - Specifies the backup time window. Automated backups will be triggered
during the backup time window. The value cannot be empty. 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 from mm and MM must be the same and must be set to any of the following 00, 15, 30, or 45.
- keep
Days number - Specifies the number of days to retain the generated backup files.
The value range is from 0 to 732.
- 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 string - Specifies the backup time window. Automated backups will be triggered
during the backup time window. The value cannot be empty. 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 from mm and MM must be the same and must be set to any of the following 00, 15, 30, or 45.
- keep_
days float - Specifies the number of days to retain the generated backup files.
The value range is from 0 to 732.
- 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 str - Specifies the backup time window. Automated backups will be triggered
during the backup time window. The value cannot be empty. 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 from mm and MM must be the same and must be set to any of the following 00, 15, 30, or 45.
- keep
Days Number - Specifies the number of days to retain the generated backup files.
The value range is from 0 to 732.
- 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 String - Specifies the backup time window. Automated backups will be triggered
during the backup time window. The value cannot be empty. 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 from mm and MM must be the same and must be set to any of the following 00, 15, 30, or 45.
DdsInstanceV3Datastore, DdsInstanceV3DatastoreArgs
- Type string
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- Version string
- Specifies the DB instance version. The valid values are 3.4, 4.0 and 4.2. Changing this will create a new resource.
- Storage
Engine string Specifies the storage engine of the DB instance. The valid values are
wiredTiger
androcksDB
.Changing this will create a new resource.The
flavor
block supports:
- Type string
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- Version string
- Specifies the DB instance version. The valid values are 3.4, 4.0 and 4.2. Changing this will create a new resource.
- Storage
Engine string Specifies the storage engine of the DB instance. The valid values are
wiredTiger
androcksDB
.Changing this will create a new resource.The
flavor
block supports:
- type String
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- version String
- Specifies the DB instance version. The valid values are 3.4, 4.0 and 4.2. Changing this will create a new resource.
- storage
Engine String Specifies the storage engine of the DB instance. The valid values are
wiredTiger
androcksDB
.Changing this will create a new resource.The
flavor
block supports:
- type string
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- version string
- Specifies the DB instance version. The valid values are 3.4, 4.0 and 4.2. Changing this will create a new resource.
- storage
Engine string Specifies the storage engine of the DB instance. The valid values are
wiredTiger
androcksDB
.Changing this will create a new resource.The
flavor
block supports:
- type str
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- version str
- Specifies the DB instance version. The valid values are 3.4, 4.0 and 4.2. Changing this will create a new resource.
- storage_
engine str Specifies the storage engine of the DB instance. The valid values are
wiredTiger
androcksDB
.Changing this will create a new resource.The
flavor
block supports:
- type String
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- version String
- Specifies the DB instance version. The valid values are 3.4, 4.0 and 4.2. Changing this will create a new resource.
- storage
Engine String Specifies the storage engine of the DB instance. The valid values are
wiredTiger
androcksDB
.Changing this will create a new resource.The
flavor
block supports:
DdsInstanceV3Flavor, DdsInstanceV3FlavorArgs
- Num double
- Specifies the node quantity. Valid value:
- the number of mongos ranges from 2 to 12.
- the number of shard ranges from 2 to 12.
- config: the value is 1.
- replica: the value is 1. Changing this creates a new resource.
- Spec
Code string Specifies the resource specification code. Changing this creates a new resource. Valid values:
engine_name | type | vcpus | ram | speccode ---- | --- | --- DDS-Community | mongos | 1 | 4 | dds.mongodb.s3.medium.4.mongos DDS-Community | mongos | 2 | 8 | dds.mongodb.s3.large.4.mongos DDS-Community | mongos | 4 | 16 | dds.mongodb.s3.xlarge.4.mongos DDS-Community | mongos | 8 | 32 | dds.mongodb.s3.2xlarge.4.mongos DDS-Community | mongos | 16 | 64 | dds.mongodb.s3.4xlarge.4.mongos DDS-Community | shard | 1 | 4 | dds.mongodb.s3.medium.4.shard DDS-Community | shard | 2 | 8 | dds.mongodb.s3.large.4.shard DDS-Community | shard | 4 | 16 | dds.mongodb.s3.xlarge.4.shard DDS-Community | shard | 8 | 32 | dds.mongodb.s3.2xlarge.4.shard DDS-Community | shard | 16 | 64 | dds.mongodb.s3.4xlarge.4.shard DDS-Community | config | 2 | 4 | dds.mongodb.s3.large.2.config DDS-Community | replica | 1 | 4 | dds.mongodb.s3.medium.4.repset DDS-Community | replica | 2 | 8 | dds.mongodb.s3.large.4.repset DDS-Community | replica | 4 | 16 | dds.mongodb.s3.xlarge.4.repset DDS-Community | replica | 8 | 32 | dds.mongodb.s3.2xlarge.4.repset DDS-Community | replica | 16 | 64 | dds.mongodb.s3.4xlarge.4.repset
The
backup_strategy
block supports:- Type string
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- Size double
- Specifies the disk size. The value must be a multiple of 10. The unit is GB. This parameter is mandatory for nodes except mongos and invalid for mongos. Changing this creates a new resource.
- Storage string
- Specifies the disk type. Valid value: ULTRAHIGH which indicates the type SSD. Changing this creates a new resource.
- Num float64
- Specifies the node quantity. Valid value:
- the number of mongos ranges from 2 to 12.
- the number of shard ranges from 2 to 12.
- config: the value is 1.
- replica: the value is 1. Changing this creates a new resource.
- Spec
Code string Specifies the resource specification code. Changing this creates a new resource. Valid values:
engine_name | type | vcpus | ram | speccode ---- | --- | --- DDS-Community | mongos | 1 | 4 | dds.mongodb.s3.medium.4.mongos DDS-Community | mongos | 2 | 8 | dds.mongodb.s3.large.4.mongos DDS-Community | mongos | 4 | 16 | dds.mongodb.s3.xlarge.4.mongos DDS-Community | mongos | 8 | 32 | dds.mongodb.s3.2xlarge.4.mongos DDS-Community | mongos | 16 | 64 | dds.mongodb.s3.4xlarge.4.mongos DDS-Community | shard | 1 | 4 | dds.mongodb.s3.medium.4.shard DDS-Community | shard | 2 | 8 | dds.mongodb.s3.large.4.shard DDS-Community | shard | 4 | 16 | dds.mongodb.s3.xlarge.4.shard DDS-Community | shard | 8 | 32 | dds.mongodb.s3.2xlarge.4.shard DDS-Community | shard | 16 | 64 | dds.mongodb.s3.4xlarge.4.shard DDS-Community | config | 2 | 4 | dds.mongodb.s3.large.2.config DDS-Community | replica | 1 | 4 | dds.mongodb.s3.medium.4.repset DDS-Community | replica | 2 | 8 | dds.mongodb.s3.large.4.repset DDS-Community | replica | 4 | 16 | dds.mongodb.s3.xlarge.4.repset DDS-Community | replica | 8 | 32 | dds.mongodb.s3.2xlarge.4.repset DDS-Community | replica | 16 | 64 | dds.mongodb.s3.4xlarge.4.repset
The
backup_strategy
block supports:- Type string
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- Size float64
- Specifies the disk size. The value must be a multiple of 10. The unit is GB. This parameter is mandatory for nodes except mongos and invalid for mongos. Changing this creates a new resource.
- Storage string
- Specifies the disk type. Valid value: ULTRAHIGH which indicates the type SSD. Changing this creates a new resource.
- num Double
- Specifies the node quantity. Valid value:
- the number of mongos ranges from 2 to 12.
- the number of shard ranges from 2 to 12.
- config: the value is 1.
- replica: the value is 1. Changing this creates a new resource.
- spec
Code String Specifies the resource specification code. Changing this creates a new resource. Valid values:
engine_name | type | vcpus | ram | speccode ---- | --- | --- DDS-Community | mongos | 1 | 4 | dds.mongodb.s3.medium.4.mongos DDS-Community | mongos | 2 | 8 | dds.mongodb.s3.large.4.mongos DDS-Community | mongos | 4 | 16 | dds.mongodb.s3.xlarge.4.mongos DDS-Community | mongos | 8 | 32 | dds.mongodb.s3.2xlarge.4.mongos DDS-Community | mongos | 16 | 64 | dds.mongodb.s3.4xlarge.4.mongos DDS-Community | shard | 1 | 4 | dds.mongodb.s3.medium.4.shard DDS-Community | shard | 2 | 8 | dds.mongodb.s3.large.4.shard DDS-Community | shard | 4 | 16 | dds.mongodb.s3.xlarge.4.shard DDS-Community | shard | 8 | 32 | dds.mongodb.s3.2xlarge.4.shard DDS-Community | shard | 16 | 64 | dds.mongodb.s3.4xlarge.4.shard DDS-Community | config | 2 | 4 | dds.mongodb.s3.large.2.config DDS-Community | replica | 1 | 4 | dds.mongodb.s3.medium.4.repset DDS-Community | replica | 2 | 8 | dds.mongodb.s3.large.4.repset DDS-Community | replica | 4 | 16 | dds.mongodb.s3.xlarge.4.repset DDS-Community | replica | 8 | 32 | dds.mongodb.s3.2xlarge.4.repset DDS-Community | replica | 16 | 64 | dds.mongodb.s3.4xlarge.4.repset
The
backup_strategy
block supports:- type String
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- size Double
- Specifies the disk size. The value must be a multiple of 10. The unit is GB. This parameter is mandatory for nodes except mongos and invalid for mongos. Changing this creates a new resource.
- storage String
- Specifies the disk type. Valid value: ULTRAHIGH which indicates the type SSD. Changing this creates a new resource.
- num number
- Specifies the node quantity. Valid value:
- the number of mongos ranges from 2 to 12.
- the number of shard ranges from 2 to 12.
- config: the value is 1.
- replica: the value is 1. Changing this creates a new resource.
- spec
Code string Specifies the resource specification code. Changing this creates a new resource. Valid values:
engine_name | type | vcpus | ram | speccode ---- | --- | --- DDS-Community | mongos | 1 | 4 | dds.mongodb.s3.medium.4.mongos DDS-Community | mongos | 2 | 8 | dds.mongodb.s3.large.4.mongos DDS-Community | mongos | 4 | 16 | dds.mongodb.s3.xlarge.4.mongos DDS-Community | mongos | 8 | 32 | dds.mongodb.s3.2xlarge.4.mongos DDS-Community | mongos | 16 | 64 | dds.mongodb.s3.4xlarge.4.mongos DDS-Community | shard | 1 | 4 | dds.mongodb.s3.medium.4.shard DDS-Community | shard | 2 | 8 | dds.mongodb.s3.large.4.shard DDS-Community | shard | 4 | 16 | dds.mongodb.s3.xlarge.4.shard DDS-Community | shard | 8 | 32 | dds.mongodb.s3.2xlarge.4.shard DDS-Community | shard | 16 | 64 | dds.mongodb.s3.4xlarge.4.shard DDS-Community | config | 2 | 4 | dds.mongodb.s3.large.2.config DDS-Community | replica | 1 | 4 | dds.mongodb.s3.medium.4.repset DDS-Community | replica | 2 | 8 | dds.mongodb.s3.large.4.repset DDS-Community | replica | 4 | 16 | dds.mongodb.s3.xlarge.4.repset DDS-Community | replica | 8 | 32 | dds.mongodb.s3.2xlarge.4.repset DDS-Community | replica | 16 | 64 | dds.mongodb.s3.4xlarge.4.repset
The
backup_strategy
block supports:- type string
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- size number
- Specifies the disk size. The value must be a multiple of 10. The unit is GB. This parameter is mandatory for nodes except mongos and invalid for mongos. Changing this creates a new resource.
- storage string
- Specifies the disk type. Valid value: ULTRAHIGH which indicates the type SSD. Changing this creates a new resource.
- num float
- Specifies the node quantity. Valid value:
- the number of mongos ranges from 2 to 12.
- the number of shard ranges from 2 to 12.
- config: the value is 1.
- replica: the value is 1. Changing this creates a new resource.
- spec_
code str Specifies the resource specification code. Changing this creates a new resource. Valid values:
engine_name | type | vcpus | ram | speccode ---- | --- | --- DDS-Community | mongos | 1 | 4 | dds.mongodb.s3.medium.4.mongos DDS-Community | mongos | 2 | 8 | dds.mongodb.s3.large.4.mongos DDS-Community | mongos | 4 | 16 | dds.mongodb.s3.xlarge.4.mongos DDS-Community | mongos | 8 | 32 | dds.mongodb.s3.2xlarge.4.mongos DDS-Community | mongos | 16 | 64 | dds.mongodb.s3.4xlarge.4.mongos DDS-Community | shard | 1 | 4 | dds.mongodb.s3.medium.4.shard DDS-Community | shard | 2 | 8 | dds.mongodb.s3.large.4.shard DDS-Community | shard | 4 | 16 | dds.mongodb.s3.xlarge.4.shard DDS-Community | shard | 8 | 32 | dds.mongodb.s3.2xlarge.4.shard DDS-Community | shard | 16 | 64 | dds.mongodb.s3.4xlarge.4.shard DDS-Community | config | 2 | 4 | dds.mongodb.s3.large.2.config DDS-Community | replica | 1 | 4 | dds.mongodb.s3.medium.4.repset DDS-Community | replica | 2 | 8 | dds.mongodb.s3.large.4.repset DDS-Community | replica | 4 | 16 | dds.mongodb.s3.xlarge.4.repset DDS-Community | replica | 8 | 32 | dds.mongodb.s3.2xlarge.4.repset DDS-Community | replica | 16 | 64 | dds.mongodb.s3.4xlarge.4.repset
The
backup_strategy
block supports:- type str
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- size float
- Specifies the disk size. The value must be a multiple of 10. The unit is GB. This parameter is mandatory for nodes except mongos and invalid for mongos. Changing this creates a new resource.
- storage str
- Specifies the disk type. Valid value: ULTRAHIGH which indicates the type SSD. Changing this creates a new resource.
- num Number
- Specifies the node quantity. Valid value:
- the number of mongos ranges from 2 to 12.
- the number of shard ranges from 2 to 12.
- config: the value is 1.
- replica: the value is 1. Changing this creates a new resource.
- spec
Code String Specifies the resource specification code. Changing this creates a new resource. Valid values:
engine_name | type | vcpus | ram | speccode ---- | --- | --- DDS-Community | mongos | 1 | 4 | dds.mongodb.s3.medium.4.mongos DDS-Community | mongos | 2 | 8 | dds.mongodb.s3.large.4.mongos DDS-Community | mongos | 4 | 16 | dds.mongodb.s3.xlarge.4.mongos DDS-Community | mongos | 8 | 32 | dds.mongodb.s3.2xlarge.4.mongos DDS-Community | mongos | 16 | 64 | dds.mongodb.s3.4xlarge.4.mongos DDS-Community | shard | 1 | 4 | dds.mongodb.s3.medium.4.shard DDS-Community | shard | 2 | 8 | dds.mongodb.s3.large.4.shard DDS-Community | shard | 4 | 16 | dds.mongodb.s3.xlarge.4.shard DDS-Community | shard | 8 | 32 | dds.mongodb.s3.2xlarge.4.shard DDS-Community | shard | 16 | 64 | dds.mongodb.s3.4xlarge.4.shard DDS-Community | config | 2 | 4 | dds.mongodb.s3.large.2.config DDS-Community | replica | 1 | 4 | dds.mongodb.s3.medium.4.repset DDS-Community | replica | 2 | 8 | dds.mongodb.s3.large.4.repset DDS-Community | replica | 4 | 16 | dds.mongodb.s3.xlarge.4.repset DDS-Community | replica | 8 | 32 | dds.mongodb.s3.2xlarge.4.repset DDS-Community | replica | 16 | 64 | dds.mongodb.s3.4xlarge.4.repset
The
backup_strategy
block supports:- type String
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- size Number
- Specifies the disk size. The value must be a multiple of 10. The unit is GB. This parameter is mandatory for nodes except mongos and invalid for mongos. Changing this creates a new resource.
- storage String
- Specifies the disk type. Valid value: ULTRAHIGH which indicates the type SSD. Changing this creates a new resource.
DdsInstanceV3Node, DdsInstanceV3NodeArgs
- Id string
- Indicates the node ID.
- Name string
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- Private
Ip string - Indicates the private IP address of a node. This parameter is valid only for mongos nodes, replica set instances, and single node instances.
- Public
Ip string - Indicates the EIP that has been bound on a node. This parameter is valid only for mongos nodes of cluster instances, primary nodes and secondary nodes of replica set instances, and single node instances.
- Role string
- Indicates the node role.
- Status string
- Indicates the node status.
- Type string
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- Id string
- Indicates the node ID.
- Name string
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- Private
Ip string - Indicates the private IP address of a node. This parameter is valid only for mongos nodes, replica set instances, and single node instances.
- Public
Ip string - Indicates the EIP that has been bound on a node. This parameter is valid only for mongos nodes of cluster instances, primary nodes and secondary nodes of replica set instances, and single node instances.
- Role string
- Indicates the node role.
- Status string
- Indicates the node status.
- Type string
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- id String
- Indicates the node ID.
- name String
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- private
Ip String - Indicates the private IP address of a node. This parameter is valid only for mongos nodes, replica set instances, and single node instances.
- public
Ip String - Indicates the EIP that has been bound on a node. This parameter is valid only for mongos nodes of cluster instances, primary nodes and secondary nodes of replica set instances, and single node instances.
- role String
- Indicates the node role.
- status String
- Indicates the node status.
- type String
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- id string
- Indicates the node ID.
- name string
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- private
Ip string - Indicates the private IP address of a node. This parameter is valid only for mongos nodes, replica set instances, and single node instances.
- public
Ip string - Indicates the EIP that has been bound on a node. This parameter is valid only for mongos nodes of cluster instances, primary nodes and secondary nodes of replica set instances, and single node instances.
- role string
- Indicates the node role.
- status string
- Indicates the node status.
- type string
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- id str
- Indicates the node ID.
- name str
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- private_
ip str - Indicates the private IP address of a node. This parameter is valid only for mongos nodes, replica set instances, and single node instances.
- public_
ip str - Indicates the EIP that has been bound on a node. This parameter is valid only for mongos nodes of cluster instances, primary nodes and secondary nodes of replica set instances, and single node instances.
- role str
- Indicates the node role.
- status str
- Indicates the node status.
- type str
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
- id String
- Indicates the node ID.
- name String
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
- private
Ip String - Indicates the private IP address of a node. This parameter is valid only for mongos nodes, replica set instances, and single node instances.
- public
Ip String - Indicates the EIP that has been bound on a node. This parameter is valid only for mongos nodes of cluster instances, primary nodes and secondary nodes of replica set instances, and single node instances.
- role String
- Indicates the node role.
- status String
- Indicates the node status.
- type String
- Specifies the node type. Valid value: mongos, shard, config, replica. Changing this creates a new resource.
DdsInstanceV3Timeouts, DdsInstanceV3TimeoutsArgs
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.