Class: Azure::Compute::Mgmt::V2020_06_01::Models::LastPatchInstallationSummary

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

Overview

Describes the properties of the last installed patch summary.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#errorApiError

the operation. The details array contains the list of them.

Returns:

  • (ApiError)

    The errors that were encountered during execution of



71
72
73
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb', line 71

def error
  @error
end

#excluded_patch_countInteger

explicitly by a customer-specified exclusion list match.

Returns:

  • (Integer)

    The number of all available patches but excluded



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

def excluded_patch_count
  @excluded_patch_count
end

#failed_patch_countInteger

Returns The count of patches that failed installation.

Returns:

  • (Integer)

    The count of patches that failed installation.



57
58
59
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb', line 57

def failed_patch_count
  @failed_patch_count
end

#installation_activity_idString

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

Returns:

  • (String)

    The activity ID of the operation that produced this



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

def installation_activity_id
  @installation_activity_id
end

#installed_patch_countInteger

Returns The count of patches that successfully installed.

Returns:

  • (Integer)

    The count of patches that successfully installed.



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

def installed_patch_count
  @installed_patch_count
end

#last_modified_timeDateTime

Returns The UTC timestamp when the operation began.

Returns:

  • (DateTime)

    The UTC timestamp when the operation began.



63
64
65
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb', line 63

def last_modified_time
  @last_modified_time
end

#maintenance_window_exceededBoolean

before it completed all its intended actions

Returns:

  • (Boolean)

    Describes whether the operation ran out of time



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

def maintenance_window_exceeded
  @maintenance_window_exceeded
end

#not_selected_patch_countInteger

be installed because it didn’t match a classification or inclusion list entry.

Returns:

  • (Integer)

    The number of all available patches but not going to



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

def not_selected_patch_count
  @not_selected_patch_count
end

#pending_patch_countInteger

installed over the course of the patch installation operation.

Returns:

  • (Integer)

    The number of all available patches expected to be



51
52
53
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb', line 51

def pending_patch_count
  @pending_patch_count
end

#reboot_statusRebootStatus

operation. It will be in “NotNeeded” status if reboot is not needed after the patch operation. “Required” will be the status once the patch is applied and machine is required to reboot. “Started” will be the reboot status when the machine has started to reboot. “Failed” will be the status if the machine is failed to reboot. “Completed” will be the status once the machine is rebooted successfully. Possible values include: ‘NotNeeded’, ‘Required’, ‘Started’, ‘Failed’, ‘Completed’

Returns:

  • (RebootStatus)

    The reboot status of the machine after the patch



38
39
40
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb', line 38

def reboot_status
  @reboot_status
end

#start_timeDateTime

Returns The UTC timestamp when the operation began.

Returns:

  • (DateTime)

    The UTC timestamp when the operation began.



60
61
62
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb', line 60

def start_time
  @start_time
end

#started_byString

operation

Returns:

  • (String)

    The person or system account that started the



67
68
69
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb', line 67

def started_by
  @started_by
end

#statusPatchOperationStatus

the operation. It remains “InProgress” until the operation completes. At that point it will become “Failed”, “Succeeded”, or “CompletedWithWarnings.”. Possible values include: ‘InProgress’, ‘Failed’, ‘Succeeded’, ‘CompletedWithWarnings’

Returns:



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

def status
  @status
end

Class Method Details

.mapperObject

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



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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb', line 78

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LastPatchInstallationSummary',
    type: {
      name: 'Composite',
      class_name: 'LastPatchInstallationSummary',
      model_properties: {
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        installation_activity_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'installationActivityId',
          type: {
            name: 'String'
          }
        },
        maintenance_window_exceeded: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'maintenanceWindowExceeded',
          type: {
            name: 'Boolean'
          }
        },
        reboot_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'rebootStatus',
          type: {
            name: 'String'
          }
        },
        not_selected_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'notSelectedPatchCount',
          type: {
            name: 'Number'
          }
        },
        excluded_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'excludedPatchCount',
          type: {
            name: 'Number'
          }
        },
        pending_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'pendingPatchCount',
          type: {
            name: 'Number'
          }
        },
        installed_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'installedPatchCount',
          type: {
            name: 'Number'
          }
        },
        failed_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'failedPatchCount',
          type: {
            name: 'Number'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'startTime',
          type: {
            name: 'DateTime'
          }
        },
        last_modified_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'lastModifiedTime',
          type: {
            name: 'DateTime'
          }
        },
        started_by: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'startedBy',
          type: {
            name: 'String'
          }
        },
        error: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'ApiError'
          }
        }
      }
    }
  }
end