Viewing docs for Dokploy v0.4.4
published on Thursday, Nov 5, 2026 by dimeskigj
published on Thursday, Nov 5, 2026 by dimeskigj
Viewing docs for Dokploy v0.4.4
published on Thursday, Nov 5, 2026 by dimeskigj
published on Thursday, Nov 5, 2026 by dimeskigj
Read non-secret metadata for an existing Dokploy Postgres database by ID without managing it.
Using getPostgres
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 getPostgres(args: GetPostgresArgs, opts?: InvokeOptions): Promise<GetPostgresResult>
function getPostgresOutput(args: GetPostgresOutputArgs, opts?: InvokeOutputOptions): Output<GetPostgresResult>def get_postgres(postgres_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPostgresResult
def get_postgres_output(postgres_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetPostgresResult]func LookupPostgres(ctx *Context, args *LookupPostgresArgs, opts ...InvokeOption) (*LookupPostgresResult, error)
func LookupPostgresOutput(ctx *Context, args *LookupPostgresOutputArgs, opts ...InvokeOption) LookupPostgresResultOutput> Note: This function is named LookupPostgres in the Go SDK.
public static class GetPostgres
{
public static Task<GetPostgresResult> InvokeAsync(GetPostgresArgs args, InvokeOptions? opts = null)
public static Output<GetPostgresResult> Invoke(GetPostgresInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetPostgresResult> Invoke(GetPostgresInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetPostgresResult> getPostgres(GetPostgresArgs args, InvokeOptions options)
public static Output<GetPostgresResult> getPostgres(GetPostgresArgs args, InvokeOptions options)
public static Output<GetPostgresResult> getPostgres(GetPostgresArgs args, InvokeOutputOptions options)
fn::invoke:
function: dokploy:getPostgres
arguments:
# arguments dictionarydata "dokploy_get_postgres" "name" {
# arguments
}The following arguments are supported:
- Postgres
Id string - The ID of the existing Dokploy Postgres database to read.
- Postgres
Id string - The ID of the existing Dokploy Postgres database to read.
- postgres_
id string - The ID of the existing Dokploy Postgres database to read.
- postgres
Id String - The ID of the existing Dokploy Postgres database to read.
- postgres
Id string - The ID of the existing Dokploy Postgres database to read.
- postgres_
id str - The ID of the existing Dokploy Postgres database to read.
- postgres
Id String - The ID of the existing Dokploy Postgres database to read.
getPostgres Result
The following output properties are available:
- Name string
- The Postgres database name.
- Postgres
Id string - The stable Dokploy Postgres ID.
- App
Name string - The optional application name metadata.
- Database
Name string - The optional database name metadata.
- Database
User string - The optional database username metadata.
- Description string
- The optional description metadata.
- Docker
Image string - The optional Docker image metadata.
- Environment
Id string - The optional environment ID metadata.
- External
Port int - The optional external port.
- Server
Id string - The optional server ID metadata.
- Status string
- The optional application status.
- Name string
- The Postgres database name.
- Postgres
Id string - The stable Dokploy Postgres ID.
- App
Name string - The optional application name metadata.
- Database
Name string - The optional database name metadata.
- Database
User string - The optional database username metadata.
- Description string
- The optional description metadata.
- Docker
Image string - The optional Docker image metadata.
- Environment
Id string - The optional environment ID metadata.
- External
Port int - The optional external port.
- Server
Id string - The optional server ID metadata.
- Status string
- The optional application status.
- name string
- The Postgres database name.
- postgres_
id string - The stable Dokploy Postgres ID.
- app_
name string - The optional application name metadata.
- database_
name string - The optional database name metadata.
- database_
user string - The optional database username metadata.
- description string
- The optional description metadata.
- docker_
image string - The optional Docker image metadata.
- environment_
id string - The optional environment ID metadata.
- external_
port number - The optional external port.
- server_
id string - The optional server ID metadata.
- status string
- The optional application status.
- name String
- The Postgres database name.
- postgres
Id String - The stable Dokploy Postgres ID.
- app
Name String - The optional application name metadata.
- database
Name String - The optional database name metadata.
- database
User String - The optional database username metadata.
- description String
- The optional description metadata.
- docker
Image String - The optional Docker image metadata.
- environment
Id String - The optional environment ID metadata.
- external
Port Integer - The optional external port.
- server
Id String - The optional server ID metadata.
- status String
- The optional application status.
- name string
- The Postgres database name.
- postgres
Id string - The stable Dokploy Postgres ID.
- app
Name string - The optional application name metadata.
- database
Name string - The optional database name metadata.
- database
User string - The optional database username metadata.
- description string
- The optional description metadata.
- docker
Image string - The optional Docker image metadata.
- environment
Id string - The optional environment ID metadata.
- external
Port number - The optional external port.
- server
Id string - The optional server ID metadata.
- status string
- The optional application status.
- name str
- The Postgres database name.
- postgres_
id str - The stable Dokploy Postgres ID.
- app_
name str - The optional application name metadata.
- database_
name str - The optional database name metadata.
- database_
user str - The optional database username metadata.
- description str
- The optional description metadata.
- docker_
image str - The optional Docker image metadata.
- environment_
id str - The optional environment ID metadata.
- external_
port int - The optional external port.
- server_
id str - The optional server ID metadata.
- status str
- The optional application status.
- name String
- The Postgres database name.
- postgres
Id String - The stable Dokploy Postgres ID.
- app
Name String - The optional application name metadata.
- database
Name String - The optional database name metadata.
- database
User String - The optional database username metadata.
- description String
- The optional description metadata.
- docker
Image String - The optional Docker image metadata.
- environment
Id String - The optional environment ID metadata.
- external
Port Number - The optional external port.
- server
Id String - The optional server ID metadata.
- status String
- The optional application status.
Package Details
- Repository
- dokploy dimeskigj/pulumi-dokploy
- License
- Apache-2.0
Viewing docs for Dokploy v0.4.4
published on Thursday, Nov 5, 2026 by dimeskigj
published on Thursday, Nov 5, 2026 by dimeskigj