![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.logicapps.kotlin.inputs.GetStandardPlainArgs.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.logicapps.kotlin.inputs
import com.pulumi.azure.logicapps.inputs.GetStandardPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getStandard.
* @property name The name of this Logic App.
* @property resourceGroupName The name of the Resource Group where the Logic App exists.
* @property siteConfig
* @property tags
*/
public data class GetStandardPlainArgs(
public val name: String,
public val resourceGroupName: String,
public val siteConfig: GetStandardSiteConfig? = null,
public val tags: Map? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.logicapps.inputs.GetStandardPlainArgs =
com.pulumi.azure.logicapps.inputs.GetStandardPlainArgs.builder()
.name(name.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
.siteConfig(siteConfig?.let({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(tags?.let({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() })).build()
}
/**
* Builder for [GetStandardPlainArgs].
*/
@PulumiTagMarker
public class GetStandardPlainArgsBuilder internal constructor() {
private var name: String? = null
private var resourceGroupName: String? = null
private var siteConfig: GetStandardSiteConfig? = null
private var tags: Map? = null
/**
* @param value The name of this Logic App.
*/
@JvmName("ghosumdgeugxlekl")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value The name of the Resource Group where the Logic App exists.
*/
@JvmName("bmujuxmxvfjdhyhp")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
/**
* @param value
*/
@JvmName("mnrsrmvevydwwbir")
public suspend fun siteConfig(`value`: GetStandardSiteConfig?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.siteConfig = mapped
}
/**
* @param argument
*/
@JvmName("sghgfmmwjhfeciue")
public suspend fun siteConfig(argument: suspend GetStandardSiteConfigBuilder.() -> Unit) {
val toBeMapped = GetStandardSiteConfigBuilder().applySuspend { argument() }.build()
val mapped = toBeMapped
this.siteConfig = mapped
}
/**
* @param value
*/
@JvmName("jwiewqgaypibsevm")
public suspend fun tags(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.tags = mapped
}
/**
* @param values
*/
@JvmName("xpvyqsykrmhucwml")
public fun tags(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> args0 })
this.tags = mapped
}
internal fun build(): GetStandardPlainArgs = GetStandardPlainArgs(
name = name ?: throw PulumiNullFieldException("name"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
siteConfig = siteConfig,
tags = tags,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy