com.pulumi.gcp.backupdisasterrecovery.kotlin.inputs.ManagementServerNetworkArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.backupdisasterrecovery.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.backupdisasterrecovery.inputs.ManagementServerNetworkArgs.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
/**
*
* @property network Network with format `projects/{{project_id}}/global/networks/{{network_id}}`
* @property peeringMode Type of Network peeringMode
* Default value is `PRIVATE_SERVICE_ACCESS`.
* Possible values are: `PRIVATE_SERVICE_ACCESS`.
* - - -
*/
public data class ManagementServerNetworkArgs(
public val network: Output,
public val peeringMode: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.backupdisasterrecovery.inputs.ManagementServerNetworkArgs =
com.pulumi.gcp.backupdisasterrecovery.inputs.ManagementServerNetworkArgs.builder()
.network(network.applyValue({ args0 -> args0 }))
.peeringMode(peeringMode?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ManagementServerNetworkArgs].
*/
@PulumiTagMarker
public class ManagementServerNetworkArgsBuilder internal constructor() {
private var network: Output? = null
private var peeringMode: Output? = null
/**
* @param value Network with format `projects/{{project_id}}/global/networks/{{network_id}}`
*/
@JvmName("sxycnoaslulowbqj")
public suspend fun network(`value`: Output) {
this.network = value
}
/**
* @param value Type of Network peeringMode
* Default value is `PRIVATE_SERVICE_ACCESS`.
* Possible values are: `PRIVATE_SERVICE_ACCESS`.
* - - -
*/
@JvmName("aqvaqstxtqvqcokc")
public suspend fun peeringMode(`value`: Output) {
this.peeringMode = value
}
/**
* @param value Network with format `projects/{{project_id}}/global/networks/{{network_id}}`
*/
@JvmName("iskgygxmmahbnoyl")
public suspend fun network(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.network = mapped
}
/**
* @param value Type of Network peeringMode
* Default value is `PRIVATE_SERVICE_ACCESS`.
* Possible values are: `PRIVATE_SERVICE_ACCESS`.
* - - -
*/
@JvmName("bqponefkkmnvtyec")
public suspend fun peeringMode(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.peeringMode = mapped
}
internal fun build(): ManagementServerNetworkArgs = ManagementServerNetworkArgs(
network = network ?: throw PulumiNullFieldException("network"),
peeringMode = peeringMode,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy