![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.migrate.kotlin.outputs.SqlDatabaseResourceSettingsResponse.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.migrate.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* Defines the Sql Database resource settings.
* @property resourceType The resource type. For example, the value can be Microsoft.Compute/virtualMachines.
* Expected value is 'Microsoft.Sql/servers/databases'.
* @property tags Gets or sets the Resource tags.
* @property targetResourceGroupName Gets or sets the target resource group name.
* @property targetResourceName Gets or sets the target Resource name.
* @property zoneRedundant Defines the zone redundant resource setting.
*/
public data class SqlDatabaseResourceSettingsResponse(
public val resourceType: String,
public val tags: Map? = null,
public val targetResourceGroupName: String? = null,
public val targetResourceName: String,
public val zoneRedundant: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.migrate.outputs.SqlDatabaseResourceSettingsResponse): SqlDatabaseResourceSettingsResponse = SqlDatabaseResourceSettingsResponse(
resourceType = javaType.resourceType(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
targetResourceGroupName = javaType.targetResourceGroupName().map({ args0 -> args0 }).orElse(null),
targetResourceName = javaType.targetResourceName(),
zoneRedundant = javaType.zoneRedundant().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy