pgedge.Database
Explore with Pulumi AI
Manages a pgEdge database.
Create Database Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Database(name: string, args: DatabaseArgs, opts?: CustomResourceOptions);
@overload
def Database(resource_name: str,
args: DatabaseArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Database(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
nodes: Optional[Mapping[str, DatabaseNodesArgs]] = None,
backups: Optional[DatabaseBackupsArgs] = None,
config_version: Optional[str] = None,
display_name: Optional[str] = None,
extensions: Optional[DatabaseExtensionsArgs] = None,
name: Optional[str] = None,
options: Optional[Sequence[str]] = None,
roles: Optional[Sequence[DatabaseRoleArgs]] = None)
func NewDatabase(ctx *Context, name string, args DatabaseArgs, opts ...ResourceOption) (*Database, error)
public Database(string name, DatabaseArgs args, CustomResourceOptions? opts = null)
public Database(String name, DatabaseArgs args)
public Database(String name, DatabaseArgs args, CustomResourceOptions options)
type: pgedge:Database
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DatabaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DatabaseArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DatabaseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatabaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatabaseArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var databaseResource = new Pgedge.Database("databaseResource", new()
{
ClusterId = "string",
Nodes =
{
{ "string", new Pgedge.Inputs.DatabaseNodesArgs
{
Name = "string",
Connection = new Pgedge.Inputs.DatabaseNodesConnectionArgs
{
Database = "string",
ExternalIpAddress = "string",
Host = "string",
InternalHost = "string",
InternalIpAddress = "string",
Password = "string",
Port = 0,
Username = "string",
},
Extensions = new Pgedge.Inputs.DatabaseNodesExtensionsArgs
{
Errors =
{
{ "string", "string" },
},
Installeds = new[]
{
"string",
},
},
Location = new Pgedge.Inputs.DatabaseNodesLocationArgs
{
City = "string",
Code = "string",
Country = "string",
Latitude = 0,
Longitude = 0,
MetroCode = "string",
Name = "string",
PostalCode = "string",
Region = "string",
RegionCode = "string",
Timezone = "string",
},
Region = new Pgedge.Inputs.DatabaseNodesRegionArgs
{
Active = false,
AvailabilityZones = new[]
{
"string",
},
Cloud = "string",
Code = "string",
Name = "string",
Parent = "string",
},
} },
},
Backups = new Pgedge.Inputs.DatabaseBackupsArgs
{
Configs = new[]
{
new Pgedge.Inputs.DatabaseBackupsConfigArgs
{
Id = "string",
NodeName = "string",
Repositories = new[]
{
new Pgedge.Inputs.DatabaseBackupsConfigRepositoryArgs
{
AzureAccount = "string",
AzureContainer = "string",
AzureEndpoint = "string",
BackupStoreId = "string",
BasePath = "string",
GcsBucket = "string",
GcsEndpoint = "string",
Id = "string",
RetentionFull = 0,
RetentionFullType = "string",
S3Bucket = "string",
S3Endpoint = "string",
S3Region = "string",
Type = "string",
},
},
Schedules = new[]
{
new Pgedge.Inputs.DatabaseBackupsConfigScheduleArgs
{
CronExpression = "string",
Id = "string",
Type = "string",
},
},
},
},
Provider = "string",
},
ConfigVersion = "string",
DisplayName = "string",
Extensions = new Pgedge.Inputs.DatabaseExtensionsArgs
{
AutoManage = false,
Availables = new[]
{
"string",
},
Requesteds = new[]
{
"string",
},
},
Name = "string",
Options = new[]
{
"string",
},
Roles = new[]
{
new Pgedge.Inputs.DatabaseRoleArgs
{
BypassRls = false,
ConnectionLimit = 0,
CreateDb = false,
CreateRole = false,
Inherit = false,
Login = false,
Name = "string",
Replication = false,
Superuser = false,
},
},
});
example, err := pgedge.NewDatabase(ctx, "databaseResource", &pgedge.DatabaseArgs{
ClusterId: pulumi.String("string"),
Nodes: pgedge.DatabaseNodesMap{
"string": &pgedge.DatabaseNodesArgs{
Name: pulumi.String("string"),
Connection: &pgedge.DatabaseNodesConnectionArgs{
Database: pulumi.String("string"),
ExternalIpAddress: pulumi.String("string"),
Host: pulumi.String("string"),
InternalHost: pulumi.String("string"),
InternalIpAddress: pulumi.String("string"),
Password: pulumi.String("string"),
Port: pulumi.Int(0),
Username: pulumi.String("string"),
},
Extensions: &pgedge.DatabaseNodesExtensionsArgs{
Errors: pulumi.StringMap{
"string": pulumi.String("string"),
},
Installeds: pulumi.StringArray{
pulumi.String("string"),
},
},
Location: &pgedge.DatabaseNodesLocationArgs{
City: pulumi.String("string"),
Code: pulumi.String("string"),
Country: pulumi.String("string"),
Latitude: pulumi.Float64(0),
Longitude: pulumi.Float64(0),
MetroCode: pulumi.String("string"),
Name: pulumi.String("string"),
PostalCode: pulumi.String("string"),
Region: pulumi.String("string"),
RegionCode: pulumi.String("string"),
Timezone: pulumi.String("string"),
},
Region: &pgedge.DatabaseNodesRegionArgs{
Active: pulumi.Bool(false),
AvailabilityZones: pulumi.StringArray{
pulumi.String("string"),
},
Cloud: pulumi.String("string"),
Code: pulumi.String("string"),
Name: pulumi.String("string"),
Parent: pulumi.String("string"),
},
},
},
Backups: &pgedge.DatabaseBackupsArgs{
Configs: pgedge.DatabaseBackupsConfigArray{
&pgedge.DatabaseBackupsConfigArgs{
Id: pulumi.String("string"),
NodeName: pulumi.String("string"),
Repositories: pgedge.DatabaseBackupsConfigRepositoryArray{
&pgedge.DatabaseBackupsConfigRepositoryArgs{
AzureAccount: pulumi.String("string"),
AzureContainer: pulumi.String("string"),
AzureEndpoint: pulumi.String("string"),
BackupStoreId: pulumi.String("string"),
BasePath: pulumi.String("string"),
GcsBucket: pulumi.String("string"),
GcsEndpoint: pulumi.String("string"),
Id: pulumi.String("string"),
RetentionFull: pulumi.Int(0),
RetentionFullType: pulumi.String("string"),
S3Bucket: pulumi.String("string"),
S3Endpoint: pulumi.String("string"),
S3Region: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
Schedules: pgedge.DatabaseBackupsConfigScheduleArray{
&pgedge.DatabaseBackupsConfigScheduleArgs{
CronExpression: pulumi.String("string"),
Id: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
},
},
Provider: pulumi.String("string"),
},
ConfigVersion: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Extensions: &pgedge.DatabaseExtensionsArgs{
AutoManage: pulumi.Bool(false),
Availables: pulumi.StringArray{
pulumi.String("string"),
},
Requesteds: pulumi.StringArray{
pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Options: pulumi.StringArray{
pulumi.String("string"),
},
Roles: pgedge.DatabaseRoleArray{
&pgedge.DatabaseRoleArgs{
BypassRls: pulumi.Bool(false),
ConnectionLimit: pulumi.Int(0),
CreateDb: pulumi.Bool(false),
CreateRole: pulumi.Bool(false),
Inherit: pulumi.Bool(false),
Login: pulumi.Bool(false),
Name: pulumi.String("string"),
Replication: pulumi.Bool(false),
Superuser: pulumi.Bool(false),
},
},
})
var databaseResource = new Database("databaseResource", DatabaseArgs.builder()
.clusterId("string")
.nodes(Map.of("string", Map.ofEntries(
Map.entry("name", "string"),
Map.entry("connection", Map.ofEntries(
Map.entry("database", "string"),
Map.entry("externalIpAddress", "string"),
Map.entry("host", "string"),
Map.entry("internalHost", "string"),
Map.entry("internalIpAddress", "string"),
Map.entry("password", "string"),
Map.entry("port", 0),
Map.entry("username", "string")
)),
Map.entry("extensions", Map.ofEntries(
Map.entry("errors", Map.of("string", "string")),
Map.entry("installeds", "string")
)),
Map.entry("location", Map.ofEntries(
Map.entry("city", "string"),
Map.entry("code", "string"),
Map.entry("country", "string"),
Map.entry("latitude", 0),
Map.entry("longitude", 0),
Map.entry("metroCode", "string"),
Map.entry("name", "string"),
Map.entry("postalCode", "string"),
Map.entry("region", "string"),
Map.entry("regionCode", "string"),
Map.entry("timezone", "string")
)),
Map.entry("region", Map.ofEntries(
Map.entry("active", false),
Map.entry("availabilityZones", "string"),
Map.entry("cloud", "string"),
Map.entry("code", "string"),
Map.entry("name", "string"),
Map.entry("parent", "string")
))
)))
.backups(DatabaseBackupsArgs.builder()
.configs(DatabaseBackupsConfigArgs.builder()
.id("string")
.nodeName("string")
.repositories(DatabaseBackupsConfigRepositoryArgs.builder()
.azureAccount("string")
.azureContainer("string")
.azureEndpoint("string")
.backupStoreId("string")
.basePath("string")
.gcsBucket("string")
.gcsEndpoint("string")
.id("string")
.retentionFull(0)
.retentionFullType("string")
.s3Bucket("string")
.s3Endpoint("string")
.s3Region("string")
.type("string")
.build())
.schedules(DatabaseBackupsConfigScheduleArgs.builder()
.cronExpression("string")
.id("string")
.type("string")
.build())
.build())
.provider("string")
.build())
.configVersion("string")
.displayName("string")
.extensions(DatabaseExtensionsArgs.builder()
.autoManage(false)
.availables("string")
.requesteds("string")
.build())
.name("string")
.options("string")
.roles(DatabaseRoleArgs.builder()
.bypassRls(false)
.connectionLimit(0)
.createDb(false)
.createRole(false)
.inherit(false)
.login(false)
.name("string")
.replication(false)
.superuser(false)
.build())
.build());
database_resource = pgedge.Database("databaseResource",
cluster_id="string",
nodes={
"string": {
"name": "string",
"connection": {
"database": "string",
"external_ip_address": "string",
"host": "string",
"internal_host": "string",
"internal_ip_address": "string",
"password": "string",
"port": 0,
"username": "string",
},
"extensions": {
"errors": {
"string": "string",
},
"installeds": ["string"],
},
"location": {
"city": "string",
"code": "string",
"country": "string",
"latitude": 0,
"longitude": 0,
"metro_code": "string",
"name": "string",
"postal_code": "string",
"region": "string",
"region_code": "string",
"timezone": "string",
},
"region": {
"active": False,
"availability_zones": ["string"],
"cloud": "string",
"code": "string",
"name": "string",
"parent": "string",
},
},
},
backups={
"configs": [{
"id": "string",
"node_name": "string",
"repositories": [{
"azure_account": "string",
"azure_container": "string",
"azure_endpoint": "string",
"backup_store_id": "string",
"base_path": "string",
"gcs_bucket": "string",
"gcs_endpoint": "string",
"id": "string",
"retention_full": 0,
"retention_full_type": "string",
"s3_bucket": "string",
"s3_endpoint": "string",
"s3_region": "string",
"type": "string",
}],
"schedules": [{
"cron_expression": "string",
"id": "string",
"type": "string",
}],
}],
"provider": "string",
},
config_version="string",
display_name="string",
extensions={
"auto_manage": False,
"availables": ["string"],
"requesteds": ["string"],
},
name="string",
options=["string"],
roles=[{
"bypass_rls": False,
"connection_limit": 0,
"create_db": False,
"create_role": False,
"inherit": False,
"login": False,
"name": "string",
"replication": False,
"superuser": False,
}])
const databaseResource = new pgedge.Database("databaseResource", {
clusterId: "string",
nodes: {
string: {
name: "string",
connection: {
database: "string",
externalIpAddress: "string",
host: "string",
internalHost: "string",
internalIpAddress: "string",
password: "string",
port: 0,
username: "string",
},
extensions: {
errors: {
string: "string",
},
installeds: ["string"],
},
location: {
city: "string",
code: "string",
country: "string",
latitude: 0,
longitude: 0,
metroCode: "string",
name: "string",
postalCode: "string",
region: "string",
regionCode: "string",
timezone: "string",
},
region: {
active: false,
availabilityZones: ["string"],
cloud: "string",
code: "string",
name: "string",
parent: "string",
},
},
},
backups: {
configs: [{
id: "string",
nodeName: "string",
repositories: [{
azureAccount: "string",
azureContainer: "string",
azureEndpoint: "string",
backupStoreId: "string",
basePath: "string",
gcsBucket: "string",
gcsEndpoint: "string",
id: "string",
retentionFull: 0,
retentionFullType: "string",
s3Bucket: "string",
s3Endpoint: "string",
s3Region: "string",
type: "string",
}],
schedules: [{
cronExpression: "string",
id: "string",
type: "string",
}],
}],
provider: "string",
},
configVersion: "string",
displayName: "string",
extensions: {
autoManage: false,
availables: ["string"],
requesteds: ["string"],
},
name: "string",
options: ["string"],
roles: [{
bypassRls: false,
connectionLimit: 0,
createDb: false,
createRole: false,
inherit: false,
login: false,
name: "string",
replication: false,
superuser: false,
}],
});
type: pgedge:Database
properties:
backups:
configs:
- id: string
nodeName: string
repositories:
- azureAccount: string
azureContainer: string
azureEndpoint: string
backupStoreId: string
basePath: string
gcsBucket: string
gcsEndpoint: string
id: string
retentionFull: 0
retentionFullType: string
s3Bucket: string
s3Endpoint: string
s3Region: string
type: string
schedules:
- cronExpression: string
id: string
type: string
provider: string
clusterId: string
configVersion: string
displayName: string
extensions:
autoManage: false
availables:
- string
requesteds:
- string
name: string
nodes:
string:
connection:
database: string
externalIpAddress: string
host: string
internalHost: string
internalIpAddress: string
password: string
port: 0
username: string
extensions:
errors:
string: string
installeds:
- string
location:
city: string
code: string
country: string
latitude: 0
longitude: 0
metroCode: string
name: string
postalCode: string
region: string
regionCode: string
timezone: string
name: string
region:
active: false
availabilityZones:
- string
cloud: string
code: string
name: string
parent: string
options:
- string
roles:
- bypassRls: false
connectionLimit: 0
createDb: false
createRole: false
inherit: false
login: false
name: string
replication: false
superuser: false
Database Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Database resource accepts the following input properties:
- Cluster
Id string - The ID of the cluster this database belongs to.
- Nodes
Dictionary<string, Pgedge.
Pgedge. Inputs. Database Nodes Args> - Map of nodes in the database.
- Backups
Pgedge.
Pgedge. Inputs. Database Backups - Backup configuration for the database.
- Config
Version string - The configuration version of the database.
- Display
Name string - Display name for the database. Maximum length is 25 characters.
- Extensions
Pgedge.
Pgedge. Inputs. Database Extensions - Extensions configuration for the database.
- Name string
- The name of the database.
- Options List<string>
- A list of options for the database.
- Roles
List<Pgedge.
Pgedge. Inputs. Database Role> - List of roles in the database.
- Cluster
Id string - The ID of the cluster this database belongs to.
- Nodes
map[string]Database
Nodes Args - Map of nodes in the database.
- Backups
Database
Backups Args - Backup configuration for the database.
- Config
Version string - The configuration version of the database.
- Display
Name string - Display name for the database. Maximum length is 25 characters.
- Extensions
Database
Extensions Args - Extensions configuration for the database.
- Name string
- The name of the database.
- Options []string
- A list of options for the database.
- Roles
[]Database
Role Args - List of roles in the database.
- cluster
Id String - The ID of the cluster this database belongs to.
- nodes
Map<String,Database
Nodes Args> - Map of nodes in the database.
- backups
Database
Backups - Backup configuration for the database.
- config
Version String - The configuration version of the database.
- display
Name String - Display name for the database. Maximum length is 25 characters.
- extensions
Database
Extensions - Extensions configuration for the database.
- name String
- The name of the database.
- options List<String>
- A list of options for the database.
- roles
List<Database
Role> - List of roles in the database.
- cluster
Id string - The ID of the cluster this database belongs to.
- nodes
{[key: string]: Database
Nodes Args} - Map of nodes in the database.
- backups
Database
Backups - Backup configuration for the database.
- config
Version string - The configuration version of the database.
- display
Name string - Display name for the database. Maximum length is 25 characters.
- extensions
Database
Extensions - Extensions configuration for the database.
- name string
- The name of the database.
- options string[]
- A list of options for the database.
- roles
Database
Role[] - List of roles in the database.
- cluster_
id str - The ID of the cluster this database belongs to.
- nodes
Mapping[str, Database
Nodes Args] - Map of nodes in the database.
- backups
Database
Backups Args - Backup configuration for the database.
- config_
version str - The configuration version of the database.
- display_
name str - Display name for the database. Maximum length is 25 characters.
- extensions
Database
Extensions Args - Extensions configuration for the database.
- name str
- The name of the database.
- options Sequence[str]
- A list of options for the database.
- roles
Sequence[Database
Role Args] - List of roles in the database.
- cluster
Id String - The ID of the cluster this database belongs to.
- nodes Map<Property Map>
- Map of nodes in the database.
- backups Property Map
- Backup configuration for the database.
- config
Version String - The configuration version of the database.
- display
Name String - Display name for the database. Maximum length is 25 characters.
- extensions Property Map
- Extensions configuration for the database.
- name String
- The name of the database.
- options List<String>
- A list of options for the database.
- roles List<Property Map>
- List of roles in the database.
Outputs
All input properties are implicitly available as output properties. Additionally, the Database resource produces the following output properties:
- Components
List<Pgedge.
Pgedge. Outputs. Database Component> - List of components in the database.
- Created
At string - The timestamp when the database was created.
- Domain string
- The domain associated with the database.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pg
Version string - The PostgreSQL version of the database.
- Status string
- The current status of the database.
- Components
[]Database
Component - List of components in the database.
- Created
At string - The timestamp when the database was created.
- Domain string
- The domain associated with the database.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pg
Version string - The PostgreSQL version of the database.
- Status string
- The current status of the database.
- components
List<Database
Component> - List of components in the database.
- created
At String - The timestamp when the database was created.
- domain String
- The domain associated with the database.
- id String
- The provider-assigned unique ID for this managed resource.
- pg
Version String - The PostgreSQL version of the database.
- status String
- The current status of the database.
- components
Database
Component[] - List of components in the database.
- created
At string - The timestamp when the database was created.
- domain string
- The domain associated with the database.
- id string
- The provider-assigned unique ID for this managed resource.
- pg
Version string - The PostgreSQL version of the database.
- status string
- The current status of the database.
- components
Sequence[Database
Component] - List of components in the database.
- created_
at str - The timestamp when the database was created.
- domain str
- The domain associated with the database.
- id str
- The provider-assigned unique ID for this managed resource.
- pg_
version str - The PostgreSQL version of the database.
- status str
- The current status of the database.
- components List<Property Map>
- List of components in the database.
- created
At String - The timestamp when the database was created.
- domain String
- The domain associated with the database.
- id String
- The provider-assigned unique ID for this managed resource.
- pg
Version String - The PostgreSQL version of the database.
- status String
- The current status of the database.
Look up Existing Database Resource
Get an existing Database resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DatabaseState, opts?: CustomResourceOptions): Database
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backups: Optional[DatabaseBackupsArgs] = None,
cluster_id: Optional[str] = None,
components: Optional[Sequence[DatabaseComponentArgs]] = None,
config_version: Optional[str] = None,
created_at: Optional[str] = None,
display_name: Optional[str] = None,
domain: Optional[str] = None,
extensions: Optional[DatabaseExtensionsArgs] = None,
name: Optional[str] = None,
nodes: Optional[Mapping[str, DatabaseNodesArgs]] = None,
options: Optional[Sequence[str]] = None,
pg_version: Optional[str] = None,
roles: Optional[Sequence[DatabaseRoleArgs]] = None,
status: Optional[str] = None) -> Database
func GetDatabase(ctx *Context, name string, id IDInput, state *DatabaseState, opts ...ResourceOption) (*Database, error)
public static Database Get(string name, Input<string> id, DatabaseState? state, CustomResourceOptions? opts = null)
public static Database get(String name, Output<String> id, DatabaseState state, CustomResourceOptions options)
resources: _: type: pgedge:Database get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Backups
Pgedge.
Pgedge. Inputs. Database Backups - Backup configuration for the database.
- Cluster
Id string - The ID of the cluster this database belongs to.
- Components
List<Pgedge.
Pgedge. Inputs. Database Component> - List of components in the database.
- Config
Version string - The configuration version of the database.
- Created
At string - The timestamp when the database was created.
- Display
Name string - Display name for the database. Maximum length is 25 characters.
- Domain string
- The domain associated with the database.
- Extensions
Pgedge.
Pgedge. Inputs. Database Extensions - Extensions configuration for the database.
- Name string
- The name of the database.
- Nodes
Dictionary<string, Pgedge.
Pgedge. Inputs. Database Nodes Args> - Map of nodes in the database.
- Options List<string>
- A list of options for the database.
- Pg
Version string - The PostgreSQL version of the database.
- Roles
List<Pgedge.
Pgedge. Inputs. Database Role> - List of roles in the database.
- Status string
- The current status of the database.
- Backups
Database
Backups Args - Backup configuration for the database.
- Cluster
Id string - The ID of the cluster this database belongs to.
- Components
[]Database
Component Args - List of components in the database.
- Config
Version string - The configuration version of the database.
- Created
At string - The timestamp when the database was created.
- Display
Name string - Display name for the database. Maximum length is 25 characters.
- Domain string
- The domain associated with the database.
- Extensions
Database
Extensions Args - Extensions configuration for the database.
- Name string
- The name of the database.
- Nodes
map[string]Database
Nodes Args - Map of nodes in the database.
- Options []string
- A list of options for the database.
- Pg
Version string - The PostgreSQL version of the database.
- Roles
[]Database
Role Args - List of roles in the database.
- Status string
- The current status of the database.
- backups
Database
Backups - Backup configuration for the database.
- cluster
Id String - The ID of the cluster this database belongs to.
- components
List<Database
Component> - List of components in the database.
- config
Version String - The configuration version of the database.
- created
At String - The timestamp when the database was created.
- display
Name String - Display name for the database. Maximum length is 25 characters.
- domain String
- The domain associated with the database.
- extensions
Database
Extensions - Extensions configuration for the database.
- name String
- The name of the database.
- nodes
Map<String,Database
Nodes Args> - Map of nodes in the database.
- options List<String>
- A list of options for the database.
- pg
Version String - The PostgreSQL version of the database.
- roles
List<Database
Role> - List of roles in the database.
- status String
- The current status of the database.
- backups
Database
Backups - Backup configuration for the database.
- cluster
Id string - The ID of the cluster this database belongs to.
- components
Database
Component[] - List of components in the database.
- config
Version string - The configuration version of the database.
- created
At string - The timestamp when the database was created.
- display
Name string - Display name for the database. Maximum length is 25 characters.
- domain string
- The domain associated with the database.
- extensions
Database
Extensions - Extensions configuration for the database.
- name string
- The name of the database.
- nodes
{[key: string]: Database
Nodes Args} - Map of nodes in the database.
- options string[]
- A list of options for the database.
- pg
Version string - The PostgreSQL version of the database.
- roles
Database
Role[] - List of roles in the database.
- status string
- The current status of the database.
- backups
Database
Backups Args - Backup configuration for the database.
- cluster_
id str - The ID of the cluster this database belongs to.
- components
Sequence[Database
Component Args] - List of components in the database.
- config_
version str - The configuration version of the database.
- created_
at str - The timestamp when the database was created.
- display_
name str - Display name for the database. Maximum length is 25 characters.
- domain str
- The domain associated with the database.
- extensions
Database
Extensions Args - Extensions configuration for the database.
- name str
- The name of the database.
- nodes
Mapping[str, Database
Nodes Args] - Map of nodes in the database.
- options Sequence[str]
- A list of options for the database.
- pg_
version str - The PostgreSQL version of the database.
- roles
Sequence[Database
Role Args] - List of roles in the database.
- status str
- The current status of the database.
- backups Property Map
- Backup configuration for the database.
- cluster
Id String - The ID of the cluster this database belongs to.
- components List<Property Map>
- List of components in the database.
- config
Version String - The configuration version of the database.
- created
At String - The timestamp when the database was created.
- display
Name String - Display name for the database. Maximum length is 25 characters.
- domain String
- The domain associated with the database.
- extensions Property Map
- Extensions configuration for the database.
- name String
- The name of the database.
- nodes Map<Property Map>
- Map of nodes in the database.
- options List<String>
- A list of options for the database.
- pg
Version String - The PostgreSQL version of the database.
- roles List<Property Map>
- List of roles in the database.
- status String
- The current status of the database.
Supporting Types
DatabaseBackups, DatabaseBackupsArgs
- Configs
List<Pgedge.
Pgedge. Inputs. Database Backups Config> - List of backup configurations.
- Provider string
- The backup provider.
- Configs
[]Database
Backups Config - List of backup configurations.
- Provider string
- The backup provider.
- configs
List<Database
Backups Config> - List of backup configurations.
- provider String
- The backup provider.
- configs
Database
Backups Config[] - List of backup configurations.
- provider string
- The backup provider.
- configs
Sequence[Database
Backups Config] - List of backup configurations.
- provider str
- The backup provider.
- configs List<Property Map>
- List of backup configurations.
- provider String
- The backup provider.
DatabaseBackupsConfig, DatabaseBackupsConfigArgs
- Id string
- Unique identifier for the backup config.
- Node
Name string - Name of the node.
- Repositories
List<Pgedge.
Pgedge. Inputs. Database Backups Config Repository> - List of backup repositories.
- Schedules
List<Pgedge.
Pgedge. Inputs. Database Backups Config Schedule> - List of backup schedules.
- Id string
- Unique identifier for the backup config.
- Node
Name string - Name of the node.
- Repositories
[]Database
Backups Config Repository - List of backup repositories.
- Schedules
[]Database
Backups Config Schedule - List of backup schedules.
- id String
- Unique identifier for the backup config.
- node
Name String - Name of the node.
- repositories
List<Database
Backups Config Repository> - List of backup repositories.
- schedules
List<Database
Backups Config Schedule> - List of backup schedules.
- id string
- Unique identifier for the backup config.
- node
Name string - Name of the node.
- repositories
Database
Backups Config Repository[] - List of backup repositories.
- schedules
Database
Backups Config Schedule[] - List of backup schedules.
- id str
- Unique identifier for the backup config.
- node_
name str - Name of the node.
- repositories
Sequence[Database
Backups Config Repository] - List of backup repositories.
- schedules
Sequence[Database
Backups Config Schedule] - List of backup schedules.
- id String
- Unique identifier for the backup config.
- node
Name String - Name of the node.
- repositories List<Property Map>
- List of backup repositories.
- schedules List<Property Map>
- List of backup schedules.
DatabaseBackupsConfigRepository, DatabaseBackupsConfigRepositoryArgs
- Azure
Account string - Azure account for azure-type repositories.
- Azure
Container string - Azure container for azure-type repositories.
- Azure
Endpoint string - Azure endpoint for azure-type repositories.
- Backup
Store stringId - ID of the backup store to use. If specified, other fields will be automatically populated.
- Base
Path string - Base path for the repository.
- Gcs
Bucket string - GCS bucket name for gcs-type repositories.
- Gcs
Endpoint string - GCS endpoint for gcs-type repositories.
- Id string
- Unique identifier for the backup config.
- Retention
Full int - Retention period for full backups.
- Retention
Full stringType - Type of retention for full backups.
- S3Bucket string
- S3 bucket name for s3-type repositories.
- S3Endpoint string
- S3 endpoint for s3-type repositories.
- S3Region string
- S3 region for s3-type repositories.
- Type string
- Repository type (e.g., s3, gcs, azure).
- Azure
Account string - Azure account for azure-type repositories.
- Azure
Container string - Azure container for azure-type repositories.
- Azure
Endpoint string - Azure endpoint for azure-type repositories.
- Backup
Store stringId - ID of the backup store to use. If specified, other fields will be automatically populated.
- Base
Path string - Base path for the repository.
- Gcs
Bucket string - GCS bucket name for gcs-type repositories.
- Gcs
Endpoint string - GCS endpoint for gcs-type repositories.
- Id string
- Unique identifier for the backup config.
- Retention
Full int - Retention period for full backups.
- Retention
Full stringType - Type of retention for full backups.
- S3Bucket string
- S3 bucket name for s3-type repositories.
- S3Endpoint string
- S3 endpoint for s3-type repositories.
- S3Region string
- S3 region for s3-type repositories.
- Type string
- Repository type (e.g., s3, gcs, azure).
- azure
Account String - Azure account for azure-type repositories.
- azure
Container String - Azure container for azure-type repositories.
- azure
Endpoint String - Azure endpoint for azure-type repositories.
- backup
Store StringId - ID of the backup store to use. If specified, other fields will be automatically populated.
- base
Path String - Base path for the repository.
- gcs
Bucket String - GCS bucket name for gcs-type repositories.
- gcs
Endpoint String - GCS endpoint for gcs-type repositories.
- id String
- Unique identifier for the backup config.
- retention
Full Integer - Retention period for full backups.
- retention
Full StringType - Type of retention for full backups.
- s3Bucket String
- S3 bucket name for s3-type repositories.
- s3Endpoint String
- S3 endpoint for s3-type repositories.
- s3Region String
- S3 region for s3-type repositories.
- type String
- Repository type (e.g., s3, gcs, azure).
- azure
Account string - Azure account for azure-type repositories.
- azure
Container string - Azure container for azure-type repositories.
- azure
Endpoint string - Azure endpoint for azure-type repositories.
- backup
Store stringId - ID of the backup store to use. If specified, other fields will be automatically populated.
- base
Path string - Base path for the repository.
- gcs
Bucket string - GCS bucket name for gcs-type repositories.
- gcs
Endpoint string - GCS endpoint for gcs-type repositories.
- id string
- Unique identifier for the backup config.
- retention
Full number - Retention period for full backups.
- retention
Full stringType - Type of retention for full backups.
- s3Bucket string
- S3 bucket name for s3-type repositories.
- s3Endpoint string
- S3 endpoint for s3-type repositories.
- s3Region string
- S3 region for s3-type repositories.
- type string
- Repository type (e.g., s3, gcs, azure).
- azure_
account str - Azure account for azure-type repositories.
- azure_
container str - Azure container for azure-type repositories.
- azure_
endpoint str - Azure endpoint for azure-type repositories.
- backup_
store_ strid - ID of the backup store to use. If specified, other fields will be automatically populated.
- base_
path str - Base path for the repository.
- gcs_
bucket str - GCS bucket name for gcs-type repositories.
- gcs_
endpoint str - GCS endpoint for gcs-type repositories.
- id str
- Unique identifier for the backup config.
- retention_
full int - Retention period for full backups.
- retention_
full_ strtype - Type of retention for full backups.
- s3_
bucket str - S3 bucket name for s3-type repositories.
- s3_
endpoint str - S3 endpoint for s3-type repositories.
- s3_
region str - S3 region for s3-type repositories.
- type str
- Repository type (e.g., s3, gcs, azure).
- azure
Account String - Azure account for azure-type repositories.
- azure
Container String - Azure container for azure-type repositories.
- azure
Endpoint String - Azure endpoint for azure-type repositories.
- backup
Store StringId - ID of the backup store to use. If specified, other fields will be automatically populated.
- base
Path String - Base path for the repository.
- gcs
Bucket String - GCS bucket name for gcs-type repositories.
- gcs
Endpoint String - GCS endpoint for gcs-type repositories.
- id String
- Unique identifier for the backup config.
- retention
Full Number - Retention period for full backups.
- retention
Full StringType - Type of retention for full backups.
- s3Bucket String
- S3 bucket name for s3-type repositories.
- s3Endpoint String
- S3 endpoint for s3-type repositories.
- s3Region String
- S3 region for s3-type repositories.
- type String
- Repository type (e.g., s3, gcs, azure).
DatabaseBackupsConfigSchedule, DatabaseBackupsConfigScheduleArgs
- Cron
Expression string - Cron expression for the schedule.
- Id string
- Unique identifier for the backup config.
- Type string
- Repository type (e.g., s3, gcs, azure).
- Cron
Expression string - Cron expression for the schedule.
- Id string
- Unique identifier for the backup config.
- Type string
- Repository type (e.g., s3, gcs, azure).
- cron
Expression String - Cron expression for the schedule.
- id String
- Unique identifier for the backup config.
- type String
- Repository type (e.g., s3, gcs, azure).
- cron
Expression string - Cron expression for the schedule.
- id string
- Unique identifier for the backup config.
- type string
- Repository type (e.g., s3, gcs, azure).
- cron_
expression str - Cron expression for the schedule.
- id str
- Unique identifier for the backup config.
- type str
- Repository type (e.g., s3, gcs, azure).
- cron
Expression String - Cron expression for the schedule.
- id String
- Unique identifier for the backup config.
- type String
- Repository type (e.g., s3, gcs, azure).
DatabaseComponent, DatabaseComponentArgs
- Id string
- Name string
- Release
Date string - Status string
- Version string
- Id string
- Name string
- Release
Date string - Status string
- Version string
- id String
- name String
- release
Date String - status String
- version String
- id string
- name string
- release
Date string - status string
- version string
- id str
- name str
- release_
date str - status str
- version str
- id String
- name String
- release
Date String - status String
- version String
DatabaseExtensions, DatabaseExtensionsArgs
- Auto
Manage bool - Availables List<string>
- Requesteds List<string>
- Auto
Manage bool - Availables []string
- Requesteds []string
- auto
Manage Boolean - availables List<String>
- requesteds List<String>
- auto
Manage boolean - availables string[]
- requesteds string[]
- auto_
manage bool - availables Sequence[str]
- requesteds Sequence[str]
- auto
Manage Boolean - availables List<String>
- requesteds List<String>
DatabaseNodes, DatabaseNodesArgs
DatabaseNodesConnection, DatabaseNodesConnectionArgs
- Database string
- External
Ip stringAddress - Host string
- Internal
Host string - Internal
Ip stringAddress - Password string
- Port int
- Username string
- Database string
- External
Ip stringAddress - Host string
- Internal
Host string - Internal
Ip stringAddress - Password string
- Port int
- Username string
- database String
- external
Ip StringAddress - host String
- internal
Host String - internal
Ip StringAddress - password String
- port Integer
- username String
- database string
- external
Ip stringAddress - host string
- internal
Host string - internal
Ip stringAddress - password string
- port number
- username string
- database str
- external_
ip_ straddress - host str
- internal_
host str - internal_
ip_ straddress - password str
- port int
- username str
- database String
- external
Ip StringAddress - host String
- internal
Host String - internal
Ip StringAddress - password String
- port Number
- username String
DatabaseNodesExtensions, DatabaseNodesExtensionsArgs
- Errors Dictionary<string, string>
- Installeds List<string>
- Errors map[string]string
- Installeds []string
- errors Map<String,String>
- installeds List<String>
- errors {[key: string]: string}
- installeds string[]
- errors Mapping[str, str]
- installeds Sequence[str]
- errors Map<String>
- installeds List<String>
DatabaseNodesLocation, DatabaseNodesLocationArgs
- city str
- code str
- country str
- latitude float
- longitude float
- metro_
code str - name str
- postal_
code str - region str
- region_
code str - timezone str
DatabaseNodesRegion, DatabaseNodesRegionArgs
DatabaseRole, DatabaseRoleArgs
- Bypass
Rls bool - Connection
Limit int - Create
Db bool - Create
Role bool - Inherit bool
- Login bool
- Name string
- Replication bool
- Superuser bool
- Bypass
Rls bool - Connection
Limit int - Create
Db bool - Create
Role bool - Inherit bool
- Login bool
- Name string
- Replication bool
- Superuser bool
- bypass
Rls Boolean - connection
Limit Integer - create
Db Boolean - create
Role Boolean - inherit Boolean
- login Boolean
- name String
- replication Boolean
- superuser Boolean
- bypass
Rls boolean - connection
Limit number - create
Db boolean - create
Role boolean - inherit boolean
- login boolean
- name string
- replication boolean
- superuser boolean
- bypass_
rls bool - connection_
limit int - create_
db bool - create_
role bool - inherit bool
- login bool
- name str
- replication bool
- superuser bool
- bypass
Rls Boolean - connection
Limit Number - create
Db Boolean - create
Role Boolean - inherit Boolean
- login Boolean
- name String
- replication Boolean
- superuser Boolean
Package Details
- Repository
- pgedge pgEdge/pulumi-pgedge
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
pgedge
Terraform Provider.