![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.offazure.kotlin.inputs.SitePropertiesArgs.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.offazure.kotlin.inputs
import com.pulumi.azurenative.offazure.inputs.SitePropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Class for site properties.
* @property agentDetails On-premises agent details.
* @property applianceName Appliance Name.
* @property discoverySolutionId ARM ID of migration hub solution for SDS.
* @property servicePrincipalIdentityDetails Service principal identity details used by agent for communication to the service.
*/
public data class SitePropertiesArgs(
public val agentDetails: Output? = null,
public val applianceName: Output? = null,
public val discoverySolutionId: Output? = null,
public val servicePrincipalIdentityDetails: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.offazure.inputs.SitePropertiesArgs =
com.pulumi.azurenative.offazure.inputs.SitePropertiesArgs.builder()
.agentDetails(agentDetails?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.applianceName(applianceName?.applyValue({ args0 -> args0 }))
.discoverySolutionId(discoverySolutionId?.applyValue({ args0 -> args0 }))
.servicePrincipalIdentityDetails(
servicePrincipalIdentityDetails?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
).build()
}
/**
* Builder for [SitePropertiesArgs].
*/
@PulumiTagMarker
public class SitePropertiesArgsBuilder internal constructor() {
private var agentDetails: Output? = null
private var applianceName: Output? = null
private var discoverySolutionId: Output? = null
private var servicePrincipalIdentityDetails: Output? = null
/**
* @param value On-premises agent details.
*/
@JvmName("lhtanqcrruwnngfk")
public suspend fun agentDetails(`value`: Output) {
this.agentDetails = value
}
/**
* @param value Appliance Name.
*/
@JvmName("tghximrpnqhbvywc")
public suspend fun applianceName(`value`: Output) {
this.applianceName = value
}
/**
* @param value ARM ID of migration hub solution for SDS.
*/
@JvmName("cxpuctcapypbrlot")
public suspend fun discoverySolutionId(`value`: Output) {
this.discoverySolutionId = value
}
/**
* @param value Service principal identity details used by agent for communication to the service.
*/
@JvmName("vghrrtiubrbofmfs")
public suspend fun servicePrincipalIdentityDetails(`value`: Output) {
this.servicePrincipalIdentityDetails = value
}
/**
* @param value On-premises agent details.
*/
@JvmName("wxhkflahwaaptsal")
public suspend fun agentDetails(`value`: SiteAgentPropertiesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.agentDetails = mapped
}
/**
* @param argument On-premises agent details.
*/
@JvmName("vfxkpsajwlsndmuc")
public suspend fun agentDetails(argument: suspend SiteAgentPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = SiteAgentPropertiesArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.agentDetails = mapped
}
/**
* @param value Appliance Name.
*/
@JvmName("dlflrdmsipqjfqma")
public suspend fun applianceName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.applianceName = mapped
}
/**
* @param value ARM ID of migration hub solution for SDS.
*/
@JvmName("amqsjkiplkmtnocp")
public suspend fun discoverySolutionId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.discoverySolutionId = mapped
}
/**
* @param value Service principal identity details used by agent for communication to the service.
*/
@JvmName("vxbykqhrxygouovf")
public suspend fun servicePrincipalIdentityDetails(`value`: SiteSpnPropertiesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.servicePrincipalIdentityDetails = mapped
}
/**
* @param argument Service principal identity details used by agent for communication to the service.
*/
@JvmName("vsyagjulvebspsym")
public suspend fun servicePrincipalIdentityDetails(argument: suspend SiteSpnPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = SiteSpnPropertiesArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.servicePrincipalIdentityDetails = mapped
}
internal fun build(): SitePropertiesArgs = SitePropertiesArgs(
agentDetails = agentDetails,
applianceName = applianceName,
discoverySolutionId = discoverySolutionId,
servicePrincipalIdentityDetails = servicePrincipalIdentityDetails,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy