1. Registry
  2. Packages
  3. Opentelekomcloud Provider
  4. API Docs
  5. RdsPostgresExtensionV3
Viewing docs for opentelekomcloud 1.37.8
published on Thursday, Sep 10, 2026 by opentelekomcloud
Viewing docs for opentelekomcloud 1.37.8
published on Thursday, Sep 10, 2026 by opentelekomcloud

    Up-to-date reference of API arguments for RDS Postgres extension you can get at documentation portal

    Manages a PostgreSQL extension of an RDS instance.

    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 databaseName = config.requireObject<any>("databaseName");
    const extension = new opentelekomcloud.RdsPostgresExtensionV3("extension", {
        instanceId: instanceId,
        databaseName: databaseName,
        extensionName: "hstore",
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    instance_id = config.require_object("instanceId")
    database_name = config.require_object("databaseName")
    extension = opentelekomcloud.RdsPostgresExtensionV3("extension",
        instance_id=instance_id,
        database_name=database_name,
        extension_name="hstore")
    
    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")
    		databaseName := cfg.RequireObject("databaseName")
    		_, err := opentelekomcloud.NewRdsPostgresExtensionV3(ctx, "extension", &opentelekomcloud.RdsPostgresExtensionV3Args{
    			InstanceId:    pulumi.Any(instanceId),
    			DatabaseName:  pulumi.Any(databaseName),
    			ExtensionName: pulumi.String("hstore"),
    		})
    		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 databaseName = config.RequireObject<dynamic>("databaseName");
        var extension = new Opentelekomcloud.RdsPostgresExtensionV3("extension", new()
        {
            InstanceId = instanceId,
            DatabaseName = databaseName,
            ExtensionName = "hstore",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.RdsPostgresExtensionV3;
    import com.pulumi.opentelekomcloud.RdsPostgresExtensionV3Args;
    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 databaseName = config.get("databaseName");
            var extension = new RdsPostgresExtensionV3("extension", RdsPostgresExtensionV3Args.builder()
                .instanceId(instanceId)
                .databaseName(databaseName)
                .extensionName("hstore")
                .build());
    
        }
    }
    
    configuration:
      instanceId:
        type: dynamic
      databaseName:
        type: dynamic
    resources:
      extension:
        type: opentelekomcloud:RdsPostgresExtensionV3
        properties:
          instanceId: ${instanceId}
          databaseName: ${databaseName}
          extensionName: hstore
    
    Example coming soon!
    

    Create RdsPostgresExtensionV3 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RdsPostgresExtensionV3(name: string, args: RdsPostgresExtensionV3Args, opts?: CustomResourceOptions);
    @overload
    def RdsPostgresExtensionV3(resource_name: str,
                               args: RdsPostgresExtensionV3Args,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def RdsPostgresExtensionV3(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               database_name: Optional[str] = None,
                               extension_name: Optional[str] = None,
                               instance_id: Optional[str] = None,
                               rds_postgres_extension_v3_id: Optional[str] = None)
    func NewRdsPostgresExtensionV3(ctx *Context, name string, args RdsPostgresExtensionV3Args, opts ...ResourceOption) (*RdsPostgresExtensionV3, error)
    public RdsPostgresExtensionV3(string name, RdsPostgresExtensionV3Args args, CustomResourceOptions? opts = null)
    public RdsPostgresExtensionV3(String name, RdsPostgresExtensionV3Args args)
    public RdsPostgresExtensionV3(String name, RdsPostgresExtensionV3Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:RdsPostgresExtensionV3
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "opentelekomcloud_rds_postgres_extension_v3" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args RdsPostgresExtensionV3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RdsPostgresExtensionV3Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RdsPostgresExtensionV3Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RdsPostgresExtensionV3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RdsPostgresExtensionV3Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var rdsPostgresExtensionV3Resource = new Opentelekomcloud.RdsPostgresExtensionV3("rdsPostgresExtensionV3Resource", new()
    {
        DatabaseName = "string",
        ExtensionName = "string",
        InstanceId = "string",
        RdsPostgresExtensionV3Id = "string",
    });
    
    example, err := opentelekomcloud.NewRdsPostgresExtensionV3(ctx, "rdsPostgresExtensionV3Resource", &opentelekomcloud.RdsPostgresExtensionV3Args{
    	DatabaseName:             pulumi.String("string"),
    	ExtensionName:            pulumi.String("string"),
    	InstanceId:               pulumi.String("string"),
    	RdsPostgresExtensionV3Id: pulumi.String("string"),
    })
    
    resource "opentelekomcloud_rds_postgres_extension_v3" "rdsPostgresExtensionV3Resource" {
      lifecycle {
        create_before_destroy = true
      }
      database_name                = "string"
      extension_name               = "string"
      instance_id                  = "string"
      rds_postgres_extension_v3_id = "string"
    }
    
    var rdsPostgresExtensionV3Resource = new RdsPostgresExtensionV3("rdsPostgresExtensionV3Resource", RdsPostgresExtensionV3Args.builder()
        .databaseName("string")
        .extensionName("string")
        .instanceId("string")
        .rdsPostgresExtensionV3Id("string")
        .build());
    
    rds_postgres_extension_v3_resource = opentelekomcloud.RdsPostgresExtensionV3("rdsPostgresExtensionV3Resource",
        database_name="string",
        extension_name="string",
        instance_id="string",
        rds_postgres_extension_v3_id="string")
    
    const rdsPostgresExtensionV3Resource = new opentelekomcloud.RdsPostgresExtensionV3("rdsPostgresExtensionV3Resource", {
        databaseName: "string",
        extensionName: "string",
        instanceId: "string",
        rdsPostgresExtensionV3Id: "string",
    });
    
    type: opentelekomcloud:RdsPostgresExtensionV3
    properties:
        databaseName: string
        extensionName: string
        instanceId: string
        rdsPostgresExtensionV3Id: string
    

    RdsPostgresExtensionV3 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RdsPostgresExtensionV3 resource accepts the following input properties:

    DatabaseName string
    Specifies the name of the database in which the extension is created.
    ExtensionName string
    Specifies the name of the extension.
    InstanceId string
    Specifies the ID of the RDS PostgreSQL instance.
    RdsPostgresExtensionV3Id string
    Specifies the resource ID, which is {instance_id}/{database_name}/{extension_name}.
    DatabaseName string
    Specifies the name of the database in which the extension is created.
    ExtensionName string
    Specifies the name of the extension.
    InstanceId string
    Specifies the ID of the RDS PostgreSQL instance.
    RdsPostgresExtensionV3Id string
    Specifies the resource ID, which is {instance_id}/{database_name}/{extension_name}.
    database_name string
    Specifies the name of the database in which the extension is created.
    extension_name string
    Specifies the name of the extension.
    instance_id string
    Specifies the ID of the RDS PostgreSQL instance.
    rds_postgres_extension_v3_id string
    Specifies the resource ID, which is {instance_id}/{database_name}/{extension_name}.
    databaseName String
    Specifies the name of the database in which the extension is created.
    extensionName String
    Specifies the name of the extension.
    instanceId String
    Specifies the ID of the RDS PostgreSQL instance.
    rdsPostgresExtensionV3Id String
    Specifies the resource ID, which is {instance_id}/{database_name}/{extension_name}.
    databaseName string
    Specifies the name of the database in which the extension is created.
    extensionName string
    Specifies the name of the extension.
    instanceId string
    Specifies the ID of the RDS PostgreSQL instance.
    rdsPostgresExtensionV3Id string
    Specifies the resource ID, which is {instance_id}/{database_name}/{extension_name}.
    database_name str
    Specifies the name of the database in which the extension is created.
    extension_name str
    Specifies the name of the extension.
    instance_id str
    Specifies the ID of the RDS PostgreSQL instance.
    rds_postgres_extension_v3_id str
    Specifies the resource ID, which is {instance_id}/{database_name}/{extension_name}.
    databaseName String
    Specifies the name of the database in which the extension is created.
    extensionName String
    Specifies the name of the extension.
    instanceId String
    Specifies the ID of the RDS PostgreSQL instance.
    rdsPostgresExtensionV3Id String
    Specifies the resource ID, which is {instance_id}/{database_name}/{extension_name}.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RdsPostgresExtensionV3 resource produces the following output properties:

    Description string
    Specifies the description of the extension.
    EnableInstall bool
    Specifies whether the extension can be installed..
    Id string
    The provider-assigned unique ID for this managed resource.
    SharedPreloadLibraries string
    Specifies the dependent preloaded library..
    Version string
    Specifies the current version of the extension.
    VersionUpdate string
    Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of version, the extension can be upgraded.
    Description string
    Specifies the description of the extension.
    EnableInstall bool
    Specifies whether the extension can be installed..
    Id string
    The provider-assigned unique ID for this managed resource.
    SharedPreloadLibraries string
    Specifies the dependent preloaded library..
    Version string
    Specifies the current version of the extension.
    VersionUpdate string
    Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of version, the extension can be upgraded.
    description string
    Specifies the description of the extension.
    enable_install bool
    Specifies whether the extension can be installed..
    id string
    The provider-assigned unique ID for this managed resource.
    shared_preload_libraries string
    Specifies the dependent preloaded library..
    version string
    Specifies the current version of the extension.
    version_update string
    Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of version, the extension can be upgraded.
    description String
    Specifies the description of the extension.
    enableInstall Boolean
    Specifies whether the extension can be installed..
    id String
    The provider-assigned unique ID for this managed resource.
    sharedPreloadLibraries String
    Specifies the dependent preloaded library..
    version String
    Specifies the current version of the extension.
    versionUpdate String
    Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of version, the extension can be upgraded.
    description string
    Specifies the description of the extension.
    enableInstall boolean
    Specifies whether the extension can be installed..
    id string
    The provider-assigned unique ID for this managed resource.
    sharedPreloadLibraries string
    Specifies the dependent preloaded library..
    version string
    Specifies the current version of the extension.
    versionUpdate string
    Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of version, the extension can be upgraded.
    description str
    Specifies the description of the extension.
    enable_install bool
    Specifies whether the extension can be installed..
    id str
    The provider-assigned unique ID for this managed resource.
    shared_preload_libraries str
    Specifies the dependent preloaded library..
    version str
    Specifies the current version of the extension.
    version_update str
    Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of version, the extension can be upgraded.
    description String
    Specifies the description of the extension.
    enableInstall Boolean
    Specifies whether the extension can be installed..
    id String
    The provider-assigned unique ID for this managed resource.
    sharedPreloadLibraries String
    Specifies the dependent preloaded library..
    version String
    Specifies the current version of the extension.
    versionUpdate String
    Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of version, the extension can be upgraded.

    Look up Existing RdsPostgresExtensionV3 Resource

    Get an existing RdsPostgresExtensionV3 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RdsPostgresExtensionV3State, opts?: CustomResourceOptions): RdsPostgresExtensionV3
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            database_name: Optional[str] = None,
            description: Optional[str] = None,
            enable_install: Optional[bool] = None,
            extension_name: Optional[str] = None,
            instance_id: Optional[str] = None,
            rds_postgres_extension_v3_id: Optional[str] = None,
            shared_preload_libraries: Optional[str] = None,
            version: Optional[str] = None,
            version_update: Optional[str] = None) -> RdsPostgresExtensionV3
    func GetRdsPostgresExtensionV3(ctx *Context, name string, id IDInput, state *RdsPostgresExtensionV3State, opts ...ResourceOption) (*RdsPostgresExtensionV3, error)
    public static RdsPostgresExtensionV3 Get(string name, Input<string> id, RdsPostgresExtensionV3State? state, CustomResourceOptions? opts = null)
    public static RdsPostgresExtensionV3 get(String name, Output<String> id, RdsPostgresExtensionV3State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:RdsPostgresExtensionV3    get:      id: ${id}
    import {
      to = opentelekomcloud_rds_postgres_extension_v3.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DatabaseName string
    Specifies the name of the database in which the extension is created.
    Description string
    Specifies the description of the extension.
    EnableInstall bool
    Specifies whether the extension can be installed..
    ExtensionName string
    Specifies the name of the extension.
    InstanceId string
    Specifies the ID of the RDS PostgreSQL instance.
    RdsPostgresExtensionV3Id string
    Specifies the resource ID, which is {instance_id}/{database_name}/{extension_name}.
    SharedPreloadLibraries string
    Specifies the dependent preloaded library..
    Version string
    Specifies the current version of the extension.
    VersionUpdate string
    Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of version, the extension can be upgraded.
    DatabaseName string
    Specifies the name of the database in which the extension is created.
    Description string
    Specifies the description of the extension.
    EnableInstall bool
    Specifies whether the extension can be installed..
    ExtensionName string
    Specifies the name of the extension.
    InstanceId string
    Specifies the ID of the RDS PostgreSQL instance.
    RdsPostgresExtensionV3Id string
    Specifies the resource ID, which is {instance_id}/{database_name}/{extension_name}.
    SharedPreloadLibraries string
    Specifies the dependent preloaded library..
    Version string
    Specifies the current version of the extension.
    VersionUpdate string
    Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of version, the extension can be upgraded.
    database_name string
    Specifies the name of the database in which the extension is created.
    description string
    Specifies the description of the extension.
    enable_install bool
    Specifies whether the extension can be installed..
    extension_name string
    Specifies the name of the extension.
    instance_id string
    Specifies the ID of the RDS PostgreSQL instance.
    rds_postgres_extension_v3_id string
    Specifies the resource ID, which is {instance_id}/{database_name}/{extension_name}.
    shared_preload_libraries string
    Specifies the dependent preloaded library..
    version string
    Specifies the current version of the extension.
    version_update string
    Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of version, the extension can be upgraded.
    databaseName String
    Specifies the name of the database in which the extension is created.
    description String
    Specifies the description of the extension.
    enableInstall Boolean
    Specifies whether the extension can be installed..
    extensionName String
    Specifies the name of the extension.
    instanceId String
    Specifies the ID of the RDS PostgreSQL instance.
    rdsPostgresExtensionV3Id String
    Specifies the resource ID, which is {instance_id}/{database_name}/{extension_name}.
    sharedPreloadLibraries String
    Specifies the dependent preloaded library..
    version String
    Specifies the current version of the extension.
    versionUpdate String
    Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of version, the extension can be upgraded.
    databaseName string
    Specifies the name of the database in which the extension is created.
    description string
    Specifies the description of the extension.
    enableInstall boolean
    Specifies whether the extension can be installed..
    extensionName string
    Specifies the name of the extension.
    instanceId string
    Specifies the ID of the RDS PostgreSQL instance.
    rdsPostgresExtensionV3Id string
    Specifies the resource ID, which is {instance_id}/{database_name}/{extension_name}.
    sharedPreloadLibraries string
    Specifies the dependent preloaded library..
    version string
    Specifies the current version of the extension.
    versionUpdate string
    Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of version, the extension can be upgraded.
    database_name str
    Specifies the name of the database in which the extension is created.
    description str
    Specifies the description of the extension.
    enable_install bool
    Specifies whether the extension can be installed..
    extension_name str
    Specifies the name of the extension.
    instance_id str
    Specifies the ID of the RDS PostgreSQL instance.
    rds_postgres_extension_v3_id str
    Specifies the resource ID, which is {instance_id}/{database_name}/{extension_name}.
    shared_preload_libraries str
    Specifies the dependent preloaded library..
    version str
    Specifies the current version of the extension.
    version_update str
    Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of version, the extension can be upgraded.
    databaseName String
    Specifies the name of the database in which the extension is created.
    description String
    Specifies the description of the extension.
    enableInstall Boolean
    Specifies whether the extension can be installed..
    extensionName String
    Specifies the name of the extension.
    instanceId String
    Specifies the ID of the RDS PostgreSQL instance.
    rdsPostgresExtensionV3Id String
    Specifies the resource ID, which is {instance_id}/{database_name}/{extension_name}.
    sharedPreloadLibraries String
    Specifies the dependent preloaded library..
    version String
    Specifies the current version of the extension.
    versionUpdate String
    Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of version, the extension can be upgraded.

    Import

    RDS Postgres extensions can be imported using instance_id/database_name/extension_name, e.g.

    $ pulumi import opentelekomcloud:index/rdsPostgresExtensionV3:RdsPostgresExtensionV3 extension 58760797-f992-44e9-a128-0ff3129989b5/my_db/hstore
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    Viewing docs for opentelekomcloud 1.37.8
    published on Thursday, Sep 10, 2026 by opentelekomcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial