![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.storage.kotlin.inputs.GetContainersPlainArgs.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.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