Class: Azure::Compute::Mgmt::V2020_06_01::Models::VirtualMachineSoftwarePatchProperties

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

Overview

Describes the properties of a Virtual Machine software patch.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#activity_idString

result. It is used to correlate across CRP and extension logs.

Returns:

  • (String)

    The activity ID of the operation that produced this



40
41
42
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 40

def activity_id
  @activity_id
end

#assessment_statePatchAssessmentState

operation for a given patch. Possible values include: 'Installed', 'Failed', 'Excluded', 'NotSelected', 'Pending', 'Available'

Returns:



53
54
55
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 53

def assessment_state
  @assessment_state
end

#classificationsArray<String>

by the patch publisher.

Returns:

  • (Array<String>)

    The classification(s) of the patch as provided



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

def classifications
  @classifications
end

#kbidString

patches.

Returns:

  • (String)

    The KBID of the patch. Only applies to Windows



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

def kbid
  @kbid
end

#last_modified_date_timeDateTime

record.

Returns:

  • (DateTime)

    The UTC timestamp of the last update to this patch



48
49
50
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 48

def last_modified_date_time
  @last_modified_date_time
end

#nameString

Returns The friendly name of the patch.

Returns:

  • (String)

    The friendly name of the patch.



19
20
21
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 19

def name
  @name
end

#patch_idString

Returns A unique identifier for the patch.

Returns:

  • (String)

    A unique identifier for the patch.



16
17
18
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 16

def patch_id
  @patch_id
end

#published_dateDateTime

patch.

Returns:

  • (DateTime)

    The UTC timestamp when the repository published this



44
45
46
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 44

def published_date
  @published_date
end

#reboot_behaviorSoftwareUpdateRebootBehavior

requirements of the patch. Possible values include: 'NeverReboots', 'AlwaysRequiresReboot', 'CanRequestReboot'

Returns:



36
37
38
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 36

def reboot_behavior
  @reboot_behavior
end

#versionString

only to Linux patches.

Returns:

  • (String)

    The version number of the patch. This property applies



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

def version
  @version
end

Class Method Details

.mapperObject

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



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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 60

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'
          }
        },
        kbid: {
          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