getDatabase

Gets information about a database. Uses Azure REST API version 2023-12-30. Other available API versions: 2022-01-01, 2023-06-01-preview, 2023-06-30. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native dbformysql [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.dbformysql.kotlin.inputs.GetDatabasePlainArgs.

See also