com.pulumi.gcp.dns.kotlin.inputs.ManagedZonePrivateVisibilityConfigNetworkArgs.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.dns.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dns.inputs.ManagedZonePrivateVisibilityConfigNetworkArgs.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 networkUrl The id or fully qualified URL of the VPC network to bind to.
* This should be formatted like `projects/{project}/global/networks/{network}` or
* `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`
*/
public data class ManagedZonePrivateVisibilityConfigNetworkArgs(
public val networkUrl: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dns.inputs.ManagedZonePrivateVisibilityConfigNetworkArgs =
com.pulumi.gcp.dns.inputs.ManagedZonePrivateVisibilityConfigNetworkArgs.builder()
.networkUrl(networkUrl.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ManagedZonePrivateVisibilityConfigNetworkArgs].
*/
@PulumiTagMarker
public class ManagedZonePrivateVisibilityConfigNetworkArgsBuilder internal constructor() {
private var networkUrl: Output? = null
/**
* @param value The id or fully qualified URL of the VPC network to bind to.
* This should be formatted like `projects/{project}/global/networks/{network}` or
* `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`
*/
@JvmName("kitxtowxxjgeggtd")
public suspend fun networkUrl(`value`: Output) {
this.networkUrl = value
}
/**
* @param value The id or fully qualified URL of the VPC network to bind to.
* This should be formatted like `projects/{project}/global/networks/{network}` or
* `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`
*/
@JvmName("pukntynpogkgocgj")
public suspend fun networkUrl(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.networkUrl = mapped
}
internal fun build(): ManagedZonePrivateVisibilityConfigNetworkArgs =
ManagedZonePrivateVisibilityConfigNetworkArgs(
networkUrl = networkUrl ?: throw PulumiNullFieldException("networkUrl"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy