CommandArgs

data class CommandArgs(val action: Output<Either<String, Action>>, val alwaysRun: Output<Boolean>? = null, val applyUpdateBefore: Output<Boolean>? = null, val content: Output<String>, val contentType: Output<Either<String, ContentType>>, val enrollIntuneBefore: Output<Boolean>? = null, val install1PAppBefore: Output<Boolean>? = null, val maxRunTime: Output<Int>? = null, val name: Output<String>, val postUpgrade: Output<Boolean>? = null, val preUpgrade: Output<Boolean>? = null, val restartAfter: Output<Boolean>? = null, val runAsInteractive: Output<Boolean>? = null, val runElevated: Output<Boolean>? = null) : ConvertibleToJava<CommandArgs>

The command used in the test

Constructors

Link copied to clipboard
constructor(action: Output<Either<String, Action>>, alwaysRun: Output<Boolean>? = null, applyUpdateBefore: Output<Boolean>? = null, content: Output<String>, contentType: Output<Either<String, ContentType>>, enrollIntuneBefore: Output<Boolean>? = null, install1PAppBefore: Output<Boolean>? = null, maxRunTime: Output<Int>? = null, name: Output<String>, postUpgrade: Output<Boolean>? = null, preUpgrade: Output<Boolean>? = null, restartAfter: Output<Boolean>? = null, runAsInteractive: Output<Boolean>? = null, runElevated: Output<Boolean>? = null)

Properties

Link copied to clipboard
val action: Output<Either<String, Action>>

The action of the command.

Link copied to clipboard
val alwaysRun: Output<Boolean>? = null

Specifies whether to run the command even if a previous command is failed.

Link copied to clipboard
val applyUpdateBefore: Output<Boolean>? = null

Specifies whether to apply update before the command.

Link copied to clipboard
val content: Output<String>

The content of the command. The content depends on source type.

Link copied to clipboard
val contentType: Output<Either<String, ContentType>>

The type of command content.

Link copied to clipboard
val enrollIntuneBefore: Output<Boolean>? = null

Specifies whether to enroll Intune before the command.

Link copied to clipboard
val install1PAppBefore: Output<Boolean>? = null

Specifies whether to install first party applications before running the command.

Link copied to clipboard
val maxRunTime: Output<Int>? = null

Specifies the max run time of the command.

Link copied to clipboard
val name: Output<String>

The name of the command.

Link copied to clipboard
val postUpgrade: Output<Boolean>? = null

Specifies whether the command is assigned to be executed after in-place upgrade.

Link copied to clipboard
val preUpgrade: Output<Boolean>? = null

Specifies whether the command is assigned to be executed before in-place upgrade.

Link copied to clipboard
val restartAfter: Output<Boolean>? = null

Specifies whether to restart the VM after the command executed.

Link copied to clipboard
val runAsInteractive: Output<Boolean>? = null

Specifies whether to run the command in interactive mode.

Link copied to clipboard
val runElevated: Output<Boolean>? = null

Specifies whether to run the command as administrator.

Functions

Link copied to clipboard
open override fun toJava(): CommandArgs