你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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.