class Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeProgressInfo

Information about the number of virtual machine instances in each upgrade state.

Attributes

failed_instance_count[RW]

@return [Integer] The number of instances that have failed to be upgraded successfully.

in_progress_instance_count[RW]

@return [Integer] The number of instances that are currently being upgraded.

pending_instance_count[RW]

@return [Integer] The number of instances that have not yet begun to be upgraded.

successful_instance_count[RW]

@return [Integer] The number of instances that have been successfully upgraded.

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb, line 37
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RollingUpgradeProgressInfo',
    type: {
      name: 'Composite',
      class_name: 'RollingUpgradeProgressInfo',
      model_properties: {
        successful_instance_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'successfulInstanceCount',
          type: {
            name: 'Number'
          }
        },
        failed_instance_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'failedInstanceCount',
          type: {
            name: 'Number'
          }
        },
        in_progress_instance_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'inProgressInstanceCount',
          type: {
            name: 'Number'
          }
        },
        pending_instance_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'pendingInstanceCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end