Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi
yandex.getMdbPostgresqlCluster
Get information about a Yandex Managed PostgreSQL cluster. For more information, see the official documentation. How to connect to the DB. To connect, use port 6432. The port number is not configurable.
Example Usage
using Pulumi;
using Yandex = Pulumi.Yandex;
class MyStack : Stack
{
    public MyStack()
    {
        var foo = Output.Create(Yandex.GetMdbPostgresqlCluster.InvokeAsync(new Yandex.GetMdbPostgresqlClusterArgs
        {
            Name = "test",
        }));
        this.Fqdn = foo.Apply(foo => foo.Hosts?[0]?.Fqdn);
    }
    [Output("fqdn")]
    public Output<string> Fqdn { get; set; }
}
package main
import (
	"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "test"
		foo, err := yandex.GetMdbPostgresqlCluster(ctx, &GetMdbPostgresqlClusterArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("fqdn", foo.Hosts[0].Fqdn)
		return nil
	})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";
const foo = pulumi.output(yandex.getMdbPostgresqlCluster({
    name: "test",
}));
export const fqdn = foo.hosts[0].fqdn;
import pulumi
import pulumi_yandex as yandex
foo = yandex.get_mdb_postgresql_cluster(name="test")
pulumi.export("fqdn", foo.hosts[0].fqdn)
Example coming soon!
Using getMdbPostgresqlCluster
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 getMdbPostgresqlCluster(args: GetMdbPostgresqlClusterArgs, opts?: InvokeOptions): Promise<GetMdbPostgresqlClusterResult>
function getMdbPostgresqlClusterOutput(args: GetMdbPostgresqlClusterOutputArgs, opts?: InvokeOptions): Output<GetMdbPostgresqlClusterResult>def get_mdb_postgresql_cluster(cluster_id: Optional[str] = None,
                               deletion_protection: Optional[bool] = None,
                               description: Optional[str] = None,
                               folder_id: Optional[str] = None,
                               name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetMdbPostgresqlClusterResult
def get_mdb_postgresql_cluster_output(cluster_id: Optional[pulumi.Input[str]] = None,
                               deletion_protection: Optional[pulumi.Input[bool]] = None,
                               description: Optional[pulumi.Input[str]] = None,
                               folder_id: Optional[pulumi.Input[str]] = None,
                               name: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetMdbPostgresqlClusterResult]func GetMdbPostgresqlCluster(ctx *Context, args *GetMdbPostgresqlClusterArgs, opts ...InvokeOption) (*GetMdbPostgresqlClusterResult, error)
func GetMdbPostgresqlClusterOutput(ctx *Context, args *GetMdbPostgresqlClusterOutputArgs, opts ...InvokeOption) GetMdbPostgresqlClusterResultOutput> Note: This function is named GetMdbPostgresqlCluster in the Go SDK.
public static class GetMdbPostgresqlCluster 
{
    public static Task<GetMdbPostgresqlClusterResult> InvokeAsync(GetMdbPostgresqlClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetMdbPostgresqlClusterResult> Invoke(GetMdbPostgresqlClusterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMdbPostgresqlClusterResult> getMdbPostgresqlCluster(GetMdbPostgresqlClusterArgs args, InvokeOptions options)
public static Output<GetMdbPostgresqlClusterResult> getMdbPostgresqlCluster(GetMdbPostgresqlClusterArgs args, InvokeOptions options)
fn::invoke:
  function: yandex:index/getMdbPostgresqlCluster:getMdbPostgresqlCluster
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ClusterId string
- The ID of the PostgreSQL cluster.
- DeletionProtection bool
- Description string
- Description of the PostgreSQL cluster.
- FolderId string
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Name string
- The name of the PostgreSQL cluster.
- ClusterId string
- The ID of the PostgreSQL cluster.
- DeletionProtection bool
- Description string
- Description of the PostgreSQL cluster.
- FolderId string
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Name string
- The name of the PostgreSQL cluster.
- clusterId String
- The ID of the PostgreSQL cluster.
- deletionProtection Boolean
- description String
- Description of the PostgreSQL cluster.
- folderId String
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- name String
- The name of the PostgreSQL cluster.
- clusterId string
- The ID of the PostgreSQL cluster.
- deletionProtection boolean
- description string
- Description of the PostgreSQL cluster.
- folderId string
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- name string
- The name of the PostgreSQL cluster.
- cluster_id str
- The ID of the PostgreSQL cluster.
- deletion_protection bool
- description str
- Description of the PostgreSQL cluster.
- folder_id str
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- name str
- The name of the PostgreSQL cluster.
- clusterId String
- The ID of the PostgreSQL cluster.
- deletionProtection Boolean
- description String
- Description of the PostgreSQL cluster.
- folderId String
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- name String
- The name of the PostgreSQL cluster.
getMdbPostgresqlCluster Result
The following output properties are available:
- ClusterId string
- Configs
List<GetMdb Postgresql Cluster Config> 
- Configuration of the PostgreSQL cluster. The structure is documented below.
- CreatedAt string
- Timestamp of cluster creation.
- Databases
List<GetMdb Postgresql Cluster Database> 
- A database of the PostgreSQL cluster. The structure is documented below.
- DeletionProtection bool
- Environment string
- Deployment environment of the PostgreSQL cluster.
- FolderId string
- Health string
- Aggregated health of the cluster.
- Hosts
List<GetMdb Postgresql Cluster Host> 
- A host of the PostgreSQL cluster. The structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, string>
- A set of key/value label pairs to assign to the PostgreSQL cluster.
- MaintenanceWindows List<GetMdb Postgresql Cluster Maintenance Window> 
- Maintenance window settings of the PostgreSQL cluster. The structure is documented below.
- Name string
- Name of the database extension. For more information on available extensions see the official documentation.
- NetworkId string
- ID of the network, to which the PostgreSQL cluster belongs.
- SecurityGroup List<string>Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- Status string
- Status of the cluster.
- Users
List<GetMdb Postgresql Cluster User> 
- A user of the PostgreSQL cluster. The structure is documented below.
- Description string
- Description of the PostgreSQL cluster.
- ClusterId string
- Configs
[]GetMdb Postgresql Cluster Config 
- Configuration of the PostgreSQL cluster. The structure is documented below.
- CreatedAt string
- Timestamp of cluster creation.
- Databases
[]GetMdb Postgresql Cluster Database 
- A database of the PostgreSQL cluster. The structure is documented below.
- DeletionProtection bool
- Environment string
- Deployment environment of the PostgreSQL cluster.
- FolderId string
- Health string
- Aggregated health of the cluster.
- Hosts
[]GetMdb Postgresql Cluster Host 
- A host of the PostgreSQL cluster. The structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]string
- A set of key/value label pairs to assign to the PostgreSQL cluster.
- MaintenanceWindows []GetMdb Postgresql Cluster Maintenance Window 
- Maintenance window settings of the PostgreSQL cluster. The structure is documented below.
- Name string
- Name of the database extension. For more information on available extensions see the official documentation.
- NetworkId string
- ID of the network, to which the PostgreSQL cluster belongs.
- SecurityGroup []stringIds 
- A set of ids of security groups assigned to hosts of the cluster.
- Status string
- Status of the cluster.
- Users
[]GetMdb Postgresql Cluster User 
- A user of the PostgreSQL cluster. The structure is documented below.
- Description string
- Description of the PostgreSQL cluster.
- clusterId String
- configs
List<GetMdb Postgresql Cluster Config> 
- Configuration of the PostgreSQL cluster. The structure is documented below.
- createdAt String
- Timestamp of cluster creation.
- databases
List<GetMdb Postgresql Cluster Database> 
- A database of the PostgreSQL cluster. The structure is documented below.
- deletionProtection Boolean
- environment String
- Deployment environment of the PostgreSQL cluster.
- folderId String
- health String
- Aggregated health of the cluster.
- hosts
List<GetMdb Postgresql Cluster Host> 
- A host of the PostgreSQL cluster. The structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,String>
- A set of key/value label pairs to assign to the PostgreSQL cluster.
- maintenanceWindows List<GetMdb Postgresql Cluster Maintenance Window> 
- Maintenance window settings of the PostgreSQL cluster. The structure is documented below.
- name String
- Name of the database extension. For more information on available extensions see the official documentation.
- networkId String
- ID of the network, to which the PostgreSQL cluster belongs.
- securityGroup List<String>Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- status String
- Status of the cluster.
- users
List<GetMdb Postgresql Cluster User> 
- A user of the PostgreSQL cluster. The structure is documented below.
- description String
- Description of the PostgreSQL cluster.
- clusterId string
- configs
GetMdb Postgresql Cluster Config[] 
- Configuration of the PostgreSQL cluster. The structure is documented below.
- createdAt string
- Timestamp of cluster creation.
- databases
GetMdb Postgresql Cluster Database[] 
- A database of the PostgreSQL cluster. The structure is documented below.
- deletionProtection boolean
- environment string
- Deployment environment of the PostgreSQL cluster.
- folderId string
- health string
- Aggregated health of the cluster.
- hosts
GetMdb Postgresql Cluster Host[] 
- A host of the PostgreSQL cluster. The structure is documented below.
- id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: string}
- A set of key/value label pairs to assign to the PostgreSQL cluster.
- maintenanceWindows GetMdb Postgresql Cluster Maintenance Window[] 
- Maintenance window settings of the PostgreSQL cluster. The structure is documented below.
- name string
- Name of the database extension. For more information on available extensions see the official documentation.
- networkId string
- ID of the network, to which the PostgreSQL cluster belongs.
- securityGroup string[]Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- status string
- Status of the cluster.
- users
GetMdb Postgresql Cluster User[] 
- A user of the PostgreSQL cluster. The structure is documented below.
- description string
- Description of the PostgreSQL cluster.
- cluster_id str
- configs
Sequence[GetMdb Postgresql Cluster Config] 
- Configuration of the PostgreSQL cluster. The structure is documented below.
- created_at str
- Timestamp of cluster creation.
- databases
Sequence[GetMdb Postgresql Cluster Database] 
- A database of the PostgreSQL cluster. The structure is documented below.
- deletion_protection bool
- environment str
- Deployment environment of the PostgreSQL cluster.
- folder_id str
- health str
- Aggregated health of the cluster.
- hosts
Sequence[GetMdb Postgresql Cluster Host] 
- A host of the PostgreSQL cluster. The structure is documented below.
- id str
- The provider-assigned unique ID for this managed resource.
- labels Mapping[str, str]
- A set of key/value label pairs to assign to the PostgreSQL cluster.
- maintenance_windows Sequence[GetMdb Postgresql Cluster Maintenance Window] 
- Maintenance window settings of the PostgreSQL cluster. The structure is documented below.
- name str
- Name of the database extension. For more information on available extensions see the official documentation.
- network_id str
- ID of the network, to which the PostgreSQL cluster belongs.
- security_group_ Sequence[str]ids 
- A set of ids of security groups assigned to hosts of the cluster.
- status str
- Status of the cluster.
- users
Sequence[GetMdb Postgresql Cluster User] 
- A user of the PostgreSQL cluster. The structure is documented below.
- description str
- Description of the PostgreSQL cluster.
- clusterId String
- configs List<Property Map>
- Configuration of the PostgreSQL cluster. The structure is documented below.
- createdAt String
- Timestamp of cluster creation.
- databases List<Property Map>
- A database of the PostgreSQL cluster. The structure is documented below.
- deletionProtection Boolean
- environment String
- Deployment environment of the PostgreSQL cluster.
- folderId String
- health String
- Aggregated health of the cluster.
- hosts List<Property Map>
- A host of the PostgreSQL cluster. The structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String>
- A set of key/value label pairs to assign to the PostgreSQL cluster.
- maintenanceWindows List<Property Map>
- Maintenance window settings of the PostgreSQL cluster. The structure is documented below.
- name String
- Name of the database extension. For more information on available extensions see the official documentation.
- networkId String
- ID of the network, to which the PostgreSQL cluster belongs.
- securityGroup List<String>Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- status String
- Status of the cluster.
- users List<Property Map>
- A user of the PostgreSQL cluster. The structure is documented below.
- description String
- Description of the PostgreSQL cluster.
Supporting Types
GetMdbPostgresqlClusterConfig    
- Accesses
List<GetMdb Postgresql Cluster Config Access> 
- Access policy to the PostgreSQL cluster. The structure is documented below.
- Autofailover bool
- Configuration setting which enables/disables autofailover in cluster.
- BackupRetain intPeriod Days 
- The period in days during which backups are stored.
- BackupWindow List<GetStarts Mdb Postgresql Cluster Config Backup Window Start> 
- Time to start the daily backup, in the UTC timezone. The structure is documented below.
- PerformanceDiagnostics List<GetMdb Postgresql Cluster Config Performance Diagnostic> 
- Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- PoolerConfigs List<GetMdb Postgresql Cluster Config Pooler Config> 
- Configuration of the connection pooler. The structure is documented below.
- PostgresqlConfig Dictionary<string, string>
- PostgreSQL cluster config.
- Resources
List<GetMdb Postgresql Cluster Config Resource> 
- Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
- Version string
- Version of the extension.
- Accesses
[]GetMdb Postgresql Cluster Config Access 
- Access policy to the PostgreSQL cluster. The structure is documented below.
- Autofailover bool
- Configuration setting which enables/disables autofailover in cluster.
- BackupRetain intPeriod Days 
- The period in days during which backups are stored.
- BackupWindow []GetStarts Mdb Postgresql Cluster Config Backup Window Start 
- Time to start the daily backup, in the UTC timezone. The structure is documented below.
- PerformanceDiagnostics []GetMdb Postgresql Cluster Config Performance Diagnostic 
- Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- PoolerConfigs []GetMdb Postgresql Cluster Config Pooler Config 
- Configuration of the connection pooler. The structure is documented below.
- PostgresqlConfig map[string]string
- PostgreSQL cluster config.
- Resources
[]GetMdb Postgresql Cluster Config Resource 
- Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
- Version string
- Version of the extension.
- accesses
List<GetMdb Postgresql Cluster Config Access> 
- Access policy to the PostgreSQL cluster. The structure is documented below.
- autofailover Boolean
- Configuration setting which enables/disables autofailover in cluster.
- backupRetain IntegerPeriod Days 
- The period in days during which backups are stored.
- backupWindow List<GetStarts Mdb Postgresql Cluster Config Backup Window Start> 
- Time to start the daily backup, in the UTC timezone. The structure is documented below.
- performanceDiagnostics List<GetMdb Postgresql Cluster Config Performance Diagnostic> 
- Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- poolerConfigs List<GetMdb Postgresql Cluster Config Pooler Config> 
- Configuration of the connection pooler. The structure is documented below.
- postgresqlConfig Map<String,String>
- PostgreSQL cluster config.
- resources
List<GetMdb Postgresql Cluster Config Resource> 
- Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
- version String
- Version of the extension.
- accesses
GetMdb Postgresql Cluster Config Access[] 
- Access policy to the PostgreSQL cluster. The structure is documented below.
- autofailover boolean
- Configuration setting which enables/disables autofailover in cluster.
- backupRetain numberPeriod Days 
- The period in days during which backups are stored.
- backupWindow GetStarts Mdb Postgresql Cluster Config Backup Window Start[] 
- Time to start the daily backup, in the UTC timezone. The structure is documented below.
- performanceDiagnostics GetMdb Postgresql Cluster Config Performance Diagnostic[] 
- Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- poolerConfigs GetMdb Postgresql Cluster Config Pooler Config[] 
- Configuration of the connection pooler. The structure is documented below.
- postgresqlConfig {[key: string]: string}
- PostgreSQL cluster config.
- resources
GetMdb Postgresql Cluster Config Resource[] 
- Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
- version string
- Version of the extension.
- accesses
Sequence[GetMdb Postgresql Cluster Config Access] 
- Access policy to the PostgreSQL cluster. The structure is documented below.
- autofailover bool
- Configuration setting which enables/disables autofailover in cluster.
- backup_retain_ intperiod_ days 
- The period in days during which backups are stored.
- backup_window_ Sequence[Getstarts Mdb Postgresql Cluster Config Backup Window Start] 
- Time to start the daily backup, in the UTC timezone. The structure is documented below.
- performance_diagnostics Sequence[GetMdb Postgresql Cluster Config Performance Diagnostic] 
- Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- pooler_configs Sequence[GetMdb Postgresql Cluster Config Pooler Config] 
- Configuration of the connection pooler. The structure is documented below.
- postgresql_config Mapping[str, str]
- PostgreSQL cluster config.
- resources
Sequence[GetMdb Postgresql Cluster Config Resource] 
- Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
- version str
- Version of the extension.
- accesses List<Property Map>
- Access policy to the PostgreSQL cluster. The structure is documented below.
- autofailover Boolean
- Configuration setting which enables/disables autofailover in cluster.
- backupRetain NumberPeriod Days 
- The period in days during which backups are stored.
- backupWindow List<Property Map>Starts 
- Time to start the daily backup, in the UTC timezone. The structure is documented below.
- performanceDiagnostics List<Property Map>
- Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- poolerConfigs List<Property Map>
- Configuration of the connection pooler. The structure is documented below.
- postgresqlConfig Map<String>
- PostgreSQL cluster config.
- resources List<Property Map>
- Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
- version String
- Version of the extension.
GetMdbPostgresqlClusterConfigAccess     
- DataLens bool
- Allow access for Yandex DataLens.
- WebSql bool
- Allows access for SQL queries in the management console
- DataLens bool
- Allow access for Yandex DataLens.
- WebSql bool
- Allows access for SQL queries in the management console
- dataLens Boolean
- Allow access for Yandex DataLens.
- webSql Boolean
- Allows access for SQL queries in the management console
- dataLens boolean
- Allow access for Yandex DataLens.
- webSql boolean
- Allows access for SQL queries in the management console
- data_lens bool
- Allow access for Yandex DataLens.
- web_sql bool
- Allows access for SQL queries in the management console
- dataLens Boolean
- Allow access for Yandex DataLens.
- webSql Boolean
- Allows access for SQL queries in the management console
GetMdbPostgresqlClusterConfigBackupWindowStart       
GetMdbPostgresqlClusterConfigPerformanceDiagnostic      
- Enabled bool
- Flag, when true, performance diagnostics is enabled
- SessionsSampling intInterval 
- Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
- StatementsSampling intInterval 
- Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
- Enabled bool
- Flag, when true, performance diagnostics is enabled
- SessionsSampling intInterval 
- Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
- StatementsSampling intInterval 
- Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
- enabled Boolean
- Flag, when true, performance diagnostics is enabled
- sessionsSampling IntegerInterval 
- Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
- statementsSampling IntegerInterval 
- Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
- enabled boolean
- Flag, when true, performance diagnostics is enabled
- sessionsSampling numberInterval 
- Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
- statementsSampling numberInterval 
- Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
- enabled bool
- Flag, when true, performance diagnostics is enabled
- sessions_sampling_ intinterval 
- Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
- statements_sampling_ intinterval 
- Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
- enabled Boolean
- Flag, when true, performance diagnostics is enabled
- sessionsSampling NumberInterval 
- Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
- statementsSampling NumberInterval 
- Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
GetMdbPostgresqlClusterConfigPoolerConfig      
- PoolDiscard bool
- Value for pool_discardparameter in Odyssey.
- PoolingMode string
- Mode that the connection pooler is working in. See descriptions of all modes in the [documentation for Odyssey](https://github.com/yandex/odyssey/blob/master/documentation/configuration.md#pool-string.
- PoolDiscard bool
- Value for pool_discardparameter in Odyssey.
- PoolingMode string
- Mode that the connection pooler is working in. See descriptions of all modes in the [documentation for Odyssey](https://github.com/yandex/odyssey/blob/master/documentation/configuration.md#pool-string.
- poolDiscard Boolean
- Value for pool_discardparameter in Odyssey.
- poolingMode String
- Mode that the connection pooler is working in. See descriptions of all modes in the [documentation for Odyssey](https://github.com/yandex/odyssey/blob/master/documentation/configuration.md#pool-string.
- poolDiscard boolean
- Value for pool_discardparameter in Odyssey.
- poolingMode string
- Mode that the connection pooler is working in. See descriptions of all modes in the [documentation for Odyssey](https://github.com/yandex/odyssey/blob/master/documentation/configuration.md#pool-string.
- pool_discard bool
- Value for pool_discardparameter in Odyssey.
- pooling_mode str
- Mode that the connection pooler is working in. See descriptions of all modes in the [documentation for Odyssey](https://github.com/yandex/odyssey/blob/master/documentation/configuration.md#pool-string.
- poolDiscard Boolean
- Value for pool_discardparameter in Odyssey.
- poolingMode String
- Mode that the connection pooler is working in. See descriptions of all modes in the [documentation for Odyssey](https://github.com/yandex/odyssey/blob/master/documentation/configuration.md#pool-string.
GetMdbPostgresqlClusterConfigResource     
- DiskSize int
- Volume of the storage available to a PostgreSQL host, in gigabytes.
- DiskType stringId 
- Type of the storage for PostgreSQL hosts.
- ResourcePreset stringId 
- DiskSize int
- Volume of the storage available to a PostgreSQL host, in gigabytes.
- DiskType stringId 
- Type of the storage for PostgreSQL hosts.
- ResourcePreset stringId 
- diskSize Integer
- Volume of the storage available to a PostgreSQL host, in gigabytes.
- diskType StringId 
- Type of the storage for PostgreSQL hosts.
- resourcePreset StringId 
- diskSize number
- Volume of the storage available to a PostgreSQL host, in gigabytes.
- diskType stringId 
- Type of the storage for PostgreSQL hosts.
- resourcePreset stringId 
- disk_size int
- Volume of the storage available to a PostgreSQL host, in gigabytes.
- disk_type_ strid 
- Type of the storage for PostgreSQL hosts.
- resource_preset_ strid 
- diskSize Number
- Volume of the storage available to a PostgreSQL host, in gigabytes.
- diskType StringId 
- Type of the storage for PostgreSQL hosts.
- resourcePreset StringId 
GetMdbPostgresqlClusterDatabase    
- Extensions
List<GetMdb Postgresql Cluster Database Extension> 
- Set of database extensions. The structure is documented below
- LcCollate string
- POSIX locale for string sorting order. Forbidden to change in an existing database.
- LcType string
- POSIX locale for character classification. Forbidden to change in an existing database.
- Name string
- The name of the PostgreSQL cluster.
- Owner string
- Name of the user assigned as the owner of the database.
- Extensions
[]GetMdb Postgresql Cluster Database Extension 
- Set of database extensions. The structure is documented below
- LcCollate string
- POSIX locale for string sorting order. Forbidden to change in an existing database.
- LcType string
- POSIX locale for character classification. Forbidden to change in an existing database.
- Name string
- The name of the PostgreSQL cluster.
- Owner string
- Name of the user assigned as the owner of the database.
- extensions
List<GetMdb Postgresql Cluster Database Extension> 
- Set of database extensions. The structure is documented below
- lcCollate String
- POSIX locale for string sorting order. Forbidden to change in an existing database.
- lcType String
- POSIX locale for character classification. Forbidden to change in an existing database.
- name String
- The name of the PostgreSQL cluster.
- owner String
- Name of the user assigned as the owner of the database.
- extensions
GetMdb Postgresql Cluster Database Extension[] 
- Set of database extensions. The structure is documented below
- lcCollate string
- POSIX locale for string sorting order. Forbidden to change in an existing database.
- lcType string
- POSIX locale for character classification. Forbidden to change in an existing database.
- name string
- The name of the PostgreSQL cluster.
- owner string
- Name of the user assigned as the owner of the database.
- extensions
Sequence[GetMdb Postgresql Cluster Database Extension] 
- Set of database extensions. The structure is documented below
- lc_collate str
- POSIX locale for string sorting order. Forbidden to change in an existing database.
- lc_type str
- POSIX locale for character classification. Forbidden to change in an existing database.
- name str
- The name of the PostgreSQL cluster.
- owner str
- Name of the user assigned as the owner of the database.
- extensions List<Property Map>
- Set of database extensions. The structure is documented below
- lcCollate String
- POSIX locale for string sorting order. Forbidden to change in an existing database.
- lcType String
- POSIX locale for character classification. Forbidden to change in an existing database.
- name String
- The name of the PostgreSQL cluster.
- owner String
- Name of the user assigned as the owner of the database.
GetMdbPostgresqlClusterDatabaseExtension     
GetMdbPostgresqlClusterHost    
- AssignPublic boolIp 
- Sets whether the host should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- Fqdn string
- The fully qualified domain name of the host.
- Priority int
- Host priority in HA group.
- ReplicationSource string
- Host replication source (fqdn), case when replication_source is empty then host in HA group.
- Role string
- Role of the host in the cluster.
- SubnetId string
- The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
- Zone string
- The availability zone where the PostgreSQL host will be created.
- AssignPublic boolIp 
- Sets whether the host should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- Fqdn string
- The fully qualified domain name of the host.
- Priority int
- Host priority in HA group.
- ReplicationSource string
- Host replication source (fqdn), case when replication_source is empty then host in HA group.
- Role string
- Role of the host in the cluster.
- SubnetId string
- The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
- Zone string
- The availability zone where the PostgreSQL host will be created.
- assignPublic BooleanIp 
- Sets whether the host should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- fqdn String
- The fully qualified domain name of the host.
- priority Integer
- Host priority in HA group.
- replicationSource String
- Host replication source (fqdn), case when replication_source is empty then host in HA group.
- role String
- Role of the host in the cluster.
- subnetId String
- The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
- zone String
- The availability zone where the PostgreSQL host will be created.
- assignPublic booleanIp 
- Sets whether the host should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- fqdn string
- The fully qualified domain name of the host.
- priority number
- Host priority in HA group.
- replicationSource string
- Host replication source (fqdn), case when replication_source is empty then host in HA group.
- role string
- Role of the host in the cluster.
- subnetId string
- The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
- zone string
- The availability zone where the PostgreSQL host will be created.
- assign_public_ boolip 
- Sets whether the host should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- fqdn str
- The fully qualified domain name of the host.
- priority int
- Host priority in HA group.
- replication_source str
- Host replication source (fqdn), case when replication_source is empty then host in HA group.
- role str
- Role of the host in the cluster.
- subnet_id str
- The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
- zone str
- The availability zone where the PostgreSQL host will be created.
- assignPublic BooleanIp 
- Sets whether the host should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- fqdn String
- The fully qualified domain name of the host.
- priority Number
- Host priority in HA group.
- replicationSource String
- Host replication source (fqdn), case when replication_source is empty then host in HA group.
- role String
- Role of the host in the cluster.
- subnetId String
- The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
- zone String
- The availability zone where the PostgreSQL host will be created.
GetMdbPostgresqlClusterMaintenanceWindow     
GetMdbPostgresqlClusterUser    
- Grants List<string>
- List of the user's grants.
- Name string
- The name of the PostgreSQL cluster.
- Password string
- The password of the user.
- Permissions
List<GetMdb Postgresql Cluster User Permission> 
- Set of permissions granted to the user. The structure is documented below.
- Settings Dictionary<string, string>
- Map of user settings.
- ConnLimit int
- The maximum number of connections per user.
- Login bool
- User's ability to login.
- Grants []string
- List of the user's grants.
- Name string
- The name of the PostgreSQL cluster.
- Password string
- The password of the user.
- Permissions
[]GetMdb Postgresql Cluster User Permission 
- Set of permissions granted to the user. The structure is documented below.
- Settings map[string]string
- Map of user settings.
- ConnLimit int
- The maximum number of connections per user.
- Login bool
- User's ability to login.
- grants List<String>
- List of the user's grants.
- name String
- The name of the PostgreSQL cluster.
- password String
- The password of the user.
- permissions
List<GetMdb Postgresql Cluster User Permission> 
- Set of permissions granted to the user. The structure is documented below.
- settings Map<String,String>
- Map of user settings.
- connLimit Integer
- The maximum number of connections per user.
- login Boolean
- User's ability to login.
- grants string[]
- List of the user's grants.
- name string
- The name of the PostgreSQL cluster.
- password string
- The password of the user.
- permissions
GetMdb Postgresql Cluster User Permission[] 
- Set of permissions granted to the user. The structure is documented below.
- settings {[key: string]: string}
- Map of user settings.
- connLimit number
- The maximum number of connections per user.
- login boolean
- User's ability to login.
- grants Sequence[str]
- List of the user's grants.
- name str
- The name of the PostgreSQL cluster.
- password str
- The password of the user.
- permissions
Sequence[GetMdb Postgresql Cluster User Permission] 
- Set of permissions granted to the user. The structure is documented below.
- settings Mapping[str, str]
- Map of user settings.
- conn_limit int
- The maximum number of connections per user.
- login bool
- User's ability to login.
- grants List<String>
- List of the user's grants.
- name String
- The name of the PostgreSQL cluster.
- password String
- The password of the user.
- permissions List<Property Map>
- Set of permissions granted to the user. The structure is documented below.
- settings Map<String>
- Map of user settings.
- connLimit Number
- The maximum number of connections per user.
- login Boolean
- User's ability to login.
GetMdbPostgresqlClusterUserPermission     
- DatabaseName string
- The name of the database that the permission grants access to.
- DatabaseName string
- The name of the database that the permission grants access to.
- databaseName String
- The name of the database that the permission grants access to.
- databaseName string
- The name of the database that the permission grants access to.
- database_name str
- The name of the database that the permission grants access to.
- databaseName String
- The name of the database that the permission grants access to.
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the yandexTerraform Provider.
