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

flexibleengine.getDdmEngines

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 engines.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const test = flexibleengine.getDdmEngines({
        version: "3.0.8.5",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    test = flexibleengine.get_ddm_engines(version="3.0.8.5")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := flexibleengine.GetDdmEngines(ctx, &flexibleengine.GetDdmEnginesArgs{
    			Version: pulumi.StringRef("3.0.8.5"),
    		}, 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 test = Flexibleengine.GetDdmEngines.Invoke(new()
        {
            Version = "3.0.8.5",
        });
    
    });
    
    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.GetDdmEnginesArgs;
    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 test = FlexibleengineFunctions.getDdmEngines(GetDdmEnginesArgs.builder()
                .version("3.0.8.5")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: flexibleengine:getDdmEngines
          arguments:
            version: 3.0.8.5
    

    Using getDdmEngines

    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 getDdmEngines(args: GetDdmEnginesArgs, opts?: InvokeOptions): Promise<GetDdmEnginesResult>
    function getDdmEnginesOutput(args: GetDdmEnginesOutputArgs, opts?: InvokeOptions): Output<GetDdmEnginesResult>
    def get_ddm_engines(id: Optional[str] = None,
                        region: Optional[str] = None,
                        version: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetDdmEnginesResult
    def get_ddm_engines_output(id: Optional[pulumi.Input[str]] = None,
                        region: Optional[pulumi.Input[str]] = None,
                        version: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetDdmEnginesResult]
    func GetDdmEngines(ctx *Context, args *GetDdmEnginesArgs, opts ...InvokeOption) (*GetDdmEnginesResult, error)
    func GetDdmEnginesOutput(ctx *Context, args *GetDdmEnginesOutputArgs, opts ...InvokeOption) GetDdmEnginesResultOutput

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

    public static class GetDdmEngines 
    {
        public static Task<GetDdmEnginesResult> InvokeAsync(GetDdmEnginesArgs args, InvokeOptions? opts = null)
        public static Output<GetDdmEnginesResult> Invoke(GetDdmEnginesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDdmEnginesResult> getDdmEngines(GetDdmEnginesArgs args, InvokeOptions options)
    public static Output<GetDdmEnginesResult> getDdmEngines(GetDdmEnginesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: flexibleengine:index/getDdmEngines:getDdmEngines
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Indicates the ID of the engine.
    Region string
    Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
    Version string
    Specifies the engine version.
    Id string
    Indicates the ID of the engine.
    Region string
    Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
    Version string
    Specifies the engine version.
    id String
    Indicates the ID of the engine.
    region String
    Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
    version String
    Specifies the engine version.
    id string
    Indicates the ID of the engine.
    region string
    Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
    version string
    Specifies the engine version.
    id str
    Indicates the ID of the engine.
    region str
    Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
    version str
    Specifies the engine version.
    id String
    Indicates the ID of the engine.
    region String
    Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
    version String
    Specifies the engine version.

    getDdmEngines Result

    The following output properties are available:

    Engines List<GetDdmEnginesEngine>
    Indicates the list of DDM engine. The Engine structure is documented below.
    Id string
    Indicates the ID of the engine.
    Region string
    Version string
    Indicates the engine version.
    Engines []GetDdmEnginesEngine
    Indicates the list of DDM engine. The Engine structure is documented below.
    Id string
    Indicates the ID of the engine.
    Region string
    Version string
    Indicates the engine version.
    engines List<GetDdmEnginesEngine>
    Indicates the list of DDM engine. The Engine structure is documented below.
    id String
    Indicates the ID of the engine.
    region String
    version String
    Indicates the engine version.
    engines GetDdmEnginesEngine[]
    Indicates the list of DDM engine. The Engine structure is documented below.
    id string
    Indicates the ID of the engine.
    region string
    version string
    Indicates the engine version.
    engines Sequence[GetDdmEnginesEngine]
    Indicates the list of DDM engine. The Engine structure is documented below.
    id str
    Indicates the ID of the engine.
    region str
    version str
    Indicates the engine version.
    engines List<Property Map>
    Indicates the list of DDM engine. The Engine structure is documented below.
    id String
    Indicates the ID of the engine.
    region String
    version String
    Indicates the engine version.

    Supporting Types

    GetDdmEnginesEngine

    Id string
    Indicates the ID of the engine.
    Version string
    Specifies the engine version.
    Id string
    Indicates the ID of the engine.
    Version string
    Specifies the engine version.
    id String
    Indicates the ID of the engine.
    version String
    Specifies the engine version.
    id string
    Indicates the ID of the engine.
    version string
    Specifies the engine version.
    id str
    Indicates the ID of the engine.
    version str
    Specifies the engine version.
    id String
    Indicates the ID of the engine.
    version String
    Specifies the engine version.

    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