class Azure::Compute::Mgmt::V2020_12_01::Models::PatchInstallationDetail

Information about a specific patch that was encountered during an installation action.

Attributes

classifications[RW]

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

installation_state[RW]

@return [PatchInstallationState] The state of the patch after the installation operation completed. Possible values include: 'Unknown', 'Installed', 'Failed', 'Excluded', 'NotSelected', 'Pending'

kb_id[RW]

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

name[RW]

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

patch_id[RW]

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

version[RW]

@return [String] The version string of the package. It may conform to Semantic Versioning. Only applies to Linux.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-12-01/generated/azure_mgmt_compute/models/patch_installation_detail.rb, line 44
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PatchInstallationDetail',
    type: {
      name: 'Composite',
      class_name: 'PatchInstallationDetail',
      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'
                }
            }
          }
        },
        installation_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'installationState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end