com.pulumi.azure.mobile.kotlin.inputs.NetworkSimPolicySliceArgs.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.mobile.kotlin.inputs
import com.pulumi.azure.mobile.inputs.NetworkSimPolicySliceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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 dataNetworks An array of `data_network` block as defined below.
* @property defaultDataNetworkId The ID of default data network to use if the user equipment does not explicitly specify it. Configuration for this object must exist in the `data_network` block.
* @property sliceId The ID of the slice that these settings apply to.
*/
public data class NetworkSimPolicySliceArgs(
public val dataNetworks: Output>,
public val defaultDataNetworkId: Output,
public val sliceId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.mobile.inputs.NetworkSimPolicySliceArgs =
com.pulumi.azure.mobile.inputs.NetworkSimPolicySliceArgs.builder()
.dataNetworks(
dataNetworks.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.defaultDataNetworkId(defaultDataNetworkId.applyValue({ args0 -> args0 }))
.sliceId(sliceId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NetworkSimPolicySliceArgs].
*/
@PulumiTagMarker
public class NetworkSimPolicySliceArgsBuilder internal constructor() {
private var dataNetworks: Output>? = null
private var defaultDataNetworkId: Output? = null
private var sliceId: Output? = null
/**
* @param value An array of `data_network` block as defined below.
*/
@JvmName("tydmaqpmmywgtqpa")
public suspend fun dataNetworks(`value`: Output>) {
this.dataNetworks = value
}
@JvmName("wruswafilpfcehvv")
public suspend fun dataNetworks(vararg values: Output) {
this.dataNetworks = Output.all(values.asList())
}
/**
* @param values An array of `data_network` block as defined below.
*/
@JvmName("rggogqgndnetnlct")
public suspend fun dataNetworks(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy