ImageTemplatePowerShellValidator |
ImageTemplatePowerShellValidator.withInline(List<String> inline) |
Set the inline property: Array of PowerShell commands to execute.
|
ImageTemplatePowerShellValidator |
ImageTemplatePowerShellValidator.withName(String name) |
Set the name property: Friendly Name to provide context on what this validation step does.
|
ImageTemplatePowerShellValidator |
ImageTemplatePowerShellValidator.withRunAsSystem(Boolean runAsSystem) |
Set the runAsSystem property: If specified, the PowerShell script will be run with elevated privileges using the
Local System user.
|
ImageTemplatePowerShellValidator |
ImageTemplatePowerShellValidator.withRunElevated(Boolean runElevated) |
Set the runElevated property: If specified, the PowerShell script will be run with elevated privileges.
|
ImageTemplatePowerShellValidator |
ImageTemplatePowerShellValidator.withScriptUri(String scriptUri) |
Set the scriptUri property: URI of the PowerShell script to be run for validation.
|
ImageTemplatePowerShellValidator |
ImageTemplatePowerShellValidator.withSha256Checksum(String sha256Checksum) |
Set the sha256Checksum property: SHA256 checksum of the power shell script provided in the scriptUri field above.
|
ImageTemplatePowerShellValidator |
ImageTemplatePowerShellValidator.withValidExitCodes(List<Integer> validExitCodes) |
Set the validExitCodes property: Valid exit codes for the PowerShell script.
|