Class: Azure::Compute::Mgmt::V2020_06_01::Models::UpgradeOperationHistoricalStatusInfoProperties

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

Overview

Describes each OS upgrade on the Virtual Machine Scale Set.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#errorApiError

Returns Error Details for this upgrade if there are any.

Returns:

  • (ApiError)

    Error Details for this upgrade if there are any.



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

def error
  @error
end

#progressRollingUpgradeProgressInfo

Returns Counts of the VMs in each state.

Returns:



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

def progress
  @progress
end

#rollback_infoRollbackStatusInfo

Returns Information about OS rollback if performed.

Returns:



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

def rollback_info
  @rollback_info
end

#running_statusUpgradeOperationHistoryStatus

status of the upgrade operation.

Returns:



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

def running_status
  @running_status
end

#started_byUpgradeOperationInvoker

Possible values include: 'Unknown', 'User', 'Platform'

Returns:



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

def started_by
  @started_by
end

#target_image_referenceImageReference

Returns Image Reference details.

Returns:



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

def target_image_reference
  @target_image_reference
end

Class Method Details

.mapperObject

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



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
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb', line 41

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UpgradeOperationHistoricalStatusInfoProperties',
    type: {
      name: 'Composite',
      class_name: 'UpgradeOperationHistoricalStatusInfoProperties',
      model_properties: {
        running_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'runningStatus',
          type: {
            name: 'Composite',
            class_name: 'UpgradeOperationHistoryStatus'
          }
        },
        progress: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'progress',
          type: {
            name: 'Composite',
            class_name: 'RollingUpgradeProgressInfo'
          }
        },
        error: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'ApiError'
          }
        },
        started_by: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'startedBy',
          type: {
            name: 'Enum',
            module: 'UpgradeOperationInvoker'
          }
        },
        target_image_reference: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'targetImageReference',
          type: {
            name: 'Composite',
            class_name: 'ImageReference'
          }
        },
        rollback_info: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'rollbackInfo',
          type: {
            name: 'Composite',
            class_name: 'RollbackStatusInfo'
          }
        }
      }
    }
  }
end