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 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:
- 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
List<Get
Mdb Postgresql Cluster Config Access> - Access policy to the PostgreSQL cluster. The structure is documented below.
- Autofailover bool
- Configuration setting which enables/disables autofailover in cluster.
- Backup
Retain intPeriod Days - The period in days during which backups are stored.
- Backup
Window List<GetStarts Mdb Postgresql Cluster Config Backup Window Start> - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- Performance
Diagnostics List<GetMdb Postgresql Cluster Config Performance Diagnostic> - Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- Pooler
Configs List<GetMdb Postgresql Cluster Config Pooler Config> - Configuration of the connection pooler. The structure is documented below.
- Postgresql
Config Dictionary<string, string> - PostgreSQL cluster config.
- Resources
List<Get
Mdb Postgresql Cluster Config Resource> - Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
- Version string
- Version of the extension.
- Accesses
[]Get
Mdb Postgresql Cluster Config Access - Access policy to the PostgreSQL cluster. The structure is documented below.
- Autofailover bool
- Configuration setting which enables/disables autofailover in cluster.
- Backup
Retain intPeriod Days - The period in days during which backups are stored.
- Backup
Window []GetStarts Mdb Postgresql Cluster Config Backup Window Start - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- Performance
Diagnostics []GetMdb Postgresql Cluster Config Performance Diagnostic - Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- Pooler
Configs []GetMdb Postgresql Cluster Config Pooler Config - Configuration of the connection pooler. The structure is documented below.
- Postgresql
Config map[string]string - PostgreSQL cluster config.
- Resources
[]Get
Mdb Postgresql Cluster Config Resource - Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
- Version string
- Version of the extension.
- accesses
List<Get
Mdb Postgresql Cluster Config Access> - Access policy to the PostgreSQL cluster. The structure is documented below.
- autofailover Boolean
- Configuration setting which enables/disables autofailover in cluster.
- backup
Retain IntegerPeriod Days - The period in days during which backups are stored.
- backup
Window List<GetStarts Mdb Postgresql Cluster Config Backup Window Start> - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- performance
Diagnostics List<GetMdb Postgresql Cluster Config Performance Diagnostic> - Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- pooler
Configs List<GetMdb Postgresql Cluster Config Pooler Config> - Configuration of the connection pooler. The structure is documented below.
- postgresql
Config Map<String,String> - PostgreSQL cluster config.
- resources
List<Get
Mdb Postgresql Cluster Config Resource> - Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
- version String
- Version of the extension.
- accesses
Get
Mdb Postgresql Cluster Config Access[] - Access policy to the PostgreSQL cluster. The structure is documented below.
- autofailover boolean
- Configuration setting which enables/disables autofailover in cluster.
- backup
Retain numberPeriod Days - The period in days during which backups are stored.
- backup
Window GetStarts Mdb Postgresql Cluster Config Backup Window Start[] - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- performance
Diagnostics GetMdb Postgresql Cluster Config Performance Diagnostic[] - Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- pooler
Configs GetMdb Postgresql Cluster Config Pooler Config[] - Configuration of the connection pooler. The structure is documented below.
- postgresql
Config {[key: string]: string} - PostgreSQL cluster config.
- resources
Get
Mdb Postgresql Cluster Config Resource[] - Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
- version string
- Version of the extension.
- accesses
Sequence[Get
Mdb Postgresql Cluster Config Access] - Access policy to the PostgreSQL cluster. The structure is documented below.
- autofailover bool
- Configuration setting which enables/disables autofailover in cluster.
- backup_
retain_ intperiod_ days - The period in days during which backups are stored.
- backup_
window_ Sequence[Getstarts Mdb Postgresql Cluster Config Backup Window Start] - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- performance_
diagnostics Sequence[GetMdb Postgresql Cluster Config Performance Diagnostic] - Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- pooler_
configs Sequence[GetMdb Postgresql Cluster Config Pooler Config] - Configuration of the connection pooler. The structure is documented below.
- postgresql_
config Mapping[str, str] - PostgreSQL cluster config.
- resources
Sequence[Get
Mdb Postgresql Cluster Config Resource] - Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
- version str
- Version of the extension.
- accesses List<Property Map>
- Access policy to the PostgreSQL cluster. The structure is documented below.
- autofailover Boolean
- Configuration setting which enables/disables autofailover in cluster.
- backup
Retain NumberPeriod Days - The period in days during which backups are stored.
- backup
Window List<Property Map>Starts - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- performance
Diagnostics List<Property Map> - Cluster performance diagnostics settings. The structure is documented below. YC Documentation
- pooler
Configs List<Property Map> - Configuration of the connection pooler. The structure is documented below.
- postgresql
Config 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
- Data
Lens bool - Allow access for Yandex DataLens.
- Web
Sql bool - 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
- data
Lens Boolean - Allow access for Yandex DataLens.
- web
Sql Boolean - Allows access for SQL queries in the management console
- data
Lens boolean - Allow access for Yandex DataLens.
- web
Sql 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
- data
Lens Boolean - Allow access for Yandex DataLens.
- web
Sql Boolean - Allows access for SQL queries in the management console
GetMdbPostgresqlClusterConfigBackupWindowStart
GetMdbPostgresqlClusterConfigPerformanceDiagnostic
- Enabled bool
- Flag, when true, performance diagnostics is enabled
- Sessions
Sampling intInterval - Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
- Statements
Sampling intInterval - Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
- Enabled bool
- Flag, when true, performance diagnostics is enabled
- Sessions
Sampling intInterval - Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
- Statements
Sampling intInterval - Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
- enabled Boolean
- Flag, when true, performance diagnostics is enabled
- sessions
Sampling IntegerInterval - Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
- statements
Sampling IntegerInterval - Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
- enabled boolean
- Flag, when true, performance diagnostics is enabled
- sessions
Sampling numberInterval - Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
- statements
Sampling numberInterval - Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
- enabled bool
- Flag, when true, performance diagnostics is enabled
- sessions_
sampling_ intinterval - Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
- statements_
sampling_ intinterval - Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
- enabled Boolean
- Flag, when true, performance diagnostics is enabled
- sessions
Sampling NumberInterval - Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
- statements
Sampling NumberInterval - Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
GetMdbPostgresqlClusterConfigPoolerConfig
- Pool
Discard bool - Value for
pool_discard
parameter in Odyssey. - Pooling
Mode 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 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 Boolean - Value for
pool_discard
parameter in Odyssey. - pooling
Mode 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 boolean - Value for
pool_discard
parameter in Odyssey. - pooling
Mode 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.
- pool
Discard Boolean - Value for
pool_discard
parameter in Odyssey. - pooling
Mode 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 int - Volume of the storage available to a PostgreSQL host, in gigabytes.
- Disk
Type stringId - Type of the storage for PostgreSQL hosts.
- Resource
Preset stringId
- Disk
Size int - Volume of the storage available to a PostgreSQL host, in gigabytes.
- Disk
Type stringId - Type of the storage for PostgreSQL hosts.
- Resource
Preset stringId
- disk
Size Integer - Volume of the storage available to a PostgreSQL host, in gigabytes.
- disk
Type StringId - Type of the storage for PostgreSQL hosts.
- resource
Preset StringId
- disk
Size number - Volume of the storage available to a PostgreSQL host, in gigabytes.
- disk
Type stringId - Type of the storage for PostgreSQL hosts.
- resource
Preset stringId
- disk_
size int - Volume of the storage available to a PostgreSQL host, in gigabytes.
- disk_
type_ strid - Type of the storage for PostgreSQL hosts.
- resource_
preset_ strid
- disk
Size Number - Volume of the storage available to a PostgreSQL host, in gigabytes.
- disk
Type StringId - Type of the storage for PostgreSQL hosts.
- resource
Preset StringId
GetMdbPostgresqlClusterDatabase
- Extensions
List<Get
Mdb Postgresql Cluster Database Extension> - Set of database extensions. The structure is documented below
- Lc
Collate string - POSIX locale for string sorting order. Forbidden to change in an existing database.
- Lc
Type 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
[]Get
Mdb Postgresql Cluster Database Extension - Set of database extensions. The structure is documented below
- Lc
Collate string - POSIX locale for string sorting order. Forbidden to change in an existing database.
- Lc
Type 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<Get
Mdb Postgresql Cluster Database Extension> - Set of database extensions. The structure is documented below
- lc
Collate String - POSIX locale for string sorting order. Forbidden to change in an existing database.
- lc
Type 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
Get
Mdb Postgresql Cluster Database Extension[] - Set of database extensions. The structure is documented below
- lc
Collate string - POSIX locale for string sorting order. Forbidden to change in an existing database.
- lc
Type 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[Get
Mdb Postgresql Cluster Database Extension] - Set of database extensions. The structure is documented below
- lc_
collate str - POSIX locale for string sorting order. Forbidden to change in an existing database.
- lc_
type str - POSIX locale for character classification. Forbidden to change in an existing database.
- name str
- The name of the PostgreSQL cluster.
- owner str
- Name of the user assigned as the owner of the database.
- extensions List<Property Map>
- Set of database extensions. The structure is documented below
- lc
Collate String - POSIX locale for string sorting order. Forbidden to change in an existing database.
- lc
Type String - POSIX locale for character classification. Forbidden to change in an existing database.
- name String
- The name of the PostgreSQL cluster.
- owner String
- Name of the user assigned as the owner of the database.
GetMdbPostgresqlClusterDatabaseExtension
GetMdbPostgresqlClusterHost
- Assign
Public boolIp - Sets whether the host should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- Fqdn string
- The fully qualified domain name of the host.
- Priority int
- Host priority in HA group.
- Replication
Source 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.
- Subnet
Id string - The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
- Zone string
- The availability zone where the PostgreSQL host will be created.
- Assign
Public boolIp - Sets whether the host should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- Fqdn string
- The fully qualified domain name of the host.
- Priority int
- Host priority in HA group.
- Replication
Source 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.
- Subnet
Id 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 BooleanIp - Sets whether the host should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- fqdn String
- The fully qualified domain name of the host.
- priority Integer
- Host priority in HA group.
- replication
Source 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.
- subnet
Id 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 booleanIp - Sets whether the host should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- fqdn string
- The fully qualified domain name of the host.
- priority number
- Host priority in HA group.
- replication
Source 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.
- subnet
Id string - The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
- zone string
- The availability zone where the PostgreSQL host will be created.
- assign_
public_ boolip - Sets whether the host should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- fqdn str
- The fully qualified domain name of the host.
- priority int
- Host priority in HA group.
- replication_
source str - Host replication source (fqdn), case when replication_source is empty then host in HA group.
- role str
- Role of the host in the cluster.
- subnet_
id str - The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
- zone str
- The availability zone where the PostgreSQL host will be created.
- assign
Public BooleanIp - Sets whether the host should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- fqdn String
- The fully qualified domain name of the host.
- priority Number
- Host priority in HA group.
- replication
Source 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.
- subnet
Id String - The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
- zone String
- The availability zone where the PostgreSQL host will be created.
GetMdbPostgresqlClusterMaintenanceWindow
GetMdbPostgresqlClusterUser
- Grants List<string>
- List of the user's grants.
- Name string
- The name of the PostgreSQL cluster.
- Password string
- The password of the user.
- Permissions
List<Get
Mdb Postgresql Cluster User Permission> - Set of permissions granted to the user. The structure is documented below.
- Settings 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 []string
- List of the user's grants.
- Name string
- The name of the PostgreSQL cluster.
- Password string
- The password of the user.
- Permissions
[]Get
Mdb Postgresql Cluster User Permission - Set of permissions granted to the user. The structure is documented below.
- Settings 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 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<Get
Mdb Postgresql Cluster User Permission> - Set of permissions granted to the user. The structure is documented below.
- settings 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 string[]
- List of the user's grants.
- name string
- The name of the PostgreSQL cluster.
- password string
- The password of the user.
- permissions
Get
Mdb Postgresql Cluster User Permission[] - Set of permissions granted to the user. The structure is documented below.
- settings {[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 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[Get
Mdb Postgresql Cluster User Permission] - Set of permissions granted to the user. The structure is documented below.
- settings Mapping[str, str]
- Map of user settings.
- conn_
limit int - The maximum number of connections per user.
- login bool
- User's ability to login.
- grants List<String>
- List of the user's grants.
- name String
- The name of the PostgreSQL cluster.
- password String
- The password of the user.
- permissions List<Property Map>
- Set of permissions granted to the user. The structure is documented below.
- settings Map<String>
- Map of user settings.
- conn
Limit Number - The maximum number of connections per user.
- login Boolean
- User's ability to login.
GetMdbPostgresqlClusterUserPermission
- Database
Name string - The name of the database that the permission grants access to.
- Database
Name string - The name of the database that the permission grants access to.
- database
Name String - The name of the database that the permission grants access to.
- database
Name 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.
- database
Name 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.