![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.compute.kotlin.inputs.GetCapacityReservationGroupPlainArgs.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.compute.kotlin.inputs
import com.pulumi.azurenative.compute.inputs.GetCapacityReservationGroupPlainArgs.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 capacityReservationGroupName The name of the capacity reservation group.
* @property expand The expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the capacity reservations under the capacity reservation group which is a snapshot of the runtime properties of a capacity reservation that is managed by the platform and can change outside of control plane operations.
* @property resourceGroupName The name of the resource group.
*/
public data class GetCapacityReservationGroupPlainArgs(
public val capacityReservationGroupName: String,
public val expand: String? = null,
public val resourceGroupName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.compute.inputs.GetCapacityReservationGroupPlainArgs = com.pulumi.azurenative.compute.inputs.GetCapacityReservationGroupPlainArgs.builder()
.capacityReservationGroupName(capacityReservationGroupName.let({ args0 -> args0 }))
.expand(expand?.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetCapacityReservationGroupPlainArgs].
*/
@PulumiTagMarker
public class GetCapacityReservationGroupPlainArgsBuilder internal constructor() {
private var capacityReservationGroupName: String? = null
private var expand: String? = null
private var resourceGroupName: String? = null
/**
* @param value The name of the capacity reservation group.
*/
@JvmName("ymdmifxiuvddomya")
public suspend fun capacityReservationGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.capacityReservationGroupName = mapped
}
/**
* @param value The expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the capacity reservations under the capacity reservation group which is a snapshot of the runtime properties of a capacity reservation that is managed by the platform and can change outside of control plane operations.
*/
@JvmName("twinqefyxefwshax")
public suspend fun expand(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.expand = mapped
}
/**
* @param value The name of the resource group.
*/
@JvmName("vgtuguhstlppjbvd")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
internal fun build(): GetCapacityReservationGroupPlainArgs = GetCapacityReservationGroupPlainArgs(
capacityReservationGroupName = capacityReservationGroupName ?: throw
PulumiNullFieldException("capacityReservationGroupName"),
expand = expand,
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy