selectel 6.4.0 published on Monday, Apr 14, 2025 by selectel
selectel.getDbaasAvailableExtensionV1
Explore with Pulumi AI
Provides a list of extensions available for Managed Databases. Applicable to PostgreSQL and PostgreSQL TimescaleDB. For more information about extensions, see the official Selectel documentation for PostgreSQL and PostgreSQL TimescaleDB.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as selectel from "@pulumi/selectel";
const availableExtension1 = selectel.getDbaasAvailableExtensionV1({
projectId: selectel_vpc_project_v2.project_1.id,
region: "ru-3",
});
import pulumi
import pulumi_selectel as selectel
available_extension1 = selectel.get_dbaas_available_extension_v1(project_id=selectel_vpc_project_v2["project_1"]["id"],
region="ru-3")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v6/selectel"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := selectel.GetDbaasAvailableExtensionV1(ctx, &selectel.GetDbaasAvailableExtensionV1Args{
ProjectId: selectel_vpc_project_v2.Project_1.Id,
Region: "ru-3",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Selectel = Pulumi.Selectel;
return await Deployment.RunAsync(() =>
{
var availableExtension1 = Selectel.GetDbaasAvailableExtensionV1.Invoke(new()
{
ProjectId = selectel_vpc_project_v2.Project_1.Id,
Region = "ru-3",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.selectel.SelectelFunctions;
import com.pulumi.selectel.inputs.GetDbaasAvailableExtensionV1Args;
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 availableExtension1 = SelectelFunctions.getDbaasAvailableExtensionV1(GetDbaasAvailableExtensionV1Args.builder()
.projectId(selectel_vpc_project_v2.project_1().id())
.region("ru-3")
.build());
}
}
variables:
availableExtension1:
fn::invoke:
function: selectel:getDbaasAvailableExtensionV1
arguments:
projectId: ${selectel_vpc_project_v2.project_1.id}
region: ru-3
Using getDbaasAvailableExtensionV1
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 getDbaasAvailableExtensionV1(args: GetDbaasAvailableExtensionV1Args, opts?: InvokeOptions): Promise<GetDbaasAvailableExtensionV1Result>
function getDbaasAvailableExtensionV1Output(args: GetDbaasAvailableExtensionV1OutputArgs, opts?: InvokeOptions): Output<GetDbaasAvailableExtensionV1Result>
def get_dbaas_available_extension_v1(filters: Optional[Sequence[GetDbaasAvailableExtensionV1Filter]] = None,
id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbaasAvailableExtensionV1Result
def get_dbaas_available_extension_v1_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDbaasAvailableExtensionV1FilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbaasAvailableExtensionV1Result]
func GetDbaasAvailableExtensionV1(ctx *Context, args *GetDbaasAvailableExtensionV1Args, opts ...InvokeOption) (*GetDbaasAvailableExtensionV1Result, error)
func GetDbaasAvailableExtensionV1Output(ctx *Context, args *GetDbaasAvailableExtensionV1OutputArgs, opts ...InvokeOption) GetDbaasAvailableExtensionV1ResultOutput
> Note: This function is named GetDbaasAvailableExtensionV1
in the Go SDK.
public static class GetDbaasAvailableExtensionV1
{
public static Task<GetDbaasAvailableExtensionV1Result> InvokeAsync(GetDbaasAvailableExtensionV1Args args, InvokeOptions? opts = null)
public static Output<GetDbaasAvailableExtensionV1Result> Invoke(GetDbaasAvailableExtensionV1InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDbaasAvailableExtensionV1Result> getDbaasAvailableExtensionV1(GetDbaasAvailableExtensionV1Args args, InvokeOptions options)
public static Output<GetDbaasAvailableExtensionV1Result> getDbaasAvailableExtensionV1(GetDbaasAvailableExtensionV1Args args, InvokeOptions options)
fn::invoke:
function: selectel:index/getDbaasAvailableExtensionV1:getDbaasAvailableExtensionV1
arguments:
# arguments dictionary
The following arguments are supported:
- Project
Id string - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- Region string
- Pool where the database is located, for example,
ru-3
. Learn more about available pools in the Availability matrix. - Filters
List<Get
Dbaas Available Extension V1Filter> - Values to filter available extensions.
- Id string
- Unique identifier of the extension.
- Project
Id string - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- Region string
- Pool where the database is located, for example,
ru-3
. Learn more about available pools in the Availability matrix. - Filters
[]Get
Dbaas Available Extension V1Filter - Values to filter available extensions.
- Id string
- Unique identifier of the extension.
- project
Id String - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region String
- Pool where the database is located, for example,
ru-3
. Learn more about available pools in the Availability matrix. - filters
List<Get
Dbaas Available Extension V1Filter> - Values to filter available extensions.
- id String
- Unique identifier of the extension.
- project
Id string - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region string
- Pool where the database is located, for example,
ru-3
. Learn more about available pools in the Availability matrix. - filters
Get
Dbaas Available Extension V1Filter[] - Values to filter available extensions.
- id string
- Unique identifier of the extension.
- project_
id str - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region str
- Pool where the database is located, for example,
ru-3
. Learn more about available pools in the Availability matrix. - filters
Sequence[Get
Dbaas Available Extension V1Filter] - Values to filter available extensions.
- id str
- Unique identifier of the extension.
- project
Id String - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region String
- Pool where the database is located, for example,
ru-3
. Learn more about available pools in the Availability matrix. - filters List<Property Map>
- Values to filter available extensions.
- id String
- Unique identifier of the extension.
getDbaasAvailableExtensionV1 Result
The following output properties are available:
- Available
Extensions List<GetDbaas Available Extension V1Available Extension> - List of the available extensions:
- Id string
- Unique identifier of the extension.
- Project
Id string - Region string
- Filters
List<Get
Dbaas Available Extension V1Filter>
- Available
Extensions []GetDbaas Available Extension V1Available Extension - List of the available extensions:
- Id string
- Unique identifier of the extension.
- Project
Id string - Region string
- Filters
[]Get
Dbaas Available Extension V1Filter
- available
Extensions List<GetDbaas Available Extension V1Available Extension> - List of the available extensions:
- id String
- Unique identifier of the extension.
- project
Id String - region String
- filters
List<Get
Dbaas Available Extension V1Filter>
- available
Extensions GetDbaas Available Extension V1Available Extension[] - List of the available extensions:
- id string
- Unique identifier of the extension.
- project
Id string - region string
- filters
Get
Dbaas Available Extension V1Filter[]
- available_
extensions Sequence[GetDbaas Available Extension V1Available Extension] - List of the available extensions:
- id str
- Unique identifier of the extension.
- project_
id str - region str
- filters
Sequence[Get
Dbaas Available Extension V1Filter]
- available
Extensions List<Property Map> - List of the available extensions:
- id String
- Unique identifier of the extension.
- project
Id String - region String
- filters List<Property Map>
Supporting Types
GetDbaasAvailableExtensionV1AvailableExtension
- Datastore
Type List<string>Ids - List of datastore types that support the extension.
- Dependency
Ids List<string> - List of extensions that depend on this extension.
- Id string
- Unique identifier of the extension.
- Name string
- Extension name.
- Datastore
Type []stringIds - List of datastore types that support the extension.
- Dependency
Ids []string - List of extensions that depend on this extension.
- Id string
- Unique identifier of the extension.
- Name string
- Extension name.
- datastore
Type List<String>Ids - List of datastore types that support the extension.
- dependency
Ids List<String> - List of extensions that depend on this extension.
- id String
- Unique identifier of the extension.
- name String
- Extension name.
- datastore
Type string[]Ids - List of datastore types that support the extension.
- dependency
Ids string[] - List of extensions that depend on this extension.
- id string
- Unique identifier of the extension.
- name string
- Extension name.
- datastore_
type_ Sequence[str]ids - List of datastore types that support the extension.
- dependency_
ids Sequence[str] - List of extensions that depend on this extension.
- id str
- Unique identifier of the extension.
- name str
- Extension name.
- datastore
Type List<String>Ids - List of datastore types that support the extension.
- dependency
Ids List<String> - List of extensions that depend on this extension.
- id String
- Unique identifier of the extension.
- name String
- Extension name.
GetDbaasAvailableExtensionV1Filter
- Name string
- Name of the extension to search.
- Name string
- Name of the extension to search.
- name String
- Name of the extension to search.
- name string
- Name of the extension to search.
- name str
- Name of the extension to search.
- name String
- Name of the extension to search.
Package Details
- Repository
- selectel selectel/terraform-provider-selectel
- License
- Notes
- This Pulumi package is based on the
selectel
Terraform Provider.