1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. getDdmInstanceNodes
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.getDdmInstanceNodes

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Use this data source to get the list of DDM instance nodes.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const config = new pulumi.Config();
    const ddmInstanceId = config.requireObject("ddmInstanceId");
    const test = flexibleengine.getDdmInstanceNodes({
        instanceId: ddmInstanceId,
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    config = pulumi.Config()
    ddm_instance_id = config.require_object("ddmInstanceId")
    test = flexibleengine.get_ddm_instance_nodes(instance_id=ddm_instance_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"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, "")
    		ddmInstanceId := cfg.RequireObject("ddmInstanceId")
    		_, err := flexibleengine.GetDdmInstanceNodes(ctx, &flexibleengine.GetDdmInstanceNodesArgs{
    			InstanceId: ddmInstanceId,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var ddmInstanceId = config.RequireObject<dynamic>("ddmInstanceId");
        var test = Flexibleengine.GetDdmInstanceNodes.Invoke(new()
        {
            InstanceId = ddmInstanceId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.FlexibleengineFunctions;
    import com.pulumi.flexibleengine.inputs.GetDdmInstanceNodesArgs;
    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 ddmInstanceId = config.get("ddmInstanceId");
            final var test = FlexibleengineFunctions.getDdmInstanceNodes(GetDdmInstanceNodesArgs.builder()
                .instanceId(ddmInstanceId)
                .build());
    
        }
    }
    
    configuration:
      ddmInstanceId:
        type: dynamic
    variables:
      test:
        fn::invoke:
          function: flexibleengine:getDdmInstanceNodes
          arguments:
            instanceId: ${ddmInstanceId}
    

    Using getDdmInstanceNodes

    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 getDdmInstanceNodes(args: GetDdmInstanceNodesArgs, opts?: InvokeOptions): Promise<GetDdmInstanceNodesResult>
    function getDdmInstanceNodesOutput(args: GetDdmInstanceNodesOutputArgs, opts?: InvokeOptions): Output<GetDdmInstanceNodesResult>
    def get_ddm_instance_nodes(id: Optional[str] = None,
                               instance_id: Optional[str] = None,
                               region: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetDdmInstanceNodesResult
    def get_ddm_instance_nodes_output(id: Optional[pulumi.Input[str]] = None,
                               instance_id: Optional[pulumi.Input[str]] = None,
                               region: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetDdmInstanceNodesResult]
    func GetDdmInstanceNodes(ctx *Context, args *GetDdmInstanceNodesArgs, opts ...InvokeOption) (*GetDdmInstanceNodesResult, error)
    func GetDdmInstanceNodesOutput(ctx *Context, args *GetDdmInstanceNodesOutputArgs, opts ...InvokeOption) GetDdmInstanceNodesResultOutput

    > Note: This function is named GetDdmInstanceNodes in the Go SDK.

    public static class GetDdmInstanceNodes 
    {
        public static Task<GetDdmInstanceNodesResult> InvokeAsync(GetDdmInstanceNodesArgs args, InvokeOptions? opts = null)
        public static Output<GetDdmInstanceNodesResult> Invoke(GetDdmInstanceNodesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDdmInstanceNodesResult> getDdmInstanceNodes(GetDdmInstanceNodesArgs args, InvokeOptions options)
    public static Output<GetDdmInstanceNodesResult> getDdmInstanceNodes(GetDdmInstanceNodesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: flexibleengine:index/getDdmInstanceNodes:getDdmInstanceNodes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    Specifies the ID of DDM instance.
    Id string
    Indicates the ID of the DDM instance node.
    Region string
    Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
    InstanceId string
    Specifies the ID of DDM instance.
    Id string
    Indicates the ID of the DDM instance node.
    Region string
    Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
    instanceId String
    Specifies the ID of DDM instance.
    id String
    Indicates the ID of the DDM instance node.
    region String
    Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
    instanceId string
    Specifies the ID of DDM instance.
    id string
    Indicates the ID of the DDM instance node.
    region string
    Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
    instance_id str
    Specifies the ID of DDM instance.
    id str
    Indicates the ID of the DDM instance node.
    region str
    Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
    instanceId String
    Specifies the ID of DDM instance.
    id String
    Indicates the ID of the DDM instance node.
    region String
    Specifies the region in which to query the data source. If omitted, the provider-level region will be used.

    getDdmInstanceNodes Result

    The following output properties are available:

    Id string
    Indicates the ID of the DDM instance node.
    InstanceId string
    Nodes List<GetDdmInstanceNodesNode>
    Indicates the list of DDM instance node. The Node structure is documented below.
    Region string
    Id string
    Indicates the ID of the DDM instance node.
    InstanceId string
    Nodes []GetDdmInstanceNodesNode
    Indicates the list of DDM instance node. The Node structure is documented below.
    Region string
    id String
    Indicates the ID of the DDM instance node.
    instanceId String
    nodes List<GetDdmInstanceNodesNode>
    Indicates the list of DDM instance node. The Node structure is documented below.
    region String
    id string
    Indicates the ID of the DDM instance node.
    instanceId string
    nodes GetDdmInstanceNodesNode[]
    Indicates the list of DDM instance node. The Node structure is documented below.
    region string
    id str
    Indicates the ID of the DDM instance node.
    instance_id str
    nodes Sequence[GetDdmInstanceNodesNode]
    Indicates the list of DDM instance node. The Node structure is documented below.
    region str
    id String
    Indicates the ID of the DDM instance node.
    instanceId String
    nodes List<Property Map>
    Indicates the list of DDM instance node. The Node structure is documented below.
    region String

    Supporting Types

    GetDdmInstanceNodesNode

    Id string
    Indicates the ID of the DDM instance node.
    Ip string
    Indicates the IP address of the DDM instance node.
    Port string
    Indicates the port of the DDM instance node.
    Status string
    Indicates the status of the DDM instance node.
    Id string
    Indicates the ID of the DDM instance node.
    Ip string
    Indicates the IP address of the DDM instance node.
    Port string
    Indicates the port of the DDM instance node.
    Status string
    Indicates the status of the DDM instance node.
    id String
    Indicates the ID of the DDM instance node.
    ip String
    Indicates the IP address of the DDM instance node.
    port String
    Indicates the port of the DDM instance node.
    status String
    Indicates the status of the DDM instance node.
    id string
    Indicates the ID of the DDM instance node.
    ip string
    Indicates the IP address of the DDM instance node.
    port string
    Indicates the port of the DDM instance node.
    status string
    Indicates the status of the DDM instance node.
    id str
    Indicates the ID of the DDM instance node.
    ip str
    Indicates the IP address of the DDM instance node.
    port str
    Indicates the port of the DDM instance node.
    status str
    Indicates the status of the DDM instance node.
    id String
    Indicates the ID of the DDM instance node.
    ip String
    Indicates the IP address of the DDM instance node.
    port String
    Indicates the port of the DDM instance node.
    status String
    Indicates the status of the DDM instance node.

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud