Sha256: 17a14a6b32f543e5173f75f24bb1bd31fb436e325030f346aee82ce0f4137235

Contents?: true

Size: 1.61 KB

Versions: 9

Compression:

Stored size: 1.61 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::V2019_03_01
  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()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'VirtualMachineStatusCodeCount',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineStatusCodeCount',
            model_properties: {
              code: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'code',
                type: {
                  name: 'String'
                }
              },
              count: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'count',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb
azure_mgmt_compute-0.21.1 lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb
azure_mgmt_compute-0.20.0 lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb
azure_mgmt_compute-0.19.3 lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb
azure_mgmt_compute-0.19.2 lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb
azure_mgmt_compute-0.19.1 lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb
azure_mgmt_compute-0.19.0 lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb
azure_mgmt_compute-0.18.7 lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb
azure_mgmt_compute-0.18.6 lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb