Class: Azure::Compute::Mgmt::V2020_06_01::Models::VirtualMachineRunCommandInstanceView
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_06_01::Models::VirtualMachineRunCommandInstanceView
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_instance_view.rb
Overview
The instance view of a virtual machine run command.
Instance Attribute Summary collapse
-
#end_time ⇒ DateTime
Script end time.
-
#error ⇒ String
Script error stream.
-
#execution_message ⇒ String
messages.
-
#execution_state ⇒ ExecutionState
include: 'Unknown', 'Pending', 'Running', 'Failed', 'Succeeded', 'TimedOut', 'Canceled'.
-
#exit_code ⇒ Integer
Exit code returned from script execution.
-
#output ⇒ String
Script output stream.
-
#start_time ⇒ DateTime
Script start time.
-
#statuses ⇒ Array<InstanceViewStatus>
The resource status information.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineRunCommandInstanceView class as Ruby Hash.
Instance Attribute Details
#end_time ⇒ DateTime
Returns Script end time.
37 38 39 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_instance_view.rb', line 37 def end_time @end_time end |
#error ⇒ String
Returns Script error stream.
31 32 33 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_instance_view.rb', line 31 def error @error end |
#execution_message ⇒ String
messages.
22 23 24 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_instance_view.rb', line 22 def @execution_message end |
#execution_state ⇒ ExecutionState
include: 'Unknown', 'Pending', 'Running', 'Failed', 'Succeeded', 'TimedOut', 'Canceled'
18 19 20 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_instance_view.rb', line 18 def execution_state @execution_state end |
#exit_code ⇒ Integer
Returns Exit code returned from script execution.
25 26 27 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_instance_view.rb', line 25 def exit_code @exit_code end |
#output ⇒ String
Returns Script output stream.
28 29 30 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_instance_view.rb', line 28 def output @output end |
#start_time ⇒ DateTime
Returns Script start time.
34 35 36 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_instance_view.rb', line 34 def start_time @start_time end |
#statuses ⇒ Array<InstanceViewStatus>
Returns The resource status information.
40 41 42 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_instance_view.rb', line 40 def statuses @statuses end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineRunCommandInstanceView class as Ruby Hash. This will be used for serialization/deserialization.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_instance_view.rb', line 47 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineRunCommandInstanceView', type: { name: 'Composite', class_name: 'VirtualMachineRunCommandInstanceView', model_properties: { execution_state: { client_side_validation: true, required: false, serialized_name: 'executionState', type: { name: 'String' } }, execution_message: { client_side_validation: true, required: false, serialized_name: 'executionMessage', type: { name: 'String' } }, exit_code: { client_side_validation: true, required: false, serialized_name: 'exitCode', type: { name: 'Number' } }, output: { client_side_validation: true, required: false, serialized_name: 'output', type: { name: 'String' } }, error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'String' } }, start_time: { client_side_validation: true, required: false, serialized_name: 'startTime', type: { name: 'DateTime' } }, end_time: { client_side_validation: true, required: false, serialized_name: 'endTime', type: { name: 'DateTime' } }, statuses: { client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { name: 'Composite', class_name: 'InstanceViewStatus' } } } } } } } end |