Class: Azure::Compute::Mgmt::V2020_12_01::Models::AvailablePatchSummary

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

Overview

Describes the properties of an virtual machine instance view for available patch summary.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#assessment_activity_idString

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

Returns:

  • (String)

    The activity ID of the operation that produced this



25
26
27
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/available_patch_summary.rb', line 25

def assessment_activity_id
  @assessment_activity_id
end

#critical_and_security_patch_countInteger

been detected as available and not yet installed.

Returns:

  • (Integer)

    The number of critical or security patches that have



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

def critical_and_security_patch_count
  @critical_and_security_patch_count
end

#errorApiError

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

Returns:

  • (ApiError)

    The errors that were encountered during execution of



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

def error
  @error
end

#last_modified_timeDateTime

Returns The UTC timestamp when the operation began.

Returns:

  • (DateTime)

    The UTC timestamp when the operation began.



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

def last_modified_time
  @last_modified_time
end

#other_patch_countInteger

critical and security.

Returns:

  • (Integer)

    The number of all available patches excluding



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

def other_patch_count
  @other_patch_count
end

#reboot_pendingBoolean

when partially installed patches require a reboot to complete installation but the reboot has not yet occurred.

Returns:

  • (Boolean)

    The overall reboot status of the VM. It will be true



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

def reboot_pending
  @reboot_pending
end

#start_timeDateTime

Returns The UTC timestamp when the operation began.

Returns:

  • (DateTime)

    The UTC timestamp when the operation began.



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

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:



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

def status
  @status
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/available_patch_summary.rb', line 55

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AvailablePatchSummary',
    type: {
      name: 'Composite',
      class_name: 'AvailablePatchSummary',
      model_properties: {
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        assessment_activity_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'assessmentActivityId',
          type: {
            name: 'String'
          }
        },
        reboot_pending: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'rebootPending',
          type: {
            name: 'Boolean'
          }
        },
        critical_and_security_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'criticalAndSecurityPatchCount',
          type: {
            name: 'Number'
          }
        },
        other_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'otherPatchCount',
          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