Class: Azure::Compute::Mgmt::V2018_06_01::Models::RollbackStatusInfo
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2018_06_01::Models::RollbackStatusInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01/generated/azure_mgmt_compute/models/rollback_status_info.rb
Overview
Information about rollback on failed VM instances after a OS Upgrade operation.
Instance Attribute Summary collapse
-
#failed_rolledback_instance_count ⇒ Integer
The number of instances which failed to rollback.
-
#rollback_error ⇒ ApiError
Error details if OS rollback failed.
-
#successfully_rolledback_instance_count ⇒ Integer
rolled back.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RollbackStatusInfo class as Ruby Hash.
Instance Attribute Details
#failed_rolledback_instance_count ⇒ Integer
Returns The number of instances which failed to rollback.
21 22 23 |
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/rollback_status_info.rb', line 21 def failed_rolledback_instance_count @failed_rolledback_instance_count end |
#rollback_error ⇒ ApiError
Returns Error details if OS rollback failed.
24 25 26 |
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/rollback_status_info.rb', line 24 def rollback_error @rollback_error end |
#successfully_rolledback_instance_count ⇒ Integer
rolled back.
18 19 20 |
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/rollback_status_info.rb', line 18 def successfully_rolledback_instance_count @successfully_rolledback_instance_count end |
Class Method Details
.mapper ⇒ Object
Mapper for RollbackStatusInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/rollback_status_info.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RollbackStatusInfo', type: { name: 'Composite', class_name: 'RollbackStatusInfo', model_properties: { successfully_rolledback_instance_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'successfullyRolledbackInstanceCount', type: { name: 'Number' } }, failed_rolledback_instance_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'failedRolledbackInstanceCount', type: { name: 'Number' } }, rollback_error: { client_side_validation: true, required: false, read_only: true, serialized_name: 'rollbackError', type: { name: 'Composite', class_name: 'ApiError' } } } } } end |