opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getDdmInstanceV1
Explore with Pulumi AI
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 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 dictionary
The following arguments are supported:
- Instance
Id string - Specifies the DDM instance ID.
- Id string
- Instance
Id string - Specifies the DDM instance ID.
- Id string
- instance
Id String - Specifies the DDM instance ID.
- id String
- instance
Id string - Specifies the DDM instance ID.
- id string
- instance_
id str - Specifies the DDM instance ID.
- id str
- instance
Id String - Specifies the DDM instance ID.
- id String
getDdmInstanceV1 Result
The following output properties are available:
- Access
Ip string - Access
Port string - Indicates the DDM access port.
- Availability
Zone string - Indicates the availability zone of DDM instance.
- Created
At string - Indicates the creation time.
- Id string
- Instance
Id string - See Argument Reference above.
- Name string
- Indicates the name of DDM instance.
- Node
Num double - Indicates the disk encryption ID of the instance.
- Node
Status string - Indicates the DDM nodes status.
- Nodes
List<Get
Ddm Instance V1Node> - Indicates the instance nodes information. Structure is documented below.
- Region string
- Indicates the region of the DDM instance.
- Security
Group stringId - Indicates the security group ID of the DDM instance.
- Status string
- Indicates the node status.
- Subnet
Id string - Indicates the subnet Network ID.
- Updated
At string - Indicates the update time.
- Username string
- Indicates the Administrator username of the DDM instance.
- Vpc
Id string - Indicates the VPC ID.
- Access
Ip string - Access
Port string - Indicates the DDM access port.
- Availability
Zone string - Indicates the availability zone of DDM instance.
- Created
At string - Indicates the creation time.
- Id string
- Instance
Id string - See Argument Reference above.
- Name string
- Indicates the name of DDM instance.
- Node
Num float64 - Indicates the disk encryption ID of the instance.
- Node
Status string - Indicates the DDM nodes status.
- Nodes
[]Get
Ddm Instance V1Node - Indicates the instance nodes information. Structure is documented below.
- Region string
- Indicates the region of the DDM instance.
- Security
Group stringId - Indicates the security group ID of the DDM instance.
- Status string
- Indicates the node status.
- Subnet
Id string - Indicates the subnet Network ID.
- Updated
At string - Indicates the update time.
- Username string
- Indicates the Administrator username of the DDM instance.
- Vpc
Id string - Indicates the VPC ID.
- access
Ip String - access
Port String - Indicates the DDM access port.
- availability
Zone String - Indicates the availability zone of DDM instance.
- created
At String - Indicates the creation time.
- id String
- instance
Id String - See Argument Reference above.
- name String
- Indicates the name of DDM instance.
- node
Num Double - Indicates the disk encryption ID of the instance.
- node
Status String - Indicates the DDM nodes status.
- nodes
List<Get
Ddm Instance V1Node> - Indicates the instance nodes information. Structure is documented below.
- region String
- Indicates the region of the DDM instance.
- security
Group StringId - Indicates the security group ID of the DDM instance.
- status String
- Indicates the node status.
- subnet
Id String - Indicates the subnet Network ID.
- updated
At String - Indicates the update time.
- username String
- Indicates the Administrator username of the DDM instance.
- vpc
Id String - Indicates the VPC ID.
- access
Ip string - access
Port string - Indicates the DDM access port.
- availability
Zone string - Indicates the availability zone of DDM instance.
- created
At string - Indicates the creation time.
- id string
- instance
Id string - See Argument Reference above.
- name string
- Indicates the name of DDM instance.
- node
Num number - Indicates the disk encryption ID of the instance.
- node
Status string - Indicates the DDM nodes status.
- nodes
Get
Ddm Instance V1Node[] - Indicates the instance nodes information. Structure is documented below.
- region string
- Indicates the region of the DDM instance.
- security
Group stringId - Indicates the security group ID of the DDM instance.
- status string
- Indicates the node status.
- subnet
Id string - Indicates the subnet Network ID.
- updated
At string - Indicates the update time.
- username string
- Indicates the Administrator username of the DDM instance.
- vpc
Id 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[Get
Ddm 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.
- access
Ip String - access
Port String - Indicates the DDM access port.
- availability
Zone String - Indicates the availability zone of DDM instance.
- created
At String - Indicates the creation time.
- id String
- instance
Id String - See Argument Reference above.
- name String
- Indicates the name of DDM instance.
- node
Num Number - Indicates the disk encryption ID of the instance.
- node
Status 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.
- security
Group StringId - Indicates the security group ID of the DDM instance.
- status String
- Indicates the node status.
- subnet
Id String - Indicates the subnet Network ID.
- updated
At String - Indicates the update time.
- username String
- Indicates the Administrator username of the DDM instance.
- vpc
Id 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
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud