VirtualMachineRunCommandInstanceView Class

The instance view of a virtual machine run command.

Inheritance
azure.mgmt.compute._serialization.Model
VirtualMachineRunCommandInstanceView

Constructor

VirtualMachineRunCommandInstanceView(*, execution_state: str | _models.ExecutionState | None = None, execution_message: str | None = None, exit_code: int | None = None, output: str | None = None, error: str | None = None, start_time: datetime | None = None, end_time: datetime | None = None, statuses: List[_models.InstanceViewStatus] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
execution_state

Script execution status. Known values are: "Unknown", "Pending", "Running", "Failed", "Succeeded", "TimedOut", and "Canceled".

execution_message
str

Communicate script configuration errors or execution messages.

exit_code
int

Exit code returned from script execution.

output
str

Script output stream.

error
str

Script error stream.

start_time

Script start time.

end_time

Script end time.

statuses

The resource status information.

Variables

Name Description
execution_state

Script execution status. Known values are: "Unknown", "Pending", "Running", "Failed", "Succeeded", "TimedOut", and "Canceled".

execution_message
str

Communicate script configuration errors or execution messages.

exit_code
int

Exit code returned from script execution.

output
str

Script output stream.

error
str

Script error stream.

start_time

Script start time.

end_time

Script end time.

statuses

The resource status information.