
com.pulumi.azurenative.datafactory.kotlin.outputs.MariaDBLinkedServiceResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.outputs
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* MariaDB server linked service.
* @property annotations List of tags that can be used for describing the linked service.
* @property connectVia The integration runtime reference.
* @property connectionString An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
* @property database Database name for connection. Type: string.
* @property description Linked service description.
* @property driverVersion The version of the MariaDB driver. Type: string. V1 or empty for legacy driver, V2 for new driver. V1 can support connection string and property bag, V2 can only support connection string. The legacy driver is scheduled for deprecation by October 2024.
* @property encryptedCredential The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
* @property parameters Parameters for linked service.
* @property password The Azure key vault secret reference of password in connection string.
* @property port The port for the connection. Type: integer.
* @property server Server name for connection. Type: string.
* @property sslMode This option specifies whether the driver uses TLS encryption and verification when connecting to MariaDB. E.g., SSLMode=<0/1/2/3/4>. Options: DISABLED (0) / PREFERRED (1) (Default) / REQUIRED (2) / VERIFY_CA (3) / VERIFY_IDENTITY (4), REQUIRED (2) is recommended to only allow connections encrypted with SSL/TLS.
* @property type Type of linked service.
* Expected value is 'MariaDB'.
* @property useSystemTrustStore This option specifies whether to use a CA certificate from the system trust store, or from a specified PEM file. E.g. UseSystemTrustStore=<0/1>; Options: Enabled (1) / Disabled (0) (Default)
* @property username Username for authentication. Type: string.
* @property version Version of the linked service.
*/
public data class MariaDBLinkedServiceResponse(
public val annotations: List? = null,
public val connectVia: IntegrationRuntimeReferenceResponse? = null,
public val connectionString: Any? = null,
public val database: Any? = null,
public val description: String? = null,
public val driverVersion: Any? = null,
public val encryptedCredential: String? = null,
public val parameters: Map? = null,
public val password: AzureKeyVaultSecretReferenceResponse? = null,
public val port: Any? = null,
public val server: Any? = null,
public val sslMode: Any? = null,
public val type: String,
public val useSystemTrustStore: Any? = null,
public val username: Any? = null,
public val version: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.datafactory.outputs.MariaDBLinkedServiceResponse): MariaDBLinkedServiceResponse = MariaDBLinkedServiceResponse(
annotations = javaType.annotations().map({ args0 -> args0 }),
connectVia = javaType.connectVia().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datafactory.kotlin.outputs.IntegrationRuntimeReferenceResponse.Companion.toKotlin(args0)
})
}).orElse(null),
connectionString = javaType.connectionString().map({ args0 -> args0 }).orElse(null),
database = javaType.database().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
driverVersion = javaType.driverVersion().map({ args0 -> args0 }).orElse(null),
encryptedCredential = javaType.encryptedCredential().map({ args0 -> args0 }).orElse(null),
parameters = javaType.parameters().map({ args0 ->
args0.key.to(
args0.value.let({ args0 ->
com.pulumi.azurenative.datafactory.kotlin.outputs.ParameterSpecificationResponse.Companion.toKotlin(args0)
}),
)
}).toMap(),
password = javaType.password().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datafactory.kotlin.outputs.AzureKeyVaultSecretReferenceResponse.Companion.toKotlin(args0)
})
}).orElse(null),
port = javaType.port().map({ args0 -> args0 }).orElse(null),
server = javaType.server().map({ args0 -> args0 }).orElse(null),
sslMode = javaType.sslMode().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
useSystemTrustStore = javaType.useSystemTrustStore().map({ args0 -> args0 }).orElse(null),
username = javaType.username().map({ args0 -> args0 }).orElse(null),
version = javaType.version().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy