Class: Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineStatusCodeCount
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineStatusCodeCount
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb
Overview
The status code and count of the virtual machine scale set instance view status summary.
Instance Attribute Summary collapse
-
#code ⇒ String
The instance view status code.
-
#count ⇒ Integer
code.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineStatusCodeCount class as Ruby Hash.
Instance Attribute Details
#code ⇒ String
Returns The instance view status code.
17 18 19 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb', line 17 def code @code end |
#count ⇒ Integer
code.
21 22 23 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb', line 21 def count @count end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineStatusCodeCount class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCount', type: { name: 'Composite', class_name: 'VirtualMachineStatusCodeCount', model_properties: { code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'code', type: { name: 'String' } }, count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'count', type: { name: 'Number' } } } } } end |