class Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineInstallPatchesResult

The result summary of an installation operation.

Attributes

error[RW]

@return [ApiError] The errors that were encountered during execution of the operation. The details array contains the list of them.

excluded_patch_count[RW]

@return [Integer] The number of patches that were not installed due to the user blocking their installation.

failed_patch_count[RW]

@return [Integer] The number of patches that could not be installed due to some issue. See errors for details.

installation_activity_id[RW]

@return [String] The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.

installed_patch_count[RW]

@return [Integer] The number of patches successfully installed.

maintenance_window_exceeded[RW]

@return [Boolean] Whether the operation ran out of time before it completed all its intended actions.

not_selected_patch_count[RW]

@return [Integer] The number of patches that were detected as available for install, but did not meet the operation's criteria.

patches[RW]

@return [Array<PatchInstallationDetail>] The patches that were installed during the operation.

pending_patch_count[RW]

@return [Integer] The number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true.

reboot_status[RW]

@return [VMGuestPatchRebootStatus] The reboot state of the VM following completion of the operation. Possible values include: 'Unknown', 'NotNeeded', 'Required', 'Started', 'Failed', 'Completed'

start_date_time[RW]

@return [DateTime] The UTC timestamp when the operation began.

status[RW]

@return [PatchOperationStatus] The overall success or failure status of the operation. It remains “InProgress” until the operation completes. At that point it will become “Failed”, “Succeeded”, “Unknown” or “CompletedWithWarnings.”. Possible values include: 'Unknown', 'InProgress', 'Failed', 'Succeeded', 'CompletedWithWarnings'

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_install_patches_result.rb, line 71
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualMachineInstallPatchesResult',
    type: {
      name: 'Composite',
      class_name: 'VirtualMachineInstallPatchesResult',
      model_properties: {
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        installation_activity_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'installationActivityId',
          type: {
            name: 'String'
          }
        },
        reboot_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'rebootStatus',
          type: {
            name: 'String'
          }
        },
        maintenance_window_exceeded: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'maintenanceWindowExceeded',
          type: {
            name: 'Boolean'
          }
        },
        excluded_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'excludedPatchCount',
          type: {
            name: 'Number'
          }
        },
        not_selected_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'notSelectedPatchCount',
          type: {
            name: 'Number'
          }
        },
        pending_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'pendingPatchCount',
          type: {
            name: 'Number'
          }
        },
        installed_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'installedPatchCount',
          type: {
            name: 'Number'
          }
        },
        failed_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'failedPatchCount',
          type: {
            name: 'Number'
          }
        },
        patches: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'patches',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PatchInstallationDetailElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PatchInstallationDetail'
                }
            }
          }
        },
        start_date_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'startDateTime',
          type: {
            name: 'DateTime'
          }
        },
        error: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'ApiError'
          }
        }
      }
    }
  }
end