flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getDdmInstanceNodes
Start a Neo task
Explain and create a flexibleengine.getDdmInstanceNodes resource
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 dictionaryThe following arguments are supported:
- Instance
Id 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 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 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 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.
- instance
Id 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.
- Instance
Id string - Nodes
List<Get
Ddm Instance Nodes Node> - 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.
- Instance
Id string - Nodes
[]Get
Ddm Instance Nodes Node - 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.
- instance
Id String - nodes
List<Get
Ddm Instance Nodes Node> - 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.
- instance
Id string - nodes
Get
Ddm Instance Nodes Node[] - 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[Get
Ddm Instance Nodes Node] - 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.
- instance
Id String - nodes List<Property Map>
- Indicates the list of DDM instance node. The Node structure is documented below.
- region String
Supporting Types
GetDdmInstanceNodesNode
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengineTerraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
