class Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineSoftwarePatchProperties

Describes the properties of a Virtual Machine software patch.

Attributes

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.

assessment_state[RW]

@return [PatchAssessmentState] Describes the availability of a given patch. Possible values include: 'Unknown', 'Available'

classifications[RW]

@return [Array<String>] The classification(s) of the patch as provided by the patch publisher.

kb_id[RW]

@return [String] The KBID of the patch. Only applies to Windows patches.

last_modified_date_time[RW]

@return [DateTime] The UTC timestamp of the last update to this patch record.

name[RW]

@return [String] The friendly name of the patch.

patch_id[RW]

@return [String] A unique identifier for the patch.

published_date[RW]

@return [DateTime] The UTC timestamp when the repository published this patch.

reboot_behavior[RW]

@return [VMGuestPatchRebootBehavior] Describes the reboot requirements of the patch. Possible values include: 'Unknown', 'NeverReboots', 'AlwaysRequiresReboot', 'CanRequestReboot'

version[RW]

@return [String] The version number of the patch. This property applies only to Linux patches.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb, line 59
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualMachineSoftwarePatchProperties',
    type: {
      name: 'Composite',
      class_name: 'VirtualMachineSoftwarePatchProperties',
      model_properties: {
        patch_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'patchId',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        version: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'version',
          type: {
            name: 'String'
          }
        },
        kb_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'kbId',
          type: {
            name: 'String'
          }
        },
        classifications: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'classifications',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        reboot_behavior: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'rebootBehavior',
          type: {
            name: 'String'
          }
        },
        activity_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'activityId',
          type: {
            name: 'String'
          }
        },
        published_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'publishedDate',
          type: {
            name: 'DateTime'
          }
        },
        last_modified_date_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'lastModifiedDateTime',
          type: {
            name: 'DateTime'
          }
        },
        assessment_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'assessmentState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end