
com.pulumi.azure.network.kotlin.inputs.GetVirtualHubConnectionPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin.inputs
import com.pulumi.azure.network.inputs.GetVirtualHubConnectionPlainArgs.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
/**
* A collection of arguments for invoking getVirtualHubConnection.
* @property name The name of the Connection which should be retrieved.
* @property resourceGroupName The Name of the Resource Group where the Virtual Hub Connection exists.
* @property virtualHubName The name of the Virtual Hub where this Connection exists.
*/
public data class GetVirtualHubConnectionPlainArgs(
public val name: String,
public val resourceGroupName: String,
public val virtualHubName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.GetVirtualHubConnectionPlainArgs =
com.pulumi.azure.network.inputs.GetVirtualHubConnectionPlainArgs.builder()
.name(name.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
.virtualHubName(virtualHubName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetVirtualHubConnectionPlainArgs].
*/
@PulumiTagMarker
public class GetVirtualHubConnectionPlainArgsBuilder internal constructor() {
private var name: String? = null
private var resourceGroupName: String? = null
private var virtualHubName: String? = null
/**
* @param value The name of the Connection which should be retrieved.
*/
@JvmName("eaeqgnswaiecuejw")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value The Name of the Resource Group where the Virtual Hub Connection exists.
*/
@JvmName("qumejafcflgdxvru")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
/**
* @param value The name of the Virtual Hub where this Connection exists.
*/
@JvmName("slbnyfomnymmfspj")
public suspend fun virtualHubName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.virtualHubName = mapped
}
internal fun build(): GetVirtualHubConnectionPlainArgs = GetVirtualHubConnectionPlainArgs(
name = name ?: throw PulumiNullFieldException("name"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
virtualHubName = virtualHubName ?: throw PulumiNullFieldException("virtualHubName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy