Class: Azure::Compute::Mgmt::V2020_12_01::Models::LastPatchInstallationSummary

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-12-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



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

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



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

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.



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

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-12-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.



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

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.



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

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-12-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



33
34
35
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb', line 33

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



41
42
43
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb', line 41

def pending_patch_count
  @pending_patch_count
end

#start_timeDateTime

Returns The UTC timestamp when the operation began.

Returns:

  • (DateTime)

    The UTC timestamp when the operation began.



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

def start_time
  @start_time
end

#statusPatchOperationStatus

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

Returns:



20
21
22
# File 'lib/2020-12-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.



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
171
172
173
174
175
176
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb', line 64

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'
          }
        },
        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'
          }
        },
        error: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'ApiError'
          }
        }
      }
    }
  }
end