Aiven
getPg
The PG data source provides information about the existing Aiven PostgreSQL service.
Example Usage
using Pulumi;
using Aiven = Pulumi.Aiven;
class MyStack : Stack
{
public MyStack()
{
var pg = Output.Create(Aiven.GetPg.InvokeAsync(new Aiven.GetPgArgs
{
Project = data.Aiven_project.Pr1.Project,
ServiceName = "my-pg1",
}));
}
}
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v4/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.LookupPg(ctx, &GetPgArgs{
Project: data.Aiven_project.Pr1.Project,
ServiceName: "my-pg1",
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aiven as aiven
pg = aiven.get_pg(project=data["aiven_project"]["pr1"]["project"],
service_name="my-pg1")
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const pg = aiven.getPg({
project: data.aiven_project.pr1.project,
serviceName: "my-pg1",
});
Coming soon!
Using getPg
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 getPg(args: GetPgArgs, opts?: InvokeOptions): Promise<GetPgResult>
function getPgOutput(args: GetPgOutputArgs, opts?: InvokeOptions): Output<GetPgResult>
def get_pg(project: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPgResult
def get_pg_output(project: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPgResult]
func LookupPg(ctx *Context, args *LookupPgArgs, opts ...InvokeOption) (*LookupPgResult, error)
func LookupPgOutput(ctx *Context, args *LookupPgOutputArgs, opts ...InvokeOption) LookupPgResultOutput
> Note: This function is named LookupPg
in the Go SDK.
public static class GetPg
{
public static Task<GetPgResult> InvokeAsync(GetPgArgs args, InvokeOptions? opts = null)
public static Output<GetPgResult> Invoke(GetPgInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPgResult> getPg(GetPgArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: aiven:index/getPg:getPg
Arguments:
# Arguments dictionary
The following arguments are supported:
- Project string
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Service
Name string Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Project string
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Service
Name string Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- project String
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service
Name String Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- project string
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service
Name string Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- project str
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service_
name str Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- project String
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service
Name String Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
getPg Result
The following output properties are available:
- Cloud
Name string Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.- Components
List<Get
Pg Component> Service component information objects
- Disk
Space string The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
- Disk
Space stringCap The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- Disk
Space stringStep The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size.- Disk
Space stringUsed Disk space that service is currently using
- Id string
The provider-assigned unique ID for this managed resource.
- Maintenance
Window stringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Pg
User List<GetConfigs Pg Pg User Config> Pg user configurable settings
- Pgs
List<Get
Pg Pg> PostgreSQL specific server provided values
- Plan string
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.- Project string
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Project
Vpc stringId Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Host string The hostname of the service.
- Service
Integrations List<GetPg Service Integration> Service integrations to specify when creating a service. Not applied after initial service creation
- Service
Name string Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Service
Password string Password used for connecting to the service, if applicable
- Service
Port int The port of the service
- Service
Type string Aiven internal service type code
- Service
Uri string URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string Username used for connecting to the service, if applicable
- State string
Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- Static
Ips List<string> Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- Termination
Protection bool Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- Cloud
Name string Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.- Components
[]Get
Pg Component Service component information objects
- Disk
Space string The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
- Disk
Space stringCap The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- Disk
Space stringStep The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size.- Disk
Space stringUsed Disk space that service is currently using
- Id string
The provider-assigned unique ID for this managed resource.
- Maintenance
Window stringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Pg
User []GetConfigs Pg Pg User Config Pg user configurable settings
- Pgs
[]Get
Pg Pg PostgreSQL specific server provided values
- Plan string
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.- Project string
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Project
Vpc stringId Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Host string The hostname of the service.
- Service
Integrations []GetPg Service Integration Service integrations to specify when creating a service. Not applied after initial service creation
- Service
Name string Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Service
Password string Password used for connecting to the service, if applicable
- Service
Port int The port of the service
- Service
Type string Aiven internal service type code
- Service
Uri string URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string Username used for connecting to the service, if applicable
- State string
Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- Static
Ips []string Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- Termination
Protection bool Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- cloud
Name String Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.- components
List
Pg Component> Service component information objects
- disk
Space String The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
- disk
Space StringCap The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk
Space StringStep The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size.- disk
Space StringUsed Disk space that service is currently using
- id String
The provider-assigned unique ID for this managed resource.
- maintenance
Window StringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- pg
User ListConfigs Pg Pg User Config> Pg user configurable settings
- pgs
List
Pg Pg> PostgreSQL specific server provided values
- plan String
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.- project String
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project
Vpc StringId Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Host String The hostname of the service.
- service
Integrations ListPg Service Integration> Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name String Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service
Password String Password used for connecting to the service, if applicable
- service
Port Integer The port of the service
- service
Type String Aiven internal service type code
- service
Uri String URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String Username used for connecting to the service, if applicable
- state String
Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- static
Ips List Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- termination
Protection Boolean Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- cloud
Name string Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.- components
Get
Pg Component[] Service component information objects
- disk
Space string The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
- disk
Space stringCap The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space stringDefault The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk
Space stringStep The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size.- disk
Space stringUsed Disk space that service is currently using
- id string
The provider-assigned unique ID for this managed resource.
- maintenance
Window stringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window stringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- pg
User GetConfigs Pg Pg User Config[] Pg user configurable settings
- pgs
Get
Pg Pg[] PostgreSQL specific server provided values
- plan string
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.- project string
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project
Vpc stringId Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Host string The hostname of the service.
- service
Integrations GetPg Service Integration[] Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name string Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service
Password string Password used for connecting to the service, if applicable
- service
Port number The port of the service
- service
Type string Aiven internal service type code
- service
Uri string URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username string Username used for connecting to the service, if applicable
- state string
Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- static
Ips string[] Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- termination
Protection boolean Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- cloud_
name str Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.- components
Sequence[Get
Pg Component] Service component information objects
- disk_
space str The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
- disk_
space_ strcap The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk_
space_ strdefault The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk_
space_ strstep The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size.- disk_
space_ strused Disk space that service is currently using
- id str
The provider-assigned unique ID for this managed resource.
- maintenance_
window_ strdow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance_
window_ strtime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- pg_
user_ Sequence[Getconfigs Pg Pg User Config] Pg user configurable settings
- pgs
Sequence[Get
Pg Pg] PostgreSQL specific server provided values
- plan str
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.- project str
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project_
vpc_ strid Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service_
host str The hostname of the service.
- service_
integrations Sequence[GetPg Service Integration] Service integrations to specify when creating a service. Not applied after initial service creation
- service_
name str Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service_
password str Password used for connecting to the service, if applicable
- service_
port int The port of the service
- service_
type str Aiven internal service type code
- service_
uri str URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service_
username str Username used for connecting to the service, if applicable
- state str
Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- static_
ips Sequence[str] Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- termination_
protection bool Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- cloud
Name String Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.- components
List
Service component information objects
- disk
Space String The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
- disk
Space StringCap The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk
Space StringStep The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size.- disk
Space StringUsed Disk space that service is currently using
- id String
The provider-assigned unique ID for this managed resource.
- maintenance
Window StringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- pg
User ListConfigs Pg user configurable settings
- pgs
List
PostgreSQL specific server provided values
- plan String
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.- project String
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project
Vpc StringId Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Host String The hostname of the service.
- service
Integrations List Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name String Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service
Password String Password used for connecting to the service, if applicable
- service
Port Number The port of the service
- service
Type String Aiven internal service type code
- service
Uri String URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String Username used for connecting to the service, if applicable
- state String
Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- static
Ips List Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- termination
Protection Boolean Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
Supporting Types
GetPgComponent
GetPgPg
GetPgPgUserConfig
- Admin
Password string - Admin
Username string - Backup
Hour string - Backup
Minute string - Ip
Filters List<string> - Migration
Get
Pg Pg User Config Migration - Pg
Get
Pg Pg User Config Pg PostgreSQL specific server provided values
- Pg
Read stringReplica - Pg
Service stringTo Fork From - Pg
Version string - Pgbouncer
Get
Pg Pg User Config Pgbouncer - Pglookout
Get
Pg Pg User Config Pglookout - Private
Access GetPg Pg User Config Private Access - Privatelink
Access GetPg Pg User Config Privatelink Access - Project
To stringFork From - Public
Access GetPg Pg User Config Public Access - Recovery
Target stringTime - Service
To stringFork From - string
- Static
Ips string Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- Synchronous
Replication string - Timescaledb
Get
Pg Pg User Config Timescaledb - Variant string
- Work
Mem string
- Admin
Password string - Admin
Username string - Backup
Hour string - Backup
Minute string - Ip
Filters []string - Migration
Get
Pg Pg User Config Migration - Pg
Get
Pg Pg User Config Pg PostgreSQL specific server provided values
- Pg
Read stringReplica - Pg
Service stringTo Fork From - Pg
Version string - Pgbouncer
Get
Pg Pg User Config Pgbouncer - Pglookout
Get
Pg Pg User Config Pglookout - Private
Access GetPg Pg User Config Private Access - Privatelink
Access GetPg Pg User Config Privatelink Access - Project
To stringFork From - Public
Access GetPg Pg User Config Public Access - Recovery
Target stringTime - Service
To stringFork From - string
- Static
Ips string Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- Synchronous
Replication string - Timescaledb
Get
Pg Pg User Config Timescaledb - Variant string
- Work
Mem string
- admin
Password String - admin
Username String - backup
Hour String - backup
Minute String - ip
Filters List - migration
Get
Pg Pg User Config Migration - pg
Get
Pg Pg User Config Pg PostgreSQL specific server provided values
- pg
Read StringReplica - pg
Service StringTo Fork From - pg
Version String - pgbouncer
Get
Pg Pg User Config Pgbouncer - pglookout
Get
Pg Pg User Config Pglookout - private
Access GetPg Pg User Config Private Access - privatelink
Access GetPg Pg User Config Privatelink Access - project
To StringFork From - public
Access GetPg Pg User Config Public Access - recovery
Target StringTime - service
To StringFork From - String
- static
Ips String Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- synchronous
Replication String - timescaledb
Get
Pg Pg User Config Timescaledb - variant String
- work
Mem String
- admin
Password string - admin
Username string - backup
Hour string - backup
Minute string - ip
Filters string[] - migration
Get
Pg Pg User Config Migration - pg
Get
Pg Pg User Config Pg PostgreSQL specific server provided values
- pg
Read stringReplica - pg
Service stringTo Fork From - pg
Version string - pgbouncer
Get
Pg Pg User Config Pgbouncer - pglookout
Get
Pg Pg User Config Pglookout - private
Access GetPg Pg User Config Private Access - privatelink
Access GetPg Pg User Config Privatelink Access - project
To stringFork From - public
Access GetPg Pg User Config Public Access - recovery
Target stringTime - service
To stringFork From - string
- static
Ips string Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- synchronous
Replication string - timescaledb
Get
Pg Pg User Config Timescaledb - variant string
- work
Mem string
- admin_
password str - admin_
username str - backup_
hour str - backup_
minute str - ip_
filters Sequence[str] - migration
Get
Pg Pg User Config Migration - pg
Get
Pg Pg User Config Pg PostgreSQL specific server provided values
- pg_
read_ strreplica - pg_
service_ strto_ fork_ from - pg_
version str - pgbouncer
Get
Pg Pg User Config Pgbouncer - pglookout
Get
Pg Pg User Config Pglookout - private_
access GetPg Pg User Config Private Access - privatelink_
access GetPg Pg User Config Privatelink Access - project_
to_ strfork_ from - public_
access GetPg Pg User Config Public Access - recovery_
target_ strtime - service_
to_ strfork_ from - str
- static_
ips str Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- synchronous_
replication str - timescaledb
Get
Pg Pg User Config Timescaledb - variant str
- work_
mem str
- admin
Password String - admin
Username String - backup
Hour String - backup
Minute String - ip
Filters List - migration Property Map
- pg Property Map
PostgreSQL specific server provided values
- pg
Read StringReplica - pg
Service StringTo Fork From - pg
Version String - pgbouncer Property Map
- pglookout Property Map
- private
Access Property Map - privatelink
Access Property Map - project
To StringFork From - public
Access Property Map - recovery
Target StringTime - service
To StringFork From - String
- static
Ips String Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- synchronous
Replication String - timescaledb Property Map
- variant String
- work
Mem String
GetPgPgUserConfigMigration
GetPgPgUserConfigPg
- Autovacuum
Analyze stringScale Factor - Autovacuum
Analyze stringThreshold - Autovacuum
Freeze stringMax Age - Autovacuum
Max stringWorkers - Autovacuum
Naptime string - Autovacuum
Vacuum stringCost Delay - Autovacuum
Vacuum stringCost Limit - Autovacuum
Vacuum stringScale Factor - Autovacuum
Vacuum stringThreshold - Bgwriter
Delay string - Bgwriter
Flush stringAfter - Bgwriter
Lru stringMaxpages - Bgwriter
Lru stringMultiplier - Deadlock
Timeout string - Default
Toast stringCompression - Idle
In stringTransaction Session Timeout - Jit string
- Log
Autovacuum stringMin Duration - Log
Error stringVerbosity - Log
Line stringPrefix - Log
Min stringDuration Statement - Max
Files stringPer Process - Max
Locks stringPer Transaction - Max
Logical stringReplication Workers - Max
Parallel stringWorkers - Max
Parallel stringWorkers Per Gather - Max
Pred stringLocks Per Transaction - Max
Prepared stringTransactions - Max
Replication stringSlots - Max
Slot stringWal Keep Size - Max
Stack stringDepth - Max
Standby stringArchive Delay - Max
Standby stringStreaming Delay - Max
Wal stringSenders - Max
Worker stringProcesses - Pg
Partman stringBgw Dot Interval - Pg
Partman stringBgw Dot Role - Pg
Stat stringStatements Dot Track - Temp
File stringLimit - Timezone string
- Track
Activity stringQuery Size - Track
Commit stringTimestamp - Track
Functions string - Track
Io stringTiming - Wal
Sender stringTimeout - Wal
Writer stringDelay
- Autovacuum
Analyze stringScale Factor - Autovacuum
Analyze stringThreshold - Autovacuum
Freeze stringMax Age - Autovacuum
Max stringWorkers - Autovacuum
Naptime string - Autovacuum
Vacuum stringCost Delay - Autovacuum
Vacuum stringCost Limit - Autovacuum
Vacuum stringScale Factor - Autovacuum
Vacuum stringThreshold - Bgwriter
Delay string - Bgwriter
Flush stringAfter - Bgwriter
Lru stringMaxpages - Bgwriter
Lru stringMultiplier - Deadlock
Timeout string - Default
Toast stringCompression - Idle
In stringTransaction Session Timeout - Jit string
- Log
Autovacuum stringMin Duration - Log
Error stringVerbosity - Log
Line stringPrefix - Log
Min stringDuration Statement - Max
Files stringPer Process - Max
Locks stringPer Transaction - Max
Logical stringReplication Workers - Max
Parallel stringWorkers - Max
Parallel stringWorkers Per Gather - Max
Pred stringLocks Per Transaction - Max
Prepared stringTransactions - Max
Replication stringSlots - Max
Slot stringWal Keep Size - Max
Stack stringDepth - Max
Standby stringArchive Delay - Max
Standby stringStreaming Delay - Max
Wal stringSenders - Max
Worker stringProcesses - Pg
Partman stringBgw Dot Interval - Pg
Partman stringBgw Dot Role - Pg
Stat stringStatements Dot Track - Temp
File stringLimit - Timezone string
- Track
Activity stringQuery Size - Track
Commit stringTimestamp - Track
Functions string - Track
Io stringTiming - Wal
Sender stringTimeout - Wal
Writer stringDelay
- autovacuum
Analyze StringScale Factor - autovacuum
Analyze StringThreshold - autovacuum
Freeze StringMax Age - autovacuum
Max StringWorkers - autovacuum
Naptime String - autovacuum
Vacuum StringCost Delay - autovacuum
Vacuum StringCost Limit - autovacuum
Vacuum StringScale Factor - autovacuum
Vacuum StringThreshold - bgwriter
Delay String - bgwriter
Flush StringAfter - bgwriter
Lru StringMaxpages - bgwriter
Lru StringMultiplier - deadlock
Timeout String - default
Toast StringCompression - idle
In StringTransaction Session Timeout - jit String
- log
Autovacuum StringMin Duration - log
Error StringVerbosity - log
Line StringPrefix - log
Min StringDuration Statement - max
Files StringPer Process - max
Locks StringPer Transaction - max
Logical StringReplication Workers - max
Parallel StringWorkers - max
Parallel StringWorkers Per Gather - max
Pred StringLocks Per Transaction - max
Prepared StringTransactions - max
Replication StringSlots - max
Slot StringWal Keep Size - max
Stack StringDepth - max
Standby StringArchive Delay - max
Standby StringStreaming Delay - max
Wal StringSenders - max
Worker StringProcesses - pg
Partman StringBgw Dot Interval - pg
Partman StringBgw Dot Role - pg
Stat StringStatements Dot Track - temp
File StringLimit - timezone String
- track
Activity StringQuery Size - track
Commit StringTimestamp - track
Functions String - track
Io StringTiming - wal
Sender StringTimeout - wal
Writer StringDelay
- autovacuum
Analyze stringScale Factor - autovacuum
Analyze stringThreshold - autovacuum
Freeze stringMax Age - autovacuum
Max stringWorkers - autovacuum
Naptime string - autovacuum
Vacuum stringCost Delay - autovacuum
Vacuum stringCost Limit - autovacuum
Vacuum stringScale Factor - autovacuum
Vacuum stringThreshold - bgwriter
Delay string - bgwriter
Flush stringAfter - bgwriter
Lru stringMaxpages - bgwriter
Lru stringMultiplier - deadlock
Timeout string - default
Toast stringCompression - idle
In stringTransaction Session Timeout - jit string
- log
Autovacuum stringMin Duration - log
Error stringVerbosity - log
Line stringPrefix - log
Min stringDuration Statement - max
Files stringPer Process - max
Locks stringPer Transaction - max
Logical stringReplication Workers - max
Parallel stringWorkers - max
Parallel stringWorkers Per Gather - max
Pred stringLocks Per Transaction - max
Prepared stringTransactions - max
Replication stringSlots - max
Slot stringWal Keep Size - max
Stack stringDepth - max
Standby stringArchive Delay - max
Standby stringStreaming Delay - max
Wal stringSenders - max
Worker stringProcesses - pg
Partman stringBgw Dot Interval - pg
Partman stringBgw Dot Role - pg
Stat stringStatements Dot Track - temp
File stringLimit - timezone string
- track
Activity stringQuery Size - track
Commit stringTimestamp - track
Functions string - track
Io stringTiming - wal
Sender stringTimeout - wal
Writer stringDelay
- autovacuum_
analyze_ strscale_ factor - autovacuum_
analyze_ strthreshold - autovacuum_
freeze_ strmax_ age - autovacuum_
max_ strworkers - autovacuum_
naptime str - autovacuum_
vacuum_ strcost_ delay - autovacuum_
vacuum_ strcost_ limit - autovacuum_
vacuum_ strscale_ factor - autovacuum_
vacuum_ strthreshold - bgwriter_
delay str - bgwriter_
flush_ strafter - bgwriter_
lru_ strmaxpages - bgwriter_
lru_ strmultiplier - deadlock_
timeout str - default_
toast_ strcompression - idle_
in_ strtransaction_ session_ timeout - jit str
- log_
autovacuum_ strmin_ duration - log_
error_ strverbosity - log_
line_ strprefix - log_
min_ strduration_ statement - max_
files_ strper_ process - max_
locks_ strper_ transaction - max_
logical_ strreplication_ workers - max_
parallel_ strworkers - max_
parallel_ strworkers_ per_ gather - max_
pred_ strlocks_ per_ transaction - max_
prepared_ strtransactions - max_
replication_ strslots - max_
slot_ strwal_ keep_ size - max_
stack_ strdepth - max_
standby_ strarchive_ delay - max_
standby_ strstreaming_ delay - max_
wal_ strsenders - max_
worker_ strprocesses - pg_
partman_ strbgw_ dot_ interval - pg_
partman_ strbgw_ dot_ role - pg_
stat_ strstatements_ dot_ track - temp_
file_ strlimit - timezone str
- track_
activity_ strquery_ size - track_
commit_ strtimestamp - track_
functions str - track_
io_ strtiming - wal_
sender_ strtimeout - wal_
writer_ strdelay
- autovacuum
Analyze StringScale Factor - autovacuum
Analyze StringThreshold - autovacuum
Freeze StringMax Age - autovacuum
Max StringWorkers - autovacuum
Naptime String - autovacuum
Vacuum StringCost Delay - autovacuum
Vacuum StringCost Limit - autovacuum
Vacuum StringScale Factor - autovacuum
Vacuum StringThreshold - bgwriter
Delay String - bgwriter
Flush StringAfter - bgwriter
Lru StringMaxpages - bgwriter
Lru StringMultiplier - deadlock
Timeout String - default
Toast StringCompression - idle
In StringTransaction Session Timeout - jit String
- log
Autovacuum StringMin Duration - log
Error StringVerbosity - log
Line StringPrefix - log
Min StringDuration Statement - max
Files StringPer Process - max
Locks StringPer Transaction - max
Logical StringReplication Workers - max
Parallel StringWorkers - max
Parallel StringWorkers Per Gather - max
Pred StringLocks Per Transaction - max
Prepared StringTransactions - max
Replication StringSlots - max
Slot StringWal Keep Size - max
Stack StringDepth - max
Standby StringArchive Delay - max
Standby StringStreaming Delay - max
Wal StringSenders - max
Worker StringProcesses - pg
Partman StringBgw Dot Interval - pg
Partman StringBgw Dot Role - pg
Stat StringStatements Dot Track - temp
File StringLimit - timezone String
- track
Activity StringQuery Size - track
Commit StringTimestamp - track
Functions String - track
Io StringTiming - wal
Sender StringTimeout - wal
Writer StringDelay
GetPgPgUserConfigPgbouncer
- Autodb
Idle stringTimeout - Autodb
Max stringDb Connections - Autodb
Pool stringMode - Autodb
Pool stringSize - Ignore
Startup List<string>Parameters - Min
Pool stringSize - Server
Idle stringTimeout - Server
Lifetime string - Server
Reset stringQuery Always
- Autodb
Idle stringTimeout - Autodb
Max stringDb Connections - Autodb
Pool stringMode - Autodb
Pool stringSize - Ignore
Startup []stringParameters - Min
Pool stringSize - Server
Idle stringTimeout - Server
Lifetime string - Server
Reset stringQuery Always
- autodb
Idle StringTimeout - autodb
Max StringDb Connections - autodb
Pool StringMode - autodb
Pool StringSize - ignore
Startup ListParameters - min
Pool StringSize - server
Idle StringTimeout - server
Lifetime String - server
Reset StringQuery Always
- autodb
Idle stringTimeout - autodb
Max stringDb Connections - autodb
Pool stringMode - autodb
Pool stringSize - ignore
Startup string[]Parameters - min
Pool stringSize - server
Idle stringTimeout - server
Lifetime string - server
Reset stringQuery Always
- autodb_
idle_ strtimeout - autodb_
max_ strdb_ connections - autodb_
pool_ strmode - autodb_
pool_ strsize - ignore_
startup_ Sequence[str]parameters - min_
pool_ strsize - server_
idle_ strtimeout - server_
lifetime str - server_
reset_ strquery_ always
- autodb
Idle StringTimeout - autodb
Max StringDb Connections - autodb
Pool StringMode - autodb
Pool StringSize - ignore
Startup ListParameters - min
Pool StringSize - server
Idle StringTimeout - server
Lifetime String - server
Reset StringQuery Always
GetPgPgUserConfigPglookout
GetPgPgUserConfigPrivateAccess
- Pg string
PostgreSQL specific server provided values
- Pgbouncer string
- Prometheus string
- Pg string
PostgreSQL specific server provided values
- Pgbouncer string
- Prometheus string
- pg String
PostgreSQL specific server provided values
- pgbouncer String
- prometheus String
- pg string
PostgreSQL specific server provided values
- pgbouncer string
- prometheus string
- pg str
PostgreSQL specific server provided values
- pgbouncer str
- prometheus str
- pg String
PostgreSQL specific server provided values
- pgbouncer String
- prometheus String
GetPgPgUserConfigPrivatelinkAccess
GetPgPgUserConfigPublicAccess
- Pg string
PostgreSQL specific server provided values
- Pgbouncer string
- Prometheus string
- Pg string
PostgreSQL specific server provided values
- Pgbouncer string
- Prometheus string
- pg String
PostgreSQL specific server provided values
- pgbouncer String
- prometheus String
- pg string
PostgreSQL specific server provided values
- pgbouncer string
- prometheus string
- pg str
PostgreSQL specific server provided values
- pgbouncer str
- prometheus str
- pg String
PostgreSQL specific server provided values
- pgbouncer String
- prometheus String
GetPgPgUserConfigTimescaledb
- Max
Background stringWorkers
- Max
Background stringWorkers
- max
Background StringWorkers
- max
Background stringWorkers
- max
Background StringWorkers
GetPgServiceIntegration
- Integration
Type string - Source
Service stringName
- Integration
Type string - Source
Service stringName
- integration
Type String - source
Service StringName
- integration
Type string - source
Service stringName
- integration
Type String - source
Service StringName
Package Details
- Repository
- https://github.com/pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aiven
Terraform Provider.