flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getDdmInstances
Explore with Pulumi AI
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get the list of DDM instances.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const instanceName = config.requireObject("instanceName");
const test = flexibleengine.getDdmInstances({
name: instanceName,
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
instance_name = config.require_object("instanceName")
test = flexibleengine.get_ddm_instances(name=instance_name)
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, "")
instanceName := cfg.RequireObject("instanceName")
_, err := flexibleengine.GetDdmInstances(ctx, &flexibleengine.GetDdmInstancesArgs{
Name: pulumi.StringRef(instanceName),
}, 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 instanceName = config.RequireObject<dynamic>("instanceName");
var test = Flexibleengine.GetDdmInstances.Invoke(new()
{
Name = instanceName,
});
});
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.GetDdmInstancesArgs;
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 instanceName = config.get("instanceName");
final var test = FlexibleengineFunctions.getDdmInstances(GetDdmInstancesArgs.builder()
.name(instanceName)
.build());
}
}
configuration:
instanceName:
type: dynamic
variables:
test:
fn::invoke:
function: flexibleengine:getDdmInstances
arguments:
name: ${instanceName}
Using getDdmInstances
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 getDdmInstances(args: GetDdmInstancesArgs, opts?: InvokeOptions): Promise<GetDdmInstancesResult>
function getDdmInstancesOutput(args: GetDdmInstancesOutputArgs, opts?: InvokeOptions): Output<GetDdmInstancesResult>
def get_ddm_instances(engine_version: Optional[str] = None,
enterprise_project_id: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDdmInstancesResult
def get_ddm_instances_output(engine_version: Optional[pulumi.Input[str]] = None,
enterprise_project_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDdmInstancesResult]
func GetDdmInstances(ctx *Context, args *GetDdmInstancesArgs, opts ...InvokeOption) (*GetDdmInstancesResult, error)
func GetDdmInstancesOutput(ctx *Context, args *GetDdmInstancesOutputArgs, opts ...InvokeOption) GetDdmInstancesResultOutput
> Note: This function is named GetDdmInstances
in the Go SDK.
public static class GetDdmInstances
{
public static Task<GetDdmInstancesResult> InvokeAsync(GetDdmInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetDdmInstancesResult> Invoke(GetDdmInstancesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDdmInstancesResult> getDdmInstances(GetDdmInstancesArgs args, InvokeOptions options)
public static Output<GetDdmInstancesResult> getDdmInstances(GetDdmInstancesArgs args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getDdmInstances:getDdmInstances
arguments:
# arguments dictionary
The following arguments are supported:
- Engine
Version string - Specifies the engine version.
- Enterprise
Project stringId - Specifies the enterprise project id.
- Id string
- The resource ID.
- Name string
- Specifies the name of the instance.
- Region string
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- Status string
- Specifies the status of the instance.
- Engine
Version string - Specifies the engine version.
- Enterprise
Project stringId - Specifies the enterprise project id.
- Id string
- The resource ID.
- Name string
- Specifies the name of the instance.
- Region string
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- Status string
- Specifies the status of the instance.
- engine
Version String - Specifies the engine version.
- enterprise
Project StringId - Specifies the enterprise project id.
- id String
- The resource ID.
- name String
- Specifies the name of the instance.
- region String
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- status String
- Specifies the status of the instance.
- engine
Version string - Specifies the engine version.
- enterprise
Project stringId - Specifies the enterprise project id.
- id string
- The resource ID.
- name string
- Specifies the name of the instance.
- region string
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- status string
- Specifies the status of the instance.
- engine_
version str - Specifies the engine version.
- enterprise_
project_ strid - Specifies the enterprise project id.
- id str
- The resource ID.
- name str
- Specifies the name of the instance.
- region str
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- status str
- Specifies the status of the instance.
- engine
Version String - Specifies the engine version.
- enterprise
Project StringId - Specifies the enterprise project id.
- id String
- The resource ID.
- name String
- Specifies the name of the instance.
- region String
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- status String
- Specifies the status of the instance.
getDdmInstances Result
The following output properties are available:
- Id string
- The resource ID.
- Instances
List<Get
Ddm Instances Instance> - Indicates the list of DDM instance. The Instance structure is documented below.
- Region string
- Engine
Version string - Indicates the engine version.
- Enterprise
Project stringId - Indicates the enterprise project id.
- Name string
- Indicates the name of the DDM instance.
- Status string
- Indicates the status of the DDM instance.
- Id string
- The resource ID.
- Instances
[]Get
Ddm Instances Instance - Indicates the list of DDM instance. The Instance structure is documented below.
- Region string
- Engine
Version string - Indicates the engine version.
- Enterprise
Project stringId - Indicates the enterprise project id.
- Name string
- Indicates the name of the DDM instance.
- Status string
- Indicates the status of the DDM instance.
- id String
- The resource ID.
- instances
List<Get
Ddm Instances Instance> - Indicates the list of DDM instance. The Instance structure is documented below.
- region String
- engine
Version String - Indicates the engine version.
- enterprise
Project StringId - Indicates the enterprise project id.
- name String
- Indicates the name of the DDM instance.
- status String
- Indicates the status of the DDM instance.
- id string
- The resource ID.
- instances
Get
Ddm Instances Instance[] - Indicates the list of DDM instance. The Instance structure is documented below.
- region string
- engine
Version string - Indicates the engine version.
- enterprise
Project stringId - Indicates the enterprise project id.
- name string
- Indicates the name of the DDM instance.
- status string
- Indicates the status of the DDM instance.
- id str
- The resource ID.
- instances
Sequence[Get
Ddm Instances Instance] - Indicates the list of DDM instance. The Instance structure is documented below.
- region str
- engine_
version str - Indicates the engine version.
- enterprise_
project_ strid - Indicates the enterprise project id.
- name str
- Indicates the name of the DDM instance.
- status str
- Indicates the status of the DDM instance.
- id String
- The resource ID.
- instances List<Property Map>
- Indicates the list of DDM instance. The Instance structure is documented below.
- region String
- engine
Version String - Indicates the engine version.
- enterprise
Project StringId - Indicates the enterprise project id.
- name String
- Indicates the name of the DDM instance.
- status String
- Indicates the status of the DDM instance.
Supporting Types
GetDdmInstancesInstance
- Access
Ip string - Indicates the address for accessing the DDM instance.
- Access
Port string - Indicates the port for accessing the DDM instance.
- Availability
Zones List<string> - Indicates the list of availability zones.
- Engine
Version string - Specifies the engine version.
- Enterprise
Project stringId - Specifies the enterprise project id.
- Name string
- Specifies the name of the instance.
- Node
Num double - Indicates the number of nodes.
- Security
Group stringId - Indicates the ID of a security group.
- Status string
- Specifies the status of the instance.
- Subnet
Id string - Indicates the ID of a subnet.
- Vpc
Id string - Indicates the ID of a VPC.
- Access
Ip string - Indicates the address for accessing the DDM instance.
- Access
Port string - Indicates the port for accessing the DDM instance.
- Availability
Zones []string - Indicates the list of availability zones.
- Engine
Version string - Specifies the engine version.
- Enterprise
Project stringId - Specifies the enterprise project id.
- Name string
- Specifies the name of the instance.
- Node
Num float64 - Indicates the number of nodes.
- Security
Group stringId - Indicates the ID of a security group.
- Status string
- Specifies the status of the instance.
- Subnet
Id string - Indicates the ID of a subnet.
- Vpc
Id string - Indicates the ID of a VPC.
- access
Ip String - Indicates the address for accessing the DDM instance.
- access
Port String - Indicates the port for accessing the DDM instance.
- availability
Zones List<String> - Indicates the list of availability zones.
- engine
Version String - Specifies the engine version.
- enterprise
Project StringId - Specifies the enterprise project id.
- name String
- Specifies the name of the instance.
- node
Num Double - Indicates the number of nodes.
- security
Group StringId - Indicates the ID of a security group.
- status String
- Specifies the status of the instance.
- subnet
Id String - Indicates the ID of a subnet.
- vpc
Id String - Indicates the ID of a VPC.
- access
Ip string - Indicates the address for accessing the DDM instance.
- access
Port string - Indicates the port for accessing the DDM instance.
- availability
Zones string[] - Indicates the list of availability zones.
- engine
Version string - Specifies the engine version.
- enterprise
Project stringId - Specifies the enterprise project id.
- name string
- Specifies the name of the instance.
- node
Num number - Indicates the number of nodes.
- security
Group stringId - Indicates the ID of a security group.
- status string
- Specifies the status of the instance.
- subnet
Id string - Indicates the ID of a subnet.
- vpc
Id string - Indicates the ID of a VPC.
- access_
ip str - Indicates the address for accessing the DDM instance.
- access_
port str - Indicates the port for accessing the DDM instance.
- availability_
zones Sequence[str] - Indicates the list of availability zones.
- engine_
version str - Specifies the engine version.
- enterprise_
project_ strid - Specifies the enterprise project id.
- name str
- Specifies the name of the instance.
- node_
num float - Indicates the number of nodes.
- security_
group_ strid - Indicates the ID of a security group.
- status str
- Specifies the status of the instance.
- subnet_
id str - Indicates the ID of a subnet.
- vpc_
id str - Indicates the ID of a VPC.
- access
Ip String - Indicates the address for accessing the DDM instance.
- access
Port String - Indicates the port for accessing the DDM instance.
- availability
Zones List<String> - Indicates the list of availability zones.
- engine
Version String - Specifies the engine version.
- enterprise
Project StringId - Specifies the enterprise project id.
- name String
- Specifies the name of the instance.
- node
Num Number - Indicates the number of nodes.
- security
Group StringId - Indicates the ID of a security group.
- status String
- Specifies the status of the instance.
- subnet
Id String - Indicates the ID of a subnet.
- vpc
Id String - Indicates the ID of a VPC.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud