OnPremisesConfigurationArgs

data class OnPremisesConfigurationArgs(val caCertificate: Output<String>? = null, val clientCertificate: Output<String>? = null, val clientKey: Output<String>? = null, val dumpFilePath: Output<String>? = null, val hostPort: Output<String>? = null, val kind: Output<String>? = null, val password: Output<String>? = null, val sourceInstance: Output<InstanceReferenceArgs>? = null, val username: Output<String>? = null) : ConvertibleToJava<OnPremisesConfigurationArgs>

On-premises instance configuration.

Constructors

Link copied to clipboard
fun OnPremisesConfigurationArgs(caCertificate: Output<String>? = null, clientCertificate: Output<String>? = null, clientKey: Output<String>? = null, dumpFilePath: Output<String>? = null, hostPort: Output<String>? = null, kind: Output<String>? = null, password: Output<String>? = null, sourceInstance: Output<InstanceReferenceArgs>? = null, username: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): OnPremisesConfigurationArgs

Properties

Link copied to clipboard
val caCertificate: Output<String>? = null

PEM representation of the trusted CA's x509 certificate.

Link copied to clipboard
val clientCertificate: Output<String>? = null

PEM representation of the replica's x509 certificate.

Link copied to clipboard
val clientKey: Output<String>? = null

PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.

Link copied to clipboard
val dumpFilePath: Output<String>? = null

The dump file to create the Cloud SQL replica.

Link copied to clipboard
val hostPort: Output<String>? = null

The host and port of the on-premises instance in host:port format

Link copied to clipboard
val kind: Output<String>? = null

This is always sql#onPremisesConfiguration.

Link copied to clipboard
val password: Output<String>? = null

The password for connecting to on-premises instance.

Link copied to clipboard

The reference to Cloud SQL instance if the source is Cloud SQL.

Link copied to clipboard
val username: Output<String>? = null

The username for connecting to on-premises instance.