opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getDdsInstanceV3
Explore with Pulumi AI
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 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 dictionary
The following arguments are supported:
- Datastore
Type string - Specifies the database type. The value is
DDS-Community
. - Id string
- Indicates the DB instance ID.
- Instance
Id string - Specifies the DB instance ID.
- Name string
- Specifies the DB instance name.
- Subnet
Id 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.
- Vpc
Id 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 string - Specifies the database type. The value is
DDS-Community
. - Id string
- Indicates the DB instance ID.
- Instance
Id string - Specifies the DB instance ID.
- Name string
- Specifies the DB instance name.
- Subnet
Id 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.
- Vpc
Id 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 String - Specifies the database type. The value is
DDS-Community
. - id String
- Indicates the DB instance ID.
- instance
Id String - Specifies the DB instance ID.
- name String
- Specifies the DB instance name.
- subnet
Id 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.
- vpc
Id 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 string - Specifies the database type. The value is
DDS-Community
. - id string
- Indicates the DB instance ID.
- instance
Id string - Specifies the DB instance ID.
- name string
- Specifies the DB instance name.
- subnet
Id 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.
- vpc
Id 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.
- datastore
Type String - Specifies the database type. The value is
DDS-Community
. - id String
- Indicates the DB instance ID.
- instance
Id String - Specifies the DB instance ID.
- name String
- Specifies the DB instance name.
- subnet
Id 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.
- vpc
Id 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:
- Backup
Strategies List<GetDds Instance V3Backup Strategy> - Datastores
List<Get
Dds Instance V3Datastore> - Db
Username string - Indicates the default username.
- Disk
Encryption 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<Get
Dds Instance V3Node> - Pay
Mode string - Port double
- Region string
- Indicates the region where the DB instance is deployed.
- Security
Group stringId - Indicates the security group ID.
- Ssl bool
- Indicates that SSL is enabled or not.
- Status string
- Indicates the DB instance status.
- Datastore
Type string - Instance
Id string - Name string
- Indicates the DB instance name.
- Subnet
Id string - Indicates the subnet ID.
- Vpc
Id string - Indicates the VPC ID.
- Backup
Strategies []GetDds Instance V3Backup Strategy - Datastores
[]Get
Dds Instance V3Datastore - Db
Username string - Indicates the default username.
- Disk
Encryption 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
[]Get
Dds Instance V3Node - Pay
Mode string - Port float64
- Region string
- Indicates the region where the DB instance is deployed.
- Security
Group stringId - Indicates the security group ID.
- Ssl bool
- Indicates that SSL is enabled or not.
- Status string
- Indicates the DB instance status.
- Datastore
Type string - Instance
Id string - Name string
- Indicates the DB instance name.
- Subnet
Id string - Indicates the subnet ID.
- Vpc
Id string - Indicates the VPC ID.
- backup
Strategies List<GetDds Instance V3Backup Strategy> - datastores
List<Get
Dds Instance V3Datastore> - db
Username String - Indicates the default username.
- disk
Encryption 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<Get
Dds Instance V3Node> - pay
Mode String - port Double
- region String
- Indicates the region where the DB instance is deployed.
- security
Group StringId - Indicates the security group ID.
- ssl Boolean
- Indicates that SSL is enabled or not.
- status String
- Indicates the DB instance status.
- datastore
Type String - instance
Id String - name String
- Indicates the DB instance name.
- subnet
Id String - Indicates the subnet ID.
- vpc
Id String - Indicates the VPC ID.
- backup
Strategies GetDds Instance V3Backup Strategy[] - datastores
Get
Dds Instance V3Datastore[] - db
Username string - Indicates the default username.
- disk
Encryption 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
Get
Dds Instance V3Node[] - pay
Mode string - port number
- region string
- Indicates the region where the DB instance is deployed.
- security
Group stringId - Indicates the security group ID.
- ssl boolean
- Indicates that SSL is enabled or not.
- status string
- Indicates the DB instance status.
- datastore
Type string - instance
Id string - name string
- Indicates the DB instance name.
- subnet
Id string - Indicates the subnet ID.
- vpc
Id string - Indicates the VPC ID.
- backup_
strategies Sequence[GetDds Instance V3Backup Strategy] - datastores
Sequence[Get
Dds 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[Get
Dds 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.
- backup
Strategies List<Property Map> - datastores List<Property Map>
- db
Username String - Indicates the default username.
- disk
Encryption 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>
- pay
Mode String - port Number
- region String
- Indicates the region where the DB instance is deployed.
- security
Group StringId - Indicates the security group ID.
- ssl Boolean
- Indicates that SSL is enabled or not.
- status String
- Indicates the DB instance status.
- datastore
Type String - instance
Id String - name String
- Indicates the DB instance name.
- subnet
Id String - Indicates the subnet ID.
- vpc
Id String - Indicates the VPC ID.
Supporting Types
GetDdsInstanceV3BackupStrategy
- keep_
days float - start_
time str
GetDdsInstanceV3Datastore
- Storage
Engine string - Type string
- Version string
- Storage
Engine string - Type string
- Version string
- storage
Engine String - type String
- version String
- storage
Engine string - type string
- version string
- storage_
engine str - type str
- version str
- storage
Engine String - type String
- version String
GetDdsInstanceV3Node
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud