![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.hybridcontainerservice.kotlin.inputs.StorageSpacesPropertiesProvisioningStatusArgs.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.hybridcontainerservice.kotlin.inputs
import com.pulumi.azurenative.hybridcontainerservice.inputs.StorageSpacesPropertiesProvisioningStatusArgs.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
/**
* Contains Provisioning errors
* @property error
* @property operationId
* @property phase Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc.
* @property status
*/
public data class StorageSpacesPropertiesProvisioningStatusArgs(
public val error: Output? = null,
public val operationId: Output? = null,
public val phase: Output? = null,
public val status: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.hybridcontainerservice.inputs.StorageSpacesPropertiesProvisioningStatusArgs =
com.pulumi.azurenative.hybridcontainerservice.inputs.StorageSpacesPropertiesProvisioningStatusArgs.builder()
.error(error?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.operationId(operationId?.applyValue({ args0 -> args0 }))
.phase(phase?.applyValue({ args0 -> args0 }))
.status(status?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [StorageSpacesPropertiesProvisioningStatusArgs].
*/
@PulumiTagMarker
public class StorageSpacesPropertiesProvisioningStatusArgsBuilder internal constructor() {
private var error: Output? = null
private var operationId: Output? = null
private var phase: Output? = null
private var status: Output? = null
/**
* @param value
*/
@JvmName("eulhyovmqldfwrmo")
public suspend fun error(`value`: Output) {
this.error = value
}
/**
* @param value
*/
@JvmName("yfhyiqvqkmaargjs")
public suspend fun operationId(`value`: Output) {
this.operationId = value
}
/**
* @param value Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc.
*/
@JvmName("jawpdqradllbudhn")
public suspend fun phase(`value`: Output) {
this.phase = value
}
/**
* @param value
*/
@JvmName("svmsxmlvjmrngtrh")
public suspend fun status(`value`: Output) {
this.status = value
}
/**
* @param value
*/
@JvmName("meqfpbxnugbapbqi")
public suspend fun error(`value`: StorageSpacesPropertiesErrorArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.error = mapped
}
/**
* @param argument
*/
@JvmName("dpnuanxadbcxwrsn")
public suspend fun error(argument: suspend StorageSpacesPropertiesErrorArgsBuilder.() -> Unit) {
val toBeMapped = StorageSpacesPropertiesErrorArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.error = mapped
}
/**
* @param value
*/
@JvmName("uhchqwptfiifiscj")
public suspend fun operationId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.operationId = mapped
}
/**
* @param value Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc.
*/
@JvmName("uwxjwohdipidqmtu")
public suspend fun phase(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.phase = mapped
}
/**
* @param value
*/
@JvmName("mbrwxeroymlvgsgv")
public suspend fun status(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.status = mapped
}
internal fun build(): StorageSpacesPropertiesProvisioningStatusArgs =
StorageSpacesPropertiesProvisioningStatusArgs(
error = error,
operationId = operationId,
phase = phase,
status = status,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy