# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Compute::Mgmt::V2019_03_01 module Models # # Information about rollback on failed VM instances after a OS Upgrade # operation. # class RollbackStatusInfo include MsRestAzure # @return [Integer] The number of instances which have been successfully # rolled back. attr_accessor :successfully_rolledback_instance_count # @return [Integer] The number of instances which failed to rollback. attr_accessor :failed_rolledback_instance_count # @return [ApiError] Error details if OS rollback failed. attr_accessor :rollback_error # # Mapper for RollbackStatusInfo class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end