Class: Azure::Compute::Mgmt::V2020_12_01::Models::WindowsParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#classifications_to_includeArray<VMGuestPatchClassificationWindows>

classifications to select when installing patches for Windows.

Returns:



17
18
19
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb', line 17

def classifications_to_include
  @classifications_to_include
end

#exclude_kbs_requiring_rebootBoolean

InstallationRebootBehavior of 'NeverReboots' when this is set to true.

Returns:

  • (Boolean)

    Filters out Kbs that don't have an



27
28
29
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb', line 27

def exclude_kbs_requiring_reboot
  @exclude_kbs_requiring_reboot
end

#kb_numbers_to_excludeArray<String>

Returns Kbs to exclude in the patch operation.

Returns:

  • (Array<String>)

    Kbs to exclude in the patch operation



23
24
25
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb', line 23

def kb_numbers_to_exclude
  @kb_numbers_to_exclude
end

#kb_numbers_to_includeArray<String>

Returns Kbs to include in the patch operation.

Returns:

  • (Array<String>)

    Kbs to include in the patch operation



20
21
22
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb', line 20

def kb_numbers_to_include
  @kb_numbers_to_include
end

#max_patch_publish_dateDateTime

on or before this given max published date.

Returns:

  • (DateTime)

    This is used to install patches that were published



31
32
33
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb', line 31

def max_patch_publish_date
  @max_patch_publish_date
end

Class Method Details

.mapperObject

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



38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# 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