com.pulumi.gcp.sql.kotlin.outputs.GetDatabaseInstancesInstance.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.sql.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property availableMaintenanceVersions Available Maintenance versions.
* @property clones Configuration for creating a new instance as a clone of another instance.
* @property connectionName The connection name of the instance to be used in connection strings. For example, when connecting with Cloud SQL Proxy.
* @property databaseVersion To filter out the Cloud SQL instances which are of the specified database version.
* @property deletionProtection
* @property dnsName The dns name of the instance.
* @property encryptionKeyName
* @property firstIpAddress
* @property instanceType The type of the instance. The valid values are:- 'SQL_INSTANCE_TYPE_UNSPECIFIED', 'CLOUD_SQL_INSTANCE', 'ON_PREMISES_INSTANCE' and 'READ_REPLICA_INSTANCE'.
* @property ipAddresses
* @property maintenanceVersion Maintenance version.
* @property masterInstanceName The name of the instance that will act as the master in the replication setup. Note, this requires the master to have binary_log_enabled set, as well as existing backups.
* @property name
* @property privateIpAddress
* @property project The ID of the project in which the resources belong. If it is not provided, the provider project is used.
* @property pscServiceAttachmentLink The link to service attachment of PSC instance.
* @property publicIpAddress
* @property region To filter out the Cloud SQL instances which are located in the specified region.
* @property replicaConfigurations The configuration for replication.
* @property restoreBackupContexts
* @property rootPassword Initial root password. Required for MS SQL Server.
* @property selfLink The URI of the created resource.
* @property serverCaCerts
* @property serviceAccountEmailAddress The service account email address assigned to the instance.
* @property settings The settings to use for the database. The configuration is detailed below.
*/
public data class GetDatabaseInstancesInstance(
public val availableMaintenanceVersions: List,
public val clones: List,
public val connectionName: String,
public val databaseVersion: String,
public val deletionProtection: Boolean,
public val dnsName: String,
public val encryptionKeyName: String,
public val firstIpAddress: String,
public val instanceType: String,
public val ipAddresses: List,
public val maintenanceVersion: String,
public val masterInstanceName: String,
public val name: String,
public val privateIpAddress: String,
public val project: String,
public val pscServiceAttachmentLink: String,
public val publicIpAddress: String,
public val region: String,
public val replicaConfigurations: List,
public val restoreBackupContexts: List,
public val rootPassword: String,
public val selfLink: String,
public val serverCaCerts: List,
public val serviceAccountEmailAddress: String,
public val settings: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.GetDatabaseInstancesInstance): GetDatabaseInstancesInstance = GetDatabaseInstancesInstance(
availableMaintenanceVersions = javaType.availableMaintenanceVersions().map({ args0 -> args0 }),
clones = javaType.clones().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.sql.kotlin.outputs.GetDatabaseInstancesInstanceClone.Companion.toKotlin(args0)
})
}),
connectionName = javaType.connectionName(),
databaseVersion = javaType.databaseVersion(),
deletionProtection = javaType.deletionProtection(),
dnsName = javaType.dnsName(),
encryptionKeyName = javaType.encryptionKeyName(),
firstIpAddress = javaType.firstIpAddress(),
instanceType = javaType.instanceType(),
ipAddresses = javaType.ipAddresses().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.sql.kotlin.outputs.GetDatabaseInstancesInstanceIpAddress.Companion.toKotlin(args0)
})
}),
maintenanceVersion = javaType.maintenanceVersion(),
masterInstanceName = javaType.masterInstanceName(),
name = javaType.name(),
privateIpAddress = javaType.privateIpAddress(),
project = javaType.project(),
pscServiceAttachmentLink = javaType.pscServiceAttachmentLink(),
publicIpAddress = javaType.publicIpAddress(),
region = javaType.region(),
replicaConfigurations = javaType.replicaConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.sql.kotlin.outputs.GetDatabaseInstancesInstanceReplicaConfiguration.Companion.toKotlin(args0)
})
}),
restoreBackupContexts = javaType.restoreBackupContexts().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.sql.kotlin.outputs.GetDatabaseInstancesInstanceRestoreBackupContext.Companion.toKotlin(args0)
})
}),
rootPassword = javaType.rootPassword(),
selfLink = javaType.selfLink(),
serverCaCerts = javaType.serverCaCerts().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.sql.kotlin.outputs.GetDatabaseInstancesInstanceServerCaCert.Companion.toKotlin(args0)
})
}),
serviceAccountEmailAddress = javaType.serviceAccountEmailAddress(),
settings = javaType.settings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.sql.kotlin.outputs.GetDatabaseInstancesInstanceSetting.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy