com.pulumi.azurenative.managednetwork.kotlin.inputs.ScopeArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.managednetwork.kotlin.inputs
import com.pulumi.azurenative.managednetwork.inputs.ScopeArgs.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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Scope of a Managed Network
* @property managementGroups The collection of management groups covered by the Managed Network
* @property subnets The collection of subnets covered by the Managed Network
* @property subscriptions The collection of subscriptions covered by the Managed Network
* @property virtualNetworks The collection of virtual nets covered by the Managed Network
*/
public data class ScopeArgs(
public val managementGroups: Output>? = null,
public val subnets: Output>? = null,
public val subscriptions: Output>? = null,
public val virtualNetworks: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.managednetwork.inputs.ScopeArgs =
com.pulumi.azurenative.managednetwork.inputs.ScopeArgs.builder()
.managementGroups(
managementGroups?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.subnets(
subnets?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.subscriptions(
subscriptions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.virtualNetworks(
virtualNetworks?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ScopeArgs].
*/
@PulumiTagMarker
public class ScopeArgsBuilder internal constructor() {
private var managementGroups: Output>? = null
private var subnets: Output>? = null
private var subscriptions: Output>? = null
private var virtualNetworks: Output>? = null
/**
* @param value The collection of management groups covered by the Managed Network
*/
@JvmName("dmgdemxsuvebldat")
public suspend fun managementGroups(`value`: Output>) {
this.managementGroups = value
}
@JvmName("joyjynwyqravrsjy")
public suspend fun managementGroups(vararg values: Output) {
this.managementGroups = Output.all(values.asList())
}
/**
* @param values The collection of management groups covered by the Managed Network
*/
@JvmName("ycgwvyeitbajjudf")
public suspend fun managementGroups(values: List