![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.datafactory.kotlin.outputs.MongoDbV2LinkedServiceResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.datafactory.kotlin.outputs
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* Linked service for MongoDB data source.
* @property annotations List of tags that can be used for describing the linked service.
* @property connectVia The integration runtime reference.
* @property connectionString The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
* @property database The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string).
* @property description Linked service description.
* @property parameters Parameters for linked service.
* @property type Type of linked service.
* Expected value is 'MongoDbV2'.
* @property version Version of the linked service.
*/
public data class MongoDbV2LinkedServiceResponse(
public val annotations: List? = null,
public val connectVia: IntegrationRuntimeReferenceResponse? = null,
public val connectionString: Any,
public val database: Any,
public val description: String? = null,
public val parameters: Map? = null,
public val type: String,
public val version: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.datafactory.outputs.MongoDbV2LinkedServiceResponse): MongoDbV2LinkedServiceResponse = MongoDbV2LinkedServiceResponse(
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(),
database = javaType.database(),
description = javaType.description().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(),
type = javaType.type(),
version = javaType.version().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy