![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.servicefabricmesh.kotlin.inputs.NetworkResourcePropertiesArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.servicefabricmesh.kotlin.inputs
import com.pulumi.azurenative.servicefabricmesh.inputs.NetworkResourcePropertiesArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Describes properties of a network resource.
* @property description User readable description of the network.
* @property kind The type of a Service Fabric container network.
* Expected value is 'NetworkResourceProperties'.
*/
public data class NetworkResourcePropertiesArgs(
public val description: Output? = null,
public val kind: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.servicefabricmesh.inputs.NetworkResourcePropertiesArgs =
com.pulumi.azurenative.servicefabricmesh.inputs.NetworkResourcePropertiesArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.kind(kind.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NetworkResourcePropertiesArgs].
*/
@PulumiTagMarker
public class NetworkResourcePropertiesArgsBuilder internal constructor() {
private var description: Output? = null
private var kind: Output? = null
/**
* @param value User readable description of the network.
*/
@JvmName("nxkbnkvawivuwvrh")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The type of a Service Fabric container network.
* Expected value is 'NetworkResourceProperties'.
*/
@JvmName("aneaowlgnhtddvga")
public suspend fun kind(`value`: Output) {
this.kind = value
}
/**
* @param value User readable description of the network.
*/
@JvmName("bxodvcvnkfuxrfup")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value The type of a Service Fabric container network.
* Expected value is 'NetworkResourceProperties'.
*/
@JvmName("iyfjsgapdkapvicg")
public suspend fun kind(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.kind = mapped
}
internal fun build(): NetworkResourcePropertiesArgs = NetworkResourcePropertiesArgs(
description = description,
kind = kind ?: throw PulumiNullFieldException("kind"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy