class Azure::Compute::Mgmt::V2020_12_01::Models::WindowsParameters

Input for InstallPatches on a Windows VM, as directly received by the API

Attributes

classifications_to_include[RW]

@return [Array<VMGuestPatchClassificationWindows>] The update classifications to select when installing patches for Windows.

exclude_kbs_requiring_reboot[RW]

@return [Boolean] Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true.

kb_numbers_to_exclude[RW]

@return [Array<String>] Kbs to exclude in the patch operation

kb_numbers_to_include[RW]

@return [Array<String>] Kbs to include in the patch operation

max_patch_publish_date[RW]

@return [DateTime] This is used to install patches that were published on or before this given max published date.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WindowsParameters',
    type: {
      name: 'Composite',
      class_name: 'WindowsParameters',
      model_properties: {
        classifications_to_include: {
          client_side_validation: true,
          required: false,
          serialized_name: 'classificationsToInclude',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VMGuestPatchClassificationWindowsElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        kb_numbers_to_include: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kbNumbersToInclude',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        kb_numbers_to_exclude: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kbNumbersToExclude',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        exclude_kbs_requiring_reboot: {
          client_side_validation: true,
          required: false,
          serialized_name: 'excludeKbsRequiringReboot',
          type: {
            name: 'Boolean'
          }
        },
        max_patch_publish_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'maxPatchPublishDate',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end