1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getDdmEnginesV1
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.getDdmEnginesV1

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for DDM engines you can get at documentation portal

    Use this data source to get info of OpenTelekomCloud DDM engines.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const engineList = opentelekomcloud.getDdmEnginesV1({});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    engine_list = opentelekomcloud.get_ddm_engines_v1()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.GetDdmEnginesV1(ctx, &opentelekomcloud.GetDdmEnginesV1Args{}, 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 engineList = Opentelekomcloud.GetDdmEnginesV1.Invoke();
    
    });
    
    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.GetDdmEnginesV1Args;
    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 engineList = OpentelekomcloudFunctions.getDdmEnginesV1();
    
        }
    }
    
    variables:
      engineList:
        fn::invoke:
          function: opentelekomcloud:getDdmEnginesV1
          arguments: {}
    

    Using getDdmEnginesV1

    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 getDdmEnginesV1(args: GetDdmEnginesV1Args, opts?: InvokeOptions): Promise<GetDdmEnginesV1Result>
    function getDdmEnginesV1Output(args: GetDdmEnginesV1OutputArgs, opts?: InvokeOptions): Output<GetDdmEnginesV1Result>
    def get_ddm_engines_v1(id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetDdmEnginesV1Result
    def get_ddm_engines_v1_output(id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetDdmEnginesV1Result]
    func GetDdmEnginesV1(ctx *Context, args *GetDdmEnginesV1Args, opts ...InvokeOption) (*GetDdmEnginesV1Result, error)
    func GetDdmEnginesV1Output(ctx *Context, args *GetDdmEnginesV1OutputArgs, opts ...InvokeOption) GetDdmEnginesV1ResultOutput

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

    public static class GetDdmEnginesV1 
    {
        public static Task<GetDdmEnginesV1Result> InvokeAsync(GetDdmEnginesV1Args args, InvokeOptions? opts = null)
        public static Output<GetDdmEnginesV1Result> Invoke(GetDdmEnginesV1InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDdmEnginesV1Result> getDdmEnginesV1(GetDdmEnginesV1Args args, InvokeOptions options)
    public static Output<GetDdmEnginesV1Result> getDdmEnginesV1(GetDdmEnginesV1Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getDdmEnginesV1:getDdmEnginesV1
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Indicates the DDM engine ID.
    Id string
    Indicates the DDM engine ID.
    id String
    Indicates the DDM engine ID.
    id string
    Indicates the DDM engine ID.
    id str
    Indicates the DDM engine ID.
    id String
    Indicates the DDM engine ID.

    getDdmEnginesV1 Result

    The following output properties are available:

    Engines List<GetDdmEnginesV1Engine>
    Indicates the DDM engines information. Structure is documented below.
    Id string
    Indicates the DDM engine ID.
    Region string
    Indicates the region of the DDM engines.
    Engines []GetDdmEnginesV1Engine
    Indicates the DDM engines information. Structure is documented below.
    Id string
    Indicates the DDM engine ID.
    Region string
    Indicates the region of the DDM engines.
    engines List<GetDdmEnginesV1Engine>
    Indicates the DDM engines information. Structure is documented below.
    id String
    Indicates the DDM engine ID.
    region String
    Indicates the region of the DDM engines.
    engines GetDdmEnginesV1Engine[]
    Indicates the DDM engines information. Structure is documented below.
    id string
    Indicates the DDM engine ID.
    region string
    Indicates the region of the DDM engines.
    engines Sequence[GetDdmEnginesV1Engine]
    Indicates the DDM engines information. Structure is documented below.
    id str
    Indicates the DDM engine ID.
    region str
    Indicates the region of the DDM engines.
    engines List<Property Map>
    Indicates the DDM engines information. Structure is documented below.
    id String
    Indicates the DDM engine ID.
    region String
    Indicates the region of the DDM engines.

    Supporting Types

    GetDdmEnginesV1Engine

    AvailabilityZones List<GetDdmEnginesV1EngineAvailabilityZone>
    Indicates the supported availability zones. Structure is documented below
    Id string
    Indicates the DDM engine ID.
    Name string
    Indicates the AZ name.
    Version string
    Indicates the DDM engine version.
    AvailabilityZones []GetDdmEnginesV1EngineAvailabilityZone
    Indicates the supported availability zones. Structure is documented below
    Id string
    Indicates the DDM engine ID.
    Name string
    Indicates the AZ name.
    Version string
    Indicates the DDM engine version.
    availabilityZones List<GetDdmEnginesV1EngineAvailabilityZone>
    Indicates the supported availability zones. Structure is documented below
    id String
    Indicates the DDM engine ID.
    name String
    Indicates the AZ name.
    version String
    Indicates the DDM engine version.
    availabilityZones GetDdmEnginesV1EngineAvailabilityZone[]
    Indicates the supported availability zones. Structure is documented below
    id string
    Indicates the DDM engine ID.
    name string
    Indicates the AZ name.
    version string
    Indicates the DDM engine version.
    availability_zones Sequence[GetDdmEnginesV1EngineAvailabilityZone]
    Indicates the supported availability zones. Structure is documented below
    id str
    Indicates the DDM engine ID.
    name str
    Indicates the AZ name.
    version str
    Indicates the DDM engine version.
    availabilityZones List<Property Map>
    Indicates the supported availability zones. Structure is documented below
    id String
    Indicates the DDM engine ID.
    name String
    Indicates the AZ name.
    version String
    Indicates the DDM engine version.

    GetDdmEnginesV1EngineAvailabilityZone

    Code string
    Indicates the AZ code.
    Favored bool
    Indicates whether current AZ is favored.
    Name string
    Indicates the AZ name.
    Code string
    Indicates the AZ code.
    Favored bool
    Indicates whether current AZ is favored.
    Name string
    Indicates the AZ name.
    code String
    Indicates the AZ code.
    favored Boolean
    Indicates whether current AZ is favored.
    name String
    Indicates the AZ name.
    code string
    Indicates the AZ code.
    favored boolean
    Indicates whether current AZ is favored.
    name string
    Indicates the AZ name.
    code str
    Indicates the AZ code.
    favored bool
    Indicates whether current AZ is favored.
    name str
    Indicates the AZ name.
    code String
    Indicates the AZ code.
    favored Boolean
    Indicates whether current AZ is favored.
    name String
    Indicates the AZ name.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud