
com.pulumi.azure.sql.kotlin.outputs.DatabaseImport.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.sql.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 operationMode Specifies the type of import operation being performed. The only allowable value is `Import`. Defaults to `Import`.
* @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 operationMode: String? = null,
public val storageKey: String,
public val storageKeyType: String,
public val storageUri: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.sql.outputs.DatabaseImport): DatabaseImport =
DatabaseImport(
administratorLogin = javaType.administratorLogin(),
administratorLoginPassword = javaType.administratorLoginPassword(),
authenticationType = javaType.authenticationType(),
operationMode = javaType.operationMode().map({ args0 -> args0 }).orElse(null),
storageKey = javaType.storageKey(),
storageKeyType = javaType.storageKeyType(),
storageUri = javaType.storageUri(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy