opentelekomcloud.DdsInstanceV3
Explore with Pulumi AI
Up-to-date reference of API arguments for DDS instance you can get at documentation portal
Manages DDS instance resource within OpenTelekomCloud
Example Usage
Creating A Replica Set
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const availabilityZone = config.requireObject("availabilityZone");
const vpcId = config.requireObject("vpcId");
const subnetId = config.requireObject("subnetId");
const securityGroupId = config.requireObject("securityGroupId");
const instance = new opentelekomcloud.DdsInstanceV3("instance", {
datastore: {
type: "DDS-Community",
version: "3.4",
storageEngine: "wiredTiger",
},
availabilityZone: availabilityZone,
vpcId: vpcId,
subnetId: subnetId,
securityGroupId: securityGroupId,
password: "5ecuredPa55w0rd@",
mode: "ReplicaSet",
flavors: [{
type: "replica",
num: 1,
storage: "ULTRAHIGH",
size: 30,
specCode: "dds.mongodb.s2.medium.4.repset",
}],
tags: {
foo: "bar",
new_test: "new_test2",
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
availability_zone = config.require_object("availabilityZone")
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
security_group_id = config.require_object("securityGroupId")
instance = opentelekomcloud.DdsInstanceV3("instance",
datastore={
"type": "DDS-Community",
"version": "3.4",
"storage_engine": "wiredTiger",
},
availability_zone=availability_zone,
vpc_id=vpc_id,
subnet_id=subnet_id,
security_group_id=security_group_id,
password="5ecuredPa55w0rd@",
mode="ReplicaSet",
flavors=[{
"type": "replica",
"num": 1,
"storage": "ULTRAHIGH",
"size": 30,
"spec_code": "dds.mongodb.s2.medium.4.repset",
}],
tags={
"foo": "bar",
"new_test": "new_test2",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
availabilityZone := cfg.RequireObject("availabilityZone")
vpcId := cfg.RequireObject("vpcId")
subnetId := cfg.RequireObject("subnetId")
securityGroupId := cfg.RequireObject("securityGroupId")
_, err := opentelekomcloud.NewDdsInstanceV3(ctx, "instance", &opentelekomcloud.DdsInstanceV3Args{
Datastore: &opentelekomcloud.DdsInstanceV3DatastoreArgs{
Type: pulumi.String("DDS-Community"),
Version: pulumi.String("3.4"),
StorageEngine: pulumi.String("wiredTiger"),
},
AvailabilityZone: pulumi.Any(availabilityZone),
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
SecurityGroupId: pulumi.Any(securityGroupId),
Password: pulumi.String("5ecuredPa55w0rd@"),
Mode: pulumi.String("ReplicaSet"),
Flavors: opentelekomcloud.DdsInstanceV3FlavorArray{
&opentelekomcloud.DdsInstanceV3FlavorArgs{
Type: pulumi.String("replica"),
Num: pulumi.Float64(1),
Storage: pulumi.String("ULTRAHIGH"),
Size: pulumi.Float64(30),
SpecCode: pulumi.String("dds.mongodb.s2.medium.4.repset"),
},
},
Tags: pulumi.StringMap{
"foo": pulumi.String("bar"),
"new_test": pulumi.String("new_test2"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var availabilityZone = config.RequireObject<dynamic>("availabilityZone");
var vpcId = config.RequireObject<dynamic>("vpcId");
var subnetId = config.RequireObject<dynamic>("subnetId");
var securityGroupId = config.RequireObject<dynamic>("securityGroupId");
var instance = new Opentelekomcloud.DdsInstanceV3("instance", new()
{
Datastore = new Opentelekomcloud.Inputs.DdsInstanceV3DatastoreArgs
{
Type = "DDS-Community",
Version = "3.4",
StorageEngine = "wiredTiger",
},
AvailabilityZone = availabilityZone,
VpcId = vpcId,
SubnetId = subnetId,
SecurityGroupId = securityGroupId,
Password = "5ecuredPa55w0rd@",
Mode = "ReplicaSet",
Flavors = new[]
{
new Opentelekomcloud.Inputs.DdsInstanceV3FlavorArgs
{
Type = "replica",
Num = 1,
Storage = "ULTRAHIGH",
Size = 30,
SpecCode = "dds.mongodb.s2.medium.4.repset",
},
},
Tags =
{
{ "foo", "bar" },
{ "new_test", "new_test2" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.DdsInstanceV3;
import com.pulumi.opentelekomcloud.DdsInstanceV3Args;
import com.pulumi.opentelekomcloud.inputs.DdsInstanceV3DatastoreArgs;
import com.pulumi.opentelekomcloud.inputs.DdsInstanceV3FlavorArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var availabilityZone = config.get("availabilityZone");
final var vpcId = config.get("vpcId");
final var subnetId = config.get("subnetId");
final var securityGroupId = config.get("securityGroupId");
var instance = new DdsInstanceV3("instance", DdsInstanceV3Args.builder()
.datastore(DdsInstanceV3DatastoreArgs.builder()
.type("DDS-Community")
.version("3.4")
.storageEngine("wiredTiger")
.build())
.availabilityZone(availabilityZone)
.vpcId(vpcId)
.subnetId(subnetId)
.securityGroupId(securityGroupId)
.password("5ecuredPa55w0rd@")
.mode("ReplicaSet")
.flavors(DdsInstanceV3FlavorArgs.builder()
.type("replica")
.num(1)
.storage("ULTRAHIGH")
.size(30)
.specCode("dds.mongodb.s2.medium.4.repset")
.build())
.tags(Map.ofEntries(
Map.entry("foo", "bar"),
Map.entry("new_test", "new_test2")
))
.build());
}
}
configuration:
availabilityZone:
type: dynamic
vpcId:
type: dynamic
subnetId:
type: dynamic
securityGroupId:
type: dynamic
resources:
instance:
type: opentelekomcloud:DdsInstanceV3
properties:
datastore:
type: DDS-Community
version: '3.4'
storageEngine: wiredTiger
availabilityZone: ${availabilityZone}
vpcId: ${vpcId}
subnetId: ${subnetId}
securityGroupId: ${securityGroupId}
password: 5ecuredPa55w0rd@
mode: ReplicaSet
flavors:
- type: replica
num: 1
storage: ULTRAHIGH
size: 30
specCode: dds.mongodb.s2.medium.4.repset
tags:
foo: bar
new_test: new_test2
Creating A Cluster Community Edition
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const availabilityZone = config.requireObject("availabilityZone");
const vpcId = config.requireObject("vpcId");
const subnetId = config.requireObject("subnetId");
const securityGroupId = config.requireObject("securityGroupId");
const instance = new opentelekomcloud.DdsInstanceV3("instance", {
datastore: {
type: "DDS-Community",
version: "3.4",
storageEngine: "wiredTiger",
},
availabilityZone: availabilityZone,
vpcId: vpcId,
subnetId: subnetId,
securityGroupId: securityGroupId,
password: "5ecuredPa55w0rd2@",
mode: "Sharding",
flavors: [
{
type: "mongos",
num: 2,
specCode: "dds.mongodb.s2.medium.4.mongos",
},
{
type: "shard",
num: 2,
storage: "ULTRAHIGH",
size: 20,
specCode: "dds.mongodb.s2.medium.4.shard",
},
{
type: "config",
num: 1,
storage: "ULTRAHIGH",
size: 20,
specCode: "dds.mongodb.s2.large.2.config",
},
],
backupStrategy: {
startTime: "08:00-09:00",
keepDays: 8,
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
availability_zone = config.require_object("availabilityZone")
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
security_group_id = config.require_object("securityGroupId")
instance = opentelekomcloud.DdsInstanceV3("instance",
datastore={
"type": "DDS-Community",
"version": "3.4",
"storage_engine": "wiredTiger",
},
availability_zone=availability_zone,
vpc_id=vpc_id,
subnet_id=subnet_id,
security_group_id=security_group_id,
password="5ecuredPa55w0rd2@",
mode="Sharding",
flavors=[
{
"type": "mongos",
"num": 2,
"spec_code": "dds.mongodb.s2.medium.4.mongos",
},
{
"type": "shard",
"num": 2,
"storage": "ULTRAHIGH",
"size": 20,
"spec_code": "dds.mongodb.s2.medium.4.shard",
},
{
"type": "config",
"num": 1,
"storage": "ULTRAHIGH",
"size": 20,
"spec_code": "dds.mongodb.s2.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/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
availabilityZone := cfg.RequireObject("availabilityZone")
vpcId := cfg.RequireObject("vpcId")
subnetId := cfg.RequireObject("subnetId")
securityGroupId := cfg.RequireObject("securityGroupId")
_, err := opentelekomcloud.NewDdsInstanceV3(ctx, "instance", &opentelekomcloud.DdsInstanceV3Args{
Datastore: &opentelekomcloud.DdsInstanceV3DatastoreArgs{
Type: pulumi.String("DDS-Community"),
Version: pulumi.String("3.4"),
StorageEngine: pulumi.String("wiredTiger"),
},
AvailabilityZone: pulumi.Any(availabilityZone),
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
SecurityGroupId: pulumi.Any(securityGroupId),
Password: pulumi.String("5ecuredPa55w0rd2@"),
Mode: pulumi.String("Sharding"),
Flavors: opentelekomcloud.DdsInstanceV3FlavorArray{
&opentelekomcloud.DdsInstanceV3FlavorArgs{
Type: pulumi.String("mongos"),
Num: pulumi.Float64(2),
SpecCode: pulumi.String("dds.mongodb.s2.medium.4.mongos"),
},
&opentelekomcloud.DdsInstanceV3FlavorArgs{
Type: pulumi.String("shard"),
Num: pulumi.Float64(2),
Storage: pulumi.String("ULTRAHIGH"),
Size: pulumi.Float64(20),
SpecCode: pulumi.String("dds.mongodb.s2.medium.4.shard"),
},
&opentelekomcloud.DdsInstanceV3FlavorArgs{
Type: pulumi.String("config"),
Num: pulumi.Float64(1),
Storage: pulumi.String("ULTRAHIGH"),
Size: pulumi.Float64(20),
SpecCode: pulumi.String("dds.mongodb.s2.large.2.config"),
},
},
BackupStrategy: &opentelekomcloud.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 Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var availabilityZone = config.RequireObject<dynamic>("availabilityZone");
var vpcId = config.RequireObject<dynamic>("vpcId");
var subnetId = config.RequireObject<dynamic>("subnetId");
var securityGroupId = config.RequireObject<dynamic>("securityGroupId");
var instance = new Opentelekomcloud.DdsInstanceV3("instance", new()
{
Datastore = new Opentelekomcloud.Inputs.DdsInstanceV3DatastoreArgs
{
Type = "DDS-Community",
Version = "3.4",
StorageEngine = "wiredTiger",
},
AvailabilityZone = availabilityZone,
VpcId = vpcId,
SubnetId = subnetId,
SecurityGroupId = securityGroupId,
Password = "5ecuredPa55w0rd2@",
Mode = "Sharding",
Flavors = new[]
{
new Opentelekomcloud.Inputs.DdsInstanceV3FlavorArgs
{
Type = "mongos",
Num = 2,
SpecCode = "dds.mongodb.s2.medium.4.mongos",
},
new Opentelekomcloud.Inputs.DdsInstanceV3FlavorArgs
{
Type = "shard",
Num = 2,
Storage = "ULTRAHIGH",
Size = 20,
SpecCode = "dds.mongodb.s2.medium.4.shard",
},
new Opentelekomcloud.Inputs.DdsInstanceV3FlavorArgs
{
Type = "config",
Num = 1,
Storage = "ULTRAHIGH",
Size = 20,
SpecCode = "dds.mongodb.s2.large.2.config",
},
},
BackupStrategy = new Opentelekomcloud.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.opentelekomcloud.DdsInstanceV3;
import com.pulumi.opentelekomcloud.DdsInstanceV3Args;
import com.pulumi.opentelekomcloud.inputs.DdsInstanceV3DatastoreArgs;
import com.pulumi.opentelekomcloud.inputs.DdsInstanceV3FlavorArgs;
import com.pulumi.opentelekomcloud.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) {
final var config = ctx.config();
final var availabilityZone = config.get("availabilityZone");
final var vpcId = config.get("vpcId");
final var subnetId = config.get("subnetId");
final var securityGroupId = config.get("securityGroupId");
var instance = new DdsInstanceV3("instance", DdsInstanceV3Args.builder()
.datastore(DdsInstanceV3DatastoreArgs.builder()
.type("DDS-Community")
.version("3.4")
.storageEngine("wiredTiger")
.build())
.availabilityZone(availabilityZone)
.vpcId(vpcId)
.subnetId(subnetId)
.securityGroupId(securityGroupId)
.password("5ecuredPa55w0rd2@")
.mode("Sharding")
.flavors(
DdsInstanceV3FlavorArgs.builder()
.type("mongos")
.num(2)
.specCode("dds.mongodb.s2.medium.4.mongos")
.build(),
DdsInstanceV3FlavorArgs.builder()
.type("shard")
.num(2)
.storage("ULTRAHIGH")
.size(20)
.specCode("dds.mongodb.s2.medium.4.shard")
.build(),
DdsInstanceV3FlavorArgs.builder()
.type("config")
.num(1)
.storage("ULTRAHIGH")
.size(20)
.specCode("dds.mongodb.s2.large.2.config")
.build())
.backupStrategy(DdsInstanceV3BackupStrategyArgs.builder()
.startTime("08:00-09:00")
.keepDays("8")
.build())
.build());
}
}
configuration:
availabilityZone:
type: dynamic
vpcId:
type: dynamic
subnetId:
type: dynamic
securityGroupId:
type: dynamic
resources:
instance:
type: opentelekomcloud:DdsInstanceV3
properties:
datastore:
type: DDS-Community
version: '3.4'
storageEngine: wiredTiger
availabilityZone: ${availabilityZone}
vpcId: ${vpcId}
subnetId: ${subnetId}
securityGroupId: ${securityGroupId}
password: 5ecuredPa55w0rd2@
mode: Sharding
flavors:
- type: mongos
num: 2
specCode: dds.mongodb.s2.medium.4.mongos
- type: shard
num: 2
storage: ULTRAHIGH
size: 20
specCode: dds.mongodb.s2.medium.4.shard
- type: config
num: 1
storage: ULTRAHIGH
size: 20
specCode: dds.mongodb.s2.large.2.config
backupStrategy:
startTime: 08:00-09:00
keepDays: '8'
Creating A Single Node Instance
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const availabilityZone = config.requireObject("availabilityZone");
const vpcId = config.requireObject("vpcId");
const subnetId = config.requireObject("subnetId");
const securityGroupId = config.requireObject("securityGroupId");
const instance = new opentelekomcloud.DdsInstanceV3("instance", {
datastore: {
type: "DDS-Community",
version: "3.4",
storageEngine: "wiredTiger",
},
availabilityZone: availabilityZone,
vpcId: vpcId,
subnetId: subnetId,
securityGroupId: securityGroupId,
password: "5ecuredPa55w0rd@",
mode: "Single",
flavors: [{
type: "single",
num: 1,
storage: "ULTRAHIGH",
size: 30,
specCode: "dds.mongodb.s2.medium.4.single",
}],
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
availability_zone = config.require_object("availabilityZone")
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
security_group_id = config.require_object("securityGroupId")
instance = opentelekomcloud.DdsInstanceV3("instance",
datastore={
"type": "DDS-Community",
"version": "3.4",
"storage_engine": "wiredTiger",
},
availability_zone=availability_zone,
vpc_id=vpc_id,
subnet_id=subnet_id,
security_group_id=security_group_id,
password="5ecuredPa55w0rd@",
mode="Single",
flavors=[{
"type": "single",
"num": 1,
"storage": "ULTRAHIGH",
"size": 30,
"spec_code": "dds.mongodb.s2.medium.4.single",
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
availabilityZone := cfg.RequireObject("availabilityZone")
vpcId := cfg.RequireObject("vpcId")
subnetId := cfg.RequireObject("subnetId")
securityGroupId := cfg.RequireObject("securityGroupId")
_, err := opentelekomcloud.NewDdsInstanceV3(ctx, "instance", &opentelekomcloud.DdsInstanceV3Args{
Datastore: &opentelekomcloud.DdsInstanceV3DatastoreArgs{
Type: pulumi.String("DDS-Community"),
Version: pulumi.String("3.4"),
StorageEngine: pulumi.String("wiredTiger"),
},
AvailabilityZone: pulumi.Any(availabilityZone),
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
SecurityGroupId: pulumi.Any(securityGroupId),
Password: pulumi.String("5ecuredPa55w0rd@"),
Mode: pulumi.String("Single"),
Flavors: opentelekomcloud.DdsInstanceV3FlavorArray{
&opentelekomcloud.DdsInstanceV3FlavorArgs{
Type: pulumi.String("single"),
Num: pulumi.Float64(1),
Storage: pulumi.String("ULTRAHIGH"),
Size: pulumi.Float64(30),
SpecCode: pulumi.String("dds.mongodb.s2.medium.4.single"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var availabilityZone = config.RequireObject<dynamic>("availabilityZone");
var vpcId = config.RequireObject<dynamic>("vpcId");
var subnetId = config.RequireObject<dynamic>("subnetId");
var securityGroupId = config.RequireObject<dynamic>("securityGroupId");
var instance = new Opentelekomcloud.DdsInstanceV3("instance", new()
{
Datastore = new Opentelekomcloud.Inputs.DdsInstanceV3DatastoreArgs
{
Type = "DDS-Community",
Version = "3.4",
StorageEngine = "wiredTiger",
},
AvailabilityZone = availabilityZone,
VpcId = vpcId,
SubnetId = subnetId,
SecurityGroupId = securityGroupId,
Password = "5ecuredPa55w0rd@",
Mode = "Single",
Flavors = new[]
{
new Opentelekomcloud.Inputs.DdsInstanceV3FlavorArgs
{
Type = "single",
Num = 1,
Storage = "ULTRAHIGH",
Size = 30,
SpecCode = "dds.mongodb.s2.medium.4.single",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.DdsInstanceV3;
import com.pulumi.opentelekomcloud.DdsInstanceV3Args;
import com.pulumi.opentelekomcloud.inputs.DdsInstanceV3DatastoreArgs;
import com.pulumi.opentelekomcloud.inputs.DdsInstanceV3FlavorArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var availabilityZone = config.get("availabilityZone");
final var vpcId = config.get("vpcId");
final var subnetId = config.get("subnetId");
final var securityGroupId = config.get("securityGroupId");
var instance = new DdsInstanceV3("instance", DdsInstanceV3Args.builder()
.datastore(DdsInstanceV3DatastoreArgs.builder()
.type("DDS-Community")
.version("3.4")
.storageEngine("wiredTiger")
.build())
.availabilityZone(availabilityZone)
.vpcId(vpcId)
.subnetId(subnetId)
.securityGroupId(securityGroupId)
.password("5ecuredPa55w0rd@")
.mode("Single")
.flavors(DdsInstanceV3FlavorArgs.builder()
.type("single")
.num(1)
.storage("ULTRAHIGH")
.size(30)
.specCode("dds.mongodb.s2.medium.4.single")
.build())
.build());
}
}
configuration:
availabilityZone:
type: dynamic
vpcId:
type: dynamic
subnetId:
type: dynamic
securityGroupId:
type: dynamic
resources:
instance:
type: opentelekomcloud:DdsInstanceV3
properties:
datastore:
type: DDS-Community
version: '3.4'
storageEngine: wiredTiger
availabilityZone: ${availabilityZone}
vpcId: ${vpcId}
subnetId: ${subnetId}
securityGroupId: ${securityGroupId}
password: 5ecuredPa55w0rd@
mode: Single
flavors:
- type: single
num: 1
storage: ULTRAHIGH
size: 30
specCode: dds.mongodb.s2.medium.4.single
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,
password: Optional[str] = None,
vpc_id: Optional[str] = None,
datastore: Optional[DdsInstanceV3DatastoreArgs] = None,
subnet_id: Optional[str] = None,
availability_zone: Optional[str] = None,
flavors: Optional[Sequence[DdsInstanceV3FlavorArgs]] = None,
mode: Optional[str] = None,
security_group_id: Optional[str] = None,
disk_encryption_id: Optional[str] = None,
port: Optional[float] = None,
region: Optional[str] = None,
name: Optional[str] = None,
ssl: Optional[bool] = None,
dds_instance_v3_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[DdsInstanceV3TimeoutsArgs] = None,
backup_strategy: Optional[DdsInstanceV3BackupStrategyArgs] = 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: opentelekomcloud: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 Opentelekomcloud.DdsInstanceV3("ddsInstanceV3Resource", new()
{
Password = "string",
VpcId = "string",
Datastore = new Opentelekomcloud.Inputs.DdsInstanceV3DatastoreArgs
{
Type = "string",
Version = "string",
StorageEngine = "string",
},
SubnetId = "string",
AvailabilityZone = "string",
Flavors = new[]
{
new Opentelekomcloud.Inputs.DdsInstanceV3FlavorArgs
{
Num = 0,
SpecCode = "string",
Type = "string",
Size = 0,
Storage = "string",
},
},
Mode = "string",
SecurityGroupId = "string",
DiskEncryptionId = "string",
Port = 0,
Region = "string",
Name = "string",
Ssl = false,
DdsInstanceV3Id = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Opentelekomcloud.Inputs.DdsInstanceV3TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
BackupStrategy = new Opentelekomcloud.Inputs.DdsInstanceV3BackupStrategyArgs
{
KeepDays = 0,
StartTime = "string",
Period = "string",
},
});
example, err := opentelekomcloud.NewDdsInstanceV3(ctx, "ddsInstanceV3Resource", &opentelekomcloud.DdsInstanceV3Args{
Password: pulumi.String("string"),
VpcId: pulumi.String("string"),
Datastore: &opentelekomcloud.DdsInstanceV3DatastoreArgs{
Type: pulumi.String("string"),
Version: pulumi.String("string"),
StorageEngine: pulumi.String("string"),
},
SubnetId: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
Flavors: opentelekomcloud.DdsInstanceV3FlavorArray{
&opentelekomcloud.DdsInstanceV3FlavorArgs{
Num: pulumi.Float64(0),
SpecCode: pulumi.String("string"),
Type: pulumi.String("string"),
Size: pulumi.Float64(0),
Storage: pulumi.String("string"),
},
},
Mode: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
DiskEncryptionId: pulumi.String("string"),
Port: pulumi.Float64(0),
Region: pulumi.String("string"),
Name: pulumi.String("string"),
Ssl: pulumi.Bool(false),
DdsInstanceV3Id: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &opentelekomcloud.DdsInstanceV3TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
BackupStrategy: &opentelekomcloud.DdsInstanceV3BackupStrategyArgs{
KeepDays: pulumi.Float64(0),
StartTime: pulumi.String("string"),
Period: pulumi.String("string"),
},
})
var ddsInstanceV3Resource = new DdsInstanceV3("ddsInstanceV3Resource", DdsInstanceV3Args.builder()
.password("string")
.vpcId("string")
.datastore(DdsInstanceV3DatastoreArgs.builder()
.type("string")
.version("string")
.storageEngine("string")
.build())
.subnetId("string")
.availabilityZone("string")
.flavors(DdsInstanceV3FlavorArgs.builder()
.num(0)
.specCode("string")
.type("string")
.size(0)
.storage("string")
.build())
.mode("string")
.securityGroupId("string")
.diskEncryptionId("string")
.port(0)
.region("string")
.name("string")
.ssl(false)
.ddsInstanceV3Id("string")
.tags(Map.of("string", "string"))
.timeouts(DdsInstanceV3TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.backupStrategy(DdsInstanceV3BackupStrategyArgs.builder()
.keepDays(0)
.startTime("string")
.period("string")
.build())
.build());
dds_instance_v3_resource = opentelekomcloud.DdsInstanceV3("ddsInstanceV3Resource",
password="string",
vpc_id="string",
datastore={
"type": "string",
"version": "string",
"storage_engine": "string",
},
subnet_id="string",
availability_zone="string",
flavors=[{
"num": 0,
"spec_code": "string",
"type": "string",
"size": 0,
"storage": "string",
}],
mode="string",
security_group_id="string",
disk_encryption_id="string",
port=0,
region="string",
name="string",
ssl=False,
dds_instance_v3_id="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
backup_strategy={
"keep_days": 0,
"start_time": "string",
"period": "string",
})
const ddsInstanceV3Resource = new opentelekomcloud.DdsInstanceV3("ddsInstanceV3Resource", {
password: "string",
vpcId: "string",
datastore: {
type: "string",
version: "string",
storageEngine: "string",
},
subnetId: "string",
availabilityZone: "string",
flavors: [{
num: 0,
specCode: "string",
type: "string",
size: 0,
storage: "string",
}],
mode: "string",
securityGroupId: "string",
diskEncryptionId: "string",
port: 0,
region: "string",
name: "string",
ssl: false,
ddsInstanceV3Id: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
backupStrategy: {
keepDays: 0,
startTime: "string",
period: "string",
},
});
type: opentelekomcloud:DdsInstanceV3
properties:
availabilityZone: string
backupStrategy:
keepDays: 0
period: string
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
port: 0
region: string
securityGroupId: string
ssl: false
subnetId: string
tags:
string: string
timeouts:
create: string
delete: string
update: 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.
- Datastore
Dds
Instance V3Datastore - Specifies database information. The structure is described below.
- Flavors
List<Dds
Instance V3Flavor> - Specifies the flavor information. The structure is described below. Changing this creates a new instance.
- Mode string
- Specifies the mode of the database instance.
- Password string
- Specifies the Administrator password of the database instance.
- Security
Group stringId - Specifies the security group ID of the DDS instance.
- Subnet
Id string - Specifies the subnet Network ID.
- Vpc
Id string - Specifies the VPC ID.
- Backup
Strategy DdsInstance V3Backup Strategy - Specifies the advanced backup policy. The structure is described below.
- Dds
Instance stringV3Id - Indicates the node ID.
- Disk
Encryption stringId - Specifies the disk encryption ID of the instance.
- Name string
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant.
- Port double
- Specifies the database access port. The valid values are range from
2100
to9500
and27017
,27018
,27019
. Defaults to8635
. - Region string
- Specifies the region of the DDS instance.
- Ssl bool
Specifies whether to enable or disable SSL. Defaults to true.
The instance will be restarted in the background when switching SSL. Please operate with caution.
- Dictionary<string, string>
- Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
- Timeouts
Dds
Instance V3Timeouts
- Availability
Zone string - Specifies the ID of the availability zone.
- Datastore
Dds
Instance V3Datastore Args - Specifies database information. The structure is described below.
- Flavors
[]Dds
Instance V3Flavor Args - Specifies the flavor information. The structure is described below. Changing this creates a new instance.
- Mode string
- Specifies the mode of the database instance.
- Password string
- Specifies the Administrator password of the database instance.
- Security
Group stringId - Specifies the security group ID of the DDS instance.
- Subnet
Id string - Specifies the subnet Network ID.
- Vpc
Id string - Specifies the VPC ID.
- Backup
Strategy DdsInstance V3Backup Strategy Args - Specifies the advanced backup policy. The structure is described below.
- Dds
Instance stringV3Id - Indicates the node ID.
- Disk
Encryption stringId - Specifies the disk encryption ID of the instance.
- Name string
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant.
- Port float64
- Specifies the database access port. The valid values are range from
2100
to9500
and27017
,27018
,27019
. Defaults to8635
. - Region string
- Specifies the region of the DDS instance.
- Ssl bool
Specifies whether to enable or disable SSL. Defaults to true.
The instance will be restarted in the background when switching SSL. Please operate with caution.
- map[string]string
- Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
- Timeouts
Dds
Instance V3Timeouts Args
- availability
Zone String - Specifies the ID of the availability zone.
- datastore
Dds
Instance V3Datastore - Specifies database information. The structure is described below.
- flavors
List<Dds
Instance V3Flavor> - Specifies the flavor information. The structure is described below. Changing this creates a new instance.
- mode String
- Specifies the mode of the database instance.
- password String
- Specifies the Administrator password of the database instance.
- security
Group StringId - Specifies the security group ID of the DDS instance.
- subnet
Id String - Specifies the subnet Network ID.
- vpc
Id String - Specifies the VPC ID.
- backup
Strategy DdsInstance V3Backup Strategy - Specifies the advanced backup policy. The structure is described below.
- dds
Instance StringV3Id - Indicates the node ID.
- disk
Encryption StringId - Specifies the disk encryption ID of the instance.
- name String
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant.
- port Double
- Specifies the database access port. The valid values are range from
2100
to9500
and27017
,27018
,27019
. Defaults to8635
. - region String
- Specifies the region of the DDS instance.
- ssl Boolean
Specifies whether to enable or disable SSL. Defaults to true.
The instance will be restarted in the background when switching SSL. Please operate with caution.
- Map<String,String>
- Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
- timeouts
Dds
Instance V3Timeouts
- availability
Zone string - Specifies the ID of the availability zone.
- datastore
Dds
Instance V3Datastore - Specifies database information. The structure is described below.
- flavors
Dds
Instance V3Flavor[] - Specifies the flavor information. The structure is described below. Changing this creates a new instance.
- mode string
- Specifies the mode of the database instance.
- password string
- Specifies the Administrator password of the database instance.
- security
Group stringId - Specifies the security group ID of the DDS instance.
- subnet
Id string - Specifies the subnet Network ID.
- vpc
Id string - Specifies the VPC ID.
- backup
Strategy DdsInstance V3Backup Strategy - Specifies the advanced backup policy. The structure is described below.
- dds
Instance stringV3Id - Indicates the node ID.
- disk
Encryption stringId - Specifies the disk encryption ID of the instance.
- name string
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant.
- port number
- Specifies the database access port. The valid values are range from
2100
to9500
and27017
,27018
,27019
. Defaults to8635
. - region string
- Specifies the region of the DDS instance.
- ssl boolean
Specifies whether to enable or disable SSL. Defaults to true.
The instance will be restarted in the background when switching SSL. Please operate with caution.
- {[key: string]: string}
- Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
- timeouts
Dds
Instance V3Timeouts
- availability_
zone str - Specifies the ID of the availability zone.
- datastore
Dds
Instance V3Datastore Args - Specifies database information. The structure is described below.
- flavors
Sequence[Dds
Instance V3Flavor Args] - Specifies the flavor information. The structure is described below. Changing this creates a new instance.
- mode str
- Specifies the mode of the database instance.
- password str
- Specifies the Administrator password of the database instance.
- security_
group_ strid - Specifies the security group ID of the DDS instance.
- subnet_
id str - Specifies the subnet Network ID.
- vpc_
id str - Specifies the VPC ID.
- backup_
strategy DdsInstance V3Backup Strategy Args - Specifies the advanced backup policy. The structure is described below.
- dds_
instance_ strv3_ id - Indicates the node ID.
- disk_
encryption_ strid - Specifies the disk encryption ID of the instance.
- name str
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant.
- port float
- Specifies the database access port. The valid values are range from
2100
to9500
and27017
,27018
,27019
. Defaults to8635
. - region str
- Specifies the region of the DDS instance.
- ssl bool
Specifies whether to enable or disable SSL. Defaults to true.
The instance will be restarted in the background when switching SSL. Please operate with caution.
- Mapping[str, str]
- Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
- timeouts
Dds
Instance V3Timeouts Args
- availability
Zone String - Specifies the ID of the availability zone.
- datastore Property Map
- Specifies database information. The structure is described below.
- flavors List<Property Map>
- Specifies the flavor information. The structure is described below. Changing this creates a new instance.
- mode String
- Specifies the mode of the database instance.
- password String
- Specifies the Administrator password of the database instance.
- security
Group StringId - Specifies the security group ID of the DDS instance.
- subnet
Id String - Specifies the subnet Network ID.
- vpc
Id String - Specifies the VPC ID.
- backup
Strategy Property Map - Specifies the advanced backup policy. The structure is described below.
- dds
Instance StringV3Id - Indicates the node ID.
- disk
Encryption StringId - Specifies the disk encryption ID of the instance.
- name String
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant.
- port Number
- Specifies the database access port. The valid values are range from
2100
to9500
and27017
,27018
,27019
. Defaults to8635
. - region String
- Specifies the region of the DDS instance.
- ssl Boolean
Specifies whether to enable or disable SSL. Defaults to true.
The instance will be restarted in the background when switching SSL. Please operate with caution.
- Map<String>
- Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the DdsInstanceV3 resource produces the following output properties:
- Created
At string - Indicates the creation time.
- 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. Structure is documented below.
- Pay
Mode string - Indicates the billing mode.
0
: indicates the pay-per-use billing mode. - Status string
- Indicates the node status.
- Time
Zone string - Indicates the time zone.
- Updated
At string - Indicates the update time.
- Created
At string - Indicates the creation time.
- 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. Structure is documented below.
- Pay
Mode string - Indicates the billing mode.
0
: indicates the pay-per-use billing mode. - Status string
- Indicates the node status.
- Time
Zone string - Indicates the time zone.
- Updated
At string - Indicates the update time.
- created
At String - Indicates the creation time.
- 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. Structure is documented below.
- pay
Mode String - Indicates the billing mode.
0
: indicates the pay-per-use billing mode. - status String
- Indicates the node status.
- time
Zone String - Indicates the time zone.
- updated
At String - Indicates the update time.
- created
At string - Indicates the creation time.
- 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. Structure is documented below.
- pay
Mode string - Indicates the billing mode.
0
: indicates the pay-per-use billing mode. - status string
- Indicates the node status.
- time
Zone string - Indicates the time zone.
- updated
At string - Indicates the update time.
- created_
at str - Indicates the creation time.
- 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. Structure is documented below.
- pay_
mode str - Indicates the billing mode.
0
: indicates the pay-per-use billing mode. - status str
- Indicates the node status.
- time_
zone str - Indicates the time zone.
- updated_
at str - Indicates the update time.
- created
At String - Indicates the creation time.
- 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. Structure is documented below.
- pay
Mode String - Indicates the billing mode.
0
: indicates the pay-per-use billing mode. - status String
- Indicates the node status.
- time
Zone String - Indicates the time zone.
- updated
At String - Indicates the update time.
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,
created_at: Optional[str] = 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,
pay_mode: 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,
time_zone: Optional[str] = None,
timeouts: Optional[DdsInstanceV3TimeoutsArgs] = None,
updated_at: Optional[str] = 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: opentelekomcloud: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.
- Backup
Strategy DdsInstance V3Backup Strategy - Specifies the advanced backup policy. The structure is described below.
- Created
At string - Indicates the creation time.
- Datastore
Dds
Instance V3Datastore - Specifies database information. The structure is described below.
- 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.
- Flavors
List<Dds
Instance V3Flavor> - Specifies the flavor information. The structure is described below. Changing this creates a new instance.
- Mode string
- Specifies the mode of the database instance.
- Name string
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant.
- Nodes
List<Dds
Instance V3Node> - Indicates the instance nodes information. Structure is documented below.
- Password string
- Specifies the Administrator password of the database instance.
- Pay
Mode string - Indicates the billing mode.
0
: indicates the pay-per-use billing mode. - Port double
- Specifies the database access port. The valid values are range from
2100
to9500
and27017
,27018
,27019
. Defaults to8635
. - Region string
- Specifies the region of the DDS instance.
- Security
Group stringId - Specifies the security group ID of the DDS instance.
- Ssl bool
Specifies whether to enable or disable SSL. Defaults to true.
The instance will be restarted in the background when switching SSL. Please operate with caution.
- Status string
- Indicates the node status.
- Subnet
Id string - Specifies the subnet Network ID.
- Dictionary<string, string>
- Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
- Time
Zone string - Indicates the time zone.
- Timeouts
Dds
Instance V3Timeouts - Updated
At string - Indicates the update time.
- Vpc
Id string - Specifies the VPC ID.
- Availability
Zone string - Specifies the ID of the availability zone.
- Backup
Strategy DdsInstance V3Backup Strategy Args - Specifies the advanced backup policy. The structure is described below.
- Created
At string - Indicates the creation time.
- Datastore
Dds
Instance V3Datastore Args - Specifies database information. The structure is described below.
- 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.
- Flavors
[]Dds
Instance V3Flavor Args - Specifies the flavor information. The structure is described below. Changing this creates a new instance.
- Mode string
- Specifies the mode of the database instance.
- Name string
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant.
- Nodes
[]Dds
Instance V3Node Args - Indicates the instance nodes information. Structure is documented below.
- Password string
- Specifies the Administrator password of the database instance.
- Pay
Mode string - Indicates the billing mode.
0
: indicates the pay-per-use billing mode. - Port float64
- Specifies the database access port. The valid values are range from
2100
to9500
and27017
,27018
,27019
. Defaults to8635
. - Region string
- Specifies the region of the DDS instance.
- Security
Group stringId - Specifies the security group ID of the DDS instance.
- Ssl bool
Specifies whether to enable or disable SSL. Defaults to true.
The instance will be restarted in the background when switching SSL. Please operate with caution.
- Status string
- Indicates the node status.
- Subnet
Id string - Specifies the subnet Network ID.
- map[string]string
- Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
- Time
Zone string - Indicates the time zone.
- Timeouts
Dds
Instance V3Timeouts Args - Updated
At string - Indicates the update time.
- Vpc
Id string - Specifies the VPC ID.
- availability
Zone String - Specifies the ID of the availability zone.
- backup
Strategy DdsInstance V3Backup Strategy - Specifies the advanced backup policy. The structure is described below.
- created
At String - Indicates the creation time.
- datastore
Dds
Instance V3Datastore - Specifies database information. The structure is described below.
- 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.
- flavors
List<Dds
Instance V3Flavor> - Specifies the flavor information. The structure is described below. Changing this creates a new instance.
- mode String
- Specifies the mode of the database instance.
- name String
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant.
- nodes
List<Dds
Instance V3Node> - Indicates the instance nodes information. Structure is documented below.
- password String
- Specifies the Administrator password of the database instance.
- pay
Mode String - Indicates the billing mode.
0
: indicates the pay-per-use billing mode. - port Double
- Specifies the database access port. The valid values are range from
2100
to9500
and27017
,27018
,27019
. Defaults to8635
. - region String
- Specifies the region of the DDS instance.
- security
Group StringId - Specifies the security group ID of the DDS instance.
- ssl Boolean
Specifies whether to enable or disable SSL. Defaults to true.
The instance will be restarted in the background when switching SSL. Please operate with caution.
- status String
- Indicates the node status.
- subnet
Id String - Specifies the subnet Network ID.
- Map<String,String>
- Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
- time
Zone String - Indicates the time zone.
- timeouts
Dds
Instance V3Timeouts - updated
At String - Indicates the update time.
- vpc
Id String - Specifies the VPC ID.
- availability
Zone string - Specifies the ID of the availability zone.
- backup
Strategy DdsInstance V3Backup Strategy - Specifies the advanced backup policy. The structure is described below.
- created
At string - Indicates the creation time.
- datastore
Dds
Instance V3Datastore - Specifies database information. The structure is described below.
- 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.
- flavors
Dds
Instance V3Flavor[] - Specifies the flavor information. The structure is described below. Changing this creates a new instance.
- mode string
- Specifies the mode of the database instance.
- name string
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant.
- nodes
Dds
Instance V3Node[] - Indicates the instance nodes information. Structure is documented below.
- password string
- Specifies the Administrator password of the database instance.
- pay
Mode string - Indicates the billing mode.
0
: indicates the pay-per-use billing mode. - port number
- Specifies the database access port. The valid values are range from
2100
to9500
and27017
,27018
,27019
. Defaults to8635
. - region string
- Specifies the region of the DDS instance.
- security
Group stringId - Specifies the security group ID of the DDS instance.
- ssl boolean
Specifies whether to enable or disable SSL. Defaults to true.
The instance will be restarted in the background when switching SSL. Please operate with caution.
- status string
- Indicates the node status.
- subnet
Id string - Specifies the subnet Network ID.
- {[key: string]: string}
- Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
- time
Zone string - Indicates the time zone.
- timeouts
Dds
Instance V3Timeouts - updated
At string - Indicates the update time.
- vpc
Id string - Specifies the VPC ID.
- availability_
zone str - Specifies the ID of the availability zone.
- backup_
strategy DdsInstance V3Backup Strategy Args - Specifies the advanced backup policy. The structure is described below.
- created_
at str - Indicates the creation time.
- datastore
Dds
Instance V3Datastore Args - Specifies database information. The structure is described below.
- 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.
- flavors
Sequence[Dds
Instance V3Flavor Args] - Specifies the flavor information. The structure is described below. Changing this creates a new instance.
- mode str
- Specifies the mode of the database instance.
- name str
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant.
- nodes
Sequence[Dds
Instance V3Node Args] - Indicates the instance nodes information. Structure is documented below.
- password str
- Specifies the Administrator password of the database instance.
- pay_
mode str - Indicates the billing mode.
0
: indicates the pay-per-use billing mode. - port float
- Specifies the database access port. The valid values are range from
2100
to9500
and27017
,27018
,27019
. Defaults to8635
. - region str
- Specifies the region of the DDS instance.
- security_
group_ strid - Specifies the security group ID of the DDS instance.
- ssl bool
Specifies whether to enable or disable SSL. Defaults to true.
The instance will be restarted in the background when switching SSL. Please operate with caution.
- status str
- Indicates the node status.
- subnet_
id str - Specifies the subnet Network ID.
- Mapping[str, str]
- Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
- time_
zone str - Indicates the time zone.
- timeouts
Dds
Instance V3Timeouts Args - updated_
at str - Indicates the update time.
- vpc_
id str - Specifies the VPC ID.
- availability
Zone String - Specifies the ID of the availability zone.
- backup
Strategy Property Map - Specifies the advanced backup policy. The structure is described below.
- created
At String - Indicates the creation time.
- datastore Property Map
- Specifies database information. The structure is described below.
- 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.
- flavors List<Property Map>
- Specifies the flavor information. The structure is described below. Changing this creates a new instance.
- mode String
- Specifies the mode of the database instance.
- name String
- Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant.
- nodes List<Property Map>
- Indicates the instance nodes information. Structure is documented below.
- password String
- Specifies the Administrator password of the database instance.
- pay
Mode String - Indicates the billing mode.
0
: indicates the pay-per-use billing mode. - port Number
- Specifies the database access port. The valid values are range from
2100
to9500
and27017
,27018
,27019
. Defaults to8635
. - region String
- Specifies the region of the DDS instance.
- security
Group StringId - Specifies the security group ID of the DDS instance.
- ssl Boolean
Specifies whether to enable or disable SSL. Defaults to true.
The instance will be restarted in the background when switching SSL. Please operate with caution.
- status String
- Indicates the node status.
- subnet
Id String - Specifies the subnet Network ID.
- Map<String>
- Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
- time
Zone String - Indicates the time zone.
- timeouts Property Map
- updated
At String - Indicates the update time.
- vpc
Id String - Specifies the VPC ID.
Supporting Types
DdsInstanceV3BackupStrategy, DdsInstanceV3BackupStrategyArgs
- Keep
Days double - Specifies the number of days to retain the generated backup files. The
value range is from
0
to732
.- 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.
- If this parameter is set to
- 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 thehh
value. - The values from
mm
andMM
must be the same and must be set to any of the following00
,15
,30
, or45
.
- The
- Period string
- Specifies the backup cycle. Data will be automatically backed up on the
selected days every week.
- If you set the
keep_days
to 0, this parameter is no need to set. - If you set the
keep_days
within 6 days, set the parameter value to1,2,3,4,5,6,7
, data is automatically backed up on each day every week. - If you set the
keep_days
between 7 and 732 days, set the parameter value to at least one day of every week. For example:1
,3,5
.
- If you set the
- Keep
Days float64 - Specifies the number of days to retain the generated backup files. The
value range is from
0
to732
.- 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.
- If this parameter is set to
- 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 thehh
value. - The values from
mm
andMM
must be the same and must be set to any of the following00
,15
,30
, or45
.
- The
- Period string
- Specifies the backup cycle. Data will be automatically backed up on the
selected days every week.
- If you set the
keep_days
to 0, this parameter is no need to set. - If you set the
keep_days
within 6 days, set the parameter value to1,2,3,4,5,6,7
, data is automatically backed up on each day every week. - If you set the
keep_days
between 7 and 732 days, set the parameter value to at least one day of every week. For example:1
,3,5
.
- If you set the
- keep
Days Double - Specifies the number of days to retain the generated backup files. The
value range is from
0
to732
.- 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.
- If this parameter is set to
- 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 thehh
value. - The values from
mm
andMM
must be the same and must be set to any of the following00
,15
,30
, or45
.
- The
- period String
- Specifies the backup cycle. Data will be automatically backed up on the
selected days every week.
- If you set the
keep_days
to 0, this parameter is no need to set. - If you set the
keep_days
within 6 days, set the parameter value to1,2,3,4,5,6,7
, data is automatically backed up on each day every week. - If you set the
keep_days
between 7 and 732 days, set the parameter value to at least one day of every week. For example:1
,3,5
.
- If you set the
- keep
Days number - Specifies the number of days to retain the generated backup files. The
value range is from
0
to732
.- 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.
- If this parameter is set to
- 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 thehh
value. - The values from
mm
andMM
must be the same and must be set to any of the following00
,15
,30
, or45
.
- The
- period string
- Specifies the backup cycle. Data will be automatically backed up on the
selected days every week.
- If you set the
keep_days
to 0, this parameter is no need to set. - If you set the
keep_days
within 6 days, set the parameter value to1,2,3,4,5,6,7
, data is automatically backed up on each day every week. - If you set the
keep_days
between 7 and 732 days, set the parameter value to at least one day of every week. For example:1
,3,5
.
- If you set the
- keep_
days float - Specifies the number of days to retain the generated backup files. The
value range is from
0
to732
.- 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.
- If this parameter is set to
- 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 thehh
value. - The values from
mm
andMM
must be the same and must be set to any of the following00
,15
,30
, or45
.
- The
- period str
- Specifies the backup cycle. Data will be automatically backed up on the
selected days every week.
- If you set the
keep_days
to 0, this parameter is no need to set. - If you set the
keep_days
within 6 days, set the parameter value to1,2,3,4,5,6,7
, data is automatically backed up on each day every week. - If you set the
keep_days
between 7 and 732 days, set the parameter value to at least one day of every week. For example:1
,3,5
.
- If you set the
- keep
Days Number - Specifies the number of days to retain the generated backup files. The
value range is from
0
to732
.- 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.
- If this parameter is set to
- 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 thehh
value. - The values from
mm
andMM
must be the same and must be set to any of the following00
,15
,30
, or45
.
- The
- period String
- Specifies the backup cycle. Data will be automatically backed up on the
selected days every week.
- If you set the
keep_days
to 0, this parameter is no need to set. - If you set the
keep_days
within 6 days, set the parameter value to1,2,3,4,5,6,7
, data is automatically backed up on each day every week. - If you set the
keep_days
between 7 and 732 days, set the parameter value to at least one day of every week. For example:1
,3,5
.
- If you set the
DdsInstanceV3Datastore, DdsInstanceV3DatastoreArgs
- Type string
- Specifies the database type. DDS Community Edition is supported.
The value is
DDS-Community
. - Version string
- Specifies the database version.
The values are
3.2
,3.4
,4.0
,4.2
,4.4
. - Storage
Engine string - Specifies the storage engine. Currently, DDS supports the WiredTiger and RocksDB
storage engine. The values are
wiredTiger
,rocksDB
. WiredTiger engine supports versions3.2
,3.4
,4.0
while RocksDB supports versions4.2
,4.4
- Type string
- Specifies the database type. DDS Community Edition is supported.
The value is
DDS-Community
. - Version string
- Specifies the database version.
The values are
3.2
,3.4
,4.0
,4.2
,4.4
. - Storage
Engine string - Specifies the storage engine. Currently, DDS supports the WiredTiger and RocksDB
storage engine. The values are
wiredTiger
,rocksDB
. WiredTiger engine supports versions3.2
,3.4
,4.0
while RocksDB supports versions4.2
,4.4
- type String
- Specifies the database type. DDS Community Edition is supported.
The value is
DDS-Community
. - version String
- Specifies the database version.
The values are
3.2
,3.4
,4.0
,4.2
,4.4
. - storage
Engine String - Specifies the storage engine. Currently, DDS supports the WiredTiger and RocksDB
storage engine. The values are
wiredTiger
,rocksDB
. WiredTiger engine supports versions3.2
,3.4
,4.0
while RocksDB supports versions4.2
,4.4
- type string
- Specifies the database type. DDS Community Edition is supported.
The value is
DDS-Community
. - version string
- Specifies the database version.
The values are
3.2
,3.4
,4.0
,4.2
,4.4
. - storage
Engine string - Specifies the storage engine. Currently, DDS supports the WiredTiger and RocksDB
storage engine. The values are
wiredTiger
,rocksDB
. WiredTiger engine supports versions3.2
,3.4
,4.0
while RocksDB supports versions4.2
,4.4
- type str
- Specifies the database type. DDS Community Edition is supported.
The value is
DDS-Community
. - version str
- Specifies the database version.
The values are
3.2
,3.4
,4.0
,4.2
,4.4
. - storage_
engine str - Specifies the storage engine. Currently, DDS supports the WiredTiger and RocksDB
storage engine. The values are
wiredTiger
,rocksDB
. WiredTiger engine supports versions3.2
,3.4
,4.0
while RocksDB supports versions4.2
,4.4
- type String
- Specifies the database type. DDS Community Edition is supported.
The value is
DDS-Community
. - version String
- Specifies the database version.
The values are
3.2
,3.4
,4.0
,4.2
,4.4
. - storage
Engine String - Specifies the storage engine. Currently, DDS supports the WiredTiger and RocksDB
storage engine. The values are
wiredTiger
,rocksDB
. WiredTiger engine supports versions3.2
,3.4
,4.0
while RocksDB supports versions4.2
,4.4
DdsInstanceV3Flavor, DdsInstanceV3FlavorArgs
- Num double
- Specifies the node quantity. Valid value:
- Spec
Code string Specifies the resource specification code.
The
backup_strategy
block supports:- Type string
- Specifies the node type. Valid value:
- For a cluster instance, the value can be
mongos
,shard
, orconfig
. - For a replica set instance, the value is
replica
. - For a single node instance, the value is
single
.
- For a cluster instance, the value can be
- Size double
Specifies the disk size. The value must be a multiple of
10
. The unit is GB.- For a
cluster
instance, the storage space of a shard node can be10
to1000
GB, and the config storage space is20
GB. This parameter is invalid formongos
nodes. Therefore, you do not need to specify the storage space formongos
nodes. - For a
replica set
instance, the value ranges from10
to2000
.
This parameter is mandatory for all nodes except
mongos
. This parameter is invalid for themongos
nodes.- For a
- Storage string
Specifies the disk type. Valid value:
ULTRAHIGH
which indicates the type SSD.This parameter is optional for all nodes except
mongos
. This parameter is invalid for themongos
nodes.
- Num float64
- Specifies the node quantity. Valid value:
- Spec
Code string Specifies the resource specification code.
The
backup_strategy
block supports:- Type string
- Specifies the node type. Valid value:
- For a cluster instance, the value can be
mongos
,shard
, orconfig
. - For a replica set instance, the value is
replica
. - For a single node instance, the value is
single
.
- For a cluster instance, the value can be
- Size float64
Specifies the disk size. The value must be a multiple of
10
. The unit is GB.- For a
cluster
instance, the storage space of a shard node can be10
to1000
GB, and the config storage space is20
GB. This parameter is invalid formongos
nodes. Therefore, you do not need to specify the storage space formongos
nodes. - For a
replica set
instance, the value ranges from10
to2000
.
This parameter is mandatory for all nodes except
mongos
. This parameter is invalid for themongos
nodes.- For a
- Storage string
Specifies the disk type. Valid value:
ULTRAHIGH
which indicates the type SSD.This parameter is optional for all nodes except
mongos
. This parameter is invalid for themongos
nodes.
- num Double
- Specifies the node quantity. Valid value:
- spec
Code String Specifies the resource specification code.
The
backup_strategy
block supports:- type String
- Specifies the node type. Valid value:
- For a cluster instance, the value can be
mongos
,shard
, orconfig
. - For a replica set instance, the value is
replica
. - For a single node instance, the value is
single
.
- For a cluster instance, the value can be
- size Double
Specifies the disk size. The value must be a multiple of
10
. The unit is GB.- For a
cluster
instance, the storage space of a shard node can be10
to1000
GB, and the config storage space is20
GB. This parameter is invalid formongos
nodes. Therefore, you do not need to specify the storage space formongos
nodes. - For a
replica set
instance, the value ranges from10
to2000
.
This parameter is mandatory for all nodes except
mongos
. This parameter is invalid for themongos
nodes.- For a
- storage String
Specifies the disk type. Valid value:
ULTRAHIGH
which indicates the type SSD.This parameter is optional for all nodes except
mongos
. This parameter is invalid for themongos
nodes.
- num number
- Specifies the node quantity. Valid value:
- spec
Code string Specifies the resource specification code.
The
backup_strategy
block supports:- type string
- Specifies the node type. Valid value:
- For a cluster instance, the value can be
mongos
,shard
, orconfig
. - For a replica set instance, the value is
replica
. - For a single node instance, the value is
single
.
- For a cluster instance, the value can be
- size number
Specifies the disk size. The value must be a multiple of
10
. The unit is GB.- For a
cluster
instance, the storage space of a shard node can be10
to1000
GB, and the config storage space is20
GB. This parameter is invalid formongos
nodes. Therefore, you do not need to specify the storage space formongos
nodes. - For a
replica set
instance, the value ranges from10
to2000
.
This parameter is mandatory for all nodes except
mongos
. This parameter is invalid for themongos
nodes.- For a
- storage string
Specifies the disk type. Valid value:
ULTRAHIGH
which indicates the type SSD.This parameter is optional for all nodes except
mongos
. This parameter is invalid for themongos
nodes.
- num float
- Specifies the node quantity. Valid value:
- spec_
code str Specifies the resource specification code.
The
backup_strategy
block supports:- type str
- Specifies the node type. Valid value:
- For a cluster instance, the value can be
mongos
,shard
, orconfig
. - For a replica set instance, the value is
replica
. - For a single node instance, the value is
single
.
- For a cluster instance, the value can be
- size float
Specifies the disk size. The value must be a multiple of
10
. The unit is GB.- For a
cluster
instance, the storage space of a shard node can be10
to1000
GB, and the config storage space is20
GB. This parameter is invalid formongos
nodes. Therefore, you do not need to specify the storage space formongos
nodes. - For a
replica set
instance, the value ranges from10
to2000
.
This parameter is mandatory for all nodes except
mongos
. This parameter is invalid for themongos
nodes.- For a
- storage str
Specifies the disk type. Valid value:
ULTRAHIGH
which indicates the type SSD.This parameter is optional for all nodes except
mongos
. This parameter is invalid for themongos
nodes.
- num Number
- Specifies the node quantity. Valid value:
- spec
Code String Specifies the resource specification code.
The
backup_strategy
block supports:- type String
- Specifies the node type. Valid value:
- For a cluster instance, the value can be
mongos
,shard
, orconfig
. - For a replica set instance, the value is
replica
. - For a single node instance, the value is
single
.
- For a cluster instance, the value can be
- size Number
Specifies the disk size. The value must be a multiple of
10
. The unit is GB.- For a
cluster
instance, the storage space of a shard node can be10
to1000
GB, and the config storage space is20
GB. This parameter is invalid formongos
nodes. Therefore, you do not need to specify the storage space formongos
nodes. - For a
replica set
instance, the value ranges from10
to2000
.
This parameter is mandatory for all nodes except
mongos
. This parameter is invalid for themongos
nodes.- For a
- storage String
Specifies the disk type. Valid value:
ULTRAHIGH
which indicates the type SSD.This parameter is optional for all nodes except
mongos
. This parameter is invalid for themongos
nodes.
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.
- Private
Ip string - Indicates the private IP address of a node. This parameter is valid only for mongos nodes, replica set 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.
- Role string
- Indicates the node role.
- Status string
- Indicates the node status.
- Type string
- Indicates the node type.
- 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.
- Private
Ip string - Indicates the private IP address of a node. This parameter is valid only for mongos nodes, replica set 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.
- Role string
- Indicates the node role.
- Status string
- Indicates the node status.
- Type string
- Indicates the node type.
- 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.
- private
Ip String - Indicates the private IP address of a node. This parameter is valid only for mongos nodes, replica set 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.
- role String
- Indicates the node role.
- status String
- Indicates the node status.
- type String
- Indicates the node type.
- 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.
- private
Ip string - Indicates the private IP address of a node. This parameter is valid only for mongos nodes, replica set 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.
- role string
- Indicates the node role.
- status string
- Indicates the node status.
- type string
- Indicates the node type.
- 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.
- private_
ip str - Indicates the private IP address of a node. This parameter is valid only for mongos nodes, replica set 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.
- role str
- Indicates the node role.
- status str
- Indicates the node status.
- type str
- Indicates the node type.
- 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.
- private
Ip String - Indicates the private IP address of a node. This parameter is valid only for mongos nodes, replica set 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.
- role String
- Indicates the node role.
- status String
- Indicates the node status.
- type String
- Indicates the node type.
DdsInstanceV3Timeouts, DdsInstanceV3TimeoutsArgs
Import
DDSv3 Instance can be imported using the id
, e.g.
$ pulumi import opentelekomcloud:index/ddsInstanceV3:DdsInstanceV3 instance_1 c1851195-cdcb-4d23-96cb-032e6a3ee667
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.