getDatabase

Gets information about a database. Uses Azure REST API version 2024-08-01. Other available API versions: 2022-12-01, 2023-03-01-preview, 2023-06-01-preview, 2023-12-01-preview, 2024-03-01-preview, 2024-11-01-preview, 2025-01-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native dbforpostgresql [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

Represents a Database.

Parameters

argument

null


suspend fun getDatabase(databaseName: String, resourceGroupName: String, serverName: String): GetDatabaseResult

Return

Represents a Database.

Parameters

databaseName

The name of the database.

resourceGroupName

The name of the resource group. The name is case insensitive.

serverName

The name of the server.

See also


suspend fun getDatabase(argument: suspend GetDatabasePlainArgsBuilder.() -> Unit): GetDatabaseResult

Return

Represents a Database.

Parameters

argument

Builder for com.pulumi.azurenative.dbforpostgresql.kotlin.inputs.GetDatabasePlainArgs.

See also