ScriptExecution Interface
public interface ScriptExecution
An immutable client-side representation of ScriptExecution.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract List<String> |
errors()
Gets the errors property: Standard error output stream from the powershell execution. |
| abstract String |
failureReason()
Gets the failure |
|
abstract
Offset |
finishedAt()
Gets the finished |
|
abstract
Script |
getExecutionLogs()
Return the logs for a script execution resource. |
|
abstract
Response<Script |
getExecutionLogsWithResponse(List<ScriptOutputStreamType> scriptOutputStreamType, Context context)
Return the logs for a script execution resource. |
|
abstract
List<Script |
hiddenParameters()
Gets the hidden |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
| abstract List<String> |
information()
Gets the information property: Standard information out stream from the powershell execution. |
|
abstract
Script |
innerModel()
Gets the inner com. |
| abstract String |
name()
Gets the name property: The name of the resource. |
| abstract Map<String,Object> |
namedOutputs()
Gets the named |
| abstract List<String> |
output()
Gets the output property: Standard output stream from the powershell execution. |
|
abstract
List<Script |
parameters()
Gets the parameters property: Parameters the script will accept. |
|
abstract
Script |
provisioningState()
Gets the provisioning |
|
abstract
Script |
refresh()
Refreshes the resource to sync with Azure. |
|
abstract
Script |
refresh(Context context)
Refreshes the resource to sync with Azure. |
| abstract String |
resourceGroupName()
Gets the name of the resource group. |
| abstract String |
retention()
Gets the retention property: Time to live for the resource. |
| abstract String |
scriptCmdletId()
Gets the script |
|
abstract
Offset |
startedAt()
Gets the started |
|
abstract
Offset |
submittedAt()
Gets the submitted |
|
abstract
System |
systemData()
Gets the system |
| abstract String |
timeout()
Gets the timeout property: Time limit for execution. |
| abstract String |
type()
Gets the type property: The type of the resource. |
| abstract Update |
update()
Begins update for the Script |
| abstract List<String> |
warnings()
Gets the warnings property: Standard warning out stream from the powershell execution. |
Method Details
errors
public abstract List<String> errors()
Gets the errors property: Standard error output stream from the powershell execution.
Returns:
failureReason
public abstract String failureReason()
Gets 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 abstract OffsetDateTime finishedAt()
Gets the finishedAt property: Time the script execution was finished.
Returns:
getExecutionLogs
public abstract ScriptExecution getExecutionLogs()
Return the logs for a script execution resource.
Returns:
getExecutionLogsWithResponse
public abstract Response<ScriptExecution> getExecutionLogsWithResponse(List<ScriptOutputStreamType> scriptOutputStreamType, Context context)
Return the logs for a script execution resource.
Parameters:
Returns:
hiddenParameters
public abstract List<ScriptExecutionParameter> hiddenParameters()
Gets the hiddenParameters property: Parameters that will be hidden/not visible to ARM, such as passwords and credentials.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
information
public abstract List<String> information()
Gets the information property: Standard information out stream from the powershell execution.
Returns:
innerModel
public abstract ScriptExecutionInner innerModel()
Gets the inner com.azure.resourcemanager.avs.fluent.models.ScriptExecutionInner object.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
namedOutputs
public abstract Map<String,Object> namedOutputs()
Gets the namedOutputs property: User-defined dictionary.
Returns:
output
public abstract List<String> output()
Gets the output property: Standard output stream from the powershell execution.
Returns:
parameters
public abstract List<ScriptExecutionParameter> parameters()
Gets the parameters property: Parameters the script will accept.
Returns:
provisioningState
public abstract ScriptExecutionProvisioningState provisioningState()
Gets the provisioningState property: The state of the script execution resource.
Returns:
refresh
public abstract ScriptExecution refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract ScriptExecution refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
retention
public abstract String retention()
Gets the retention property: Time to live for the resource. If not provided, will be available for 60 days.
Returns:
scriptCmdletId
public abstract String scriptCmdletId()
Gets the scriptCmdletId property: A reference to the script cmdlet resource if user is running a AVS script.
Returns:
startedAt
public abstract OffsetDateTime startedAt()
Gets the startedAt property: Time the script execution was started.
Returns:
submittedAt
public abstract OffsetDateTime submittedAt()
Gets the submittedAt property: Time the script execution was submitted.
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
timeout
public abstract String timeout()
Gets the timeout property: Time limit for execution.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract ScriptExecution.Update update()
Begins update for the ScriptExecution resource.
Returns:
warnings
public abstract List<String> warnings()
Gets the warnings property: Standard warning out stream from the powershell execution.
Returns: