pgEdge v0.0.40 published on Friday, Jan 10, 2025 by pgEdge
pgedge.getDatabases
Explore with Pulumi AI
Data source for pgEdge databases
Using getDatabases
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 getDatabases(opts?: InvokeOptions): Promise<GetDatabasesResult>
function getDatabasesOutput(opts?: InvokeOptions): Output<GetDatabasesResult>def get_databases(opts: Optional[InvokeOptions] = None) -> GetDatabasesResult
def get_databases_output(opts: Optional[InvokeOptions] = None) -> Output[GetDatabasesResult]func GetDatabases(ctx *Context, opts ...InvokeOption) (*GetDatabasesResult, error)
func GetDatabasesOutput(ctx *Context, opts ...InvokeOption) GetDatabasesResultOutput> Note: This function is named GetDatabases in the Go SDK.
public static class GetDatabases 
{
    public static Task<GetDatabasesResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetDatabasesResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetDatabasesResult> getDatabases(InvokeOptions options)
public static Output<GetDatabasesResult> getDatabases(InvokeOptions options)
fn::invoke:
  function: pgedge:index/getDatabases:getDatabases
  arguments:
    # arguments dictionarygetDatabases Result
The following output properties are available:
- Databases
List<Pgedge.Pgedge. Outputs. Get Databases Database> 
- Id string
- The provider-assigned unique ID for this managed resource.
- Databases
[]GetDatabases Database 
- Id string
- The provider-assigned unique ID for this managed resource.
- databases
List<GetDatabases Database> 
- id String
- The provider-assigned unique ID for this managed resource.
- databases
GetDatabases Database[] 
- id string
- The provider-assigned unique ID for this managed resource.
- databases
Sequence[GetDatabases Database] 
- id str
- The provider-assigned unique ID for this managed resource.
- databases List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetDatabasesDatabase  
- Backups
Pgedge.Pgedge. Inputs. Get Databases Database Backups 
- Backup configuration for the database
- ClusterId string
- ID of the cluster this database belongs to
- Components
List<Pgedge.Pgedge. Inputs. Get Databases Database Component> 
- Components of the database
- ConfigVersion string
- Configuration version of the database
- CreatedAt string
- Creation timestamp of the database
- DisplayName string
- Display name for the database. Maximum length is 25 characters.
- Domain string
- Domain of the database
- Extensions
Pgedge.Pgedge. Inputs. Get Databases Database Extensions 
- Extensions configuration for the database
- Id string
- ID of the database
- Name string
- Name of the database
- Nodes
Dictionary<string, Pgedge.Pgedge. Inputs. Get Databases Database Nodes> 
- Map of nodes in the database
- Options List<string>
- Options for the database
- PgVersion string
- PostgreSQL version of the database
- Roles
List<Pgedge.Pgedge. Inputs. Get Databases Database Role> 
- Roles in the database
- Status string
- Status of the database
- Backups
GetDatabases Database Backups 
- Backup configuration for the database
- ClusterId string
- ID of the cluster this database belongs to
- Components
[]GetDatabases Database Component 
- Components of the database
- ConfigVersion string
- Configuration version of the database
- CreatedAt string
- Creation timestamp of the database
- DisplayName string
- Display name for the database. Maximum length is 25 characters.
- Domain string
- Domain of the database
- Extensions
GetDatabases Database Extensions 
- Extensions configuration for the database
- Id string
- ID of the database
- Name string
- Name of the database
- Nodes
map[string]GetDatabases Database Nodes 
- Map of nodes in the database
- Options []string
- Options for the database
- PgVersion string
- PostgreSQL version of the database
- Roles
[]GetDatabases Database Role 
- Roles in the database
- Status string
- Status of the database
- backups
GetDatabases Database Backups 
- Backup configuration for the database
- clusterId String
- ID of the cluster this database belongs to
- components
List<GetDatabases Database Component> 
- Components of the database
- configVersion String
- Configuration version of the database
- createdAt String
- Creation timestamp of the database
- displayName String
- Display name for the database. Maximum length is 25 characters.
- domain String
- Domain of the database
- extensions
GetDatabases Database Extensions 
- Extensions configuration for the database
- id String
- ID of the database
- name String
- Name of the database
- nodes
Map<String,GetDatabases Database Nodes> 
- Map of nodes in the database
- options List<String>
- Options for the database
- pgVersion String
- PostgreSQL version of the database
- roles
List<GetDatabases Database Role> 
- Roles in the database
- status String
- Status of the database
- backups
GetDatabases Database Backups 
- Backup configuration for the database
- clusterId string
- ID of the cluster this database belongs to
- components
GetDatabases Database Component[] 
- Components of the database
- configVersion string
- Configuration version of the database
- createdAt string
- Creation timestamp of the database
- displayName string
- Display name for the database. Maximum length is 25 characters.
- domain string
- Domain of the database
- extensions
GetDatabases Database Extensions 
- Extensions configuration for the database
- id string
- ID of the database
- name string
- Name of the database
- nodes
{[key: string]: GetDatabases Database Nodes} 
- Map of nodes in the database
- options string[]
- Options for the database
- pgVersion string
- PostgreSQL version of the database
- roles
GetDatabases Database Role[] 
- Roles in the database
- status string
- Status of the database
- backups
GetDatabases Database Backups 
- Backup configuration for the database
- cluster_id str
- ID of the cluster this database belongs to
- components
Sequence[GetDatabases Database Component] 
- Components of the database
- config_version str
- Configuration version of the database
- created_at str
- Creation timestamp of the database
- display_name str
- Display name for the database. Maximum length is 25 characters.
- domain str
- Domain of the database
- extensions
GetDatabases Database Extensions 
- Extensions configuration for the database
- id str
- ID of the database
- name str
- Name of the database
- nodes
Mapping[str, GetDatabases Database Nodes] 
- Map of nodes in the database
- options Sequence[str]
- Options for the database
- pg_version str
- PostgreSQL version of the database
- roles
Sequence[GetDatabases Database Role] 
- Roles in the database
- status str
- Status of the database
- backups Property Map
- Backup configuration for the database
- clusterId String
- ID of the cluster this database belongs to
- components List<Property Map>
- Components of the database
- configVersion String
- Configuration version of the database
- createdAt String
- Creation timestamp of the database
- displayName String
- Display name for the database. Maximum length is 25 characters.
- domain String
- Domain of the database
- extensions Property Map
- Extensions configuration for the database
- id String
- ID of the database
- name String
- Name of the database
- nodes Map<Property Map>
- Map of nodes in the database
- options List<String>
- Options for the database
- pgVersion String
- PostgreSQL version of the database
- roles List<Property Map>
- Roles in the database
- status String
- Status of the database
GetDatabasesDatabaseBackups   
- Configs
List<Pgedge.Pgedge. Inputs. Get Databases Database Backups Config> 
- Backup configurations
- Provider string
- Backup provider
- Configs
[]GetDatabases Database Backups Config 
- Backup configurations
- Provider string
- Backup provider
- configs
List<GetDatabases Database Backups Config> 
- Backup configurations
- provider String
- Backup provider
- configs
GetDatabases Database Backups Config[] 
- Backup configurations
- provider string
- Backup provider
- configs
Sequence[GetDatabases Database Backups Config] 
- Backup configurations
- provider str
- Backup provider
- configs List<Property Map>
- Backup configurations
- provider String
- Backup provider
GetDatabasesDatabaseBackupsConfig    
- Id string
- Backup configuration ID
- NodeName string
- Node name
- Repositories
List<Pgedge.Pgedge. Inputs. Get Databases Database Backups Config Repository> 
- Backup repositories
- Schedules
List<Pgedge.Pgedge. Inputs. Get Databases Database Backups Config Schedule> 
- Backup schedules
- Id string
- Backup configuration ID
- NodeName string
- Node name
- Repositories
[]GetDatabases Database Backups Config Repository 
- Backup repositories
- Schedules
[]GetDatabases Database Backups Config Schedule 
- Backup schedules
- id String
- Backup configuration ID
- nodeName String
- Node name
- repositories
List<GetDatabases Database Backups Config Repository> 
- Backup repositories
- schedules
List<GetDatabases Database Backups Config Schedule> 
- Backup schedules
- id string
- Backup configuration ID
- nodeName string
- Node name
- repositories
GetDatabases Database Backups Config Repository[] 
- Backup repositories
- schedules
GetDatabases Database Backups Config Schedule[] 
- Backup schedules
- id str
- Backup configuration ID
- node_name str
- Node name
- repositories
Sequence[GetDatabases Database Backups Config Repository] 
- Backup repositories
- schedules
Sequence[GetDatabases Database Backups Config Schedule] 
- Backup schedules
- id String
- Backup configuration ID
- nodeName String
- Node name
- repositories List<Property Map>
- Backup repositories
- schedules List<Property Map>
- Backup schedules
GetDatabasesDatabaseBackupsConfigRepository     
- AzureAccount string
- AzureContainer string
- AzureEndpoint string
- BackupStore stringId 
- BasePath string
- GcsBucket string
- GcsEndpoint string
- Id string
- Backup configuration ID
- RetentionFull int
- RetentionFull stringType 
- S3Bucket string
- S3Endpoint string
- S3Region string
- Type string
- AzureAccount string
- AzureContainer string
- AzureEndpoint string
- BackupStore stringId 
- BasePath string
- GcsBucket string
- GcsEndpoint string
- Id string
- Backup configuration ID
- RetentionFull int
- RetentionFull stringType 
- S3Bucket string
- S3Endpoint string
- S3Region string
- Type string
- azureAccount String
- azureContainer String
- azureEndpoint String
- backupStore StringId 
- basePath String
- gcsBucket String
- gcsEndpoint String
- id String
- Backup configuration ID
- retentionFull Integer
- retentionFull StringType 
- s3Bucket String
- s3Endpoint String
- s3Region String
- type String
- azureAccount string
- azureContainer string
- azureEndpoint string
- backupStore stringId 
- basePath string
- gcsBucket string
- gcsEndpoint string
- id string
- Backup configuration ID
- retentionFull number
- retentionFull stringType 
- s3Bucket string
- s3Endpoint string
- s3Region string
- type string
- azure_account str
- azure_container str
- azure_endpoint str
- backup_store_ strid 
- base_path str
- gcs_bucket str
- gcs_endpoint str
- id str
- Backup configuration ID
- retention_full int
- retention_full_ strtype 
- s3_bucket str
- s3_endpoint str
- s3_region str
- type str
- azureAccount String
- azureContainer String
- azureEndpoint String
- backupStore StringId 
- basePath String
- gcsBucket String
- gcsEndpoint String
- id String
- Backup configuration ID
- retentionFull Number
- retentionFull StringType 
- s3Bucket String
- s3Endpoint String
- s3Region String
- type String
GetDatabasesDatabaseBackupsConfigSchedule     
- CronExpression string
- Id string
- Backup configuration ID
- Type string
- CronExpression string
- Id string
- Backup configuration ID
- Type string
- cronExpression String
- id String
- Backup configuration ID
- type String
- cronExpression string
- id string
- Backup configuration ID
- type string
- cron_expression str
- id str
- Backup configuration ID
- type str
- cronExpression String
- id String
- Backup configuration ID
- type String
GetDatabasesDatabaseComponent   
- Id string
- Backup configuration ID
- Name string
- Component name
- ReleaseDate string
- Component release date
- Status string
- Component status
- Version string
- Component version
- Id string
- Backup configuration ID
- Name string
- Component name
- ReleaseDate string
- Component release date
- Status string
- Component status
- Version string
- Component version
- id String
- Backup configuration ID
- name String
- Component name
- releaseDate String
- Component release date
- status String
- Component status
- version String
- Component version
- id string
- Backup configuration ID
- name string
- Component name
- releaseDate string
- Component release date
- status string
- Component status
- version string
- Component version
- id str
- Backup configuration ID
- name str
- Component name
- release_date str
- Component release date
- status str
- Component status
- version str
- Component version
- id String
- Backup configuration ID
- name String
- Component name
- releaseDate String
- Component release date
- status String
- Component status
- version String
- Component version
GetDatabasesDatabaseExtensions   
- AutoManage bool
- Auto-manage extensions
- Availables List<string>
- Available extensions
- Requesteds List<string>
- Requested extensions
- AutoManage bool
- Auto-manage extensions
- Availables []string
- Available extensions
- Requesteds []string
- Requested extensions
- autoManage Boolean
- Auto-manage extensions
- availables List<String>
- Available extensions
- requesteds List<String>
- Requested extensions
- autoManage boolean
- Auto-manage extensions
- availables string[]
- Available extensions
- requesteds string[]
- Requested extensions
- auto_manage bool
- Auto-manage extensions
- availables Sequence[str]
- Available extensions
- requesteds Sequence[str]
- Requested extensions
- autoManage Boolean
- Auto-manage extensions
- availables List<String>
- Available extensions
- requesteds List<String>
- Requested extensions
GetDatabasesDatabaseNodes   
- Connection
Pgedge.Pgedge. Inputs. Get Databases Database Nodes Connection 
- Node connection details
- Extensions
Pgedge.Pgedge. Inputs. Get Databases Database Nodes Extensions 
- Extensions configuration for the database
- Location
Pgedge.Pgedge. Inputs. Get Databases Database Nodes Location 
- Node location
- Name string
- Component name
- Region
Pgedge.Pgedge. Inputs. Get Databases Database Nodes Region 
- Node region
- Connection
GetDatabases Database Nodes Connection 
- Node connection details
- Extensions
GetDatabases Database Nodes Extensions 
- Extensions configuration for the database
- Location
GetDatabases Database Nodes Location 
- Node location
- Name string
- Component name
- Region
GetDatabases Database Nodes Region 
- Node region
- connection
GetDatabases Database Nodes Connection 
- Node connection details
- extensions
GetDatabases Database Nodes Extensions 
- Extensions configuration for the database
- location
GetDatabases Database Nodes Location 
- Node location
- name String
- Component name
- region
GetDatabases Database Nodes Region 
- Node region
- connection
GetDatabases Database Nodes Connection 
- Node connection details
- extensions
GetDatabases Database Nodes Extensions 
- Extensions configuration for the database
- location
GetDatabases Database Nodes Location 
- Node location
- name string
- Component name
- region
GetDatabases Database Nodes Region 
- Node region
- connection
GetDatabases Database Nodes Connection 
- Node connection details
- extensions
GetDatabases Database Nodes Extensions 
- Extensions configuration for the database
- location
GetDatabases Database Nodes Location 
- Node location
- name str
- Component name
- region
GetDatabases Database Nodes Region 
- Node region
- connection Property Map
- Node connection details
- extensions Property Map
- Extensions configuration for the database
- location Property Map
- Node location
- name String
- Component name
- region Property Map
- Node region
GetDatabasesDatabaseNodesConnection    
- Database string
- ExternalIp stringAddress 
- Host string
- InternalHost string
- InternalIp stringAddress 
- Password string
- Port int
- Username string
- Database string
- ExternalIp stringAddress 
- Host string
- InternalHost string
- InternalIp stringAddress 
- Password string
- Port int
- Username string
- database String
- externalIp StringAddress 
- host String
- internalHost String
- internalIp StringAddress 
- password String
- port Integer
- username String
- database string
- externalIp stringAddress 
- host string
- internalHost string
- internalIp 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
- externalIp StringAddress 
- host String
- internalHost String
- internalIp StringAddress 
- password String
- port Number
- username String
GetDatabasesDatabaseNodesExtensions    
- 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>
GetDatabasesDatabaseNodesLocation    
- city str
- code str
- country str
- latitude float
- longitude float
- metro_code str
- name str
- Component name
- postal_code str
- region str
- region_code str
- timezone str
GetDatabasesDatabaseNodesRegion    
GetDatabasesDatabaseRole   
- BypassRls bool
- ConnectionLimit int
- CreateDb bool
- CreateRole bool
- Inherit bool
- Login bool
- Name string
- Component name
- Replication bool
- Superuser bool
- BypassRls bool
- ConnectionLimit int
- CreateDb bool
- CreateRole bool
- Inherit bool
- Login bool
- Name string
- Component name
- Replication bool
- Superuser bool
- bypassRls Boolean
- connectionLimit Integer
- createDb Boolean
- createRole Boolean
- inherit Boolean
- login Boolean
- name String
- Component name
- replication Boolean
- superuser Boolean
- bypassRls boolean
- connectionLimit number
- createDb boolean
- createRole boolean
- inherit boolean
- login boolean
- name string
- Component name
- replication boolean
- superuser boolean
- bypass_rls bool
- connection_limit int
- create_db bool
- create_role bool
- inherit bool
- login bool
- name str
- Component name
- replication bool
- superuser bool
- bypassRls Boolean
- connectionLimit Number
- createDb Boolean
- createRole Boolean
- inherit Boolean
- login Boolean
- name String
- Component name
- replication Boolean
- superuser Boolean
Package Details
- Repository
- pgedge pgEdge/pulumi-pgedge
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the pgedgeTerraform Provider.
