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.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.avs;
import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.avs.ScriptExecutionArgs;
import com.pulumi.azurenative.avs.outputs.PSCredentialExecutionParameterResponse;
import com.pulumi.azurenative.avs.outputs.ScriptSecureStringExecutionParameterResponse;
import com.pulumi.azurenative.avs.outputs.ScriptStringExecutionParameterResponse;
import com.pulumi.core.Alias;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* An instance of a script executed by a user - custom or AVS
* Azure REST API version: 2022-05-01. Prior API version in Azure Native 1.x: 2021-06-01.
*
* Other available API versions: 2023-03-01, 2023-09-01.
*
* ## Example Usage
* ### ScriptExecutions_CreateOrUpdate
*
*
*
* ## Import
*
* An existing resource can be imported using its type token, name, and identifier, e.g.
*
* ```sh
* $ pulumi import azure-native:avs:ScriptExecution addSsoServer /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}
* ```
*
*/
@ResourceType(type="azure-native:avs:ScriptExecution")
public class ScriptExecution extends com.pulumi.resources.CustomResource {
/**
* Standard error output stream from the powershell execution
*
*/
@Export(name="errors", refs={List.class,String.class}, tree="[0,1]")
private Output> errors;
/**
* @return Standard error output stream from the powershell execution
*
*/
public Output> errors() {
return this.errors;
}
/**
* Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
*
*/
@Export(name="failureReason", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> failureReason;
/**
* @return Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
*
*/
public Output> failureReason() {
return Codegen.optional(this.failureReason);
}
/**
* Time the script execution was finished
*
*/
@Export(name="finishedAt", refs={String.class}, tree="[0]")
private Output finishedAt;
/**
* @return Time the script execution was finished
*
*/
public Output finishedAt() {
return this.finishedAt;
}
/**
* Parameters that will be hidden/not visible to ARM, such as passwords and credentials
*
*/
@Export(name="hiddenParameters", refs={List.class,Object.class}, tree="[0,1]")
private Output* @Nullable */ List