1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getGeminiTemplatesV3
opentelekomcloud 1.36.54 published on Thursday, Dec 4, 2025 by opentelekomcloud
opentelekomcloud logo
opentelekomcloud 1.36.54 published on Thursday, Dec 4, 2025 by opentelekomcloud

    Use this data source to get the list of GeminiDB parameter templates, including all of the default and custom parameter templates.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const test = opentelekomcloud.getGeminiTemplatesV3({});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    test = opentelekomcloud.get_gemini_templates_v3()
    
    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.GetGeminiTemplatesV3(ctx, &opentelekomcloud.GetGeminiTemplatesV3Args{}, 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 test = Opentelekomcloud.GetGeminiTemplatesV3.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.GetGeminiTemplatesV3Args;
    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 = OpentelekomcloudFunctions.getGeminiTemplatesV3(GetGeminiTemplatesV3Args.builder()
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: opentelekomcloud:getGeminiTemplatesV3
          arguments: {}
    

    Using getGeminiTemplatesV3

    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 getGeminiTemplatesV3(args: GetGeminiTemplatesV3Args, opts?: InvokeOptions): Promise<GetGeminiTemplatesV3Result>
    function getGeminiTemplatesV3Output(args: GetGeminiTemplatesV3OutputArgs, opts?: InvokeOptions): Output<GetGeminiTemplatesV3Result>
    def get_gemini_templates_v3(id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetGeminiTemplatesV3Result
    def get_gemini_templates_v3_output(id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetGeminiTemplatesV3Result]
    func GetGeminiTemplatesV3(ctx *Context, args *GetGeminiTemplatesV3Args, opts ...InvokeOption) (*GetGeminiTemplatesV3Result, error)
    func GetGeminiTemplatesV3Output(ctx *Context, args *GetGeminiTemplatesV3OutputArgs, opts ...InvokeOption) GetGeminiTemplatesV3ResultOutput

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

    public static class GetGeminiTemplatesV3 
    {
        public static Task<GetGeminiTemplatesV3Result> InvokeAsync(GetGeminiTemplatesV3Args args, InvokeOptions? opts = null)
        public static Output<GetGeminiTemplatesV3Result> Invoke(GetGeminiTemplatesV3InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGeminiTemplatesV3Result> getGeminiTemplatesV3(GetGeminiTemplatesV3Args args, InvokeOptions options)
    public static Output<GetGeminiTemplatesV3Result> getGeminiTemplatesV3(GetGeminiTemplatesV3Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getGeminiTemplatesV3:getGeminiTemplatesV3
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Indicates the ID of the parameter template.
    Id string
    Indicates the ID of the parameter template.
    id String
    Indicates the ID of the parameter template.
    id string
    Indicates the ID of the parameter template.
    id str
    Indicates the ID of the parameter template.
    id String
    Indicates the ID of the parameter template.

    getGeminiTemplatesV3 Result

    The following output properties are available:

    Id string
    Indicates the ID of the parameter template.
    Region string
    The data source region.
    Templates List<GetGeminiTemplatesV3Template>
    Indicates the list of parameter templates.
    Id string
    Indicates the ID of the parameter template.
    Region string
    The data source region.
    Templates []GetGeminiTemplatesV3Template
    Indicates the list of parameter templates.
    id String
    Indicates the ID of the parameter template.
    region String
    The data source region.
    templates List<GetGeminiTemplatesV3Template>
    Indicates the list of parameter templates.
    id string
    Indicates the ID of the parameter template.
    region string
    The data source region.
    templates GetGeminiTemplatesV3Template[]
    Indicates the list of parameter templates.
    id str
    Indicates the ID of the parameter template.
    region str
    The data source region.
    templates Sequence[GetGeminiTemplatesV3Template]
    Indicates the list of parameter templates.
    id String
    Indicates the ID of the parameter template.
    region String
    The data source region.
    templates List<Property Map>
    Indicates the list of parameter templates.

    Supporting Types

    GetGeminiTemplatesV3Template

    CreatedAt string
    Indicates the creation time in the yyyy-MM-ddTHH:mm:ssZ format.
    DatastoreName string
    Indicates the database name.
    DatastoreVersionName string
    Indicates the database version name.
    Description string
    Indicates the description of parameter template.
    Id string
    Indicates the ID of the parameter template.
    Mode string
    Indicates the instance type.
    Name string
    Indicates the name of the parameter template.
    UpdatedAt string
    Indicates the update time in the yyyy-MM-ddTHH:mm:ssZ format.
    UserDefined bool
    Indicates whether the parameter template is a custom template.

    • false: default parameter template.
    • true: custom template.
    CreatedAt string
    Indicates the creation time in the yyyy-MM-ddTHH:mm:ssZ format.
    DatastoreName string
    Indicates the database name.
    DatastoreVersionName string
    Indicates the database version name.
    Description string
    Indicates the description of parameter template.
    Id string
    Indicates the ID of the parameter template.
    Mode string
    Indicates the instance type.
    Name string
    Indicates the name of the parameter template.
    UpdatedAt string
    Indicates the update time in the yyyy-MM-ddTHH:mm:ssZ format.
    UserDefined bool
    Indicates whether the parameter template is a custom template.

    • false: default parameter template.
    • true: custom template.
    createdAt String
    Indicates the creation time in the yyyy-MM-ddTHH:mm:ssZ format.
    datastoreName String
    Indicates the database name.
    datastoreVersionName String
    Indicates the database version name.
    description String
    Indicates the description of parameter template.
    id String
    Indicates the ID of the parameter template.
    mode String
    Indicates the instance type.
    name String
    Indicates the name of the parameter template.
    updatedAt String
    Indicates the update time in the yyyy-MM-ddTHH:mm:ssZ format.
    userDefined Boolean
    Indicates whether the parameter template is a custom template.

    • false: default parameter template.
    • true: custom template.
    createdAt string
    Indicates the creation time in the yyyy-MM-ddTHH:mm:ssZ format.
    datastoreName string
    Indicates the database name.
    datastoreVersionName string
    Indicates the database version name.
    description string
    Indicates the description of parameter template.
    id string
    Indicates the ID of the parameter template.
    mode string
    Indicates the instance type.
    name string
    Indicates the name of the parameter template.
    updatedAt string
    Indicates the update time in the yyyy-MM-ddTHH:mm:ssZ format.
    userDefined boolean
    Indicates whether the parameter template is a custom template.

    • false: default parameter template.
    • true: custom template.
    created_at str
    Indicates the creation time in the yyyy-MM-ddTHH:mm:ssZ format.
    datastore_name str
    Indicates the database name.
    datastore_version_name str
    Indicates the database version name.
    description str
    Indicates the description of parameter template.
    id str
    Indicates the ID of the parameter template.
    mode str
    Indicates the instance type.
    name str
    Indicates the name of the parameter template.
    updated_at str
    Indicates the update time in the yyyy-MM-ddTHH:mm:ssZ format.
    user_defined bool
    Indicates whether the parameter template is a custom template.

    • false: default parameter template.
    • true: custom template.
    createdAt String
    Indicates the creation time in the yyyy-MM-ddTHH:mm:ssZ format.
    datastoreName String
    Indicates the database name.
    datastoreVersionName String
    Indicates the database version name.
    description String
    Indicates the description of parameter template.
    id String
    Indicates the ID of the parameter template.
    mode String
    Indicates the instance type.
    name String
    Indicates the name of the parameter template.
    updatedAt String
    Indicates the update time in the yyyy-MM-ddTHH:mm:ssZ format.
    userDefined Boolean
    Indicates whether the parameter template is a custom template.

    • false: default parameter template.
    • true: custom template.

    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.54 published on Thursday, Dec 4, 2025 by opentelekomcloud
      Meet Neo: Your AI Platform Teammate