published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
This data source provides Gpdb Db Extension available to the user.What is Db Extension
NOTE: Available since v1.291.0.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const defaultiYyNGW = new alicloud.vpc.Network("defaultiYyNGW", {cidrBlock: "192.168.0.0/16"});
const defaultPlruct = new alicloud.vpc.Switch("defaultPlruct", {
vpcId: defaultiYyNGW.id,
zoneId: "cn-beijing-h",
cidrBlock: "192.168.1.0/24",
});
const defaultqsmpIy = new alicloud.gpdb.Instance("defaultqsmpIy", {
instanceSpec: "2C8G",
segNodeNum: 2,
segStorageType: "cloud_essd",
instanceNetworkType: "VPC",
dbInstanceCategory: "Basic",
paymentType: "PayAsYouGo",
sslEnabled: 0,
engineVersion: "6.0",
engine: "gpdb",
zoneId: "cn-beijing-h",
vswitchId: defaultPlruct.id,
storageSize: 50,
masterCu: 4,
vpcId: defaultiYyNGW.id,
dbInstanceMode: "StorageElastic",
});
const defaultOwner = new alicloud.gpdb.Account("defaultOwner", {
accountName: "tf_example",
accountPassword: "Example1234",
accountDescription: "tf_example",
dbInstanceId: defaultqsmpIy.id,
});
const defaultPPmRVa = new alicloud.gpdb.Database("defaultPPmRVa", {
owner: defaultOwner.accountName,
databaseName: "seagull",
dbInstanceId: defaultqsmpIy.id,
characterSetName: "UTF8",
collate: "en_US.utf8",
ctype: "en_US.utf8",
});
const defaultDbExtension = new alicloud.gpdb.DbExtension("default", {
extensionName: "uuid-ossp",
dbInstanceId: defaultqsmpIy.id,
databaseName: defaultPPmRVa.databaseName,
isLatestVersion: true,
});
const _default = alicloud.gpdb.getDbExtensionsOutput({
ids: [defaultDbExtension.id],
dbInstanceId: defaultqsmpIy.id,
databaseName: defaultPPmRVa.databaseName,
});
export const alicloudGpdbDbExtensionExampleId = _default.apply(_default => _default.extensions?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
defaulti_yy_ngw = alicloud.vpc.Network("defaultiYyNGW", cidr_block="192.168.0.0/16")
default_plruct = alicloud.vpc.Switch("defaultPlruct",
vpc_id=defaulti_yy_ngw.id,
zone_id="cn-beijing-h",
cidr_block="192.168.1.0/24")
defaultqsmp_iy = alicloud.gpdb.Instance("defaultqsmpIy",
instance_spec="2C8G",
seg_node_num=2,
seg_storage_type="cloud_essd",
instance_network_type="VPC",
db_instance_category="Basic",
payment_type="PayAsYouGo",
ssl_enabled=0,
engine_version="6.0",
engine="gpdb",
zone_id="cn-beijing-h",
vswitch_id=default_plruct.id,
storage_size=50,
master_cu=4,
vpc_id=defaulti_yy_ngw.id,
db_instance_mode="StorageElastic")
default_owner = alicloud.gpdb.Account("defaultOwner",
account_name="tf_example",
account_password="Example1234",
account_description="tf_example",
db_instance_id=defaultqsmp_iy.id)
default_p_pm_r_va = alicloud.gpdb.Database("defaultPPmRVa",
owner=default_owner.account_name,
database_name="seagull",
db_instance_id=defaultqsmp_iy.id,
character_set_name="UTF8",
collate="en_US.utf8",
ctype="en_US.utf8")
default_db_extension = alicloud.gpdb.DbExtension("default",
extension_name="uuid-ossp",
db_instance_id=defaultqsmp_iy.id,
database_name=default_p_pm_r_va.database_name,
is_latest_version=True)
default = alicloud.gpdb.get_db_extensions_output(ids=[default_db_extension.id],
db_instance_id=defaultqsmp_iy.id,
database_name=default_p_pm_r_va.database_name)
pulumi.export("alicloudGpdbDbExtensionExampleId", default.extensions[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/gpdb"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"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, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
defaultiYyNGW, err := vpc.NewNetwork(ctx, "defaultiYyNGW", &vpc.NetworkArgs{
CidrBlock: pulumi.String("192.168.0.0/16"),
})
if err != nil {
return err
}
defaultPlruct, err := vpc.NewSwitch(ctx, "defaultPlruct", &vpc.SwitchArgs{
VpcId: defaultiYyNGW.ID().ToIDOutput().ToStringOutput(),
ZoneId: pulumi.String("cn-beijing-h"),
CidrBlock: pulumi.String("192.168.1.0/24"),
})
if err != nil {
return err
}
defaultqsmpIy, err := gpdb.NewInstance(ctx, "defaultqsmpIy", &gpdb.InstanceArgs{
InstanceSpec: pulumi.String("2C8G"),
SegNodeNum: pulumi.Int(2),
SegStorageType: pulumi.String("cloud_essd"),
InstanceNetworkType: pulumi.String("VPC"),
DbInstanceCategory: pulumi.String("Basic"),
PaymentType: pulumi.String("PayAsYouGo"),
SslEnabled: pulumi.Int(0),
EngineVersion: pulumi.String("6.0"),
Engine: pulumi.String("gpdb"),
ZoneId: pulumi.String("cn-beijing-h"),
VswitchId: defaultPlruct.ID().ToIDOutput().ToStringOutput(),
StorageSize: pulumi.Int(50),
MasterCu: pulumi.Int(4),
VpcId: defaultiYyNGW.ID().ToIDOutput().ToStringOutput(),
DbInstanceMode: pulumi.String("StorageElastic"),
})
if err != nil {
return err
}
defaultOwner, err := gpdb.NewAccount(ctx, "defaultOwner", &gpdb.AccountArgs{
AccountName: pulumi.String("tf_example"),
AccountPassword: pulumi.String("Example1234"),
AccountDescription: pulumi.String("tf_example"),
DbInstanceId: defaultqsmpIy.ID().ToIDOutput().ToStringOutput(),
})
if err != nil {
return err
}
defaultPPmRVa, err := gpdb.NewDatabase(ctx, "defaultPPmRVa", &gpdb.DatabaseArgs{
Owner: defaultOwner.AccountName,
DatabaseName: pulumi.String("seagull"),
DbInstanceId: defaultqsmpIy.ID().ToIDOutput().ToStringOutput(),
CharacterSetName: pulumi.String("UTF8"),
Collate: pulumi.String("en_US.utf8"),
Ctype: pulumi.String("en_US.utf8"),
})
if err != nil {
return err
}
defaultDbExtension, err := gpdb.NewDbExtension(ctx, "default", &gpdb.DbExtensionArgs{
ExtensionName: pulumi.String("uuid-ossp"),
DbInstanceId: defaultqsmpIy.ID().ToIDOutput().ToStringOutput(),
DatabaseName: defaultPPmRVa.DatabaseName,
IsLatestVersion: pulumi.Bool(true),
})
if err != nil {
return err
}
_default := gpdb.GetDbExtensionsOutput(ctx, gpdb.GetDbExtensionsOutputArgs{
Ids: pulumi.StringArray{
defaultDbExtension.ID().ToIDOutput().ToStringOutput(),
},
DbInstanceId: defaultqsmpIy.ID().ToIDOutput().ToStringOutput(),
DatabaseName: defaultPPmRVa.DatabaseName,
}, nil)
ctx.Export("alicloudGpdbDbExtensionExampleId", _default.ApplyT(func(_default gpdb.GetDbExtensionsResult) (*string, error) {
return _default.Extensions[0].Id, nil
}).(pulumi.StringPtrOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var defaultiYyNGW = new AliCloud.Vpc.Network("defaultiYyNGW", new()
{
CidrBlock = "192.168.0.0/16",
});
var defaultPlruct = new AliCloud.Vpc.Switch("defaultPlruct", new()
{
VpcId = defaultiYyNGW.Id,
ZoneId = "cn-beijing-h",
CidrBlock = "192.168.1.0/24",
});
var defaultqsmpIy = new AliCloud.Gpdb.Instance("defaultqsmpIy", new()
{
InstanceSpec = "2C8G",
SegNodeNum = 2,
SegStorageType = "cloud_essd",
InstanceNetworkType = "VPC",
DbInstanceCategory = "Basic",
PaymentType = "PayAsYouGo",
SslEnabled = 0,
EngineVersion = "6.0",
Engine = "gpdb",
ZoneId = "cn-beijing-h",
VswitchId = defaultPlruct.Id,
StorageSize = 50,
MasterCu = 4,
VpcId = defaultiYyNGW.Id,
DbInstanceMode = "StorageElastic",
});
var defaultOwner = new AliCloud.Gpdb.Account("defaultOwner", new()
{
AccountName = "tf_example",
AccountPassword = "Example1234",
AccountDescription = "tf_example",
DbInstanceId = defaultqsmpIy.Id,
});
var defaultPPmRVa = new AliCloud.Gpdb.Database("defaultPPmRVa", new()
{
Owner = defaultOwner.AccountName,
DatabaseName = "seagull",
DbInstanceId = defaultqsmpIy.Id,
CharacterSetName = "UTF8",
Collate = "en_US.utf8",
Ctype = "en_US.utf8",
});
var defaultDbExtension = new AliCloud.Gpdb.DbExtension("default", new()
{
ExtensionName = "uuid-ossp",
DbInstanceId = defaultqsmpIy.Id,
DatabaseName = defaultPPmRVa.DatabaseName,
IsLatestVersion = true,
});
var @default = AliCloud.Gpdb.GetDbExtensions.Invoke(new()
{
Ids = new[]
{
defaultDbExtension.Id,
},
DbInstanceId = defaultqsmpIy.Id,
DatabaseName = defaultPPmRVa.DatabaseName,
});
return new Dictionary<string, object?>
{
["alicloudGpdbDbExtensionExampleId"] = @default.Apply(@default => @default.Apply(getDbExtensionsResult => getDbExtensionsResult.Extensions[0]?.Id)),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.gpdb.Instance;
import com.pulumi.alicloud.gpdb.InstanceArgs;
import com.pulumi.alicloud.gpdb.Account;
import com.pulumi.alicloud.gpdb.AccountArgs;
import com.pulumi.alicloud.gpdb.Database;
import com.pulumi.alicloud.gpdb.DatabaseArgs;
import com.pulumi.alicloud.gpdb.DbExtension;
import com.pulumi.alicloud.gpdb.DbExtensionArgs;
import com.pulumi.alicloud.gpdb.GpdbFunctions;
import com.pulumi.alicloud.gpdb.inputs.GetDbExtensionsArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 name = config.get("name").orElse("terraform-example");
var defaultiYyNGW = new Network("defaultiYyNGW", NetworkArgs.builder()
.cidrBlock("192.168.0.0/16")
.build());
var defaultPlruct = new Switch("defaultPlruct", SwitchArgs.builder()
.vpcId(defaultiYyNGW.id())
.zoneId("cn-beijing-h")
.cidrBlock("192.168.1.0/24")
.build());
var defaultqsmpIy = new Instance("defaultqsmpIy", InstanceArgs.builder()
.instanceSpec("2C8G")
.segNodeNum(2)
.segStorageType("cloud_essd")
.instanceNetworkType("VPC")
.dbInstanceCategory("Basic")
.paymentType("PayAsYouGo")
.sslEnabled(0)
.engineVersion("6.0")
.engine("gpdb")
.zoneId("cn-beijing-h")
.vswitchId(defaultPlruct.id())
.storageSize(50)
.masterCu(4)
.vpcId(defaultiYyNGW.id())
.dbInstanceMode("StorageElastic")
.build());
var defaultOwner = new Account("defaultOwner", AccountArgs.builder()
.accountName("tf_example")
.accountPassword("Example1234")
.accountDescription("tf_example")
.dbInstanceId(defaultqsmpIy.id())
.build());
var defaultPPmRVa = new Database("defaultPPmRVa", DatabaseArgs.builder()
.owner(defaultOwner.accountName())
.databaseName("seagull")
.dbInstanceId(defaultqsmpIy.id())
.characterSetName("UTF8")
.collate("en_US.utf8")
.ctype("en_US.utf8")
.build());
var defaultDbExtension = new DbExtension("defaultDbExtension", DbExtensionArgs.builder()
.extensionName("uuid-ossp")
.dbInstanceId(defaultqsmpIy.id())
.databaseName(defaultPPmRVa.databaseName())
.isLatestVersion(true)
.build());
final var default = GpdbFunctions.getDbExtensions(GetDbExtensionsArgs.builder()
.ids(defaultDbExtension.id())
.dbInstanceId(defaultqsmpIy.id())
.databaseName(defaultPPmRVa.databaseName())
.build());
ctx.export("alicloudGpdbDbExtensionExampleId", default_.applyValue(_default_ -> _default_.extensions()[0].id()));
}
}
configuration:
name:
type: string
default: terraform-example
resources:
defaultiYyNGW:
type: alicloud:vpc:Network
properties:
cidrBlock: 192.168.0.0/16
defaultPlruct:
type: alicloud:vpc:Switch
properties:
vpcId: ${defaultiYyNGW.id}
zoneId: cn-beijing-h
cidrBlock: 192.168.1.0/24
defaultqsmpIy:
type: alicloud:gpdb:Instance
properties:
instanceSpec: 2C8G
segNodeNum: '2'
segStorageType: cloud_essd
instanceNetworkType: VPC
dbInstanceCategory: Basic
paymentType: PayAsYouGo
sslEnabled: '0'
engineVersion: '6.0'
engine: gpdb
zoneId: cn-beijing-h
vswitchId: ${defaultPlruct.id}
storageSize: '50'
masterCu: '4'
vpcId: ${defaultiYyNGW.id}
dbInstanceMode: StorageElastic
defaultOwner:
type: alicloud:gpdb:Account
properties:
accountName: tf_example
accountPassword: Example1234
accountDescription: tf_example
dbInstanceId: ${defaultqsmpIy.id}
defaultPPmRVa:
type: alicloud:gpdb:Database
properties:
owner: ${defaultOwner.accountName}
databaseName: seagull
dbInstanceId: ${defaultqsmpIy.id}
characterSetName: UTF8
collate: en_US.utf8
ctype: en_US.utf8
defaultDbExtension:
type: alicloud:gpdb:DbExtension
name: default
properties:
extensionName: uuid-ossp
dbInstanceId: ${defaultqsmpIy.id}
databaseName: ${defaultPPmRVa.databaseName}
isLatestVersion: true
variables:
default:
fn::invoke:
function: alicloud:gpdb:getDbExtensions
arguments:
ids:
- ${defaultDbExtension.id}
dbInstanceId: ${defaultqsmpIy.id}
databaseName: ${defaultPPmRVa.databaseName}
outputs:
alicloudGpdbDbExtensionExampleId: ${default.extensions[0].id}
pulumi {
required_providers {
alicloud = {
source = "pulumi/alicloud"
}
}
}
data "alicloud_gpdb_getdbextensions" "default" {
ids = [alicloud_gpdb_dbextension.default.id]
db_instance_id = alicloud_gpdb_instance.defaultqsmpIy.id
database_name = alicloud_gpdb_database.defaultPPmRVa.database_name
}
resource "alicloud_vpc_network" "defaultiYyNGW" {
cidr_block = "192.168.0.0/16"
}
resource "alicloud_vpc_switch" "defaultPlruct" {
vpc_id = alicloud_vpc_network.defaultiYyNGW.id
zone_id = "cn-beijing-h"
cidr_block = "192.168.1.0/24"
}
resource "alicloud_gpdb_instance" "defaultqsmpIy" {
instance_spec = "2C8G"
seg_node_num = "2"
seg_storage_type = "cloud_essd"
instance_network_type = "VPC"
db_instance_category = "Basic"
payment_type = "PayAsYouGo"
ssl_enabled = "0"
engine_version = "6.0"
engine = "gpdb"
zone_id = "cn-beijing-h"
vswitch_id = alicloud_vpc_switch.defaultPlruct.id
storage_size = "50"
master_cu = "4"
vpc_id = alicloud_vpc_network.defaultiYyNGW.id
db_instance_mode = "StorageElastic"
}
resource "alicloud_gpdb_account" "defaultOwner" {
account_name = "tf_example"
account_password = "Example1234"
account_description = "tf_example"
db_instance_id = alicloud_gpdb_instance.defaultqsmpIy.id
}
resource "alicloud_gpdb_database" "defaultPPmRVa" {
owner = alicloud_gpdb_account.defaultOwner.account_name
database_name = "seagull"
db_instance_id = alicloud_gpdb_instance.defaultqsmpIy.id
character_set_name = "UTF8"
collate = "en_US.utf8"
ctype = "en_US.utf8"
}
resource "alicloud_gpdb_dbextension" "default" {
extension_name = "uuid-ossp"
db_instance_id = alicloud_gpdb_instance.defaultqsmpIy.id
database_name = alicloud_gpdb_database.defaultPPmRVa.database_name
is_latest_version = true
}
variable "name" {
type = string
default = "terraform-example"
}
output "alicloudGpdbDbExtensionExampleId" {
value = data.alicloud_gpdb_getdbextensions.default.extensions[0].id
}
Using getDbExtensions
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 getDbExtensions(args: GetDbExtensionsArgs, opts?: InvokeOptions): Promise<GetDbExtensionsResult>
function getDbExtensionsOutput(args: GetDbExtensionsOutputArgs, opts?: InvokeOutputOptions): Output<GetDbExtensionsResult>def get_db_extensions(database_name: Optional[str] = None,
db_instance_id: Optional[str] = None,
enable_details: Optional[bool] = None,
ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbExtensionsResult
def get_db_extensions_output(database_name: pulumi.Input[Optional[str]] = None,
db_instance_id: pulumi.Input[Optional[str]] = None,
enable_details: pulumi.Input[Optional[bool]] = None,
ids: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
output_file: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetDbExtensionsResult]func GetDbExtensions(ctx *Context, args *GetDbExtensionsArgs, opts ...InvokeOption) (*GetDbExtensionsResult, error)
func GetDbExtensionsOutput(ctx *Context, args *GetDbExtensionsOutputArgs, opts ...InvokeOption) GetDbExtensionsResultOutput> Note: This function is named GetDbExtensions in the Go SDK.
public static class GetDbExtensions
{
public static Task<GetDbExtensionsResult> InvokeAsync(GetDbExtensionsArgs args, InvokeOptions? opts = null)
public static Output<GetDbExtensionsResult> Invoke(GetDbExtensionsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetDbExtensionsResult> Invoke(GetDbExtensionsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetDbExtensionsResult> getDbExtensions(GetDbExtensionsArgs args, InvokeOptions options)
public static Output<GetDbExtensionsResult> getDbExtensions(GetDbExtensionsArgs args, InvokeOptions options)
public static Output<GetDbExtensionsResult> getDbExtensions(GetDbExtensionsArgs args, InvokeOutputOptions options)
fn::invoke:
function: alicloud:gpdb/getDbExtensions:getDbExtensions
arguments:
# arguments dictionarydata "alicloud_gpdb_get_db_extensions" "name" {
# arguments
}The following arguments are supported:
- Database
Name string - The name of the database.
- Db
Instance stringId The instance ID.
NOTE: You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
- Enable
Details bool - Default to
false. Set it totruecan output more details about resource attributes. - Ids List<string>
- A list of Db Extension IDs. The value is formulated as
<db_instance_id>:<database_name>:<extension_name>. - Output
File string - File name where to save data source results (after running
pulumi preview).
- Database
Name string - The name of the database.
- Db
Instance stringId The instance ID.
NOTE: You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
- Enable
Details bool - Default to
false. Set it totruecan output more details about resource attributes. - Ids []string
- A list of Db Extension IDs. The value is formulated as
<db_instance_id>:<database_name>:<extension_name>. - Output
File string - File name where to save data source results (after running
pulumi preview).
- database_
name string - The name of the database.
- db_
instance_ stringid The instance ID.
NOTE: You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
- enable_
details bool - Default to
false. Set it totruecan output more details about resource attributes. - ids list(string)
- A list of Db Extension IDs. The value is formulated as
<db_instance_id>:<database_name>:<extension_name>. - output_
file string - File name where to save data source results (after running
pulumi preview).
- database
Name String - The name of the database.
- db
Instance StringId The instance ID.
NOTE: You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
- enable
Details Boolean - Default to
false. Set it totruecan output more details about resource attributes. - ids List<String>
- A list of Db Extension IDs. The value is formulated as
<db_instance_id>:<database_name>:<extension_name>. - output
File String - File name where to save data source results (after running
pulumi preview).
- database
Name string - The name of the database.
- db
Instance stringId The instance ID.
NOTE: You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
- enable
Details boolean - Default to
false. Set it totruecan output more details about resource attributes. - ids string[]
- A list of Db Extension IDs. The value is formulated as
<db_instance_id>:<database_name>:<extension_name>. - output
File string - File name where to save data source results (after running
pulumi preview).
- database_
name str - The name of the database.
- db_
instance_ strid The instance ID.
NOTE: You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
- enable_
details bool - Default to
false. Set it totruecan output more details about resource attributes. - ids Sequence[str]
- A list of Db Extension IDs. The value is formulated as
<db_instance_id>:<database_name>:<extension_name>. - output_
file str - File name where to save data source results (after running
pulumi preview).
- database
Name String - The name of the database.
- db
Instance StringId The instance ID.
NOTE: You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
- enable
Details Boolean - Default to
false. Set it totruecan output more details about resource attributes. - ids List<String>
- A list of Db Extension IDs. The value is formulated as
<db_instance_id>:<database_name>:<extension_name>. - output
File String - File name where to save data source results (after running
pulumi preview).
getDbExtensions Result
The following output properties are available:
- Database
Name string - Db
Instance stringId - Extensions
List<Pulumi.
Ali Cloud. Gpdb. Outputs. Get Db Extensions Extension> - A list of Db Extension Entries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of Db Extension IDs.
- Enable
Details bool - Output
File string
- Database
Name string - Db
Instance stringId - Extensions
[]Get
Db Extensions Extension - A list of Db Extension Entries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of Db Extension IDs.
- Enable
Details bool - Output
File string
- database_
name string - db_
instance_ stringid - extensions list(object)
- A list of Db Extension Entries. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids list(string)
- A list of Db Extension IDs.
- enable_
details bool - output_
file string
- database
Name String - db
Instance StringId - extensions
List<Get
Db Extensions Extension> - A list of Db Extension Entries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Db Extension IDs.
- enable
Details Boolean - output
File String
- database
Name string - db
Instance stringId - extensions
Get
Db Extensions Extension[] - A list of Db Extension Entries. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of Db Extension IDs.
- enable
Details boolean - output
File string
- database_
name str - db_
instance_ strid - extensions
Sequence[Get
Db Extensions Extension] - A list of Db Extension Entries. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of Db Extension IDs.
- enable_
details bool - output_
file str
- database
Name String - db
Instance StringId - extensions List<Property Map>
- A list of Db Extension Entries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Db Extension IDs.
- enable
Details Boolean - output
File String
Supporting Types
GetDbExtensionsExtension
- Current
Version string - NOTE: This field is only available when
enableDetailsistrue. Plug-in current version. - Description string
- Plug-in description.
- Extension
Id string - NOTE: This field is only available when
enableDetailsistrue. Plug-in id. - Extension
Name string - The name of the extension to install.
- Id string
- The ID of the resource supplied above.
- Is
Install boolNeed Restart - NOTE: This field is only available when
enableDetailsistrue. Whether the instance needs to be restarted for installation. - Is
Latest boolVersion - NOTE: This field is only available when
enableDetailsistrue. Whether the extension is at its latest version. - Latest
Version string - NOTE: This field is only available when
enableDetailsistrue. Plug-in latest version. - Status string
- The status of the extension.
- Current
Version string - NOTE: This field is only available when
enableDetailsistrue. Plug-in current version. - Description string
- Plug-in description.
- Extension
Id string - NOTE: This field is only available when
enableDetailsistrue. Plug-in id. - Extension
Name string - The name of the extension to install.
- Id string
- The ID of the resource supplied above.
- Is
Install boolNeed Restart - NOTE: This field is only available when
enableDetailsistrue. Whether the instance needs to be restarted for installation. - Is
Latest boolVersion - NOTE: This field is only available when
enableDetailsistrue. Whether the extension is at its latest version. - Latest
Version string - NOTE: This field is only available when
enableDetailsistrue. Plug-in latest version. - Status string
- The status of the extension.
- current_
version string - NOTE: This field is only available when
enableDetailsistrue. Plug-in current version. - description string
- Plug-in description.
- extension_
id string - NOTE: This field is only available when
enableDetailsistrue. Plug-in id. - extension_
name string - The name of the extension to install.
- id string
- The ID of the resource supplied above.
- is_
install_ boolneed_ restart - NOTE: This field is only available when
enableDetailsistrue. Whether the instance needs to be restarted for installation. - is_
latest_ boolversion - NOTE: This field is only available when
enableDetailsistrue. Whether the extension is at its latest version. - latest_
version string - NOTE: This field is only available when
enableDetailsistrue. Plug-in latest version. - status string
- The status of the extension.
- current
Version String - NOTE: This field is only available when
enableDetailsistrue. Plug-in current version. - description String
- Plug-in description.
- extension
Id String - NOTE: This field is only available when
enableDetailsistrue. Plug-in id. - extension
Name String - The name of the extension to install.
- id String
- The ID of the resource supplied above.
- is
Install BooleanNeed Restart - NOTE: This field is only available when
enableDetailsistrue. Whether the instance needs to be restarted for installation. - is
Latest BooleanVersion - NOTE: This field is only available when
enableDetailsistrue. Whether the extension is at its latest version. - latest
Version String - NOTE: This field is only available when
enableDetailsistrue. Plug-in latest version. - status String
- The status of the extension.
- current
Version string - NOTE: This field is only available when
enableDetailsistrue. Plug-in current version. - description string
- Plug-in description.
- extension
Id string - NOTE: This field is only available when
enableDetailsistrue. Plug-in id. - extension
Name string - The name of the extension to install.
- id string
- The ID of the resource supplied above.
- is
Install booleanNeed Restart - NOTE: This field is only available when
enableDetailsistrue. Whether the instance needs to be restarted for installation. - is
Latest booleanVersion - NOTE: This field is only available when
enableDetailsistrue. Whether the extension is at its latest version. - latest
Version string - NOTE: This field is only available when
enableDetailsistrue. Plug-in latest version. - status string
- The status of the extension.
- current_
version str - NOTE: This field is only available when
enableDetailsistrue. Plug-in current version. - description str
- Plug-in description.
- extension_
id str - NOTE: This field is only available when
enableDetailsistrue. Plug-in id. - extension_
name str - The name of the extension to install.
- id str
- The ID of the resource supplied above.
- is_
install_ boolneed_ restart - NOTE: This field is only available when
enableDetailsistrue. Whether the instance needs to be restarted for installation. - is_
latest_ boolversion - NOTE: This field is only available when
enableDetailsistrue. Whether the extension is at its latest version. - latest_
version str - NOTE: This field is only available when
enableDetailsistrue. Plug-in latest version. - status str
- The status of the extension.
- current
Version String - NOTE: This field is only available when
enableDetailsistrue. Plug-in current version. - description String
- Plug-in description.
- extension
Id String - NOTE: This field is only available when
enableDetailsistrue. Plug-in id. - extension
Name String - The name of the extension to install.
- id String
- The ID of the resource supplied above.
- is
Install BooleanNeed Restart - NOTE: This field is only available when
enableDetailsistrue. Whether the instance needs to be restarted for installation. - is
Latest BooleanVersion - NOTE: This field is only available when
enableDetailsistrue. Whether the extension is at its latest version. - latest
Version String - NOTE: This field is only available when
enableDetailsistrue. Plug-in latest version. - status String
- The status of the extension.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
published on Thursday, Sep 17, 2026 by Pulumi