All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.storage.kotlin.outputs.ShareAclAccessPolicy.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.storage.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property expiry The time at which this Access Policy should be valid until, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format.
 * @property permissions The permissions which should be associated with this Shared Identifier. Possible value is combination of `r` (read), `w` (write), `d` (delete), and `l` (list).
 * > **Note:** Permission order is strict at the service side, and permissions need to be listed in the order above.
 * @property start The time at which this Access Policy should be valid from, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format.
 */
public data class ShareAclAccessPolicy(
    public val expiry: String? = null,
    public val permissions: String,
    public val start: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.ShareAclAccessPolicy):
            ShareAclAccessPolicy = ShareAclAccessPolicy(
            expiry = javaType.expiry().map({ args0 -> args0 }).orElse(null),
            permissions = javaType.permissions(),
            start = javaType.start().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy