![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.mssql.kotlin.outputs.DatabaseImport.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.mssql.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property administratorLogin Specifies the name of the SQL administrator.
* @property administratorLoginPassword Specifies the password of the SQL administrator.
* @property authenticationType Specifies the type of authentication used to access the server. Valid values are `SQL` or `ADPassword`.
* @property storageAccountId The resource id for the storage account used to store BACPAC file. If set, private endpoint connection will be created for the storage account. Must match storage account used for storage_uri parameter.
* @property storageKey Specifies the access key for the storage account.
* @property storageKeyType Specifies the type of access key for the storage account. Valid values are `StorageAccessKey` or `SharedAccessKey`.
* @property storageUri Specifies the blob URI of the .bacpac file.
*/
public data class DatabaseImport(
public val administratorLogin: String,
public val administratorLoginPassword: String,
public val authenticationType: String,
public val storageAccountId: String? = null,
public val storageKey: String,
public val storageKeyType: String,
public val storageUri: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.mssql.outputs.DatabaseImport): DatabaseImport =
DatabaseImport(
administratorLogin = javaType.administratorLogin(),
administratorLoginPassword = javaType.administratorLoginPassword(),
authenticationType = javaType.authenticationType(),
storageAccountId = javaType.storageAccountId().map({ args0 -> args0 }).orElse(null),
storageKey = javaType.storageKey(),
storageKeyType = javaType.storageKeyType(),
storageUri = javaType.storageUri(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy