com.pulumi.azure.storage.kotlin.inputs.GetAccountPlainArgs.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.GetAccountPlainArgs.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 getAccount.
* @property minTlsVersion The minimum supported TLS version for this storage account.
* @property name Specifies the name of the Storage Account
* @property resourceGroupName Specifies the name of the resource group the Storage Account is located in.
*/
public data class GetAccountPlainArgs(
public val minTlsVersion: String? = null,
public val name: String,
public val resourceGroupName: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.storage.inputs.GetAccountPlainArgs =
com.pulumi.azure.storage.inputs.GetAccountPlainArgs.builder()
.minTlsVersion(minTlsVersion?.let({ args0 -> args0 }))
.name(name.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetAccountPlainArgs].
*/
@PulumiTagMarker
public class GetAccountPlainArgsBuilder internal constructor() {
private var minTlsVersion: String? = null
private var name: String? = null
private var resourceGroupName: String? = null
/**
* @param value The minimum supported TLS version for this storage account.
*/
@JvmName("kerkawnxtgmmdlnq")
public suspend fun minTlsVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.minTlsVersion = mapped
}
/**
* @param value Specifies the name of the Storage Account
*/
@JvmName("wsxduwroapxmhowe")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value Specifies the name of the resource group the Storage Account is located in.
*/
@JvmName("vmhbocufjlolmngr")
public suspend fun resourceGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
internal fun build(): GetAccountPlainArgs = GetAccountPlainArgs(
minTlsVersion = minTlsVersion,
name = name ?: throw PulumiNullFieldException("name"),
resourceGroupName = resourceGroupName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy