class Azure::Compute::Mgmt::V2019_07_01::Models::RollbackStatusInfo

Information about rollback on failed VM instances after a OS Upgrade operation.

Attributes

failed_rolledback_instance_count[RW]

@return [Integer] The number of instances which failed to rollback.

rollback_error[RW]

@return [ApiError] Error details if OS rollback failed.

successfully_rolledback_instance_count[RW]

@return [Integer] The number of instances which have been successfully rolled back.

Public Class Methods

mapper() click to toggle source

Mapper for RollbackStatusInfo class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-07-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