Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
published on Monday, May 11, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
published on Monday, May 11, 2026 by tencentcloudstack
Use this data source to get the available product configs of the PostgreSQL specifications.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getPostgresqlSpecinfos({
availabilityZone: "ap-guangzhou-7",
storageType: "CLOUD_HSSD",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_postgresql_specinfos(availability_zone="ap-guangzhou-7",
storage_type="CLOUD_HSSD")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetPostgresqlSpecinfos(ctx, &tencentcloud.GetPostgresqlSpecinfosArgs{
AvailabilityZone: "ap-guangzhou-7",
StorageType: pulumi.StringRef("CLOUD_HSSD"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetPostgresqlSpecinfos.Invoke(new()
{
AvailabilityZone = "ap-guangzhou-7",
StorageType = "CLOUD_HSSD",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetPostgresqlSpecinfosArgs;
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 example = TencentcloudFunctions.getPostgresqlSpecinfos(GetPostgresqlSpecinfosArgs.builder()
.availabilityZone("ap-guangzhou-7")
.storageType("CLOUD_HSSD")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getPostgresqlSpecinfos
arguments:
availabilityZone: ap-guangzhou-7
storageType: CLOUD_HSSD
Example coming soon!
Using getPostgresqlSpecinfos
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 getPostgresqlSpecinfos(args: GetPostgresqlSpecinfosArgs, opts?: InvokeOptions): Promise<GetPostgresqlSpecinfosResult>
function getPostgresqlSpecinfosOutput(args: GetPostgresqlSpecinfosOutputArgs, opts?: InvokeOptions): Output<GetPostgresqlSpecinfosResult>def get_postgresql_specinfos(availability_zone: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
storage_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPostgresqlSpecinfosResult
def get_postgresql_specinfos_output(availability_zone: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
result_output_file: pulumi.Input[Optional[str]] = None,
storage_type: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPostgresqlSpecinfosResult]func GetPostgresqlSpecinfos(ctx *Context, args *GetPostgresqlSpecinfosArgs, opts ...InvokeOption) (*GetPostgresqlSpecinfosResult, error)
func GetPostgresqlSpecinfosOutput(ctx *Context, args *GetPostgresqlSpecinfosOutputArgs, opts ...InvokeOption) GetPostgresqlSpecinfosResultOutput> Note: This function is named GetPostgresqlSpecinfos in the Go SDK.
public static class GetPostgresqlSpecinfos
{
public static Task<GetPostgresqlSpecinfosResult> InvokeAsync(GetPostgresqlSpecinfosArgs args, InvokeOptions? opts = null)
public static Output<GetPostgresqlSpecinfosResult> Invoke(GetPostgresqlSpecinfosInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPostgresqlSpecinfosResult> getPostgresqlSpecinfos(GetPostgresqlSpecinfosArgs args, InvokeOptions options)
public static Output<GetPostgresqlSpecinfosResult> getPostgresqlSpecinfos(GetPostgresqlSpecinfosArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getPostgresqlSpecinfos:getPostgresqlSpecinfos
arguments:
# arguments dictionarydata "tencentcloud_getpostgresqlspecinfos" "name" {
# arguments
}The following arguments are supported:
- Availability
Zone string - The zone of the postgresql instance to query.
- Id string
- ID of the postgresql instance speccode.
- Result
Output stringFile - Used to save results.
- Storage
Type string - Storage type filter. Valid values:
PHYSICAL_LOCAL_SSD(local SSD),CLOUD_PREMIUM(premium cloud disk),CLOUD_SSD(cloud SSD),CLOUD_HSSD(enhanced cloud SSD).
- Availability
Zone string - The zone of the postgresql instance to query.
- Id string
- ID of the postgresql instance speccode.
- Result
Output stringFile - Used to save results.
- Storage
Type string - Storage type filter. Valid values:
PHYSICAL_LOCAL_SSD(local SSD),CLOUD_PREMIUM(premium cloud disk),CLOUD_SSD(cloud SSD),CLOUD_HSSD(enhanced cloud SSD).
- availability_
zone string - The zone of the postgresql instance to query.
- id string
- ID of the postgresql instance speccode.
- result_
output_ stringfile - Used to save results.
- storage_
type string - Storage type filter. Valid values:
PHYSICAL_LOCAL_SSD(local SSD),CLOUD_PREMIUM(premium cloud disk),CLOUD_SSD(cloud SSD),CLOUD_HSSD(enhanced cloud SSD).
- availability
Zone String - The zone of the postgresql instance to query.
- id String
- ID of the postgresql instance speccode.
- result
Output StringFile - Used to save results.
- storage
Type String - Storage type filter. Valid values:
PHYSICAL_LOCAL_SSD(local SSD),CLOUD_PREMIUM(premium cloud disk),CLOUD_SSD(cloud SSD),CLOUD_HSSD(enhanced cloud SSD).
- availability
Zone string - The zone of the postgresql instance to query.
- id string
- ID of the postgresql instance speccode.
- result
Output stringFile - Used to save results.
- storage
Type string - Storage type filter. Valid values:
PHYSICAL_LOCAL_SSD(local SSD),CLOUD_PREMIUM(premium cloud disk),CLOUD_SSD(cloud SSD),CLOUD_HSSD(enhanced cloud SSD).
- availability_
zone str - The zone of the postgresql instance to query.
- id str
- ID of the postgresql instance speccode.
- result_
output_ strfile - Used to save results.
- storage_
type str - Storage type filter. Valid values:
PHYSICAL_LOCAL_SSD(local SSD),CLOUD_PREMIUM(premium cloud disk),CLOUD_SSD(cloud SSD),CLOUD_HSSD(enhanced cloud SSD).
- availability
Zone String - The zone of the postgresql instance to query.
- id String
- ID of the postgresql instance speccode.
- result
Output StringFile - Used to save results.
- storage
Type String - Storage type filter. Valid values:
PHYSICAL_LOCAL_SSD(local SSD),CLOUD_PREMIUM(premium cloud disk),CLOUD_SSD(cloud SSD),CLOUD_HSSD(enhanced cloud SSD).
getPostgresqlSpecinfos Result
The following output properties are available:
- Availability
Zone string - Id string
- ID of the postgresql instance speccode.
- Lists
List<Get
Postgresql Specinfos List> - A list of zones will be exported and its every element contains the following attributes:
- Result
Output stringFile - Storage
Type string
- Availability
Zone string - Id string
- ID of the postgresql instance speccode.
- Lists
[]Get
Postgresql Specinfos List - A list of zones will be exported and its every element contains the following attributes:
- Result
Output stringFile - Storage
Type string
- availability_
zone string - id string
- ID of the postgresql instance speccode.
- lists list(object)
- A list of zones will be exported and its every element contains the following attributes:
- result_
output_ stringfile - storage_
type string
- availability
Zone String - id String
- ID of the postgresql instance speccode.
- lists
List<Get
Postgresql Specinfos List> - A list of zones will be exported and its every element contains the following attributes:
- result
Output StringFile - storage
Type String
- availability
Zone string - id string
- ID of the postgresql instance speccode.
- lists
Get
Postgresql Specinfos List[] - A list of zones will be exported and its every element contains the following attributes:
- result
Output stringFile - storage
Type string
- availability_
zone str - id str
- ID of the postgresql instance speccode.
- lists
Sequence[Get
Postgresql Specinfos List] - A list of zones will be exported and its every element contains the following attributes:
- result_
output_ strfile - storage_
type str
- availability
Zone String - id String
- ID of the postgresql instance speccode.
- lists List<Property Map>
- A list of zones will be exported and its every element contains the following attributes:
- result
Output StringFile - storage
Type String
Supporting Types
GetPostgresqlSpecinfosList
- Cpu double
- The CPU number of the postgresql instance.
- Engine
Version string - Version of the postgresql database engine.
- Engine
Version stringName - Version name of the postgresql database engine.
- Id string
- ID of the postgresql instance speccode.
- Memory double
- Memory size(in GB).
- Qps double
- The QPS of the postgresql instance.
- Storage
Max double - The maximum volume size(in GB).
- Storage
Min double - The minimum volume size(in GB).
- Cpu float64
- The CPU number of the postgresql instance.
- Engine
Version string - Version of the postgresql database engine.
- Engine
Version stringName - Version name of the postgresql database engine.
- Id string
- ID of the postgresql instance speccode.
- Memory float64
- Memory size(in GB).
- Qps float64
- The QPS of the postgresql instance.
- Storage
Max float64 - The maximum volume size(in GB).
- Storage
Min float64 - The minimum volume size(in GB).
- cpu number
- The CPU number of the postgresql instance.
- engine_
version string - Version of the postgresql database engine.
- engine_
version_ stringname - Version name of the postgresql database engine.
- id string
- ID of the postgresql instance speccode.
- memory number
- Memory size(in GB).
- qps number
- The QPS of the postgresql instance.
- storage_
max number - The maximum volume size(in GB).
- storage_
min number - The minimum volume size(in GB).
- cpu Double
- The CPU number of the postgresql instance.
- engine
Version String - Version of the postgresql database engine.
- engine
Version StringName - Version name of the postgresql database engine.
- id String
- ID of the postgresql instance speccode.
- memory Double
- Memory size(in GB).
- qps Double
- The QPS of the postgresql instance.
- storage
Max Double - The maximum volume size(in GB).
- storage
Min Double - The minimum volume size(in GB).
- cpu number
- The CPU number of the postgresql instance.
- engine
Version string - Version of the postgresql database engine.
- engine
Version stringName - Version name of the postgresql database engine.
- id string
- ID of the postgresql instance speccode.
- memory number
- Memory size(in GB).
- qps number
- The QPS of the postgresql instance.
- storage
Max number - The maximum volume size(in GB).
- storage
Min number - The minimum volume size(in GB).
- cpu float
- The CPU number of the postgresql instance.
- engine_
version str - Version of the postgresql database engine.
- engine_
version_ strname - Version name of the postgresql database engine.
- id str
- ID of the postgresql instance speccode.
- memory float
- Memory size(in GB).
- qps float
- The QPS of the postgresql instance.
- storage_
max float - The maximum volume size(in GB).
- storage_
min float - The minimum volume size(in GB).
- cpu Number
- The CPU number of the postgresql instance.
- engine
Version String - Version of the postgresql database engine.
- engine
Version StringName - Version name of the postgresql database engine.
- id String
- ID of the postgresql instance speccode.
- memory Number
- Memory size(in GB).
- qps Number
- The QPS of the postgresql instance.
- storage
Max Number - The maximum volume size(in GB).
- storage
Min Number - The minimum volume size(in GB).
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
published on Monday, May 11, 2026 by tencentcloudstack
