Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getDatabaseReplica.
* @property clusterId
* @property database Name of the replica's default database.
* @property host Database replica's hostname.
* @property id The provider-assigned unique ID for this managed resource.
* @property name
* @property password Password for the replica's default user.
* @property port Network port that the database replica is listening on.
* @property privateHost Same as `host`, but only accessible from resources within the account and in the same region.
* @property privateNetworkUuid
* @property privateUri Same as `uri`, but only accessible from resources within the account and in the same region.
* @property region
* @property storageSizeMib
* @property tags A list of tag names to be applied to the database replica.
* @property uri The full URI for connecting to the database replica.
* @property user Username for the replica's default user.
* @property uuid The UUID of the database replica.
*/
public data class GetDatabaseReplicaResult(
public val clusterId: String,
public val database: String,
public val host: String,
public val id: String,
public val name: String,
public val password: String,
public val port: Int,
public val privateHost: String,
public val privateNetworkUuid: String,
public val privateUri: String,
public val region: String,
public val storageSizeMib: String,
public val tags: List? = null,
public val uri: String,
public val user: String,
public val uuid: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetDatabaseReplicaResult): GetDatabaseReplicaResult = GetDatabaseReplicaResult(
clusterId = javaType.clusterId(),
database = javaType.database(),
host = javaType.host(),
id = javaType.id(),
name = javaType.name(),
password = javaType.password(),
port = javaType.port(),
privateHost = javaType.privateHost(),
privateNetworkUuid = javaType.privateNetworkUuid(),
privateUri = javaType.privateUri(),
region = javaType.region(),
storageSizeMib = javaType.storageSizeMib(),
tags = javaType.tags().map({ args0 -> args0 }),
uri = javaType.uri(),
user = javaType.user(),
uuid = javaType.uuid(),
)
}
}