
com.pulumi.azurenative.connectedvmwarevsphere.kotlin.inputs.PlacementProfileArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.connectedvmwarevsphere.kotlin.inputs
import com.pulumi.azurenative.connectedvmwarevsphere.inputs.PlacementProfileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Specifies the compute and storage placement settings for the virtual machine.
* @property clusterId Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy.
* @property datastoreId Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept.
* @property hostId Gets or sets the ARM Id of the host resource on which this virtual machine will deploy.
* @property resourcePoolId Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.
*/
public data class PlacementProfileArgs(
public val clusterId: Output? = null,
public val datastoreId: Output? = null,
public val hostId: Output? = null,
public val resourcePoolId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.connectedvmwarevsphere.inputs.PlacementProfileArgs =
com.pulumi.azurenative.connectedvmwarevsphere.inputs.PlacementProfileArgs.builder()
.clusterId(clusterId?.applyValue({ args0 -> args0 }))
.datastoreId(datastoreId?.applyValue({ args0 -> args0 }))
.hostId(hostId?.applyValue({ args0 -> args0 }))
.resourcePoolId(resourcePoolId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PlacementProfileArgs].
*/
@PulumiTagMarker
public class PlacementProfileArgsBuilder internal constructor() {
private var clusterId: Output? = null
private var datastoreId: Output? = null
private var hostId: Output? = null
private var resourcePoolId: Output? = null
/**
* @param value Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy.
*/
@JvmName("vgapsaxednutdtat")
public suspend fun clusterId(`value`: Output) {
this.clusterId = value
}
/**
* @param value Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept.
*/
@JvmName("clyffbgoekmojfjg")
public suspend fun datastoreId(`value`: Output) {
this.datastoreId = value
}
/**
* @param value Gets or sets the ARM Id of the host resource on which this virtual machine will deploy.
*/
@JvmName("unehxayehdhmkxpx")
public suspend fun hostId(`value`: Output) {
this.hostId = value
}
/**
* @param value Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.
*/
@JvmName("liqwhtjkimfaswvw")
public suspend fun resourcePoolId(`value`: Output) {
this.resourcePoolId = value
}
/**
* @param value Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy.
*/
@JvmName("wrmjicceuygfyhto")
public suspend fun clusterId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.clusterId = mapped
}
/**
* @param value Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept.
*/
@JvmName("qfmgjayxvxityjfu")
public suspend fun datastoreId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.datastoreId = mapped
}
/**
* @param value Gets or sets the ARM Id of the host resource on which this virtual machine will deploy.
*/
@JvmName("ikawmvynmtwikccf")
public suspend fun hostId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.hostId = mapped
}
/**
* @param value Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.
*/
@JvmName("cgtbisewctsidqba")
public suspend fun resourcePoolId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourcePoolId = mapped
}
internal fun build(): PlacementProfileArgs = PlacementProfileArgs(
clusterId = clusterId,
datastoreId = datastoreId,
hostId = hostId,
resourcePoolId = resourcePoolId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy