com.pulumi.azure.storage.kotlin.outputs.ShareAcl.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.storage.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property accessPolicies An `access_policy` block as defined below.
* @property id The ID which should be used for this Shared Identifier.
*/
public data class ShareAcl(
public val accessPolicies: List? = null,
public val id: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.ShareAcl): ShareAcl = ShareAcl(
accessPolicies = javaType.accessPolicies().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.storage.kotlin.outputs.ShareAclAccessPolicy.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
)
}
}