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

yandex logo
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

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

    Coming soon!

    import pulumi
    import pulumi_yandex as yandex
    
    foo = yandex.get_mdb_postgresql_cluster(name="test")
    pulumi.export("fqdn", foo.hosts[0].fqdn)
    
    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;
    

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: yandex:index/getMdbPostgresqlCluster:getMdbPostgresqlCluster
      arguments:
        # arguments dictionary

    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 List<GetMdbPostgresqlClusterConfigAccess>
    Access policy to the PostgreSQL cluster. The structure is documented below.
    Autofailover bool
    Configuration setting which enables/disables autofailover in cluster.
    BackupRetainPeriodDays int
    The period in days during which backups are stored.
    BackupWindowStarts List<GetMdbPostgresqlClusterConfigBackupWindowStart>
    Time to start the daily backup, in the UTC timezone. The structure is documented below.
    PerformanceDiagnostics List<GetMdbPostgresqlClusterConfigPerformanceDiagnostic>
    Cluster performance diagnostics settings. The structure is documented below. YC Documentation
    PoolerConfigs List<GetMdbPostgresqlClusterConfigPoolerConfig>
    Configuration of the connection pooler. The structure is documented below.
    PostgresqlConfig Dictionary<string, string>
    PostgreSQL cluster config.
    Resources List<GetMdbPostgresqlClusterConfigResource>
    Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
    Version string
    Version of the extension.
    Accesses []GetMdbPostgresqlClusterConfigAccess
    Access policy to the PostgreSQL cluster. The structure is documented below.
    Autofailover bool
    Configuration setting which enables/disables autofailover in cluster.
    BackupRetainPeriodDays int
    The period in days during which backups are stored.
    BackupWindowStarts []GetMdbPostgresqlClusterConfigBackupWindowStart
    Time to start the daily backup, in the UTC timezone. The structure is documented below.
    PerformanceDiagnostics []GetMdbPostgresqlClusterConfigPerformanceDiagnostic
    Cluster performance diagnostics settings. The structure is documented below. YC Documentation
    PoolerConfigs []GetMdbPostgresqlClusterConfigPoolerConfig
    Configuration of the connection pooler. The structure is documented below.
    PostgresqlConfig map[string]string
    PostgreSQL cluster config.
    Resources []GetMdbPostgresqlClusterConfigResource
    Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
    Version string
    Version of the extension.
    accesses List<GetMdbPostgresqlClusterConfigAccess>
    Access policy to the PostgreSQL cluster. The structure is documented below.
    autofailover Boolean
    Configuration setting which enables/disables autofailover in cluster.
    backupRetainPeriodDays Integer
    The period in days during which backups are stored.
    backupWindowStarts List<GetMdbPostgresqlClusterConfigBackupWindowStart>
    Time to start the daily backup, in the UTC timezone. The structure is documented below.
    performanceDiagnostics List<GetMdbPostgresqlClusterConfigPerformanceDiagnostic>
    Cluster performance diagnostics settings. The structure is documented below. YC Documentation
    poolerConfigs List<GetMdbPostgresqlClusterConfigPoolerConfig>
    Configuration of the connection pooler. The structure is documented below.
    postgresqlConfig Map<String,String>
    PostgreSQL cluster config.
    resources List<GetMdbPostgresqlClusterConfigResource>
    Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
    version String
    Version of the extension.
    accesses GetMdbPostgresqlClusterConfigAccess[]
    Access policy to the PostgreSQL cluster. The structure is documented below.
    autofailover boolean
    Configuration setting which enables/disables autofailover in cluster.
    backupRetainPeriodDays number
    The period in days during which backups are stored.
    backupWindowStarts GetMdbPostgresqlClusterConfigBackupWindowStart[]
    Time to start the daily backup, in the UTC timezone. The structure is documented below.
    performanceDiagnostics GetMdbPostgresqlClusterConfigPerformanceDiagnostic[]
    Cluster performance diagnostics settings. The structure is documented below. YC Documentation
    poolerConfigs GetMdbPostgresqlClusterConfigPoolerConfig[]
    Configuration of the connection pooler. The structure is documented below.
    postgresqlConfig {[key: string]: string}
    PostgreSQL cluster config.
    resources GetMdbPostgresqlClusterConfigResource[]
    Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
    version string
    Version of the extension.
    accesses Sequence[GetMdbPostgresqlClusterConfigAccess]
    Access policy to the PostgreSQL cluster. The structure is documented below.
    autofailover bool
    Configuration setting which enables/disables autofailover in cluster.
    backup_retain_period_days int
    The period in days during which backups are stored.
    backup_window_starts Sequence[GetMdbPostgresqlClusterConfigBackupWindowStart]
    Time to start the daily backup, in the UTC timezone. The structure is documented below.
    performance_diagnostics Sequence[GetMdbPostgresqlClusterConfigPerformanceDiagnostic]
    Cluster performance diagnostics settings. The structure is documented below. YC Documentation
    pooler_configs Sequence[GetMdbPostgresqlClusterConfigPoolerConfig]
    Configuration of the connection pooler. The structure is documented below.
    postgresql_config Mapping[str, str]
    PostgreSQL cluster config.
    resources Sequence[GetMdbPostgresqlClusterConfigResource]
    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.
    backupRetainPeriodDays Number
    The period in days during which backups are stored.
    backupWindowStarts List<Property Map>
    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

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

    GetMdbPostgresqlClusterConfigPerformanceDiagnostic

    Enabled bool
    Flag, when true, performance diagnostics is enabled
    SessionsSamplingInterval int
    Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
    StatementsSamplingInterval int
    Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
    Enabled bool
    Flag, when true, performance diagnostics is enabled
    SessionsSamplingInterval int
    Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
    StatementsSamplingInterval int
    Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
    enabled Boolean
    Flag, when true, performance diagnostics is enabled
    sessionsSamplingInterval Integer
    Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
    statementsSamplingInterval Integer
    Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
    enabled boolean
    Flag, when true, performance diagnostics is enabled
    sessionsSamplingInterval number
    Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
    statementsSamplingInterval number
    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_interval int
    Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
    statements_sampling_interval int
    Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
    enabled Boolean
    Flag, when true, performance diagnostics is enabled
    sessionsSamplingInterval Number
    Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
    statementsSamplingInterval Number
    Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.

    GetMdbPostgresqlClusterConfigPoolerConfig

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

    GetMdbPostgresqlClusterDatabase

    Extensions List<GetMdbPostgresqlClusterDatabaseExtension>
    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 []GetMdbPostgresqlClusterDatabaseExtension
    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<GetMdbPostgresqlClusterDatabaseExtension>
    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 GetMdbPostgresqlClusterDatabaseExtension[]
    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[GetMdbPostgresqlClusterDatabaseExtension]
    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

    Name string
    The name of the PostgreSQL cluster.
    Version string
    Version of the extension.
    Name string
    The name of the PostgreSQL cluster.
    Version string
    Version of the extension.
    name String
    The name of the PostgreSQL cluster.
    version String
    Version of the extension.
    name string
    The name of the PostgreSQL cluster.
    version string
    Version of the extension.
    name str
    The name of the PostgreSQL cluster.
    version str
    Version of the extension.
    name String
    The name of the PostgreSQL cluster.
    version String
    Version of the extension.

    GetMdbPostgresqlClusterHost

    AssignPublicIp 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 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.
    AssignPublicIp 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 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.
    assignPublicIp 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 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.
    assignPublicIp 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 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_ip 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 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.
    assignPublicIp 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 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

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

    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<GetMdbPostgresqlClusterUserPermission>
    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 []GetMdbPostgresqlClusterUserPermission
    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<GetMdbPostgresqlClusterUserPermission>
    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 GetMdbPostgresqlClusterUserPermission[]
    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[GetMdbPostgresqlClusterUserPermission]
    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 yandex Terraform Provider.
    yandex logo
    Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi