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; }
}
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 * 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)
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 dictionary
The following arguments are supported:
- Cluster
Id string - The ID of the PostgreSQL cluster.
- Deletion
Protection bool - Description string
- Description of the PostgreSQL cluster.
- Folder
Id 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 string - The ID of the PostgreSQL cluster.
- Deletion
Protection bool - Description string
- Description of the PostgreSQL cluster.
- Folder
Id 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 String - The ID of the PostgreSQL cluster.
- deletion
Protection Boolean - description String
- Description of the PostgreSQL cluster.
- folder
Id 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 string - The ID of the PostgreSQL cluster.
- deletion
Protection boolean - description string
- Description of the PostgreSQL cluster.
- folder
Id 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.
- cluster
Id String - The ID of the PostgreSQL cluster.
- deletion
Protection Boolean - description String
- Description of the PostgreSQL cluster.
- folder
Id 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:
- Cluster
Id string - Configs
List<Get
Mdb Postgresql Cluster Config> - Configuration of the PostgreSQL cluster. The structure is documented below.
- Created
At string - Timestamp of cluster creation.
- Databases
List<Get
Mdb Postgresql Cluster Database> - A database of the PostgreSQL cluster. The structure is documented below.
- Deletion
Protection bool - Environment string
- Deployment environment of the PostgreSQL cluster.
- Folder
Id string - Health string
- Aggregated health of the cluster.
- Hosts
List<Get
Mdb 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.
- Maintenance
Windows 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.
- Network
Id string - ID of the network, to which the PostgreSQL cluster belongs.
- Security
Group List<string>Ids - A set of ids of security groups assigned to hosts of the cluster.
- Status string
- Status of the cluster.
- Users
List<Get
Mdb Postgresql Cluster User> - A user of the PostgreSQL cluster. The structure is documented below.
- Description string
- Description of the PostgreSQL cluster.
- Cluster
Id string - Configs
[]Get
Mdb Postgresql Cluster Config - Configuration of the PostgreSQL cluster. The structure is documented below.
- Created
At string - Timestamp of cluster creation.
- Databases
[]Get
Mdb Postgresql Cluster Database - A database of the PostgreSQL cluster. The structure is documented below.
- Deletion
Protection bool - Environment string
- Deployment environment of the PostgreSQL cluster.
- Folder
Id string - Health string
- Aggregated health of the cluster.
- Hosts
[]Get
Mdb 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.
- Maintenance
Windows []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.
- Network
Id string - ID of the network, to which the PostgreSQL cluster belongs.
- Security
Group []stringIds - A set of ids of security groups assigned to hosts of the cluster.
- Status string
- Status of the cluster.
- Users
[]Get
Mdb Postgresql Cluster User - A user of the PostgreSQL cluster. The structure is documented below.
- Description string
- Description of the PostgreSQL cluster.
- cluster
Id String - configs
List<Get
Mdb Postgresql Cluster Config> - Configuration of the PostgreSQL cluster. The structure is documented below.
- created
At String - Timestamp of cluster creation.
- databases
List<Get
Mdb Postgresql Cluster Database> - A database of the PostgreSQL cluster. The structure is documented below.
- deletion
Protection Boolean - environment String
- Deployment environment of the PostgreSQL cluster.
- folder
Id String - health String
- Aggregated health of the cluster.
- hosts
List<Get
Mdb 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.
- maintenance
Windows 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.
- network
Id String - ID of the network, to which the PostgreSQL cluster belongs.
- security
Group List<String>Ids - A set of ids of security groups assigned to hosts of the cluster.
- status String
- Status of the cluster.
- users
List<Get
Mdb Postgresql Cluster User> - A user of the PostgreSQL cluster. The structure is documented below.
- description String
- Description of the PostgreSQL cluster.
- cluster
Id string - configs
Get
Mdb Postgresql Cluster Config[] - Configuration of the PostgreSQL cluster. The structure is documented below.
- created
At string - Timestamp of cluster creation.
- databases
Get
Mdb Postgresql Cluster Database[] - A database of the PostgreSQL cluster. The structure is documented below.
- deletion
Protection boolean - environment string
- Deployment environment of the PostgreSQL cluster.
- folder
Id string - health string
- Aggregated health of the cluster.
- hosts
Get
Mdb 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.
- maintenance
Windows 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.
- network
Id string - ID of the network, to which the PostgreSQL cluster belongs.
- security
Group string[]Ids - A set of ids of security groups assigned to hosts of the cluster.
- status string
- Status of the cluster.
- users
Get
Mdb 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[Get
Mdb Postgresql Cluster Config] - Configuration of the PostgreSQL cluster. The structure is documented below.
- created_
at str - Timestamp of cluster creation.
- databases
Sequence[Get
Mdb 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[Get
Mdb 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[Get
Mdb Postgresql Cluster User] - A user of the PostgreSQL cluster. The structure is documented below.
- description str
- Description of the PostgreSQL cluster.
- cluster
Id String - configs List<Property Map>
- Configuration of the PostgreSQL cluster. The structure is documented below.
- created
At String - Timestamp of cluster creation.
- databases List<Property Map>
- A database of the PostgreSQL cluster. The structure is documented below.
- deletion
Protection Boolean - environment String
- Deployment environment of the PostgreSQL cluster.
- folder
Id 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.
- maintenance
Windows 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.
- network
Id String - ID of the network, to which the PostgreSQL cluster belongs.
- security
Group 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
This property is required. List<GetMdb Postgresql Cluster Config Access> - 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. List<GetMdb Postgresql Cluster Config Backup Window Start> - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- Performance
Diagnostics This property is required. List<GetMdb Postgresql Cluster Config Performance Diagnostic> - Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- Pooler
Configs This property is required. List<GetMdb Postgresql Cluster Config Pooler Config> - Configuration of the connection pooler. The structure is documented below.
- Postgresql
Config This property is required. Dictionary<string, string> - PostgreSQL cluster config.
- Resources
This property is required. List<GetMdb Postgresql Cluster Config Resource> - 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. []GetMdb Postgresql Cluster Config Access - 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. []GetMdb Postgresql Cluster Config Backup Window Start - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- Performance
Diagnostics This property is required. []GetMdb Postgresql Cluster Config Performance Diagnostic - Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- Pooler
Configs This property is required. []GetMdb Postgresql Cluster Config Pooler Config - Configuration of the connection pooler. The structure is documented below.
- Postgresql
Config This property is required. map[string]string - PostgreSQL cluster config.
- Resources
This property is required. []GetMdb Postgresql Cluster Config Resource - 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<GetMdb Postgresql Cluster Config Access> - 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.
- backup
Retain Period Days This property is required. Integer - The period in days during which backups are stored.
- backup
Window Starts This property is required. List<GetMdb Postgresql Cluster Config Backup Window Start> - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- performance
Diagnostics This property is required. List<GetMdb Postgresql Cluster Config Performance Diagnostic> - Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- pooler
Configs This property is required. List<GetMdb Postgresql Cluster Config Pooler Config> - Configuration of the connection pooler. The structure is documented below.
- postgresql
Config This property is required. Map<String,String> - PostgreSQL cluster config.
- resources
This property is required. List<GetMdb Postgresql Cluster Config Resource> - 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. GetMdb Postgresql Cluster Config Access[] - 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.
- backup
Retain Period Days This property is required. number - The period in days during which backups are stored.
- backup
Window Starts This property is required. GetMdb Postgresql Cluster Config Backup Window Start[] - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- performance
Diagnostics This property is required. GetMdb Postgresql Cluster Config Performance Diagnostic[] - Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- pooler
Configs This property is required. GetMdb Postgresql Cluster Config Pooler Config[] - Configuration of the connection pooler. The structure is documented below.
- postgresql
Config This property is required. {[key: string]: string} - PostgreSQL cluster config.
- resources
This property is required. GetMdb Postgresql Cluster Config Resource[] - 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[GetMdb Postgresql Cluster Config Access] - 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[GetMdb Postgresql Cluster Config Backup Window Start] - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- performance_
diagnostics This property is required. Sequence[GetMdb Postgresql Cluster Config Performance Diagnostic] - Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- pooler_
configs This property is required. Sequence[GetMdb Postgresql Cluster Config Pooler Config] - 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[GetMdb Postgresql Cluster Config Resource] - 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.
- backup
Retain Period Days This property is required. Number - The period in days during which backups are stored.
- backup
Window Starts This property is required. List<Property Map> - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- performance
Diagnostics This property is required. List<Property Map> - Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- pooler
Configs This property is required. List<Property Map> - Configuration of the connection pooler. The structure is documented below.
- postgresql
Config 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
- 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
- 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
- data
Lens This property is required. Boolean - Allow access for Yandex DataLens.
- web
Sql This property is required. Boolean - Allows access for SQL queries in the management console
- data
Lens This property is required. boolean - Allow access for Yandex DataLens.
- web
Sql 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
- data
Lens This property is required. Boolean - Allow access for Yandex DataLens.
- web
Sql This property is required. Boolean - Allows access for SQL queries in the management console
GetMdbPostgresqlClusterConfigBackupWindowStart
GetMdbPostgresqlClusterConfigPerformanceDiagnostic
- 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. 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
- sessions
Sampling Interval This property is required. Integer - Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
- statements
Sampling Interval 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
- sessions
Sampling Interval This property is required. number - Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
- statements
Sampling Interval 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
- sessions
Sampling Interval This property is required. Number - Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
- statements
Sampling Interval This property is required. Number - Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
GetMdbPostgresqlClusterConfigPoolerConfig
- Pool
Discard This property is required. bool - Value for
pool_discard
parameter in Odyssey. - Pooling
Mode 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. 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. Boolean - Value for
pool_discard
parameter in Odyssey. - pooling
Mode 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. boolean - Value for
pool_discard
parameter in Odyssey. - pooling
Mode 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.
- pool
Discard This property is required. Boolean - Value for
pool_discard
parameter in Odyssey. - pooling
Mode 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
- 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. string - Type of the storage for PostgreSQL hosts.
- Resource
Preset Id 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. string - Type of the storage for PostgreSQL hosts.
- Resource
Preset Id This property is required. string
- disk
Size This property is required. Integer - Volume of the storage available to a PostgreSQL host, in gigabytes.
- disk
Type Id This property is required. String - Type of the storage for PostgreSQL hosts.
- resource
Preset Id This property is required. String
- disk
Size This property is required. number - Volume of the storage available to a PostgreSQL host, in gigabytes.
- disk
Type Id This property is required. string - Type of the storage for PostgreSQL hosts.
- resource
Preset Id 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
- disk
Size This property is required. Number - Volume of the storage available to a PostgreSQL host, in gigabytes.
- disk
Type Id This property is required. String - Type of the storage for PostgreSQL hosts.
- resource
Preset Id This property is required. String
GetMdbPostgresqlClusterDatabase
- Extensions
This property is required. List<GetMdb Postgresql Cluster Database Extension> - Set of database extensions. The structure is documented below
- Lc
Collate This property is required. string - POSIX locale for string sorting order. Forbidden to change in an existing database.
- Lc
Type 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. []GetMdb Postgresql Cluster Database Extension - Set of database extensions. The structure is documented below
- Lc
Collate This property is required. string - POSIX locale for string sorting order. Forbidden to change in an existing database.
- Lc
Type 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<GetMdb Postgresql Cluster Database Extension> - Set of database extensions. The structure is documented below
- lc
Collate This property is required. String - POSIX locale for string sorting order. Forbidden to change in an existing database.
- lc
Type 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. GetMdb Postgresql Cluster Database Extension[] - Set of database extensions. The structure is documented below
- lc
Collate This property is required. string - POSIX locale for string sorting order. Forbidden to change in an existing database.
- lc
Type 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[GetMdb Postgresql Cluster Database Extension] - 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
- lc
Collate This property is required. String - POSIX locale for string sorting order. Forbidden to change in an existing database.
- lc
Type 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
GetMdbPostgresqlClusterHost
- 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. string - 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. 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.
- Subnet
Id 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. string - 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. 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.
- Subnet
Id 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. 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.
- replication
Source 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.
- subnet
Id 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. 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.
- replication
Source 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.
- subnet
Id 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.
- assign
Public Ip 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.
- replication
Source 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.
- subnet
Id 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
orWEEKLY
.
- 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
orWEEKLY
.
- 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
orWEEKLY
.
- 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
orWEEKLY
.
- 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
orWEEKLY
.
- 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
orWEEKLY
.
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<GetMdb Postgresql Cluster User Permission> - Set of permissions granted to the user. The structure is documented below.
- Settings
This property is required. Dictionary<string, string> - 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. []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. []GetMdb Postgresql Cluster User Permission - Set of permissions granted to the user. The structure is documented below.
- Settings
This property is required. map[string]string - 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<GetMdb Postgresql Cluster User Permission> - Set of permissions granted to the user. The structure is documented below.
- settings
This property is required. Map<String,String> - Map of user settings.
- conn
Limit 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. GetMdb Postgresql Cluster User Permission[] - Set of permissions granted to the user. The structure is documented below.
- settings
This property is required. {[key: string]: string} - Map of user settings.
- conn
Limit 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[GetMdb Postgresql Cluster User Permission] - 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.
- conn
Limit Number - The maximum number of connections per user.
- login Boolean
- User's ability to login.
GetMdbPostgresqlClusterUserPermission
- Database
Name This property is required. string - The name of the database that the permission grants access to.
- Database
Name This property is required. string - The name of the database that the permission grants access to.
- database
Name This property is required. String - The name of the database that the permission grants access to.
- database
Name 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.
- database
Name 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.