com.pulumi.azure.batch.kotlin.inputs.AccountNetworkProfileAccountAccessArgs.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.batch.kotlin.inputs
import com.pulumi.azure.batch.inputs.AccountNetworkProfileAccountAccessArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property defaultAction Specifies the default action for the account access. Possible values are `Allow` and `Deny`. Defaults to `Deny`.
* @property ipRules One or more `ip_rule` blocks as defined below.
*/
public data class AccountNetworkProfileAccountAccessArgs(
public val defaultAction: Output? = null,
public val ipRules: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.batch.inputs.AccountNetworkProfileAccountAccessArgs =
com.pulumi.azure.batch.inputs.AccountNetworkProfileAccountAccessArgs.builder()
.defaultAction(defaultAction?.applyValue({ args0 -> args0 }))
.ipRules(
ipRules?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [AccountNetworkProfileAccountAccessArgs].
*/
@PulumiTagMarker
public class AccountNetworkProfileAccountAccessArgsBuilder internal constructor() {
private var defaultAction: Output? = null
private var ipRules: Output>? = null
/**
* @param value Specifies the default action for the account access. Possible values are `Allow` and `Deny`. Defaults to `Deny`.
*/
@JvmName("dqyqrsfwcmtghuox")
public suspend fun defaultAction(`value`: Output) {
this.defaultAction = value
}
/**
* @param value One or more `ip_rule` blocks as defined below.
*/
@JvmName("crnolpwrawbibvcw")
public suspend fun ipRules(`value`: Output>) {
this.ipRules = value
}
@JvmName("gvebxlbfehvtfnib")
public suspend fun ipRules(vararg values: Output) {
this.ipRules = Output.all(values.asList())
}
/**
* @param values One or more `ip_rule` blocks as defined below.
*/
@JvmName("fchyjfmhkpmdhyqa")
public suspend fun ipRules(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy