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

com.pulumi.azure.storage.kotlin.inputs.GetContainersPlainArgs.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.GetContainersPlainArgs.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 getContainers.
 * @property namePrefix A prefix match used for the Storage Container `name` field.
 * @property storageAccountId The ID of the Storage Account that the Storage Containers reside in.
 */
public data class GetContainersPlainArgs(
    public val namePrefix: String? = null,
    public val storageAccountId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.storage.inputs.GetContainersPlainArgs =
        com.pulumi.azure.storage.inputs.GetContainersPlainArgs.builder()
            .namePrefix(namePrefix?.let({ args0 -> args0 }))
            .storageAccountId(storageAccountId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetContainersPlainArgs].
 */
@PulumiTagMarker
public class GetContainersPlainArgsBuilder internal constructor() {
    private var namePrefix: String? = null

    private var storageAccountId: String? = null

    /**
     * @param value A prefix match used for the Storage Container `name` field.
     */
    @JvmName("tchhkisqgpjtvavd")
    public suspend fun namePrefix(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.namePrefix = mapped
    }

    /**
     * @param value The ID of the Storage Account that the Storage Containers reside in.
     */
    @JvmName("vglrjdutfasytfuh")
    public suspend fun storageAccountId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.storageAccountId = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy