ScriptExecutionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. avs. fluent. models. ScriptExecutionProperties
- com.
Implements
public final class ScriptExecutionProperties
implements JsonSerializable<ScriptExecutionProperties>
Properties of a user-invoked script.
Constructor | Description |
---|---|
Script |
Creates an instance of Script |
Modifier and Type | Method and Description |
---|---|
List<String> |
errors()
Get the errors property: Standard error output stream from the powershell execution. |
String |
failure Get the failure |
Offset |
finished Get the finished |
static
Script |
from Reads an instance of Script |
List<Script |
hidden Get the hidden |
List<String> |
information()
Get the information property: Standard information out stream from the powershell execution. |
Map<String,Object> |
named 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 |
provisioning Get the provisioning |
String |
retention()
Get the retention property: Time to live for the resource. |
String |
script Get the script |
Offset |
started Get the started |
Offset |
submitted Get the submitted |
String |
timeout()
Get the timeout property: Time limit for execution. |
Json |
to |
void |
validate()
Validates the instance. |
List<String> |
warnings()
Get the warnings property: Standard warning out stream from the powershell execution. |
Script |
with Set the failure |
Script |
with Set the hidden |
Script |
with Set the named |
Script |
with Set the output property: Standard output stream from the powershell execution. |
Script |
with Set the parameters property: Parameters the script will accept. |
Script |
with Set the retention property: Time to live for the resource. |
Script |
with Set the script |
Script |
with Set the timeout property: Time limit for execution. |
Methods inherited from java.lang.Object
ScriptExecutionProperties
public ScriptExecutionProperties()
Creates an instance of ScriptExecutionProperties class.
errors
public List
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 ScriptExecutionProperties fromJson(JsonReader jsonReader)
Reads an instance of ScriptExecutionProperties from the JsonReader.
Parameters:
Returns:
Throws:
hiddenParameters
public List
Get the hiddenParameters property: Parameters that will be hidden/not visible to ARM, such as passwords and credentials.
Returns:
information
public List
Get the information property: Standard information out stream from the powershell execution.
Returns:
namedOutputs
public Map
Get the namedOutputs property: User-defined dictionary.
Returns:
output
public List
Get the output property: Standard output stream from the powershell execution.
Returns:
parameters
public List
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:
timeout
public String timeout()
Get the timeout property: Time limit for execution.
Returns:
toJson
validate
public void validate()
Validates the instance.
warnings
public List
Get the warnings property: Standard warning out stream from the powershell execution.
Returns:
withFailureReason
public ScriptExecutionProperties 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 ScriptExecutionProperties withHiddenParameters(List
Set the hiddenParameters property: Parameters that will be hidden/not visible to ARM, such as passwords and credentials.
Parameters:
Returns:
withNamedOutputs
public ScriptExecutionProperties withNamedOutputs(Map
Set the namedOutputs property: User-defined dictionary.
Parameters:
Returns:
withOutput
public ScriptExecutionProperties withOutput(List
Set the output property: Standard output stream from the powershell execution.
Parameters:
Returns:
withParameters
public ScriptExecutionProperties withParameters(List
Set the parameters property: Parameters the script will accept.
Parameters:
Returns:
withRetention
public ScriptExecutionProperties 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 ScriptExecutionProperties 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 ScriptExecutionProperties withTimeout(String timeout)
Set the timeout property: Time limit for execution.
Parameters:
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: