Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azurestackhci.kotlin.inputs
import com.pulumi.azurenative.azurestackhci.inputs.StepArgs.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.collections.List
import kotlin.jvm.JvmName
/**
* Progress representation of the update run steps.
* @property description More detailed description of the step.
* @property endTimeUtc When the step reached a terminal state.
* @property errorMessage Error message, specified if the step is in a failed state.
* @property lastUpdatedTimeUtc Completion time of this step or the last completed sub-step.
* @property name Name of the step.
* @property startTimeUtc When the step started, or empty if it has not started executing.
* @property status Status of the step, bubbled up from the ECE action plan for installation attempts. Values are: 'Success', 'Error', 'InProgress', and 'Unknown status'.
* @property steps Recursive model for child steps of this step.
*/
public data class StepArgs(
public val description: Output? = null,
public val endTimeUtc: Output? = null,
public val errorMessage: Output? = null,
public val lastUpdatedTimeUtc: Output? = null,
public val name: Output? = null,
public val startTimeUtc: Output? = null,
public val status: Output? = null,
public val steps: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.azurestackhci.inputs.StepArgs =
com.pulumi.azurenative.azurestackhci.inputs.StepArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.endTimeUtc(endTimeUtc?.applyValue({ args0 -> args0 }))
.errorMessage(errorMessage?.applyValue({ args0 -> args0 }))
.lastUpdatedTimeUtc(lastUpdatedTimeUtc?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.startTimeUtc(startTimeUtc?.applyValue({ args0 -> args0 }))
.status(status?.applyValue({ args0 -> args0 }))
.steps(
steps?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [StepArgs].
*/
@PulumiTagMarker
public class StepArgsBuilder internal constructor() {
private var description: Output? = null
private var endTimeUtc: Output? = null
private var errorMessage: Output? = null
private var lastUpdatedTimeUtc: Output? = null
private var name: Output? = null
private var startTimeUtc: Output? = null
private var status: Output? = null
private var steps: Output>? = null
/**
* @param value More detailed description of the step.
*/
@JvmName("pvwwasrywsugylhl")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value When the step reached a terminal state.
*/
@JvmName("wvbbxriautmmixsc")
public suspend fun endTimeUtc(`value`: Output) {
this.endTimeUtc = value
}
/**
* @param value Error message, specified if the step is in a failed state.
*/
@JvmName("inlfrkydskmtncda")
public suspend fun errorMessage(`value`: Output) {
this.errorMessage = value
}
/**
* @param value Completion time of this step or the last completed sub-step.
*/
@JvmName("lwhxxblsjbgnwaxl")
public suspend fun lastUpdatedTimeUtc(`value`: Output) {
this.lastUpdatedTimeUtc = value
}
/**
* @param value Name of the step.
*/
@JvmName("yyifxntvdwcdwxdj")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value When the step started, or empty if it has not started executing.
*/
@JvmName("aedgvdhixnartqgd")
public suspend fun startTimeUtc(`value`: Output) {
this.startTimeUtc = value
}
/**
* @param value Status of the step, bubbled up from the ECE action plan for installation attempts. Values are: 'Success', 'Error', 'InProgress', and 'Unknown status'.
*/
@JvmName("iatknqghbidmdqrk")
public suspend fun status(`value`: Output) {
this.status = value
}
/**
* @param value Recursive model for child steps of this step.
*/
@JvmName("pkogctwdkxqsqopd")
public suspend fun steps(`value`: Output>) {
this.steps = value
}
@JvmName("brkngeovemcctylc")
public suspend fun steps(vararg values: Output) {
this.steps = Output.all(values.asList())
}
/**
* @param values Recursive model for child steps of this step.
*/
@JvmName("otqprsbxvnrkhawg")
public suspend fun steps(values: List