opentelekomcloud 1.36.51 published on Thursday, Oct 23, 2025 by opentelekomcloud
opentelekomcloud.getDdsInstanceV3
opentelekomcloud 1.36.51 published on Thursday, Oct 23, 2025 by opentelekomcloud
Up-to-date reference of API arguments for DDS instance you can get at documentation portal
Use this data source to get info of the OpenTelekomCloud DDS instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const instanceId = config.requireObject("instanceId");
const instance = opentelekomcloud.getDdsInstanceV3({
    instanceId: instanceId,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
instance_id = config.require_object("instanceId")
instance = opentelekomcloud.get_dds_instance_v3(instance_id=instance_id)
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, "")
		instanceId := cfg.RequireObject("instanceId")
		_, err := opentelekomcloud.LookupDdsInstanceV3(ctx, &opentelekomcloud.LookupDdsInstanceV3Args{
			InstanceId: pulumi.StringRef(instanceId),
		}, nil)
		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 instanceId = config.RequireObject<dynamic>("instanceId");
    var instance = Opentelekomcloud.GetDdsInstanceV3.Invoke(new()
    {
        InstanceId = instanceId,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetDdsInstanceV3Args;
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 instanceId = config.get("instanceId");
        final var instance = OpentelekomcloudFunctions.getDdsInstanceV3(GetDdsInstanceV3Args.builder()
            .instanceId(instanceId)
            .build());
    }
}
configuration:
  instanceId:
    type: dynamic
variables:
  instance:
    fn::invoke:
      function: opentelekomcloud:getDdsInstanceV3
      arguments:
        instanceId: ${instanceId}
Using getDdsInstanceV3
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDdsInstanceV3(args: GetDdsInstanceV3Args, opts?: InvokeOptions): Promise<GetDdsInstanceV3Result>
function getDdsInstanceV3Output(args: GetDdsInstanceV3OutputArgs, opts?: InvokeOptions): Output<GetDdsInstanceV3Result>def get_dds_instance_v3(datastore_type: Optional[str] = None,
                        id: Optional[str] = None,
                        instance_id: Optional[str] = None,
                        name: Optional[str] = None,
                        subnet_id: Optional[str] = None,
                        vpc_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetDdsInstanceV3Result
def get_dds_instance_v3_output(datastore_type: Optional[pulumi.Input[str]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        instance_id: Optional[pulumi.Input[str]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        subnet_id: Optional[pulumi.Input[str]] = None,
                        vpc_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetDdsInstanceV3Result]func LookupDdsInstanceV3(ctx *Context, args *LookupDdsInstanceV3Args, opts ...InvokeOption) (*LookupDdsInstanceV3Result, error)
func LookupDdsInstanceV3Output(ctx *Context, args *LookupDdsInstanceV3OutputArgs, opts ...InvokeOption) LookupDdsInstanceV3ResultOutput> Note: This function is named LookupDdsInstanceV3 in the Go SDK.
public static class GetDdsInstanceV3 
{
    public static Task<GetDdsInstanceV3Result> InvokeAsync(GetDdsInstanceV3Args args, InvokeOptions? opts = null)
    public static Output<GetDdsInstanceV3Result> Invoke(GetDdsInstanceV3InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDdsInstanceV3Result> getDdsInstanceV3(GetDdsInstanceV3Args args, InvokeOptions options)
public static Output<GetDdsInstanceV3Result> getDdsInstanceV3(GetDdsInstanceV3Args args, InvokeOptions options)
fn::invoke:
  function: opentelekomcloud:index/getDdsInstanceV3:getDdsInstanceV3
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DatastoreType string
- Specifies the database type. The value is DDS-Community.
- Id string
- Indicates the DB instance ID.
- InstanceId string
- Specifies the DB instance ID.
- Name string
- Specifies the DB instance name.
- SubnetId string
- Specifies the network ID of the subnet. You can log in to the VPC console and obtain the network ID of the subnet in the VPC where the DDS instance is located.
- VpcId string
- Specifies the VPC ID. You can log in to the VPC console and obtain the ID of the VPC where the DDS instance is located.
- DatastoreType string
- Specifies the database type. The value is DDS-Community.
- Id string
- Indicates the DB instance ID.
- InstanceId string
- Specifies the DB instance ID.
- Name string
- Specifies the DB instance name.
- SubnetId string
- Specifies the network ID of the subnet. You can log in to the VPC console and obtain the network ID of the subnet in the VPC where the DDS instance is located.
- VpcId string
- Specifies the VPC ID. You can log in to the VPC console and obtain the ID of the VPC where the DDS instance is located.
- datastoreType String
- Specifies the database type. The value is DDS-Community.
- id String
- Indicates the DB instance ID.
- instanceId String
- Specifies the DB instance ID.
- name String
- Specifies the DB instance name.
- subnetId String
- Specifies the network ID of the subnet. You can log in to the VPC console and obtain the network ID of the subnet in the VPC where the DDS instance is located.
- vpcId String
- Specifies the VPC ID. You can log in to the VPC console and obtain the ID of the VPC where the DDS instance is located.
- datastoreType string
- Specifies the database type. The value is DDS-Community.
- id string
- Indicates the DB instance ID.
- instanceId string
- Specifies the DB instance ID.
- name string
- Specifies the DB instance name.
- subnetId string
- Specifies the network ID of the subnet. You can log in to the VPC console and obtain the network ID of the subnet in the VPC where the DDS instance is located.
- vpcId string
- Specifies the VPC ID. You can log in to the VPC console and obtain the ID of the VPC where the DDS instance is located.
- datastore_type str
- Specifies the database type. The value is DDS-Community.
- id str
- Indicates the DB instance ID.
- instance_id str
- Specifies the DB instance ID.
- name str
- Specifies the DB instance name.
- subnet_id str
- Specifies the network ID of the subnet. You can log in to the VPC console and obtain the network ID of the subnet in the VPC where the DDS instance is located.
- vpc_id str
- Specifies the VPC ID. You can log in to the VPC console and obtain the ID of the VPC where the DDS instance is located.
- datastoreType String
- Specifies the database type. The value is DDS-Community.
- id String
- Indicates the DB instance ID.
- instanceId String
- Specifies the DB instance ID.
- name String
- Specifies the DB instance name.
- subnetId String
- Specifies the network ID of the subnet. You can log in to the VPC console and obtain the network ID of the subnet in the VPC where the DDS instance is located.
- vpcId String
- Specifies the VPC ID. You can log in to the VPC console and obtain the ID of the VPC where the DDS instance is located.
getDdsInstanceV3 Result
The following output properties are available:
- BackupStrategies List<GetDds Instance V3Backup Strategy> 
- Datastores
List<GetDds Instance V3Datastore> 
- DbUsername string
- Indicates the default username.
- DiskEncryption stringId 
- Indicates the disk encryption key ID. This parameter is returned only when the instance disk is encrypted.
- Id string
- Indicates the DB instance ID.
- Mode string
- Indicates the instance type, which is the same as the request parameter.
- Nodes
List<GetDds Instance V3Node> 
- PayMode string
- Port double
- Region string
- Indicates the region where the DB instance is deployed.
- SecurityGroup stringId 
- Indicates the security group ID.
- Ssl bool
- Indicates that SSL is enabled or not.
- Status string
- Indicates the DB instance status.
- DatastoreType string
- InstanceId string
- Name string
- Indicates the DB instance name.
- SubnetId string
- Indicates the subnet ID.
- VpcId string
- Indicates the VPC ID.
- BackupStrategies []GetDds Instance V3Backup Strategy 
- Datastores
[]GetDds Instance V3Datastore 
- DbUsername string
- Indicates the default username.
- DiskEncryption stringId 
- Indicates the disk encryption key ID. This parameter is returned only when the instance disk is encrypted.
- Id string
- Indicates the DB instance ID.
- Mode string
- Indicates the instance type, which is the same as the request parameter.
- Nodes
[]GetDds Instance V3Node 
- PayMode string
- Port float64
- Region string
- Indicates the region where the DB instance is deployed.
- SecurityGroup stringId 
- Indicates the security group ID.
- Ssl bool
- Indicates that SSL is enabled or not.
- Status string
- Indicates the DB instance status.
- DatastoreType string
- InstanceId string
- Name string
- Indicates the DB instance name.
- SubnetId string
- Indicates the subnet ID.
- VpcId string
- Indicates the VPC ID.
- backupStrategies List<GetDds Instance V3Backup Strategy> 
- datastores
List<GetDds Instance V3Datastore> 
- dbUsername String
- Indicates the default username.
- diskEncryption StringId 
- Indicates the disk encryption key ID. This parameter is returned only when the instance disk is encrypted.
- id String
- Indicates the DB instance ID.
- mode String
- Indicates the instance type, which is the same as the request parameter.
- nodes
List<GetDds Instance V3Node> 
- payMode String
- port Double
- region String
- Indicates the region where the DB instance is deployed.
- securityGroup StringId 
- Indicates the security group ID.
- ssl Boolean
- Indicates that SSL is enabled or not.
- status String
- Indicates the DB instance status.
- datastoreType String
- instanceId String
- name String
- Indicates the DB instance name.
- subnetId String
- Indicates the subnet ID.
- vpcId String
- Indicates the VPC ID.
- backupStrategies GetDds Instance V3Backup Strategy[] 
- datastores
GetDds Instance V3Datastore[] 
- dbUsername string
- Indicates the default username.
- diskEncryption stringId 
- Indicates the disk encryption key ID. This parameter is returned only when the instance disk is encrypted.
- id string
- Indicates the DB instance ID.
- mode string
- Indicates the instance type, which is the same as the request parameter.
- nodes
GetDds Instance V3Node[] 
- payMode string
- port number
- region string
- Indicates the region where the DB instance is deployed.
- securityGroup stringId 
- Indicates the security group ID.
- ssl boolean
- Indicates that SSL is enabled or not.
- status string
- Indicates the DB instance status.
- datastoreType string
- instanceId string
- name string
- Indicates the DB instance name.
- subnetId string
- Indicates the subnet ID.
- vpcId string
- Indicates the VPC ID.
- backup_strategies Sequence[GetDds Instance V3Backup Strategy] 
- datastores
Sequence[GetDds Instance V3Datastore] 
- db_username str
- Indicates the default username.
- disk_encryption_ strid 
- Indicates the disk encryption key ID. This parameter is returned only when the instance disk is encrypted.
- id str
- Indicates the DB instance ID.
- mode str
- Indicates the instance type, which is the same as the request parameter.
- nodes
Sequence[GetDds Instance V3Node] 
- pay_mode str
- port float
- region str
- Indicates the region where the DB instance is deployed.
- security_group_ strid 
- Indicates the security group ID.
- ssl bool
- Indicates that SSL is enabled or not.
- status str
- Indicates the DB instance status.
- datastore_type str
- instance_id str
- name str
- Indicates the DB instance name.
- subnet_id str
- Indicates the subnet ID.
- vpc_id str
- Indicates the VPC ID.
- backupStrategies List<Property Map>
- datastores List<Property Map>
- dbUsername String
- Indicates the default username.
- diskEncryption StringId 
- Indicates the disk encryption key ID. This parameter is returned only when the instance disk is encrypted.
- id String
- Indicates the DB instance ID.
- mode String
- Indicates the instance type, which is the same as the request parameter.
- nodes List<Property Map>
- payMode String
- port Number
- region String
- Indicates the region where the DB instance is deployed.
- securityGroup StringId 
- Indicates the security group ID.
- ssl Boolean
- Indicates that SSL is enabled or not.
- status String
- Indicates the DB instance status.
- datastoreType String
- instanceId String
- name String
- Indicates the DB instance name.
- subnetId String
- Indicates the subnet ID.
- vpcId String
- Indicates the VPC ID.
Supporting Types
GetDdsInstanceV3BackupStrategy    
- keep_days float
- start_time str
GetDdsInstanceV3Datastore   
- StorageEngine string
- Type string
- Version string
- StorageEngine string
- Type string
- Version string
- storageEngine String
- type String
- version String
- storageEngine string
- type string
- version string
- storage_engine str
- type str
- version str
- storageEngine String
- type String
- version String
GetDdsInstanceV3Node   
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the opentelekomcloudTerraform Provider.
opentelekomcloud 1.36.51 published on Thursday, Oct 23, 2025 by opentelekomcloud
