com.pulumi.gcp.dns.kotlin.inputs.ManagedZoneServiceDirectoryConfigNamespaceArgs.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.ManagedZoneServiceDirectoryConfigNamespaceArgs.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 namespaceUrl The fully qualified or partial URL of the service directory namespace that should be
* associated with the zone. This should be formatted like
* `https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace_id}`
* or simply `projects/{project}/locations/{location}/namespaces/{namespace_id}`
* Ignored for `public` visibility zones.
*/
public data class ManagedZoneServiceDirectoryConfigNamespaceArgs(
public val namespaceUrl: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dns.inputs.ManagedZoneServiceDirectoryConfigNamespaceArgs =
com.pulumi.gcp.dns.inputs.ManagedZoneServiceDirectoryConfigNamespaceArgs.builder()
.namespaceUrl(namespaceUrl.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ManagedZoneServiceDirectoryConfigNamespaceArgs].
*/
@PulumiTagMarker
public class ManagedZoneServiceDirectoryConfigNamespaceArgsBuilder internal constructor() {
private var namespaceUrl: Output? = null
/**
* @param value The fully qualified or partial URL of the service directory namespace that should be
* associated with the zone. This should be formatted like
* `https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace_id}`
* or simply `projects/{project}/locations/{location}/namespaces/{namespace_id}`
* Ignored for `public` visibility zones.
*/
@JvmName("ebpwyhubmmktjbve")
public suspend fun namespaceUrl(`value`: Output) {
this.namespaceUrl = value
}
/**
* @param value The fully qualified or partial URL of the service directory namespace that should be
* associated with the zone. This should be formatted like
* `https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace_id}`
* or simply `projects/{project}/locations/{location}/namespaces/{namespace_id}`
* Ignored for `public` visibility zones.
*/
@JvmName("iaisfgrfyhkjtjgi")
public suspend fun namespaceUrl(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.namespaceUrl = mapped
}
internal fun build(): ManagedZoneServiceDirectoryConfigNamespaceArgs =
ManagedZoneServiceDirectoryConfigNamespaceArgs(
namespaceUrl = namespaceUrl ?: throw PulumiNullFieldException("namespaceUrl"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy