Class: Azure::Compute::Mgmt::V2020_06_01::Models::RollingUpgradeProgressInfo
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_06_01::Models::RollingUpgradeProgressInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb
Overview
Information about the number of virtual machine instances in each upgrade state.
Instance Attribute Summary collapse
-
#failed_instance_count ⇒ Integer
upgraded successfully.
-
#in_progress_instance_count ⇒ Integer
upgraded.
-
#pending_instance_count ⇒ Integer
upgraded.
-
#successful_instance_count ⇒ Integer
upgraded.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RollingUpgradeProgressInfo class as Ruby Hash.
Instance Attribute Details
#failed_instance_count ⇒ Integer
upgraded successfully.
22 23 24 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb', line 22 def failed_instance_count @failed_instance_count end |
#in_progress_instance_count ⇒ Integer
upgraded.
26 27 28 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb', line 26 def in_progress_instance_count @in_progress_instance_count end |
#pending_instance_count ⇒ Integer
upgraded.
30 31 32 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb', line 30 def pending_instance_count @pending_instance_count end |
#successful_instance_count ⇒ Integer
upgraded.
18 19 20 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb', line 18 def successful_instance_count @successful_instance_count end |
Class Method Details
.mapper ⇒ Object
Mapper for RollingUpgradeProgressInfo class as Ruby Hash. This will be used for serialization/deserialization.
37 38 39 40 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 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RollingUpgradeProgressInfo', type: { name: 'Composite', class_name: 'RollingUpgradeProgressInfo', model_properties: { successful_instance_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'successfulInstanceCount', type: { name: 'Number' } }, failed_instance_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'failedInstanceCount', type: { name: 'Number' } }, in_progress_instance_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'inProgressInstanceCount', type: { name: 'Number' } }, pending_instance_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'pendingInstanceCount', type: { name: 'Number' } } } } } end |