Class: Azure::Compute::Mgmt::V2020_06_01::Models::VirtualMachinePatchStatus

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_patch_status.rb

Overview

The status of virtual machine patch operations.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#available_patch_summaryAvailablePatchSummary

latest assessment operation for the virtual machine.

Returns:



17
18
19
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_patch_status.rb', line 17

def available_patch_summary
  @available_patch_summary
end

#last_patch_installation_summaryLastPatchInstallationSummary

latest installation operation for the virtual machine.

Returns:



21
22
23
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_patch_status.rb', line 21

def last_patch_installation_summary
  @last_patch_installation_summary
end

Class Method Details

.mapperObject

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



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_patch_status.rb', line 28

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