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

com.pulumi.azure.storage.kotlin.inputs.GetPolicyPlainArgs.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.storage.kotlin.inputs

import com.pulumi.azure.storage.inputs.GetPolicyPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getPolicy.
 * @property storageAccountId Specifies the id of the storage account to retrieve the management policy for.
 */
public data class GetPolicyPlainArgs(
    public val storageAccountId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.storage.inputs.GetPolicyPlainArgs =
        com.pulumi.azure.storage.inputs.GetPolicyPlainArgs.builder()
            .storageAccountId(storageAccountId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetPolicyPlainArgs].
 */
@PulumiTagMarker
public class GetPolicyPlainArgsBuilder internal constructor() {
    private var storageAccountId: String? = null

    /**
     * @param value Specifies the id of the storage account to retrieve the management policy for.
     */
    @JvmName("ydkyutvpccbbgyco")
    public suspend fun storageAccountId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.storageAccountId = mapped
    }

    internal fun build(): GetPolicyPlainArgs = GetPolicyPlainArgs(
        storageAccountId = storageAccountId ?: throw PulumiNullFieldException("storageAccountId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy