Sha256: c183053b2ae05e3c37dac29ef3698d90eaf3c59e9d5059114cdfd687393e71cb

Contents?: true

Size: 1.48 KB

Versions: 2

Compression:

Stored size: 1.48 KB

Contents

# 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::V2017_03_30
  module Models
    #
    # The status code and count of the virtual machine scale set instance view
    # status summary.
    #
    class VirtualMachineStatusCodeCount

      include MsRestAzure

      # @return [String] The instance view status code.
      attr_accessor :code

      # @return [Integer] The number of instances having a particular status
      # code.
      attr_accessor :count


      #
      # Mapper for VirtualMachineStatusCodeCount class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'VirtualMachineStatusCodeCount',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineStatusCodeCount',
            model_properties: {
              code: {
                required: false,
                read_only: true,
                serialized_name: 'code',
                type: {
                  name: 'String'
                }
              },
              count: {
                required: false,
                read_only: true,
                serialized_name: 'count',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.15.1 lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb
azure_mgmt_compute-0.15.0 lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb