opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud
opentelekomcloud.getDdmInstanceV1
Explore with Pulumi AI
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud
Up-to-date reference of API arguments for DDM instance you can get at documentation portal
Use this data source to get info of the OpenTelekomCloud DDM 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.getDdmInstanceV1({
    instanceId: instanceId,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
instance_id = config.require_object("instanceId")
instance = opentelekomcloud.get_ddm_instance_v1(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.LookupDdmInstanceV1(ctx, &opentelekomcloud.LookupDdmInstanceV1Args{
			InstanceId: 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.GetDdmInstanceV1.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.GetDdmInstanceV1Args;
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.getDdmInstanceV1(GetDdmInstanceV1Args.builder()
            .instanceId(instanceId)
            .build());
    }
}
configuration:
  instanceId:
    type: dynamic
variables:
  instance:
    fn::invoke:
      function: opentelekomcloud:getDdmInstanceV1
      arguments:
        instanceId: ${instanceId}
Using getDdmInstanceV1
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 getDdmInstanceV1(args: GetDdmInstanceV1Args, opts?: InvokeOptions): Promise<GetDdmInstanceV1Result>
function getDdmInstanceV1Output(args: GetDdmInstanceV1OutputArgs, opts?: InvokeOptions): Output<GetDdmInstanceV1Result>def get_ddm_instance_v1(id: Optional[str] = None,
                        instance_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetDdmInstanceV1Result
def get_ddm_instance_v1_output(id: Optional[pulumi.Input[str]] = None,
                        instance_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetDdmInstanceV1Result]func LookupDdmInstanceV1(ctx *Context, args *LookupDdmInstanceV1Args, opts ...InvokeOption) (*LookupDdmInstanceV1Result, error)
func LookupDdmInstanceV1Output(ctx *Context, args *LookupDdmInstanceV1OutputArgs, opts ...InvokeOption) LookupDdmInstanceV1ResultOutput> Note: This function is named LookupDdmInstanceV1 in the Go SDK.
public static class GetDdmInstanceV1 
{
    public static Task<GetDdmInstanceV1Result> InvokeAsync(GetDdmInstanceV1Args args, InvokeOptions? opts = null)
    public static Output<GetDdmInstanceV1Result> Invoke(GetDdmInstanceV1InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDdmInstanceV1Result> getDdmInstanceV1(GetDdmInstanceV1Args args, InvokeOptions options)
public static Output<GetDdmInstanceV1Result> getDdmInstanceV1(GetDdmInstanceV1Args args, InvokeOptions options)
fn::invoke:
  function: opentelekomcloud:index/getDdmInstanceV1:getDdmInstanceV1
  arguments:
    # arguments dictionaryThe following arguments are supported:
- InstanceId string
- Specifies the DDM instance ID.
- Id string
- InstanceId string
- Specifies the DDM instance ID.
- Id string
- instanceId String
- Specifies the DDM instance ID.
- id String
- instanceId string
- Specifies the DDM instance ID.
- id string
- instance_id str
- Specifies the DDM instance ID.
- id str
- instanceId String
- Specifies the DDM instance ID.
- id String
getDdmInstanceV1 Result
The following output properties are available:
- AccessIp string
- AccessPort string
- Indicates the DDM access port.
- AvailabilityZone string
- Indicates the availability zone of DDM instance.
- CreatedAt string
- Indicates the creation time.
- Id string
- InstanceId string
- See Argument Reference above.
- Name string
- Indicates the name of DDM instance.
- NodeNum double
- Indicates the disk encryption ID of the instance.
- NodeStatus string
- Indicates the DDM nodes status.
- Nodes
List<GetDdm Instance V1Node> 
- Indicates the instance nodes information. Structure is documented below.
- Region string
- Indicates the region of the DDM instance.
- SecurityGroup stringId 
- Indicates the security group ID of the DDM instance.
- Status string
- Indicates the node status.
- SubnetId string
- Indicates the subnet Network ID.
- UpdatedAt string
- Indicates the update time.
- Username string
- Indicates the Administrator username of the DDM instance.
- VpcId string
- Indicates the VPC ID.
- AccessIp string
- AccessPort string
- Indicates the DDM access port.
- AvailabilityZone string
- Indicates the availability zone of DDM instance.
- CreatedAt string
- Indicates the creation time.
- Id string
- InstanceId string
- See Argument Reference above.
- Name string
- Indicates the name of DDM instance.
- NodeNum float64
- Indicates the disk encryption ID of the instance.
- NodeStatus string
- Indicates the DDM nodes status.
- Nodes
[]GetDdm Instance V1Node 
- Indicates the instance nodes information. Structure is documented below.
- Region string
- Indicates the region of the DDM instance.
- SecurityGroup stringId 
- Indicates the security group ID of the DDM instance.
- Status string
- Indicates the node status.
- SubnetId string
- Indicates the subnet Network ID.
- UpdatedAt string
- Indicates the update time.
- Username string
- Indicates the Administrator username of the DDM instance.
- VpcId string
- Indicates the VPC ID.
- accessIp String
- accessPort String
- Indicates the DDM access port.
- availabilityZone String
- Indicates the availability zone of DDM instance.
- createdAt String
- Indicates the creation time.
- id String
- instanceId String
- See Argument Reference above.
- name String
- Indicates the name of DDM instance.
- nodeNum Double
- Indicates the disk encryption ID of the instance.
- nodeStatus String
- Indicates the DDM nodes status.
- nodes
List<GetDdm Instance V1Node> 
- Indicates the instance nodes information. Structure is documented below.
- region String
- Indicates the region of the DDM instance.
- securityGroup StringId 
- Indicates the security group ID of the DDM instance.
- status String
- Indicates the node status.
- subnetId String
- Indicates the subnet Network ID.
- updatedAt String
- Indicates the update time.
- username String
- Indicates the Administrator username of the DDM instance.
- vpcId String
- Indicates the VPC ID.
- accessIp string
- accessPort string
- Indicates the DDM access port.
- availabilityZone string
- Indicates the availability zone of DDM instance.
- createdAt string
- Indicates the creation time.
- id string
- instanceId string
- See Argument Reference above.
- name string
- Indicates the name of DDM instance.
- nodeNum number
- Indicates the disk encryption ID of the instance.
- nodeStatus string
- Indicates the DDM nodes status.
- nodes
GetDdm Instance V1Node[] 
- Indicates the instance nodes information. Structure is documented below.
- region string
- Indicates the region of the DDM instance.
- securityGroup stringId 
- Indicates the security group ID of the DDM instance.
- status string
- Indicates the node status.
- subnetId string
- Indicates the subnet Network ID.
- updatedAt string
- Indicates the update time.
- username string
- Indicates the Administrator username of the DDM instance.
- vpcId string
- Indicates the VPC ID.
- access_ip str
- access_port str
- Indicates the DDM access port.
- availability_zone str
- Indicates the availability zone of DDM instance.
- created_at str
- Indicates the creation time.
- id str
- instance_id str
- See Argument Reference above.
- name str
- Indicates the name of DDM instance.
- node_num float
- Indicates the disk encryption ID of the instance.
- node_status str
- Indicates the DDM nodes status.
- nodes
Sequence[GetDdm Instance V1Node] 
- Indicates the instance nodes information. Structure is documented below.
- region str
- Indicates the region of the DDM instance.
- security_group_ strid 
- Indicates the security group ID of the DDM instance.
- status str
- Indicates the node status.
- subnet_id str
- Indicates the subnet Network ID.
- updated_at str
- Indicates the update time.
- username str
- Indicates the Administrator username of the DDM instance.
- vpc_id str
- Indicates the VPC ID.
- accessIp String
- accessPort String
- Indicates the DDM access port.
- availabilityZone String
- Indicates the availability zone of DDM instance.
- createdAt String
- Indicates the creation time.
- id String
- instanceId String
- See Argument Reference above.
- name String
- Indicates the name of DDM instance.
- nodeNum Number
- Indicates the disk encryption ID of the instance.
- nodeStatus String
- Indicates the DDM nodes status.
- nodes List<Property Map>
- Indicates the instance nodes information. Structure is documented below.
- region String
- Indicates the region of the DDM instance.
- securityGroup StringId 
- Indicates the security group ID of the DDM instance.
- status String
- Indicates the node status.
- subnetId String
- Indicates the subnet Network ID.
- updatedAt String
- Indicates the update time.
- username String
- Indicates the Administrator username of the DDM instance.
- vpcId String
- Indicates the VPC ID.
Supporting Types
GetDdmInstanceV1Node   
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the opentelekomcloudTerraform Provider.
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud