ScriptExecutionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. avs. fluent. models. ScriptExecutionInner
- com.
- com.
public final class ScriptExecutionInner
extends ProxyResource
An instance of a script executed by a user - custom or AVS.
Constructor Summary
| Constructor | Description |
|---|---|
| ScriptExecutionInner() |
Creates an instance of Script |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
errors()
Get the errors property: Standard error output stream from the powershell execution. |
| String |
failureReason()
Get the failure |
|
Offset |
finishedAt()
Get the finished |
|
static
Script |
fromJson(JsonReader jsonReader)
Reads an instance of Script |
|
List<Script |
hiddenParameters()
Get the hidden |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| List<String> |
information()
Get the information property: Standard information out stream from the powershell execution. |
| String |
name()
Get the name property: The name of the resource. |
| Map<String,Object> |
namedOutputs()
Get the named |
| List<String> |
output()
Get the output property: Standard output stream from the powershell execution. |
|
List<Script |
parameters()
Get the parameters property: Parameters the script will accept. |
|
Script |
provisioningState()
Get the provisioning |
| String |
retention()
Get the retention property: Time to live for the resource. |
| String |
scriptCmdletId()
Get the script |
|
Offset |
startedAt()
Get the started |
|
Offset |
submittedAt()
Get the submitted |
|
System |
systemData()
Get the system |
| String |
timeout()
Get the timeout property: Time limit for execution. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
| List<String> |
warnings()
Get the warnings property: Standard warning out stream from the powershell execution. |
|
Script |
withFailureReason(String failureReason)
Set the failure |
|
Script |
withHiddenParameters(List<ScriptExecutionParameter> hiddenParameters)
Set the hidden |
|
Script |
withNamedOutputs(Map<String,Object> namedOutputs)
Set the named |
|
Script |
withOutput(List<String> output)
Set the output property: Standard output stream from the powershell execution. |
|
Script |
withParameters(List<ScriptExecutionParameter> parameters)
Set the parameters property: Parameters the script will accept. |
|
Script |
withRetention(String retention)
Set the retention property: Time to live for the resource. |
|
Script |
withScriptCmdletId(String scriptCmdletId)
Set the script |
|
Script |
withTimeout(String timeout)
Set the timeout property: Time limit for execution. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ScriptExecutionInner
public ScriptExecutionInner()
Creates an instance of ScriptExecutionInner class.
Method Details
errors
public List<String> errors()
Get the errors property: Standard error output stream from the powershell execution.
Returns:
failureReason
public String failureReason()
Get the failureReason property: Error message if the script was able to run, but if the script itself had errors or powershell threw an exception.
Returns:
finishedAt
public OffsetDateTime finishedAt()
Get the finishedAt property: Time the script execution was finished.
Returns:
fromJson
public static ScriptExecutionInner fromJson(JsonReader jsonReader)
Reads an instance of ScriptExecutionInner from the JsonReader.
Parameters:
Returns:
Throws:
hiddenParameters
public List<ScriptExecutionParameter> hiddenParameters()
Get the hiddenParameters property: Parameters that will be hidden/not visible to ARM, such as passwords and credentials.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ScriptExecutionInner.id()Returns:
information
public List<String> information()
Get the information property: Standard information out stream from the powershell execution.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ScriptExecutionInner.name()Returns:
namedOutputs
public Map<String,Object> namedOutputs()
Get the namedOutputs property: User-defined dictionary.
Returns:
output
public List<String> output()
Get the output property: Standard output stream from the powershell execution.
Returns:
parameters
public List<ScriptExecutionParameter> parameters()
Get the parameters property: Parameters the script will accept.
Returns:
provisioningState
public ScriptExecutionProvisioningState provisioningState()
Get the provisioningState property: The state of the script execution resource.
Returns:
retention
public String retention()
Get the retention property: Time to live for the resource. If not provided, will be available for 60 days.
Returns:
scriptCmdletId
public String scriptCmdletId()
Get the scriptCmdletId property: A reference to the script cmdlet resource if user is running a AVS script.
Returns:
startedAt
public OffsetDateTime startedAt()
Get the startedAt property: Time the script execution was started.
Returns:
submittedAt
public OffsetDateTime submittedAt()
Get the submittedAt property: Time the script execution was submitted.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
timeout
public String timeout()
Get the timeout property: Time limit for execution.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ScriptExecutionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ScriptExecutionInner.type()Returns:
validate
public void validate()
Validates the instance.
warnings
public List<String> warnings()
Get the warnings property: Standard warning out stream from the powershell execution.
Returns:
withFailureReason
public ScriptExecutionInner withFailureReason(String failureReason)
Set the failureReason property: Error message if the script was able to run, but if the script itself had errors or powershell threw an exception.
Parameters:
Returns:
withHiddenParameters
public ScriptExecutionInner withHiddenParameters(List<ScriptExecutionParameter> hiddenParameters)
Set the hiddenParameters property: Parameters that will be hidden/not visible to ARM, such as passwords and credentials.
Parameters:
Returns:
withNamedOutputs
public ScriptExecutionInner withNamedOutputs(Map<String,Object> namedOutputs)
Set the namedOutputs property: User-defined dictionary.
Parameters:
Returns:
withOutput
public ScriptExecutionInner withOutput(List<String> output)
Set the output property: Standard output stream from the powershell execution.
Parameters:
Returns:
withParameters
public ScriptExecutionInner withParameters(List<ScriptExecutionParameter> parameters)
Set the parameters property: Parameters the script will accept.
Parameters:
Returns:
withRetention
public ScriptExecutionInner withRetention(String retention)
Set the retention property: Time to live for the resource. If not provided, will be available for 60 days.
Parameters:
Returns:
withScriptCmdletId
public ScriptExecutionInner withScriptCmdletId(String scriptCmdletId)
Set the scriptCmdletId property: A reference to the script cmdlet resource if user is running a AVS script.
Parameters:
Returns:
withTimeout
public ScriptExecutionInner withTimeout(String timeout)
Set the timeout property: Time limit for execution.
Parameters:
Returns: