1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getGeminiInstanceTemplateV3
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 query GeminiDB instance parameter settings.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const instanceId = config.requireObject<any>("instanceId");
    const test = opentelekomcloud.getGeminiInstanceTemplateV3({
        instanceId: instanceId,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    instance_id = config.require_object("instanceId")
    test = opentelekomcloud.get_gemini_instance_template_v3(instance_id=instance_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"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, "")
    		instanceId := cfg.RequireObject("instanceId")
    		_, err := opentelekomcloud.GetGeminiInstanceTemplateV3(ctx, &opentelekomcloud.GetGeminiInstanceTemplateV3Args{
    			InstanceId: instanceId,
    		}, 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 config = new Config();
        var instanceId = config.RequireObject<dynamic>("instanceId");
        var test = Opentelekomcloud.GetGeminiInstanceTemplateV3.Invoke(new()
        {
            InstanceId = instanceId,
        });
    
    });
    
    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.GetGeminiInstanceTemplateV3Args;
    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 instanceId = config.get("instanceId");
            final var test = OpentelekomcloudFunctions.getGeminiInstanceTemplateV3(GetGeminiInstanceTemplateV3Args.builder()
                .instanceId(instanceId)
                .build());
    
        }
    }
    
    configuration:
      instanceId:
        type: dynamic
    variables:
      test:
        fn::invoke:
          function: opentelekomcloud:getGeminiInstanceTemplateV3
          arguments:
            instanceId: ${instanceId}
    

    Using getGeminiInstanceTemplateV3

    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 getGeminiInstanceTemplateV3(args: GetGeminiInstanceTemplateV3Args, opts?: InvokeOptions): Promise<GetGeminiInstanceTemplateV3Result>
    function getGeminiInstanceTemplateV3Output(args: GetGeminiInstanceTemplateV3OutputArgs, opts?: InvokeOptions): Output<GetGeminiInstanceTemplateV3Result>
    def get_gemini_instance_template_v3(id: Optional[str] = None,
                                        instance_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetGeminiInstanceTemplateV3Result
    def get_gemini_instance_template_v3_output(id: Optional[pulumi.Input[str]] = None,
                                        instance_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetGeminiInstanceTemplateV3Result]
    func GetGeminiInstanceTemplateV3(ctx *Context, args *GetGeminiInstanceTemplateV3Args, opts ...InvokeOption) (*GetGeminiInstanceTemplateV3Result, error)
    func GetGeminiInstanceTemplateV3Output(ctx *Context, args *GetGeminiInstanceTemplateV3OutputArgs, opts ...InvokeOption) GetGeminiInstanceTemplateV3ResultOutput

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

    public static class GetGeminiInstanceTemplateV3 
    {
        public static Task<GetGeminiInstanceTemplateV3Result> InvokeAsync(GetGeminiInstanceTemplateV3Args args, InvokeOptions? opts = null)
        public static Output<GetGeminiInstanceTemplateV3Result> Invoke(GetGeminiInstanceTemplateV3InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGeminiInstanceTemplateV3Result> getGeminiInstanceTemplateV3(GetGeminiInstanceTemplateV3Args args, InvokeOptions options)
    public static Output<GetGeminiInstanceTemplateV3Result> getGeminiInstanceTemplateV3(GetGeminiInstanceTemplateV3Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getGeminiInstanceTemplateV3:getGeminiInstanceTemplateV3
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    Specifies the instance ID.
    Id string
    The parameter template ID.
    InstanceId string
    Specifies the instance ID.
    Id string
    The parameter template ID.
    instanceId String
    Specifies the instance ID.
    id String
    The parameter template ID.
    instanceId string
    Specifies the instance ID.
    id string
    The parameter template ID.
    instance_id str
    Specifies the instance ID.
    id str
    The parameter template ID.
    instanceId String
    Specifies the instance ID.
    id String
    The parameter template ID.

    getGeminiInstanceTemplateV3 Result

    The following output properties are available:

    ConfigurationParameters List<GetGeminiInstanceTemplateV3ConfigurationParameter>
    Indicates the list of parameters defined by users based on a default parameter 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.
    Id string
    The parameter template ID.
    InstanceId string
    Mode string
    Indicates the instance type.
    Region string
    The parameter region.
    UpdatedAt string
    Indicates the update time in the yyyy-MM-ddTHH:mm:ssZ format.
    ConfigurationParameters []GetGeminiInstanceTemplateV3ConfigurationParameter
    Indicates the list of parameters defined by users based on a default parameter 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.
    Id string
    The parameter template ID.
    InstanceId string
    Mode string
    Indicates the instance type.
    Region string
    The parameter region.
    UpdatedAt string
    Indicates the update time in the yyyy-MM-ddTHH:mm:ssZ format.
    configurationParameters List<GetGeminiInstanceTemplateV3ConfigurationParameter>
    Indicates the list of parameters defined by users based on a default parameter 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.
    id String
    The parameter template ID.
    instanceId String
    mode String
    Indicates the instance type.
    region String
    The parameter region.
    updatedAt String
    Indicates the update time in the yyyy-MM-ddTHH:mm:ssZ format.
    configurationParameters GetGeminiInstanceTemplateV3ConfigurationParameter[]
    Indicates the list of parameters defined by users based on a default parameter 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.
    id string
    The parameter template ID.
    instanceId string
    mode string
    Indicates the instance type.
    region string
    The parameter region.
    updatedAt string
    Indicates the update time in the yyyy-MM-ddTHH:mm:ssZ format.
    configuration_parameters Sequence[GetGeminiInstanceTemplateV3ConfigurationParameter]
    Indicates the list of parameters defined by users based on a default parameter 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.
    id str
    The parameter template ID.
    instance_id str
    mode str
    Indicates the instance type.
    region str
    The parameter region.
    updated_at str
    Indicates the update time in the yyyy-MM-ddTHH:mm:ssZ format.
    configurationParameters List<Property Map>
    Indicates the list of parameters defined by users based on a default parameter 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.
    id String
    The parameter template ID.
    instanceId String
    mode String
    Indicates the instance type.
    region String
    The parameter region.
    updatedAt String
    Indicates the update time in the yyyy-MM-ddTHH:mm:ssZ format.

    Supporting Types

    GetGeminiInstanceTemplateV3ConfigurationParameter

    Description string
    Indicates the parameter description.
    Name string
    Indicates the parameter name.
    Readonly bool
    Indicates whether the parameter is read-only.

    • false: the parameter is not read-only.
    • true: the parameter is read-only.
    RestartRequired bool
    Indicates whether the instance needs to be restarted after the parameter is changed.

    • false: the instance does not need to be restarted.
    • true: the instance needs to be restarted.
    Type string
    Indicates the parameter type. The value can be string, integer, boolean, list, or float.
    Value string
    Indicates the parameter value.
    ValueRange string
    Indicates the value range. For example, the value of the Integer type ranges from 0 to 1, and the value of the Boolean type is true or false.
    Description string
    Indicates the parameter description.
    Name string
    Indicates the parameter name.
    Readonly bool
    Indicates whether the parameter is read-only.

    • false: the parameter is not read-only.
    • true: the parameter is read-only.
    RestartRequired bool
    Indicates whether the instance needs to be restarted after the parameter is changed.

    • false: the instance does not need to be restarted.
    • true: the instance needs to be restarted.
    Type string
    Indicates the parameter type. The value can be string, integer, boolean, list, or float.
    Value string
    Indicates the parameter value.
    ValueRange string
    Indicates the value range. For example, the value of the Integer type ranges from 0 to 1, and the value of the Boolean type is true or false.
    description String
    Indicates the parameter description.
    name String
    Indicates the parameter name.
    readonly Boolean
    Indicates whether the parameter is read-only.

    • false: the parameter is not read-only.
    • true: the parameter is read-only.
    restartRequired Boolean
    Indicates whether the instance needs to be restarted after the parameter is changed.

    • false: the instance does not need to be restarted.
    • true: the instance needs to be restarted.
    type String
    Indicates the parameter type. The value can be string, integer, boolean, list, or float.
    value String
    Indicates the parameter value.
    valueRange String
    Indicates the value range. For example, the value of the Integer type ranges from 0 to 1, and the value of the Boolean type is true or false.
    description string
    Indicates the parameter description.
    name string
    Indicates the parameter name.
    readonly boolean
    Indicates whether the parameter is read-only.

    • false: the parameter is not read-only.
    • true: the parameter is read-only.
    restartRequired boolean
    Indicates whether the instance needs to be restarted after the parameter is changed.

    • false: the instance does not need to be restarted.
    • true: the instance needs to be restarted.
    type string
    Indicates the parameter type. The value can be string, integer, boolean, list, or float.
    value string
    Indicates the parameter value.
    valueRange string
    Indicates the value range. For example, the value of the Integer type ranges from 0 to 1, and the value of the Boolean type is true or false.
    description str
    Indicates the parameter description.
    name str
    Indicates the parameter name.
    readonly bool
    Indicates whether the parameter is read-only.

    • false: the parameter is not read-only.
    • true: the parameter is read-only.
    restart_required bool
    Indicates whether the instance needs to be restarted after the parameter is changed.

    • false: the instance does not need to be restarted.
    • true: the instance needs to be restarted.
    type str
    Indicates the parameter type. The value can be string, integer, boolean, list, or float.
    value str
    Indicates the parameter value.
    value_range str
    Indicates the value range. For example, the value of the Integer type ranges from 0 to 1, and the value of the Boolean type is true or false.
    description String
    Indicates the parameter description.
    name String
    Indicates the parameter name.
    readonly Boolean
    Indicates whether the parameter is read-only.

    • false: the parameter is not read-only.
    • true: the parameter is read-only.
    restartRequired Boolean
    Indicates whether the instance needs to be restarted after the parameter is changed.

    • false: the instance does not need to be restarted.
    • true: the instance needs to be restarted.
    type String
    Indicates the parameter type. The value can be string, integer, boolean, list, or float.
    value String
    Indicates the parameter value.
    valueRange String
    Indicates the value range. For example, the value of the Integer type ranges from 0 to 1, and the value of the Boolean type is true or false.

    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