Sha256: 555951ae9fc87b99922e7e01097081ecb23d4bb54e6adc6db0c1f0cdeb5a867e

Contents?: true

Size: 1.86 KB

Versions: 3

Compression:

Stored size: 1.86 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::V2020_06_01
  module Models
    #
    # The status of virtual machine patch operations.
    #
    class VirtualMachinePatchStatus

      include MsRestAzure

      # @return [AvailablePatchSummary] The available patch summary of the
      # latest assessment operation for the virtual machine.
      attr_accessor :available_patch_summary

      # @return [LastPatchInstallationSummary] The installation summary of the
      # latest installation operation for the virtual machine.
      attr_accessor :last_patch_installation_summary


      #
      # Mapper for VirtualMachinePatchStatus class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'VirtualMachinePatchStatus',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachinePatchStatus',
            model_properties: {
              available_patch_summary: {
                client_side_validation: true,
                required: false,
                serialized_name: 'availablePatchSummary',
                type: {
                  name: 'Composite',
                  class_name: 'AvailablePatchSummary'
                }
              },
              last_patch_installation_summary: {
                client_side_validation: true,
                required: false,
                serialized_name: 'lastPatchInstallationSummary',
                type: {
                  name: 'Composite',
                  class_name: 'LastPatchInstallationSummary'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_patch_status.rb
azure_mgmt_compute-0.21.1 lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_patch_status.rb
azure_mgmt_compute-0.20.0 lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_patch_status.rb