com.pulumi.azure.storage.kotlin.outputs.AccountShareProperties.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.storage.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property corsRules A `cors_rule` block as defined below.
* @property retentionPolicy A `retention_policy` block as defined below.
* @property smb A `smb` block as defined below.
*/
public data class AccountShareProperties(
public val corsRules: List? = null,
public val retentionPolicy: AccountSharePropertiesRetentionPolicy? = null,
public val smb: AccountSharePropertiesSmb? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.AccountShareProperties):
AccountShareProperties = AccountShareProperties(
corsRules = javaType.corsRules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.storage.kotlin.outputs.AccountSharePropertiesCorsRule.Companion.toKotlin(args0)
})
}),
retentionPolicy = javaType.retentionPolicy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.storage.kotlin.outputs.AccountSharePropertiesRetentionPolicy.Companion.toKotlin(args0)
})
}).orElse(null),
smb = javaType.smb().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.storage.kotlin.outputs.AccountSharePropertiesSmb.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy