1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getPostgresqlReadonlyGroups
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getPostgresqlReadonlyGroups

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of postgresql read_only_groups

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const group = new tencentcloud.PostgresqlReadonlyGroup("group", {
        masterDbInstanceId: "postgres-gzg9jb2n",
        projectId: 0,
        vpcId: "vpc-86v957zb",
        subnetId: "subnet-enm92y0m",
        replayLagEliminate: 1,
        replayLatencyEliminate: 1,
        maxReplayLag: 100,
        maxReplayLatency: 512,
        minDelayEliminateReserve: 1,
    });
    const readOnlyGroups = tencentcloud.getPostgresqlReadonlyGroupsOutput({
        filters: [{
            name: "db-master-instance-id",
            values: [group.masterDbInstanceId],
        }],
        orderBy: "CreateTime",
        orderByType: "asc",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    group = tencentcloud.PostgresqlReadonlyGroup("group",
        master_db_instance_id="postgres-gzg9jb2n",
        project_id=0,
        vpc_id="vpc-86v957zb",
        subnet_id="subnet-enm92y0m",
        replay_lag_eliminate=1,
        replay_latency_eliminate=1,
        max_replay_lag=100,
        max_replay_latency=512,
        min_delay_eliminate_reserve=1)
    read_only_groups = tencentcloud.get_postgresql_readonly_groups_output(filters=[{
            "name": "db-master-instance-id",
            "values": [group.master_db_instance_id],
        }],
        order_by="CreateTime",
        order_by_type="asc")
    
    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 {
    		group, err := tencentcloud.NewPostgresqlReadonlyGroup(ctx, "group", &tencentcloud.PostgresqlReadonlyGroupArgs{
    			MasterDbInstanceId:       pulumi.String("postgres-gzg9jb2n"),
    			ProjectId:                pulumi.Float64(0),
    			VpcId:                    pulumi.String("vpc-86v957zb"),
    			SubnetId:                 pulumi.String("subnet-enm92y0m"),
    			ReplayLagEliminate:       pulumi.Float64(1),
    			ReplayLatencyEliminate:   pulumi.Float64(1),
    			MaxReplayLag:             pulumi.Float64(100),
    			MaxReplayLatency:         pulumi.Float64(512),
    			MinDelayEliminateReserve: pulumi.Float64(1),
    		})
    		if err != nil {
    			return err
    		}
    		_ = tencentcloud.GetPostgresqlReadonlyGroupsOutput(ctx, tencentcloud.GetPostgresqlReadonlyGroupsOutputArgs{
    			Filters: tencentcloud.GetPostgresqlReadonlyGroupsFilterArray{
    				&tencentcloud.GetPostgresqlReadonlyGroupsFilterArgs{
    					Name: pulumi.String("db-master-instance-id"),
    					Values: pulumi.StringArray{
    						group.MasterDbInstanceId,
    					},
    				},
    			},
    			OrderBy:     pulumi.String("CreateTime"),
    			OrderByType: pulumi.String("asc"),
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var @group = new Tencentcloud.PostgresqlReadonlyGroup("group", new()
        {
            MasterDbInstanceId = "postgres-gzg9jb2n",
            ProjectId = 0,
            VpcId = "vpc-86v957zb",
            SubnetId = "subnet-enm92y0m",
            ReplayLagEliminate = 1,
            ReplayLatencyEliminate = 1,
            MaxReplayLag = 100,
            MaxReplayLatency = 512,
            MinDelayEliminateReserve = 1,
        });
    
        var readOnlyGroups = Tencentcloud.GetPostgresqlReadonlyGroups.Invoke(new()
        {
            Filters = new[]
            {
                new Tencentcloud.Inputs.GetPostgresqlReadonlyGroupsFilterInputArgs
                {
                    Name = "db-master-instance-id",
                    Values = new[]
                    {
                        @group.MasterDbInstanceId,
                    },
                },
            },
            OrderBy = "CreateTime",
            OrderByType = "asc",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.PostgresqlReadonlyGroup;
    import com.pulumi.tencentcloud.PostgresqlReadonlyGroupArgs;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetPostgresqlReadonlyGroupsArgs;
    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) {
            var group = new PostgresqlReadonlyGroup("group", PostgresqlReadonlyGroupArgs.builder()
                .masterDbInstanceId("postgres-gzg9jb2n")
                .projectId(0)
                .vpcId("vpc-86v957zb")
                .subnetId("subnet-enm92y0m")
                .replayLagEliminate(1)
                .replayLatencyEliminate(1)
                .maxReplayLag(100)
                .maxReplayLatency(512)
                .minDelayEliminateReserve(1)
                .build());
    
            final var readOnlyGroups = TencentcloudFunctions.getPostgresqlReadonlyGroups(GetPostgresqlReadonlyGroupsArgs.builder()
                .filters(GetPostgresqlReadonlyGroupsFilterArgs.builder()
                    .name("db-master-instance-id")
                    .values(group.masterDbInstanceId())
                    .build())
                .orderBy("CreateTime")
                .orderByType("asc")
                .build());
    
        }
    }
    
    resources:
      group:
        type: tencentcloud:PostgresqlReadonlyGroup
        properties:
          masterDbInstanceId: postgres-gzg9jb2n
          projectId: 0
          vpcId: vpc-86v957zb
          subnetId: subnet-enm92y0m
          replayLagEliminate: 1
          replayLatencyEliminate: 1
          maxReplayLag: 100
          maxReplayLatency: 512
          minDelayEliminateReserve: 1
    variables:
      readOnlyGroups:
        fn::invoke:
          function: tencentcloud:getPostgresqlReadonlyGroups
          arguments:
            filters:
              - name: db-master-instance-id
                values:
                  - ${group.masterDbInstanceId}
            orderBy: CreateTime
            orderByType: asc
    

    Using getPostgresqlReadonlyGroups

    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 getPostgresqlReadonlyGroups(args: GetPostgresqlReadonlyGroupsArgs, opts?: InvokeOptions): Promise<GetPostgresqlReadonlyGroupsResult>
    function getPostgresqlReadonlyGroupsOutput(args: GetPostgresqlReadonlyGroupsOutputArgs, opts?: InvokeOptions): Output<GetPostgresqlReadonlyGroupsResult>
    def get_postgresql_readonly_groups(filters: Optional[Sequence[GetPostgresqlReadonlyGroupsFilter]] = None,
                                       id: Optional[str] = None,
                                       order_by: Optional[str] = None,
                                       order_by_type: Optional[str] = None,
                                       result_output_file: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetPostgresqlReadonlyGroupsResult
    def get_postgresql_readonly_groups_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetPostgresqlReadonlyGroupsFilterArgs]]]] = None,
                                       id: Optional[pulumi.Input[str]] = None,
                                       order_by: Optional[pulumi.Input[str]] = None,
                                       order_by_type: Optional[pulumi.Input[str]] = None,
                                       result_output_file: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetPostgresqlReadonlyGroupsResult]
    func GetPostgresqlReadonlyGroups(ctx *Context, args *GetPostgresqlReadonlyGroupsArgs, opts ...InvokeOption) (*GetPostgresqlReadonlyGroupsResult, error)
    func GetPostgresqlReadonlyGroupsOutput(ctx *Context, args *GetPostgresqlReadonlyGroupsOutputArgs, opts ...InvokeOption) GetPostgresqlReadonlyGroupsResultOutput

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

    public static class GetPostgresqlReadonlyGroups 
    {
        public static Task<GetPostgresqlReadonlyGroupsResult> InvokeAsync(GetPostgresqlReadonlyGroupsArgs args, InvokeOptions? opts = null)
        public static Output<GetPostgresqlReadonlyGroupsResult> Invoke(GetPostgresqlReadonlyGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPostgresqlReadonlyGroupsResult> getPostgresqlReadonlyGroups(GetPostgresqlReadonlyGroupsArgs args, InvokeOptions options)
    public static Output<GetPostgresqlReadonlyGroupsResult> getPostgresqlReadonlyGroups(GetPostgresqlReadonlyGroupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getPostgresqlReadonlyGroups:getPostgresqlReadonlyGroups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filters List<GetPostgresqlReadonlyGroupsFilter>
    Filter condition. The primary ID must be specified in the format of db-master-instance-id to filter results, or else null will be returned.
    Id string
    OrderBy string
    Sorting criterion. Valid values:ROGroupId, CreateTime, Name.
    OrderByType string
    Sorting order. Valid values:desc, asc.
    ResultOutputFile string
    Used to save results.
    Filters []GetPostgresqlReadonlyGroupsFilter
    Filter condition. The primary ID must be specified in the format of db-master-instance-id to filter results, or else null will be returned.
    Id string
    OrderBy string
    Sorting criterion. Valid values:ROGroupId, CreateTime, Name.
    OrderByType string
    Sorting order. Valid values:desc, asc.
    ResultOutputFile string
    Used to save results.
    filters List<GetPostgresqlReadonlyGroupsFilter>
    Filter condition. The primary ID must be specified in the format of db-master-instance-id to filter results, or else null will be returned.
    id String
    orderBy String
    Sorting criterion. Valid values:ROGroupId, CreateTime, Name.
    orderByType String
    Sorting order. Valid values:desc, asc.
    resultOutputFile String
    Used to save results.
    filters GetPostgresqlReadonlyGroupsFilter[]
    Filter condition. The primary ID must be specified in the format of db-master-instance-id to filter results, or else null will be returned.
    id string
    orderBy string
    Sorting criterion. Valid values:ROGroupId, CreateTime, Name.
    orderByType string
    Sorting order. Valid values:desc, asc.
    resultOutputFile string
    Used to save results.
    filters Sequence[GetPostgresqlReadonlyGroupsFilter]
    Filter condition. The primary ID must be specified in the format of db-master-instance-id to filter results, or else null will be returned.
    id str
    order_by str
    Sorting criterion. Valid values:ROGroupId, CreateTime, Name.
    order_by_type str
    Sorting order. Valid values:desc, asc.
    result_output_file str
    Used to save results.
    filters List<Property Map>
    Filter condition. The primary ID must be specified in the format of db-master-instance-id to filter results, or else null will be returned.
    id String
    orderBy String
    Sorting criterion. Valid values:ROGroupId, CreateTime, Name.
    orderByType String
    Sorting order. Valid values:desc, asc.
    resultOutputFile String
    Used to save results.

    getPostgresqlReadonlyGroups Result

    The following output properties are available:

    Supporting Types

    GetPostgresqlReadonlyGroupsFilter

    Name string
    Filter name.
    Values List<string>
    One or more filter values.
    Name string
    Filter name.
    Values []string
    One or more filter values.
    name String
    Filter name.
    values List<String>
    One or more filter values.
    name string
    Filter name.
    values string[]
    One or more filter values.
    name str
    Filter name.
    values Sequence[str]
    One or more filter values.
    name String
    Filter name.
    values List<String>
    One or more filter values.

    GetPostgresqlReadonlyGroupsReadOnlyGroupList

    DbInstanceNetInfos List<GetPostgresqlReadonlyGroupsReadOnlyGroupListDbInstanceNetInfo>
    instance network connection information.
    MasterDbInstanceId string
    Master instance information, only returned when the instance is read-onlyNote: This field may return null, indicating that no valid value can be obtained.
    MaxReplayLag double
    delay time size threshold.
    MaxReplayLatency double
    delay space size threshold.
    MinDelayEliminateReserve double
    Minimum Number of Reserved InstancesNote: This field may return null, indicating that no valid value can be obtained.
    NetworkAccessLists List<GetPostgresqlReadonlyGroupsReadOnlyGroupListNetworkAccessList>
    Instance network information list (this field is obsolete)Note: This field may return null, indicating that no valid value can be obtained.
    ProjectId double
    project ID.
    ReadOnlyDbInstanceLists List<GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceList>
    instance details.
    ReadOnlyGroupId string
    read-only group idNote: This field may return null, indicating that no valid value can be obtained.
    ReadOnlyGroupName string
    read-only group nameNote: This field may return null, indicating that no valid value can be obtained.
    Rebalance double
    automatic load balancing switch.
    Region string
    region id.
    ReplayLagEliminate double
    delay time switch.
    ReplayLatencyEliminate double
    delay size switch.
    Status string
    state.
    SubnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    VpcId string
    virtual network id.
    Zone string
    region id.
    DbInstanceNetInfos []GetPostgresqlReadonlyGroupsReadOnlyGroupListDbInstanceNetInfo
    instance network connection information.
    MasterDbInstanceId string
    Master instance information, only returned when the instance is read-onlyNote: This field may return null, indicating that no valid value can be obtained.
    MaxReplayLag float64
    delay time size threshold.
    MaxReplayLatency float64
    delay space size threshold.
    MinDelayEliminateReserve float64
    Minimum Number of Reserved InstancesNote: This field may return null, indicating that no valid value can be obtained.
    NetworkAccessLists []GetPostgresqlReadonlyGroupsReadOnlyGroupListNetworkAccessList
    Instance network information list (this field is obsolete)Note: This field may return null, indicating that no valid value can be obtained.
    ProjectId float64
    project ID.
    ReadOnlyDbInstanceLists []GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceList
    instance details.
    ReadOnlyGroupId string
    read-only group idNote: This field may return null, indicating that no valid value can be obtained.
    ReadOnlyGroupName string
    read-only group nameNote: This field may return null, indicating that no valid value can be obtained.
    Rebalance float64
    automatic load balancing switch.
    Region string
    region id.
    ReplayLagEliminate float64
    delay time switch.
    ReplayLatencyEliminate float64
    delay size switch.
    Status string
    state.
    SubnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    VpcId string
    virtual network id.
    Zone string
    region id.
    dbInstanceNetInfos List<GetPostgresqlReadonlyGroupsReadOnlyGroupListDbInstanceNetInfo>
    instance network connection information.
    masterDbInstanceId String
    Master instance information, only returned when the instance is read-onlyNote: This field may return null, indicating that no valid value can be obtained.
    maxReplayLag Double
    delay time size threshold.
    maxReplayLatency Double
    delay space size threshold.
    minDelayEliminateReserve Double
    Minimum Number of Reserved InstancesNote: This field may return null, indicating that no valid value can be obtained.
    networkAccessLists List<GetPostgresqlReadonlyGroupsReadOnlyGroupListNetworkAccessList>
    Instance network information list (this field is obsolete)Note: This field may return null, indicating that no valid value can be obtained.
    projectId Double
    project ID.
    readOnlyDbInstanceLists List<GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceList>
    instance details.
    readOnlyGroupId String
    read-only group idNote: This field may return null, indicating that no valid value can be obtained.
    readOnlyGroupName String
    read-only group nameNote: This field may return null, indicating that no valid value can be obtained.
    rebalance Double
    automatic load balancing switch.
    region String
    region id.
    replayLagEliminate Double
    delay time switch.
    replayLatencyEliminate Double
    delay size switch.
    status String
    state.
    subnetId String
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vpcId String
    virtual network id.
    zone String
    region id.
    dbInstanceNetInfos GetPostgresqlReadonlyGroupsReadOnlyGroupListDbInstanceNetInfo[]
    instance network connection information.
    masterDbInstanceId string
    Master instance information, only returned when the instance is read-onlyNote: This field may return null, indicating that no valid value can be obtained.
    maxReplayLag number
    delay time size threshold.
    maxReplayLatency number
    delay space size threshold.
    minDelayEliminateReserve number
    Minimum Number of Reserved InstancesNote: This field may return null, indicating that no valid value can be obtained.
    networkAccessLists GetPostgresqlReadonlyGroupsReadOnlyGroupListNetworkAccessList[]
    Instance network information list (this field is obsolete)Note: This field may return null, indicating that no valid value can be obtained.
    projectId number
    project ID.
    readOnlyDbInstanceLists GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceList[]
    instance details.
    readOnlyGroupId string
    read-only group idNote: This field may return null, indicating that no valid value can be obtained.
    readOnlyGroupName string
    read-only group nameNote: This field may return null, indicating that no valid value can be obtained.
    rebalance number
    automatic load balancing switch.
    region string
    region id.
    replayLagEliminate number
    delay time switch.
    replayLatencyEliminate number
    delay size switch.
    status string
    state.
    subnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vpcId string
    virtual network id.
    zone string
    region id.
    db_instance_net_infos Sequence[GetPostgresqlReadonlyGroupsReadOnlyGroupListDbInstanceNetInfo]
    instance network connection information.
    master_db_instance_id str
    Master instance information, only returned when the instance is read-onlyNote: This field may return null, indicating that no valid value can be obtained.
    max_replay_lag float
    delay time size threshold.
    max_replay_latency float
    delay space size threshold.
    min_delay_eliminate_reserve float
    Minimum Number of Reserved InstancesNote: This field may return null, indicating that no valid value can be obtained.
    network_access_lists Sequence[GetPostgresqlReadonlyGroupsReadOnlyGroupListNetworkAccessList]
    Instance network information list (this field is obsolete)Note: This field may return null, indicating that no valid value can be obtained.
    project_id float
    project ID.
    read_only_db_instance_lists Sequence[GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceList]
    instance details.
    read_only_group_id str
    read-only group idNote: This field may return null, indicating that no valid value can be obtained.
    read_only_group_name str
    read-only group nameNote: This field may return null, indicating that no valid value can be obtained.
    rebalance float
    automatic load balancing switch.
    region str
    region id.
    replay_lag_eliminate float
    delay time switch.
    replay_latency_eliminate float
    delay size switch.
    status str
    state.
    subnet_id str
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vpc_id str
    virtual network id.
    zone str
    region id.
    dbInstanceNetInfos List<Property Map>
    instance network connection information.
    masterDbInstanceId String
    Master instance information, only returned when the instance is read-onlyNote: This field may return null, indicating that no valid value can be obtained.
    maxReplayLag Number
    delay time size threshold.
    maxReplayLatency Number
    delay space size threshold.
    minDelayEliminateReserve Number
    Minimum Number of Reserved InstancesNote: This field may return null, indicating that no valid value can be obtained.
    networkAccessLists List<Property Map>
    Instance network information list (this field is obsolete)Note: This field may return null, indicating that no valid value can be obtained.
    projectId Number
    project ID.
    readOnlyDbInstanceLists List<Property Map>
    instance details.
    readOnlyGroupId String
    read-only group idNote: This field may return null, indicating that no valid value can be obtained.
    readOnlyGroupName String
    read-only group nameNote: This field may return null, indicating that no valid value can be obtained.
    rebalance Number
    automatic load balancing switch.
    region String
    region id.
    replayLagEliminate Number
    delay time switch.
    replayLatencyEliminate Number
    delay size switch.
    status String
    state.
    subnetId String
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vpcId String
    virtual network id.
    zone String
    region id.

    GetPostgresqlReadonlyGroupsReadOnlyGroupListDbInstanceNetInfo

    Address string
    DNS domain name.
    Ip string
    IP address.
    NetType string
    network type, 1. inner (intranet address of the basic network); 2. private (intranet address of the private network); 3. public (extranet address of the basic network or private network);.
    Port double
    connection port address.
    ProtocolType string
    The protocol type for connecting to the database, currently supported: postgresql, mssql (MSSQL compatible syntax)Note: This field may return null, indicating that no valid value can be obtained.
    Status string
    state.
    SubnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    VpcId string
    virtual network id.
    Address string
    DNS domain name.
    Ip string
    IP address.
    NetType string
    network type, 1. inner (intranet address of the basic network); 2. private (intranet address of the private network); 3. public (extranet address of the basic network or private network);.
    Port float64
    connection port address.
    ProtocolType string
    The protocol type for connecting to the database, currently supported: postgresql, mssql (MSSQL compatible syntax)Note: This field may return null, indicating that no valid value can be obtained.
    Status string
    state.
    SubnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    VpcId string
    virtual network id.
    address String
    DNS domain name.
    ip String
    IP address.
    netType String
    network type, 1. inner (intranet address of the basic network); 2. private (intranet address of the private network); 3. public (extranet address of the basic network or private network);.
    port Double
    connection port address.
    protocolType String
    The protocol type for connecting to the database, currently supported: postgresql, mssql (MSSQL compatible syntax)Note: This field may return null, indicating that no valid value can be obtained.
    status String
    state.
    subnetId String
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vpcId String
    virtual network id.
    address string
    DNS domain name.
    ip string
    IP address.
    netType string
    network type, 1. inner (intranet address of the basic network); 2. private (intranet address of the private network); 3. public (extranet address of the basic network or private network);.
    port number
    connection port address.
    protocolType string
    The protocol type for connecting to the database, currently supported: postgresql, mssql (MSSQL compatible syntax)Note: This field may return null, indicating that no valid value can be obtained.
    status string
    state.
    subnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vpcId string
    virtual network id.
    address str
    DNS domain name.
    ip str
    IP address.
    net_type str
    network type, 1. inner (intranet address of the basic network); 2. private (intranet address of the private network); 3. public (extranet address of the basic network or private network);.
    port float
    connection port address.
    protocol_type str
    The protocol type for connecting to the database, currently supported: postgresql, mssql (MSSQL compatible syntax)Note: This field may return null, indicating that no valid value can be obtained.
    status str
    state.
    subnet_id str
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vpc_id str
    virtual network id.
    address String
    DNS domain name.
    ip String
    IP address.
    netType String
    network type, 1. inner (intranet address of the basic network); 2. private (intranet address of the private network); 3. public (extranet address of the basic network or private network);.
    port Number
    connection port address.
    protocolType String
    The protocol type for connecting to the database, currently supported: postgresql, mssql (MSSQL compatible syntax)Note: This field may return null, indicating that no valid value can be obtained.
    status String
    state.
    subnetId String
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vpcId String
    virtual network id.

    GetPostgresqlReadonlyGroupsReadOnlyGroupListNetworkAccessList

    ResourceId string
    Network resource id, instance id or RO group idNote: This field may return null, indicating that no valid value can be obtained.
    ResourceType double
    Resource type, 1-instance 2-RO groupNote: This field may return null, indicating that no valid value can be obtained.
    SubnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    Vip string
    IPV4 addressNote: This field may return null, indicating that no valid value can be obtained.
    Vip6 string
    IPV6 addressNote: This field may return null, indicating that no valid value can be obtained.
    VpcId string
    virtual network id.
    VpcStatus double
    Network status, 1-applying, 2-using, 3-deleting, 4-deletedNote: This field may return null, indicating that no valid value can be obtained.
    Vport double
    access portNote: This field may return null, indicating that no valid value can be obtained.
    ResourceId string
    Network resource id, instance id or RO group idNote: This field may return null, indicating that no valid value can be obtained.
    ResourceType float64
    Resource type, 1-instance 2-RO groupNote: This field may return null, indicating that no valid value can be obtained.
    SubnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    Vip string
    IPV4 addressNote: This field may return null, indicating that no valid value can be obtained.
    Vip6 string
    IPV6 addressNote: This field may return null, indicating that no valid value can be obtained.
    VpcId string
    virtual network id.
    VpcStatus float64
    Network status, 1-applying, 2-using, 3-deleting, 4-deletedNote: This field may return null, indicating that no valid value can be obtained.
    Vport float64
    access portNote: This field may return null, indicating that no valid value can be obtained.
    resourceId String
    Network resource id, instance id or RO group idNote: This field may return null, indicating that no valid value can be obtained.
    resourceType Double
    Resource type, 1-instance 2-RO groupNote: This field may return null, indicating that no valid value can be obtained.
    subnetId String
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vip String
    IPV4 addressNote: This field may return null, indicating that no valid value can be obtained.
    vip6 String
    IPV6 addressNote: This field may return null, indicating that no valid value can be obtained.
    vpcId String
    virtual network id.
    vpcStatus Double
    Network status, 1-applying, 2-using, 3-deleting, 4-deletedNote: This field may return null, indicating that no valid value can be obtained.
    vport Double
    access portNote: This field may return null, indicating that no valid value can be obtained.
    resourceId string
    Network resource id, instance id or RO group idNote: This field may return null, indicating that no valid value can be obtained.
    resourceType number
    Resource type, 1-instance 2-RO groupNote: This field may return null, indicating that no valid value can be obtained.
    subnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vip string
    IPV4 addressNote: This field may return null, indicating that no valid value can be obtained.
    vip6 string
    IPV6 addressNote: This field may return null, indicating that no valid value can be obtained.
    vpcId string
    virtual network id.
    vpcStatus number
    Network status, 1-applying, 2-using, 3-deleting, 4-deletedNote: This field may return null, indicating that no valid value can be obtained.
    vport number
    access portNote: This field may return null, indicating that no valid value can be obtained.
    resource_id str
    Network resource id, instance id or RO group idNote: This field may return null, indicating that no valid value can be obtained.
    resource_type float
    Resource type, 1-instance 2-RO groupNote: This field may return null, indicating that no valid value can be obtained.
    subnet_id str
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vip str
    IPV4 addressNote: This field may return null, indicating that no valid value can be obtained.
    vip6 str
    IPV6 addressNote: This field may return null, indicating that no valid value can be obtained.
    vpc_id str
    virtual network id.
    vpc_status float
    Network status, 1-applying, 2-using, 3-deleting, 4-deletedNote: This field may return null, indicating that no valid value can be obtained.
    vport float
    access portNote: This field may return null, indicating that no valid value can be obtained.
    resourceId String
    Network resource id, instance id or RO group idNote: This field may return null, indicating that no valid value can be obtained.
    resourceType Number
    Resource type, 1-instance 2-RO groupNote: This field may return null, indicating that no valid value can be obtained.
    subnetId String
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vip String
    IPV4 addressNote: This field may return null, indicating that no valid value can be obtained.
    vip6 String
    IPV6 addressNote: This field may return null, indicating that no valid value can be obtained.
    vpcId String
    virtual network id.
    vpcStatus Number
    Network status, 1-applying, 2-using, 3-deleting, 4-deletedNote: This field may return null, indicating that no valid value can be obtained.
    vport Number
    access portNote: This field may return null, indicating that no valid value can be obtained.

    GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceList

    AppId double
    user's AppId.
    AutoRenew double
    auto-renew, 1: auto-renew, 0: no auto-renew.
    CreateTime string
    instance creation time.
    DbCharset string
    instance DB character set.
    DbEngine string
    Database engine that supports:1. postgresql (cloud database PostgreSQL);2. mssql_compatible (MSSQL compatible - cloud database PostgreSQL);Note: This field may return null, indicating that no valid value can be obtained.
    DbEngineConfig string
    Configuration information for the database engineNote: This field may return null, indicating that no valid value can be obtained.
    DbInstanceClass string
    sales specification ID.
    DbInstanceCpu double
    the number of CPUs allocated by the instance.
    DbInstanceId string
    instance ID.
    DbInstanceMemory double
    the memory size allocated by the instance, unit: GB.
    DbInstanceName string
    instance name.
    DbInstanceNetInfos List<GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListDbInstanceNetInfo>
    instance network connection information.
    DbInstanceStatus string
    Instance status, respectively: applying (applying), init (to be initialized), initing (initializing), running (running), limited run (limited run), isolated (isolated), recycling (recycling ), recycled (recycled), job running (task execution), offline (offline), migrating (migration), expanding (expanding), waitSwitch (waiting for switching), switching (switching), readonly (read-only ), restarting (restarting), network changing (network changing), upgrading (kernel version upgrade).
    DbInstanceStorage double
    the size of the storage space allocated by the instance, unit: GB.
    DbInstanceType string
    instance type, the types are: 1. primary (primary instance); 2. readonly (read-only instance); 3. guard (disaster recovery instance); 4. temp (temporary instance).
    DbInstanceVersion string
    instance version, currently only supports standard (dual machine high availability version, one master and one slave).
    DbKernelVersion string
    Database kernel versionNote: This field may return null, indicating that no valid value can be obtained.
    DbMajorVersion string
    PostgreSQL major versionNote: This field may return null, indicating that no valid value can be obtained.
    DbNodeSets List<GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListDbNodeSet>
    Instance node informationNote: This field may return null, indicating that no valid value can be obtained.
    DbVersion string
    PostgreSQL version.
    ExpireTime string
    instance expiration time.
    IsSupportTDE double
    Whether the instance supports TDE data encryption 0: not supported, 1: supportedNote: This field may return null, indicating that no valid value can be obtained.
    IsolatedTime string
    instance isolation time.
    MasterDbInstanceId string
    Master instance information, only returned when the instance is read-onlyNote: This field may return null, indicating that no valid value can be obtained.
    NetworkAccessLists List<GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListNetworkAccessList>
    Instance network information list (this field is obsolete)Note: This field may return null, indicating that no valid value can be obtained.
    OfflineTime string
    offline timeNote: This field may return null, indicating that no valid value can be obtained.
    PayType string
    billing mode, 1. prepaid (subscription, prepaid); 2. postpaid (billing by volume, postpaid).
    ProjectId double
    project ID.
    ReadOnlyInstanceNum double
    Number of read-only instancesNote: This field may return null, indicating that no valid value can be obtained.
    Region string
    region id.
    StatusInReadonlyGroup string
    Status of the read-only instance in the read-only groupNote: This field may return null, indicating that no valid value can be obtained.
    SubnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    SupportIpv6 double
    Whether the instance supports Ipv6, 1: support, 0: not support.
    TagLists List<GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListTagList>
    Label information bound to the instanceNote: This field may return null, indicating that no valid value can be obtained.
    Type string
    machine type.
    Uid double
    Uid of the instance.
    UpdateTime string
    The time when the instance performed the last update.
    VpcId string
    virtual network id.
    Zone string
    region id.
    AppId float64
    user's AppId.
    AutoRenew float64
    auto-renew, 1: auto-renew, 0: no auto-renew.
    CreateTime string
    instance creation time.
    DbCharset string
    instance DB character set.
    DbEngine string
    Database engine that supports:1. postgresql (cloud database PostgreSQL);2. mssql_compatible (MSSQL compatible - cloud database PostgreSQL);Note: This field may return null, indicating that no valid value can be obtained.
    DbEngineConfig string
    Configuration information for the database engineNote: This field may return null, indicating that no valid value can be obtained.
    DbInstanceClass string
    sales specification ID.
    DbInstanceCpu float64
    the number of CPUs allocated by the instance.
    DbInstanceId string
    instance ID.
    DbInstanceMemory float64
    the memory size allocated by the instance, unit: GB.
    DbInstanceName string
    instance name.
    DbInstanceNetInfos []GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListDbInstanceNetInfo
    instance network connection information.
    DbInstanceStatus string
    Instance status, respectively: applying (applying), init (to be initialized), initing (initializing), running (running), limited run (limited run), isolated (isolated), recycling (recycling ), recycled (recycled), job running (task execution), offline (offline), migrating (migration), expanding (expanding), waitSwitch (waiting for switching), switching (switching), readonly (read-only ), restarting (restarting), network changing (network changing), upgrading (kernel version upgrade).
    DbInstanceStorage float64
    the size of the storage space allocated by the instance, unit: GB.
    DbInstanceType string
    instance type, the types are: 1. primary (primary instance); 2. readonly (read-only instance); 3. guard (disaster recovery instance); 4. temp (temporary instance).
    DbInstanceVersion string
    instance version, currently only supports standard (dual machine high availability version, one master and one slave).
    DbKernelVersion string
    Database kernel versionNote: This field may return null, indicating that no valid value can be obtained.
    DbMajorVersion string
    PostgreSQL major versionNote: This field may return null, indicating that no valid value can be obtained.
    DbNodeSets []GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListDbNodeSet
    Instance node informationNote: This field may return null, indicating that no valid value can be obtained.
    DbVersion string
    PostgreSQL version.
    ExpireTime string
    instance expiration time.
    IsSupportTDE float64
    Whether the instance supports TDE data encryption 0: not supported, 1: supportedNote: This field may return null, indicating that no valid value can be obtained.
    IsolatedTime string
    instance isolation time.
    MasterDbInstanceId string
    Master instance information, only returned when the instance is read-onlyNote: This field may return null, indicating that no valid value can be obtained.
    NetworkAccessLists []GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListNetworkAccessList
    Instance network information list (this field is obsolete)Note: This field may return null, indicating that no valid value can be obtained.
    OfflineTime string
    offline timeNote: This field may return null, indicating that no valid value can be obtained.
    PayType string
    billing mode, 1. prepaid (subscription, prepaid); 2. postpaid (billing by volume, postpaid).
    ProjectId float64
    project ID.
    ReadOnlyInstanceNum float64
    Number of read-only instancesNote: This field may return null, indicating that no valid value can be obtained.
    Region string
    region id.
    StatusInReadonlyGroup string
    Status of the read-only instance in the read-only groupNote: This field may return null, indicating that no valid value can be obtained.
    SubnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    SupportIpv6 float64
    Whether the instance supports Ipv6, 1: support, 0: not support.
    TagLists []GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListTagList
    Label information bound to the instanceNote: This field may return null, indicating that no valid value can be obtained.
    Type string
    machine type.
    Uid float64
    Uid of the instance.
    UpdateTime string
    The time when the instance performed the last update.
    VpcId string
    virtual network id.
    Zone string
    region id.
    appId Double
    user's AppId.
    autoRenew Double
    auto-renew, 1: auto-renew, 0: no auto-renew.
    createTime String
    instance creation time.
    dbCharset String
    instance DB character set.
    dbEngine String
    Database engine that supports:1. postgresql (cloud database PostgreSQL);2. mssql_compatible (MSSQL compatible - cloud database PostgreSQL);Note: This field may return null, indicating that no valid value can be obtained.
    dbEngineConfig String
    Configuration information for the database engineNote: This field may return null, indicating that no valid value can be obtained.
    dbInstanceClass String
    sales specification ID.
    dbInstanceCpu Double
    the number of CPUs allocated by the instance.
    dbInstanceId String
    instance ID.
    dbInstanceMemory Double
    the memory size allocated by the instance, unit: GB.
    dbInstanceName String
    instance name.
    dbInstanceNetInfos List<GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListDbInstanceNetInfo>
    instance network connection information.
    dbInstanceStatus String
    Instance status, respectively: applying (applying), init (to be initialized), initing (initializing), running (running), limited run (limited run), isolated (isolated), recycling (recycling ), recycled (recycled), job running (task execution), offline (offline), migrating (migration), expanding (expanding), waitSwitch (waiting for switching), switching (switching), readonly (read-only ), restarting (restarting), network changing (network changing), upgrading (kernel version upgrade).
    dbInstanceStorage Double
    the size of the storage space allocated by the instance, unit: GB.
    dbInstanceType String
    instance type, the types are: 1. primary (primary instance); 2. readonly (read-only instance); 3. guard (disaster recovery instance); 4. temp (temporary instance).
    dbInstanceVersion String
    instance version, currently only supports standard (dual machine high availability version, one master and one slave).
    dbKernelVersion String
    Database kernel versionNote: This field may return null, indicating that no valid value can be obtained.
    dbMajorVersion String
    PostgreSQL major versionNote: This field may return null, indicating that no valid value can be obtained.
    dbNodeSets List<GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListDbNodeSet>
    Instance node informationNote: This field may return null, indicating that no valid value can be obtained.
    dbVersion String
    PostgreSQL version.
    expireTime String
    instance expiration time.
    isSupportTDE Double
    Whether the instance supports TDE data encryption 0: not supported, 1: supportedNote: This field may return null, indicating that no valid value can be obtained.
    isolatedTime String
    instance isolation time.
    masterDbInstanceId String
    Master instance information, only returned when the instance is read-onlyNote: This field may return null, indicating that no valid value can be obtained.
    networkAccessLists List<GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListNetworkAccessList>
    Instance network information list (this field is obsolete)Note: This field may return null, indicating that no valid value can be obtained.
    offlineTime String
    offline timeNote: This field may return null, indicating that no valid value can be obtained.
    payType String
    billing mode, 1. prepaid (subscription, prepaid); 2. postpaid (billing by volume, postpaid).
    projectId Double
    project ID.
    readOnlyInstanceNum Double
    Number of read-only instancesNote: This field may return null, indicating that no valid value can be obtained.
    region String
    region id.
    statusInReadonlyGroup String
    Status of the read-only instance in the read-only groupNote: This field may return null, indicating that no valid value can be obtained.
    subnetId String
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    supportIpv6 Double
    Whether the instance supports Ipv6, 1: support, 0: not support.
    tagLists List<GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListTagList>
    Label information bound to the instanceNote: This field may return null, indicating that no valid value can be obtained.
    type String
    machine type.
    uid Double
    Uid of the instance.
    updateTime String
    The time when the instance performed the last update.
    vpcId String
    virtual network id.
    zone String
    region id.
    appId number
    user's AppId.
    autoRenew number
    auto-renew, 1: auto-renew, 0: no auto-renew.
    createTime string
    instance creation time.
    dbCharset string
    instance DB character set.
    dbEngine string
    Database engine that supports:1. postgresql (cloud database PostgreSQL);2. mssql_compatible (MSSQL compatible - cloud database PostgreSQL);Note: This field may return null, indicating that no valid value can be obtained.
    dbEngineConfig string
    Configuration information for the database engineNote: This field may return null, indicating that no valid value can be obtained.
    dbInstanceClass string
    sales specification ID.
    dbInstanceCpu number
    the number of CPUs allocated by the instance.
    dbInstanceId string
    instance ID.
    dbInstanceMemory number
    the memory size allocated by the instance, unit: GB.
    dbInstanceName string
    instance name.
    dbInstanceNetInfos GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListDbInstanceNetInfo[]
    instance network connection information.
    dbInstanceStatus string
    Instance status, respectively: applying (applying), init (to be initialized), initing (initializing), running (running), limited run (limited run), isolated (isolated), recycling (recycling ), recycled (recycled), job running (task execution), offline (offline), migrating (migration), expanding (expanding), waitSwitch (waiting for switching), switching (switching), readonly (read-only ), restarting (restarting), network changing (network changing), upgrading (kernel version upgrade).
    dbInstanceStorage number
    the size of the storage space allocated by the instance, unit: GB.
    dbInstanceType string
    instance type, the types are: 1. primary (primary instance); 2. readonly (read-only instance); 3. guard (disaster recovery instance); 4. temp (temporary instance).
    dbInstanceVersion string
    instance version, currently only supports standard (dual machine high availability version, one master and one slave).
    dbKernelVersion string
    Database kernel versionNote: This field may return null, indicating that no valid value can be obtained.
    dbMajorVersion string
    PostgreSQL major versionNote: This field may return null, indicating that no valid value can be obtained.
    dbNodeSets GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListDbNodeSet[]
    Instance node informationNote: This field may return null, indicating that no valid value can be obtained.
    dbVersion string
    PostgreSQL version.
    expireTime string
    instance expiration time.
    isSupportTDE number
    Whether the instance supports TDE data encryption 0: not supported, 1: supportedNote: This field may return null, indicating that no valid value can be obtained.
    isolatedTime string
    instance isolation time.
    masterDbInstanceId string
    Master instance information, only returned when the instance is read-onlyNote: This field may return null, indicating that no valid value can be obtained.
    networkAccessLists GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListNetworkAccessList[]
    Instance network information list (this field is obsolete)Note: This field may return null, indicating that no valid value can be obtained.
    offlineTime string
    offline timeNote: This field may return null, indicating that no valid value can be obtained.
    payType string
    billing mode, 1. prepaid (subscription, prepaid); 2. postpaid (billing by volume, postpaid).
    projectId number
    project ID.
    readOnlyInstanceNum number
    Number of read-only instancesNote: This field may return null, indicating that no valid value can be obtained.
    region string
    region id.
    statusInReadonlyGroup string
    Status of the read-only instance in the read-only groupNote: This field may return null, indicating that no valid value can be obtained.
    subnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    supportIpv6 number
    Whether the instance supports Ipv6, 1: support, 0: not support.
    tagLists GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListTagList[]
    Label information bound to the instanceNote: This field may return null, indicating that no valid value can be obtained.
    type string
    machine type.
    uid number
    Uid of the instance.
    updateTime string
    The time when the instance performed the last update.
    vpcId string
    virtual network id.
    zone string
    region id.
    app_id float
    user's AppId.
    auto_renew float
    auto-renew, 1: auto-renew, 0: no auto-renew.
    create_time str
    instance creation time.
    db_charset str
    instance DB character set.
    db_engine str
    Database engine that supports:1. postgresql (cloud database PostgreSQL);2. mssql_compatible (MSSQL compatible - cloud database PostgreSQL);Note: This field may return null, indicating that no valid value can be obtained.
    db_engine_config str
    Configuration information for the database engineNote: This field may return null, indicating that no valid value can be obtained.
    db_instance_class str
    sales specification ID.
    db_instance_cpu float
    the number of CPUs allocated by the instance.
    db_instance_id str
    instance ID.
    db_instance_memory float
    the memory size allocated by the instance, unit: GB.
    db_instance_name str
    instance name.
    db_instance_net_infos Sequence[GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListDbInstanceNetInfo]
    instance network connection information.
    db_instance_status str
    Instance status, respectively: applying (applying), init (to be initialized), initing (initializing), running (running), limited run (limited run), isolated (isolated), recycling (recycling ), recycled (recycled), job running (task execution), offline (offline), migrating (migration), expanding (expanding), waitSwitch (waiting for switching), switching (switching), readonly (read-only ), restarting (restarting), network changing (network changing), upgrading (kernel version upgrade).
    db_instance_storage float
    the size of the storage space allocated by the instance, unit: GB.
    db_instance_type str
    instance type, the types are: 1. primary (primary instance); 2. readonly (read-only instance); 3. guard (disaster recovery instance); 4. temp (temporary instance).
    db_instance_version str
    instance version, currently only supports standard (dual machine high availability version, one master and one slave).
    db_kernel_version str
    Database kernel versionNote: This field may return null, indicating that no valid value can be obtained.
    db_major_version str
    PostgreSQL major versionNote: This field may return null, indicating that no valid value can be obtained.
    db_node_sets Sequence[GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListDbNodeSet]
    Instance node informationNote: This field may return null, indicating that no valid value can be obtained.
    db_version str
    PostgreSQL version.
    expire_time str
    instance expiration time.
    is_support_tde float
    Whether the instance supports TDE data encryption 0: not supported, 1: supportedNote: This field may return null, indicating that no valid value can be obtained.
    isolated_time str
    instance isolation time.
    master_db_instance_id str
    Master instance information, only returned when the instance is read-onlyNote: This field may return null, indicating that no valid value can be obtained.
    network_access_lists Sequence[GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListNetworkAccessList]
    Instance network information list (this field is obsolete)Note: This field may return null, indicating that no valid value can be obtained.
    offline_time str
    offline timeNote: This field may return null, indicating that no valid value can be obtained.
    pay_type str
    billing mode, 1. prepaid (subscription, prepaid); 2. postpaid (billing by volume, postpaid).
    project_id float
    project ID.
    read_only_instance_num float
    Number of read-only instancesNote: This field may return null, indicating that no valid value can be obtained.
    region str
    region id.
    status_in_readonly_group str
    Status of the read-only instance in the read-only groupNote: This field may return null, indicating that no valid value can be obtained.
    subnet_id str
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    support_ipv6 float
    Whether the instance supports Ipv6, 1: support, 0: not support.
    tag_lists Sequence[GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListTagList]
    Label information bound to the instanceNote: This field may return null, indicating that no valid value can be obtained.
    type str
    machine type.
    uid float
    Uid of the instance.
    update_time str
    The time when the instance performed the last update.
    vpc_id str
    virtual network id.
    zone str
    region id.
    appId Number
    user's AppId.
    autoRenew Number
    auto-renew, 1: auto-renew, 0: no auto-renew.
    createTime String
    instance creation time.
    dbCharset String
    instance DB character set.
    dbEngine String
    Database engine that supports:1. postgresql (cloud database PostgreSQL);2. mssql_compatible (MSSQL compatible - cloud database PostgreSQL);Note: This field may return null, indicating that no valid value can be obtained.
    dbEngineConfig String
    Configuration information for the database engineNote: This field may return null, indicating that no valid value can be obtained.
    dbInstanceClass String
    sales specification ID.
    dbInstanceCpu Number
    the number of CPUs allocated by the instance.
    dbInstanceId String
    instance ID.
    dbInstanceMemory Number
    the memory size allocated by the instance, unit: GB.
    dbInstanceName String
    instance name.
    dbInstanceNetInfos List<Property Map>
    instance network connection information.
    dbInstanceStatus String
    Instance status, respectively: applying (applying), init (to be initialized), initing (initializing), running (running), limited run (limited run), isolated (isolated), recycling (recycling ), recycled (recycled), job running (task execution), offline (offline), migrating (migration), expanding (expanding), waitSwitch (waiting for switching), switching (switching), readonly (read-only ), restarting (restarting), network changing (network changing), upgrading (kernel version upgrade).
    dbInstanceStorage Number
    the size of the storage space allocated by the instance, unit: GB.
    dbInstanceType String
    instance type, the types are: 1. primary (primary instance); 2. readonly (read-only instance); 3. guard (disaster recovery instance); 4. temp (temporary instance).
    dbInstanceVersion String
    instance version, currently only supports standard (dual machine high availability version, one master and one slave).
    dbKernelVersion String
    Database kernel versionNote: This field may return null, indicating that no valid value can be obtained.
    dbMajorVersion String
    PostgreSQL major versionNote: This field may return null, indicating that no valid value can be obtained.
    dbNodeSets List<Property Map>
    Instance node informationNote: This field may return null, indicating that no valid value can be obtained.
    dbVersion String
    PostgreSQL version.
    expireTime String
    instance expiration time.
    isSupportTDE Number
    Whether the instance supports TDE data encryption 0: not supported, 1: supportedNote: This field may return null, indicating that no valid value can be obtained.
    isolatedTime String
    instance isolation time.
    masterDbInstanceId String
    Master instance information, only returned when the instance is read-onlyNote: This field may return null, indicating that no valid value can be obtained.
    networkAccessLists List<Property Map>
    Instance network information list (this field is obsolete)Note: This field may return null, indicating that no valid value can be obtained.
    offlineTime String
    offline timeNote: This field may return null, indicating that no valid value can be obtained.
    payType String
    billing mode, 1. prepaid (subscription, prepaid); 2. postpaid (billing by volume, postpaid).
    projectId Number
    project ID.
    readOnlyInstanceNum Number
    Number of read-only instancesNote: This field may return null, indicating that no valid value can be obtained.
    region String
    region id.
    statusInReadonlyGroup String
    Status of the read-only instance in the read-only groupNote: This field may return null, indicating that no valid value can be obtained.
    subnetId String
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    supportIpv6 Number
    Whether the instance supports Ipv6, 1: support, 0: not support.
    tagLists List<Property Map>
    Label information bound to the instanceNote: This field may return null, indicating that no valid value can be obtained.
    type String
    machine type.
    uid Number
    Uid of the instance.
    updateTime String
    The time when the instance performed the last update.
    vpcId String
    virtual network id.
    zone String
    region id.

    GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListDbInstanceNetInfo

    Address string
    DNS domain name.
    Ip string
    IP address.
    NetType string
    network type, 1. inner (intranet address of the basic network); 2. private (intranet address of the private network); 3. public (extranet address of the basic network or private network);.
    Port double
    connection port address.
    ProtocolType string
    The protocol type for connecting to the database, currently supported: postgresql, mssql (MSSQL compatible syntax)Note: This field may return null, indicating that no valid value can be obtained.
    Status string
    state.
    SubnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    VpcId string
    virtual network id.
    Address string
    DNS domain name.
    Ip string
    IP address.
    NetType string
    network type, 1. inner (intranet address of the basic network); 2. private (intranet address of the private network); 3. public (extranet address of the basic network or private network);.
    Port float64
    connection port address.
    ProtocolType string
    The protocol type for connecting to the database, currently supported: postgresql, mssql (MSSQL compatible syntax)Note: This field may return null, indicating that no valid value can be obtained.
    Status string
    state.
    SubnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    VpcId string
    virtual network id.
    address String
    DNS domain name.
    ip String
    IP address.
    netType String
    network type, 1. inner (intranet address of the basic network); 2. private (intranet address of the private network); 3. public (extranet address of the basic network or private network);.
    port Double
    connection port address.
    protocolType String
    The protocol type for connecting to the database, currently supported: postgresql, mssql (MSSQL compatible syntax)Note: This field may return null, indicating that no valid value can be obtained.
    status String
    state.
    subnetId String
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vpcId String
    virtual network id.
    address string
    DNS domain name.
    ip string
    IP address.
    netType string
    network type, 1. inner (intranet address of the basic network); 2. private (intranet address of the private network); 3. public (extranet address of the basic network or private network);.
    port number
    connection port address.
    protocolType string
    The protocol type for connecting to the database, currently supported: postgresql, mssql (MSSQL compatible syntax)Note: This field may return null, indicating that no valid value can be obtained.
    status string
    state.
    subnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vpcId string
    virtual network id.
    address str
    DNS domain name.
    ip str
    IP address.
    net_type str
    network type, 1. inner (intranet address of the basic network); 2. private (intranet address of the private network); 3. public (extranet address of the basic network or private network);.
    port float
    connection port address.
    protocol_type str
    The protocol type for connecting to the database, currently supported: postgresql, mssql (MSSQL compatible syntax)Note: This field may return null, indicating that no valid value can be obtained.
    status str
    state.
    subnet_id str
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vpc_id str
    virtual network id.
    address String
    DNS domain name.
    ip String
    IP address.
    netType String
    network type, 1. inner (intranet address of the basic network); 2. private (intranet address of the private network); 3. public (extranet address of the basic network or private network);.
    port Number
    connection port address.
    protocolType String
    The protocol type for connecting to the database, currently supported: postgresql, mssql (MSSQL compatible syntax)Note: This field may return null, indicating that no valid value can be obtained.
    status String
    state.
    subnetId String
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vpcId String
    virtual network id.

    GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListDbNodeSet

    Role string
    Node type, the value can be:Primary, representing the primary node;Standby, stands for standby node.
    Zone string
    region id.
    Role string
    Node type, the value can be:Primary, representing the primary node;Standby, stands for standby node.
    Zone string
    region id.
    role String
    Node type, the value can be:Primary, representing the primary node;Standby, stands for standby node.
    zone String
    region id.
    role string
    Node type, the value can be:Primary, representing the primary node;Standby, stands for standby node.
    zone string
    region id.
    role str
    Node type, the value can be:Primary, representing the primary node;Standby, stands for standby node.
    zone str
    region id.
    role String
    Node type, the value can be:Primary, representing the primary node;Standby, stands for standby node.
    zone String
    region id.

    GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListNetworkAccessList

    ResourceId string
    Network resource id, instance id or RO group idNote: This field may return null, indicating that no valid value can be obtained.
    ResourceType double
    Resource type, 1-instance 2-RO groupNote: This field may return null, indicating that no valid value can be obtained.
    SubnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    Vip string
    IPV4 addressNote: This field may return null, indicating that no valid value can be obtained.
    Vip6 string
    IPV6 addressNote: This field may return null, indicating that no valid value can be obtained.
    VpcId string
    virtual network id.
    VpcStatus double
    Network status, 1-applying, 2-using, 3-deleting, 4-deletedNote: This field may return null, indicating that no valid value can be obtained.
    Vport double
    access portNote: This field may return null, indicating that no valid value can be obtained.
    ResourceId string
    Network resource id, instance id or RO group idNote: This field may return null, indicating that no valid value can be obtained.
    ResourceType float64
    Resource type, 1-instance 2-RO groupNote: This field may return null, indicating that no valid value can be obtained.
    SubnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    Vip string
    IPV4 addressNote: This field may return null, indicating that no valid value can be obtained.
    Vip6 string
    IPV6 addressNote: This field may return null, indicating that no valid value can be obtained.
    VpcId string
    virtual network id.
    VpcStatus float64
    Network status, 1-applying, 2-using, 3-deleting, 4-deletedNote: This field may return null, indicating that no valid value can be obtained.
    Vport float64
    access portNote: This field may return null, indicating that no valid value can be obtained.
    resourceId String
    Network resource id, instance id or RO group idNote: This field may return null, indicating that no valid value can be obtained.
    resourceType Double
    Resource type, 1-instance 2-RO groupNote: This field may return null, indicating that no valid value can be obtained.
    subnetId String
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vip String
    IPV4 addressNote: This field may return null, indicating that no valid value can be obtained.
    vip6 String
    IPV6 addressNote: This field may return null, indicating that no valid value can be obtained.
    vpcId String
    virtual network id.
    vpcStatus Double
    Network status, 1-applying, 2-using, 3-deleting, 4-deletedNote: This field may return null, indicating that no valid value can be obtained.
    vport Double
    access portNote: This field may return null, indicating that no valid value can be obtained.
    resourceId string
    Network resource id, instance id or RO group idNote: This field may return null, indicating that no valid value can be obtained.
    resourceType number
    Resource type, 1-instance 2-RO groupNote: This field may return null, indicating that no valid value can be obtained.
    subnetId string
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vip string
    IPV4 addressNote: This field may return null, indicating that no valid value can be obtained.
    vip6 string
    IPV6 addressNote: This field may return null, indicating that no valid value can be obtained.
    vpcId string
    virtual network id.
    vpcStatus number
    Network status, 1-applying, 2-using, 3-deleting, 4-deletedNote: This field may return null, indicating that no valid value can be obtained.
    vport number
    access portNote: This field may return null, indicating that no valid value can be obtained.
    resource_id str
    Network resource id, instance id or RO group idNote: This field may return null, indicating that no valid value can be obtained.
    resource_type float
    Resource type, 1-instance 2-RO groupNote: This field may return null, indicating that no valid value can be obtained.
    subnet_id str
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vip str
    IPV4 addressNote: This field may return null, indicating that no valid value can be obtained.
    vip6 str
    IPV6 addressNote: This field may return null, indicating that no valid value can be obtained.
    vpc_id str
    virtual network id.
    vpc_status float
    Network status, 1-applying, 2-using, 3-deleting, 4-deletedNote: This field may return null, indicating that no valid value can be obtained.
    vport float
    access portNote: This field may return null, indicating that no valid value can be obtained.
    resourceId String
    Network resource id, instance id or RO group idNote: This field may return null, indicating that no valid value can be obtained.
    resourceType Number
    Resource type, 1-instance 2-RO groupNote: This field may return null, indicating that no valid value can be obtained.
    subnetId String
    subnet-idNote: This field may return null, indicating that no valid value can be obtained.
    vip String
    IPV4 addressNote: This field may return null, indicating that no valid value can be obtained.
    vip6 String
    IPV6 addressNote: This field may return null, indicating that no valid value can be obtained.
    vpcId String
    virtual network id.
    vpcStatus Number
    Network status, 1-applying, 2-using, 3-deleting, 4-deletedNote: This field may return null, indicating that no valid value can be obtained.
    vport Number
    access portNote: This field may return null, indicating that no valid value can be obtained.

    GetPostgresqlReadonlyGroupsReadOnlyGroupListReadOnlyDbInstanceListTagList

    TagKey string
    label key.
    TagValue string
    tag value.
    TagKey string
    label key.
    TagValue string
    tag value.
    tagKey String
    label key.
    tagValue String
    tag value.
    tagKey string
    label key.
    tagValue string
    tag value.
    tag_key str
    label key.
    tag_value str
    tag value.
    tagKey String
    label key.
    tagValue String
    tag value.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack