1. Packages
  2. Yandex
  3. API Docs
  4. getMdbPostgresqlCluster
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

yandex.getMdbPostgresqlCluster

Explore with Pulumi AI

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; }
}
Copy
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
	})
}
Copy

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;
Copy
import pulumi
import pulumi_yandex as yandex

foo = yandex.get_mdb_postgresql_cluster(name="test")
pulumi.export("fqdn", foo.hosts[0].fqdn)
Copy

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>
Copy
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]
Copy
func GetMdbPostgresqlCluster(ctx *Context, args *GetMdbPostgresqlClusterArgs, opts ...InvokeOption) (*GetMdbPostgresqlClusterResult, error)
func GetMdbPostgresqlClusterOutput(ctx *Context, args *GetMdbPostgresqlClusterOutputArgs, opts ...InvokeOption) GetMdbPostgresqlClusterResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetMdbPostgresqlClusterResult> getMdbPostgresqlCluster(GetMdbPostgresqlClusterArgs args, InvokeOptions options)
public static Output<GetMdbPostgresqlClusterResult> getMdbPostgresqlCluster(GetMdbPostgresqlClusterArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: yandex:index/getMdbPostgresqlCluster:getMdbPostgresqlCluster
  arguments:
    # arguments dictionary
Copy

The 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<GetMdbPostgresqlClusterConfig>
Configuration of the PostgreSQL cluster. The structure is documented below.
CreatedAt string
Timestamp of cluster creation.
Databases List<GetMdbPostgresqlClusterDatabase>
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<GetMdbPostgresqlClusterHost>
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<GetMdbPostgresqlClusterMaintenanceWindow>
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.
SecurityGroupIds List<string>
A set of ids of security groups assigned to hosts of the cluster.
Status string
Status of the cluster.
Users List<GetMdbPostgresqlClusterUser>
A user of the PostgreSQL cluster. The structure is documented below.
Description string
Description of the PostgreSQL cluster.
ClusterId string
Configs []GetMdbPostgresqlClusterConfig
Configuration of the PostgreSQL cluster. The structure is documented below.
CreatedAt string
Timestamp of cluster creation.
Databases []GetMdbPostgresqlClusterDatabase
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 []GetMdbPostgresqlClusterHost
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 []GetMdbPostgresqlClusterMaintenanceWindow
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.
SecurityGroupIds []string
A set of ids of security groups assigned to hosts of the cluster.
Status string
Status of the cluster.
Users []GetMdbPostgresqlClusterUser
A user of the PostgreSQL cluster. The structure is documented below.
Description string
Description of the PostgreSQL cluster.
clusterId String
configs List<GetMdbPostgresqlClusterConfig>
Configuration of the PostgreSQL cluster. The structure is documented below.
createdAt String
Timestamp of cluster creation.
databases List<GetMdbPostgresqlClusterDatabase>
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<GetMdbPostgresqlClusterHost>
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<GetMdbPostgresqlClusterMaintenanceWindow>
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.
securityGroupIds List<String>
A set of ids of security groups assigned to hosts of the cluster.
status String
Status of the cluster.
users List<GetMdbPostgresqlClusterUser>
A user of the PostgreSQL cluster. The structure is documented below.
description String
Description of the PostgreSQL cluster.
clusterId string
configs GetMdbPostgresqlClusterConfig[]
Configuration of the PostgreSQL cluster. The structure is documented below.
createdAt string
Timestamp of cluster creation.
databases GetMdbPostgresqlClusterDatabase[]
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 GetMdbPostgresqlClusterHost[]
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 GetMdbPostgresqlClusterMaintenanceWindow[]
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.
securityGroupIds string[]
A set of ids of security groups assigned to hosts of the cluster.
status string
Status of the cluster.
users GetMdbPostgresqlClusterUser[]
A user of the PostgreSQL cluster. The structure is documented below.
description string
Description of the PostgreSQL cluster.
cluster_id str
configs Sequence[GetMdbPostgresqlClusterConfig]
Configuration of the PostgreSQL cluster. The structure is documented below.
created_at str
Timestamp of cluster creation.
databases Sequence[GetMdbPostgresqlClusterDatabase]
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[GetMdbPostgresqlClusterHost]
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[GetMdbPostgresqlClusterMaintenanceWindow]
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_ids Sequence[str]
A set of ids of security groups assigned to hosts of the cluster.
status str
Status of the cluster.
users Sequence[GetMdbPostgresqlClusterUser]
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.
securityGroupIds List<String>
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 This property is required. List<GetMdbPostgresqlClusterConfigAccess>
Access policy to the PostgreSQL cluster. The structure is documented below.
Autofailover This property is required. bool
Configuration setting which enables/disables autofailover in cluster.
BackupRetainPeriodDays This property is required. int
The period in days during which backups are stored.
BackupWindowStarts This property is required. List<GetMdbPostgresqlClusterConfigBackupWindowStart>
Time to start the daily backup, in the UTC timezone. The structure is documented below.
PerformanceDiagnostics This property is required. List<GetMdbPostgresqlClusterConfigPerformanceDiagnostic>
Cluster performance diagnostics settings. The structure is documented below. YC Documentation
PoolerConfigs This property is required. List<GetMdbPostgresqlClusterConfigPoolerConfig>
Configuration of the connection pooler. The structure is documented below.
PostgresqlConfig This property is required. Dictionary<string, string>
PostgreSQL cluster config.
Resources This property is required. List<GetMdbPostgresqlClusterConfigResource>
Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
Version This property is required. string
Version of the extension.
Accesses This property is required. []GetMdbPostgresqlClusterConfigAccess
Access policy to the PostgreSQL cluster. The structure is documented below.
Autofailover This property is required. bool
Configuration setting which enables/disables autofailover in cluster.
BackupRetainPeriodDays This property is required. int
The period in days during which backups are stored.
BackupWindowStarts This property is required. []GetMdbPostgresqlClusterConfigBackupWindowStart
Time to start the daily backup, in the UTC timezone. The structure is documented below.
PerformanceDiagnostics This property is required. []GetMdbPostgresqlClusterConfigPerformanceDiagnostic
Cluster performance diagnostics settings. The structure is documented below. YC Documentation
PoolerConfigs This property is required. []GetMdbPostgresqlClusterConfigPoolerConfig
Configuration of the connection pooler. The structure is documented below.
PostgresqlConfig This property is required. map[string]string
PostgreSQL cluster config.
Resources This property is required. []GetMdbPostgresqlClusterConfigResource
Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
Version This property is required. string
Version of the extension.
accesses This property is required. List<GetMdbPostgresqlClusterConfigAccess>
Access policy to the PostgreSQL cluster. The structure is documented below.
autofailover This property is required. Boolean
Configuration setting which enables/disables autofailover in cluster.
backupRetainPeriodDays This property is required. Integer
The period in days during which backups are stored.
backupWindowStarts This property is required. List<GetMdbPostgresqlClusterConfigBackupWindowStart>
Time to start the daily backup, in the UTC timezone. The structure is documented below.
performanceDiagnostics This property is required. List<GetMdbPostgresqlClusterConfigPerformanceDiagnostic>
Cluster performance diagnostics settings. The structure is documented below. YC Documentation
poolerConfigs This property is required. List<GetMdbPostgresqlClusterConfigPoolerConfig>
Configuration of the connection pooler. The structure is documented below.
postgresqlConfig This property is required. Map<String,String>
PostgreSQL cluster config.
resources This property is required. List<GetMdbPostgresqlClusterConfigResource>
Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
version This property is required. String
Version of the extension.
accesses This property is required. GetMdbPostgresqlClusterConfigAccess[]
Access policy to the PostgreSQL cluster. The structure is documented below.
autofailover This property is required. boolean
Configuration setting which enables/disables autofailover in cluster.
backupRetainPeriodDays This property is required. number
The period in days during which backups are stored.
backupWindowStarts This property is required. GetMdbPostgresqlClusterConfigBackupWindowStart[]
Time to start the daily backup, in the UTC timezone. The structure is documented below.
performanceDiagnostics This property is required. GetMdbPostgresqlClusterConfigPerformanceDiagnostic[]
Cluster performance diagnostics settings. The structure is documented below. YC Documentation
poolerConfigs This property is required. GetMdbPostgresqlClusterConfigPoolerConfig[]
Configuration of the connection pooler. The structure is documented below.
postgresqlConfig This property is required. {[key: string]: string}
PostgreSQL cluster config.
resources This property is required. GetMdbPostgresqlClusterConfigResource[]
Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
version This property is required. string
Version of the extension.
accesses This property is required. Sequence[GetMdbPostgresqlClusterConfigAccess]
Access policy to the PostgreSQL cluster. The structure is documented below.
autofailover This property is required. bool
Configuration setting which enables/disables autofailover in cluster.
backup_retain_period_days This property is required. int
The period in days during which backups are stored.
backup_window_starts This property is required. Sequence[GetMdbPostgresqlClusterConfigBackupWindowStart]
Time to start the daily backup, in the UTC timezone. The structure is documented below.
performance_diagnostics This property is required. Sequence[GetMdbPostgresqlClusterConfigPerformanceDiagnostic]
Cluster performance diagnostics settings. The structure is documented below. YC Documentation
pooler_configs This property is required. Sequence[GetMdbPostgresqlClusterConfigPoolerConfig]
Configuration of the connection pooler. The structure is documented below.
postgresql_config This property is required. Mapping[str, str]
PostgreSQL cluster config.
resources This property is required. Sequence[GetMdbPostgresqlClusterConfigResource]
Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
version This property is required. str
Version of the extension.
accesses This property is required. List<Property Map>
Access policy to the PostgreSQL cluster. The structure is documented below.
autofailover This property is required. Boolean
Configuration setting which enables/disables autofailover in cluster.
backupRetainPeriodDays This property is required. Number
The period in days during which backups are stored.
backupWindowStarts This property is required. List<Property Map>
Time to start the daily backup, in the UTC timezone. The structure is documented below.
performanceDiagnostics This property is required. List<Property Map>
Cluster performance diagnostics settings. The structure is documented below. YC Documentation
poolerConfigs This property is required. List<Property Map>
Configuration of the connection pooler. The structure is documented below.
postgresqlConfig This property is required. Map<String>
PostgreSQL cluster config.
resources This property is required. List<Property Map>
Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
version This property is required. String
Version of the extension.

GetMdbPostgresqlClusterConfigAccess

DataLens This property is required. bool
Allow access for Yandex DataLens.
WebSql This property is required. bool
Allows access for SQL queries in the management console
DataLens This property is required. bool
Allow access for Yandex DataLens.
WebSql This property is required. bool
Allows access for SQL queries in the management console
dataLens This property is required. Boolean
Allow access for Yandex DataLens.
webSql This property is required. Boolean
Allows access for SQL queries in the management console
dataLens This property is required. boolean
Allow access for Yandex DataLens.
webSql This property is required. boolean
Allows access for SQL queries in the management console
data_lens This property is required. bool
Allow access for Yandex DataLens.
web_sql This property is required. bool
Allows access for SQL queries in the management console
dataLens This property is required. Boolean
Allow access for Yandex DataLens.
webSql This property is required. Boolean
Allows access for SQL queries in the management console

GetMdbPostgresqlClusterConfigBackupWindowStart

Hours This property is required. int
The hour at which backup will be started.
Minutes This property is required. int
The minute at which backup will be started.
Hours This property is required. int
The hour at which backup will be started.
Minutes This property is required. int
The minute at which backup will be started.
hours This property is required. Integer
The hour at which backup will be started.
minutes This property is required. Integer
The minute at which backup will be started.
hours This property is required. number
The hour at which backup will be started.
minutes This property is required. number
The minute at which backup will be started.
hours This property is required. int
The hour at which backup will be started.
minutes This property is required. int
The minute at which backup will be started.
hours This property is required. Number
The hour at which backup will be started.
minutes This property is required. Number
The minute at which backup will be started.

GetMdbPostgresqlClusterConfigPerformanceDiagnostic

Enabled This property is required. bool
Flag, when true, performance diagnostics is enabled
SessionsSamplingInterval This property is required. int
Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
StatementsSamplingInterval This property is required. int
Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
Enabled This property is required. bool
Flag, when true, performance diagnostics is enabled
SessionsSamplingInterval This property is required. int
Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
StatementsSamplingInterval This property is required. int
Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
enabled This property is required. Boolean
Flag, when true, performance diagnostics is enabled
sessionsSamplingInterval This property is required. Integer
Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
statementsSamplingInterval This property is required. Integer
Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
enabled This property is required. boolean
Flag, when true, performance diagnostics is enabled
sessionsSamplingInterval This property is required. number
Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
statementsSamplingInterval This property is required. number
Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
enabled This property is required. bool
Flag, when true, performance diagnostics is enabled
sessions_sampling_interval This property is required. int
Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
statements_sampling_interval This property is required. int
Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
enabled This property is required. Boolean
Flag, when true, performance diagnostics is enabled
sessionsSamplingInterval This property is required. Number
Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
statementsSamplingInterval This property is required. Number
Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.

GetMdbPostgresqlClusterConfigPoolerConfig

PoolDiscard This property is required. bool
Value for pool_discard parameter in Odyssey.
PoolingMode This property is required. 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 This property is required. bool
Value for pool_discard parameter in Odyssey.
PoolingMode This property is required. 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 This property is required. Boolean
Value for pool_discard parameter in Odyssey.
poolingMode This property is required. 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 This property is required. boolean
Value for pool_discard parameter in Odyssey.
poolingMode This property is required. 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 This property is required. bool
Value for pool_discard parameter in Odyssey.
pooling_mode This property is required. 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 This property is required. Boolean
Value for pool_discard parameter in Odyssey.
poolingMode This property is required. 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 This property is required. int
Volume of the storage available to a PostgreSQL host, in gigabytes.
DiskTypeId This property is required. string
Type of the storage for PostgreSQL hosts.
ResourcePresetId This property is required. string
DiskSize This property is required. int
Volume of the storage available to a PostgreSQL host, in gigabytes.
DiskTypeId This property is required. string
Type of the storage for PostgreSQL hosts.
ResourcePresetId This property is required. string
diskSize This property is required. Integer
Volume of the storage available to a PostgreSQL host, in gigabytes.
diskTypeId This property is required. String
Type of the storage for PostgreSQL hosts.
resourcePresetId This property is required. String
diskSize This property is required. number
Volume of the storage available to a PostgreSQL host, in gigabytes.
diskTypeId This property is required. string
Type of the storage for PostgreSQL hosts.
resourcePresetId This property is required. string
disk_size This property is required. int
Volume of the storage available to a PostgreSQL host, in gigabytes.
disk_type_id This property is required. str
Type of the storage for PostgreSQL hosts.
resource_preset_id This property is required. str
diskSize This property is required. Number
Volume of the storage available to a PostgreSQL host, in gigabytes.
diskTypeId This property is required. String
Type of the storage for PostgreSQL hosts.
resourcePresetId This property is required. String

GetMdbPostgresqlClusterDatabase

Extensions This property is required. List<GetMdbPostgresqlClusterDatabaseExtension>
Set of database extensions. The structure is documented below
LcCollate This property is required. string
POSIX locale for string sorting order. Forbidden to change in an existing database.
LcType This property is required. string
POSIX locale for character classification. Forbidden to change in an existing database.
Name This property is required. string
The name of the PostgreSQL cluster.
Owner This property is required. string
Name of the user assigned as the owner of the database.
Extensions This property is required. []GetMdbPostgresqlClusterDatabaseExtension
Set of database extensions. The structure is documented below
LcCollate This property is required. string
POSIX locale for string sorting order. Forbidden to change in an existing database.
LcType This property is required. string
POSIX locale for character classification. Forbidden to change in an existing database.
Name This property is required. string
The name of the PostgreSQL cluster.
Owner This property is required. string
Name of the user assigned as the owner of the database.
extensions This property is required. List<GetMdbPostgresqlClusterDatabaseExtension>
Set of database extensions. The structure is documented below
lcCollate This property is required. String
POSIX locale for string sorting order. Forbidden to change in an existing database.
lcType This property is required. String
POSIX locale for character classification. Forbidden to change in an existing database.
name This property is required. String
The name of the PostgreSQL cluster.
owner This property is required. String
Name of the user assigned as the owner of the database.
extensions This property is required. GetMdbPostgresqlClusterDatabaseExtension[]
Set of database extensions. The structure is documented below
lcCollate This property is required. string
POSIX locale for string sorting order. Forbidden to change in an existing database.
lcType This property is required. string
POSIX locale for character classification. Forbidden to change in an existing database.
name This property is required. string
The name of the PostgreSQL cluster.
owner This property is required. string
Name of the user assigned as the owner of the database.
extensions This property is required. Sequence[GetMdbPostgresqlClusterDatabaseExtension]
Set of database extensions. The structure is documented below
lc_collate This property is required. str
POSIX locale for string sorting order. Forbidden to change in an existing database.
lc_type This property is required. str
POSIX locale for character classification. Forbidden to change in an existing database.
name This property is required. str
The name of the PostgreSQL cluster.
owner This property is required. str
Name of the user assigned as the owner of the database.
extensions This property is required. List<Property Map>
Set of database extensions. The structure is documented below
lcCollate This property is required. String
POSIX locale for string sorting order. Forbidden to change in an existing database.
lcType This property is required. String
POSIX locale for character classification. Forbidden to change in an existing database.
name This property is required. String
The name of the PostgreSQL cluster.
owner This property is required. String
Name of the user assigned as the owner of the database.

GetMdbPostgresqlClusterDatabaseExtension

Name This property is required. string
The name of the PostgreSQL cluster.
Version This property is required. string
Version of the extension.
Name This property is required. string
The name of the PostgreSQL cluster.
Version This property is required. string
Version of the extension.
name This property is required. String
The name of the PostgreSQL cluster.
version This property is required. String
Version of the extension.
name This property is required. string
The name of the PostgreSQL cluster.
version This property is required. string
Version of the extension.
name This property is required. str
The name of the PostgreSQL cluster.
version This property is required. str
Version of the extension.
name This property is required. String
The name of the PostgreSQL cluster.
version This property is required. String
Version of the extension.

GetMdbPostgresqlClusterHost

AssignPublicIp This property is required. bool
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 This property is required. string
The fully qualified domain name of the host.
Priority This property is required. int
Host priority in HA group.
ReplicationSource This property is required. string
Host replication source (fqdn), case when replication_source is empty then host in HA group.
Role This property is required. string
Role of the host in the cluster.
SubnetId This property is required. 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 This property is required. string
The availability zone where the PostgreSQL host will be created.
AssignPublicIp This property is required. bool
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 This property is required. string
The fully qualified domain name of the host.
Priority This property is required. int
Host priority in HA group.
ReplicationSource This property is required. string
Host replication source (fqdn), case when replication_source is empty then host in HA group.
Role This property is required. string
Role of the host in the cluster.
SubnetId This property is required. 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 This property is required. string
The availability zone where the PostgreSQL host will be created.
assignPublicIp This property is required. Boolean
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 This property is required. String
The fully qualified domain name of the host.
priority This property is required. Integer
Host priority in HA group.
replicationSource This property is required. String
Host replication source (fqdn), case when replication_source is empty then host in HA group.
role This property is required. String
Role of the host in the cluster.
subnetId This property is required. 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 This property is required. String
The availability zone where the PostgreSQL host will be created.
assignPublicIp This property is required. boolean
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 This property is required. string
The fully qualified domain name of the host.
priority This property is required. number
Host priority in HA group.
replicationSource This property is required. string
Host replication source (fqdn), case when replication_source is empty then host in HA group.
role This property is required. string
Role of the host in the cluster.
subnetId This property is required. 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 This property is required. string
The availability zone where the PostgreSQL host will be created.
assign_public_ip This property is required. bool
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 This property is required. str
The fully qualified domain name of the host.
priority This property is required. int
Host priority in HA group.
replication_source This property is required. str
Host replication source (fqdn), case when replication_source is empty then host in HA group.
role This property is required. str
Role of the host in the cluster.
subnet_id This property is required. 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 This property is required. str
The availability zone where the PostgreSQL host will be created.
assignPublicIp This property is required. Boolean
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 This property is required. String
The fully qualified domain name of the host.
priority This property is required. Number
Host priority in HA group.
replicationSource This property is required. String
Host replication source (fqdn), case when replication_source is empty then host in HA group.
role This property is required. String
Role of the host in the cluster.
subnetId This property is required. 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 This property is required. String
The availability zone where the PostgreSQL host will be created.

GetMdbPostgresqlClusterMaintenanceWindow

Day This property is required. string
Day of the week (in DDD format). Value is one of: "MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"
Hour This property is required. int
Hour of the day in UTC (in HH format). Value is between 1 and 24.
Type This property is required. string
Type of maintenance window. Can be either ANYTIME or WEEKLY.
Day This property is required. string
Day of the week (in DDD format). Value is one of: "MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"
Hour This property is required. int
Hour of the day in UTC (in HH format). Value is between 1 and 24.
Type This property is required. string
Type of maintenance window. Can be either ANYTIME or WEEKLY.
day This property is required. String
Day of the week (in DDD format). Value is one of: "MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"
hour This property is required. Integer
Hour of the day in UTC (in HH format). Value is between 1 and 24.
type This property is required. String
Type of maintenance window. Can be either ANYTIME or WEEKLY.
day This property is required. string
Day of the week (in DDD format). Value is one of: "MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"
hour This property is required. number
Hour of the day in UTC (in HH format). Value is between 1 and 24.
type This property is required. string
Type of maintenance window. Can be either ANYTIME or WEEKLY.
day This property is required. str
Day of the week (in DDD format). Value is one of: "MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"
hour This property is required. int
Hour of the day in UTC (in HH format). Value is between 1 and 24.
type This property is required. str
Type of maintenance window. Can be either ANYTIME or WEEKLY.
day This property is required. String
Day of the week (in DDD format). Value is one of: "MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"
hour This property is required. Number
Hour of the day in UTC (in HH format). Value is between 1 and 24.
type This property is required. String
Type of maintenance window. Can be either ANYTIME or WEEKLY.

GetMdbPostgresqlClusterUser

Grants This property is required. List<string>
List of the user's grants.
Name This property is required. string
The name of the PostgreSQL cluster.
Password This property is required. string
The password of the user.
Permissions This property is required. List<GetMdbPostgresqlClusterUserPermission>
Set of permissions granted to the user. The structure is documented below.
Settings This property is required. Dictionary<string, string>
Map of user settings.
ConnLimit int
The maximum number of connections per user.
Login bool
User's ability to login.
Grants This property is required. []string
List of the user's grants.
Name This property is required. string
The name of the PostgreSQL cluster.
Password This property is required. string
The password of the user.
Permissions This property is required. []GetMdbPostgresqlClusterUserPermission
Set of permissions granted to the user. The structure is documented below.
Settings This property is required. map[string]string
Map of user settings.
ConnLimit int
The maximum number of connections per user.
Login bool
User's ability to login.
grants This property is required. List<String>
List of the user's grants.
name This property is required. String
The name of the PostgreSQL cluster.
password This property is required. String
The password of the user.
permissions This property is required. List<GetMdbPostgresqlClusterUserPermission>
Set of permissions granted to the user. The structure is documented below.
settings This property is required. Map<String,String>
Map of user settings.
connLimit Integer
The maximum number of connections per user.
login Boolean
User's ability to login.
grants This property is required. string[]
List of the user's grants.
name This property is required. string
The name of the PostgreSQL cluster.
password This property is required. string
The password of the user.
permissions This property is required. GetMdbPostgresqlClusterUserPermission[]
Set of permissions granted to the user. The structure is documented below.
settings This property is required. {[key: string]: string}
Map of user settings.
connLimit number
The maximum number of connections per user.
login boolean
User's ability to login.
grants This property is required. Sequence[str]
List of the user's grants.
name This property is required. str
The name of the PostgreSQL cluster.
password This property is required. str
The password of the user.
permissions This property is required. Sequence[GetMdbPostgresqlClusterUserPermission]
Set of permissions granted to the user. The structure is documented below.
settings This property is required. 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 This property is required. List<String>
List of the user's grants.
name This property is required. String
The name of the PostgreSQL cluster.
password This property is required. String
The password of the user.
permissions This property is required. List<Property Map>
Set of permissions granted to the user. The structure is documented below.
settings This property is required. Map<String>
Map of user settings.
connLimit Number
The maximum number of connections per user.
login Boolean
User's ability to login.

GetMdbPostgresqlClusterUserPermission

DatabaseName This property is required. string
The name of the database that the permission grants access to.
DatabaseName This property is required. string
The name of the database that the permission grants access to.
databaseName This property is required. String
The name of the database that the permission grants access to.
databaseName This property is required. string
The name of the database that the permission grants access to.
database_name This property is required. str
The name of the database that the permission grants access to.
databaseName This property is required. 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 yandex Terraform Provider.