class Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachinePatchStatus

The status of virtual machine patch operations.

Attributes

available_patch_summary[RW]

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

configuration_statuses[RW]

@return [Array<InstanceViewStatus>] The enablement status of the specified patchMode

last_patch_installation_summary[RW]

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

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_patch_status.rb, line 32
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'
          }
        },
        configuration_statuses: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'configurationStatuses',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'InstanceViewStatusElementType',
                type: {
                  name: 'Composite',
                  class_name: 'InstanceViewStatus'
                }
            }
          }
        }
      }
    }
  }
end