
com.pulumi.azurenative.devtestlab.kotlin.inputs.GetVirtualMachineSchedulePlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.devtestlab.kotlin.inputs
import com.pulumi.azurenative.devtestlab.inputs.GetVirtualMachineSchedulePlainArgs.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 expand Specify the $expand query. Example: 'properties($select=status)'
* @property labName The name of the lab.
* @property name The name of the schedule.
* @property resourceGroupName The name of the resource group.
* @property virtualMachineName The name of the virtual machine.
*/
public data class GetVirtualMachineSchedulePlainArgs(
public val expand: String? = null,
public val labName: String,
public val name: String,
public val resourceGroupName: String,
public val virtualMachineName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.devtestlab.inputs.GetVirtualMachineSchedulePlainArgs = com.pulumi.azurenative.devtestlab.inputs.GetVirtualMachineSchedulePlainArgs.builder()
.expand(expand?.let({ args0 -> args0 }))
.labName(labName.let({ args0 -> args0 }))
.name(name.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
.virtualMachineName(virtualMachineName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetVirtualMachineSchedulePlainArgs].
*/
@PulumiTagMarker
public class GetVirtualMachineSchedulePlainArgsBuilder internal constructor() {
private var expand: String? = null
private var labName: String? = null
private var name: String? = null
private var resourceGroupName: String? = null
private var virtualMachineName: String? = null
/**
* @param value Specify the $expand query. Example: 'properties($select=status)'
*/
@JvmName("khfxugunrrohbdnh")
public suspend fun expand(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.expand = mapped
}
/**
* @param value The name of the lab.
*/
@JvmName("ovaddvlpcbkoiwly")
public suspend fun labName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.labName = mapped
}
/**
* @param value The name of the schedule.
*/
@JvmName("prcfdbmcqneylalh")
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.
*/
@JvmName("jofnibghbvixvmip")
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 machine.
*/
@JvmName("hkijuhwogimlhsgn")
public suspend fun virtualMachineName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.virtualMachineName = mapped
}
internal fun build(): GetVirtualMachineSchedulePlainArgs = GetVirtualMachineSchedulePlainArgs(
expand = expand,
labName = labName ?: throw PulumiNullFieldException("labName"),
name = name ?: throw PulumiNullFieldException("name"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
virtualMachineName = virtualMachineName ?: throw PulumiNullFieldException("virtualMachineName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy