Class: Azure::Compute::Mgmt::V2019_07_01::Models::VirtualMachineScaleSetUpdate
- Inherits:
-
UpdateResource
- Object
- UpdateResource
- Azure::Compute::Mgmt::V2019_07_01::Models::VirtualMachineScaleSetUpdate
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb
Overview
Describes a Virtual Machine Scale Set.
Instance Attribute Summary collapse
-
#additional_capabilities ⇒ AdditionalCapabilities
enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set.
-
#automatic_repairs_policy ⇒ AutomaticRepairsPolicy
Policy for automatic repairs.
-
#do_not_run_extensions_on_overprovisioned_vms ⇒ Boolean
launched only on the requested number of VMs which are finally kept.
-
#identity ⇒ VirtualMachineScaleSetIdentity
machine scale set, if configured.
-
#overprovision ⇒ Boolean
should be overprovisioned.
-
#plan ⇒ Plan
set from VM Marketplace images.
-
#scale_in_policy ⇒ ScaleInPolicy
which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.
-
#single_placement_group ⇒ Boolean
placement group, of max size 100 virtual machines.
-
#sku ⇒ Sku
The virtual machine scale set sku.
-
#upgrade_policy ⇒ UpgradePolicy
The upgrade policy.
-
#virtual_machine_profile ⇒ VirtualMachineScaleSetUpdateVMProfile
profile.
Attributes inherited from UpdateResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetUpdate class as Ruby Hash.
Instance Attribute Details
#additional_capabilities ⇒ AdditionalCapabilities
enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.
51 52 53 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 51 def additional_capabilities @additional_capabilities end |
#automatic_repairs_policy ⇒ AutomaticRepairsPolicy
Returns Policy for automatic repairs.
26 27 28 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 26 def automatic_repairs_policy @automatic_repairs_policy end |
#do_not_run_extensions_on_overprovisioned_vms ⇒ Boolean
launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.
40 41 42 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 40 def do_not_run_extensions_on_overprovisioned_vms @do_not_run_extensions_on_overprovisioned_vms end |
#identity ⇒ VirtualMachineScaleSetIdentity
machine scale set, if configured.
60 61 62 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 60 def identity @identity end |
#overprovision ⇒ Boolean
should be overprovisioned.
34 35 36 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 34 def overprovision @overprovision end |
#plan ⇒ Plan
set from VM Marketplace images.
20 21 22 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 20 def plan @plan end |
#scale_in_policy ⇒ ScaleInPolicy
which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.
56 57 58 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 56 def scale_in_policy @scale_in_policy end |
#single_placement_group ⇒ Boolean
placement group, of max size 100 virtual machines.
44 45 46 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 44 def single_placement_group @single_placement_group end |
#sku ⇒ Sku
Returns The virtual machine scale set sku.
16 17 18 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 16 def sku @sku end |
#upgrade_policy ⇒ UpgradePolicy
Returns The upgrade policy.
23 24 25 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 23 def upgrade_policy @upgrade_policy end |
#virtual_machine_profile ⇒ VirtualMachineScaleSetUpdateVMProfile
profile.
30 31 32 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 30 def virtual_machine_profile @virtual_machine_profile end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetUpdate class as Ruby Hash. This will be used for serialization/deserialization.
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 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 67 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdate', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetUpdate', model_properties: { tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, sku: { client_side_validation: true, required: false, serialized_name: 'sku', type: { name: 'Composite', class_name: 'Sku' } }, plan: { client_side_validation: true, required: false, serialized_name: 'plan', type: { name: 'Composite', class_name: 'Plan' } }, upgrade_policy: { client_side_validation: true, required: false, serialized_name: 'properties.upgradePolicy', type: { name: 'Composite', class_name: 'UpgradePolicy' } }, automatic_repairs_policy: { client_side_validation: true, required: false, serialized_name: 'properties.automaticRepairsPolicy', type: { name: 'Composite', class_name: 'AutomaticRepairsPolicy' } }, virtual_machine_profile: { client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineProfile', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetUpdateVMProfile' } }, overprovision: { client_side_validation: true, required: false, serialized_name: 'properties.overprovision', type: { name: 'Boolean' } }, do_not_run_extensions_on_overprovisioned_vms: { client_side_validation: true, required: false, serialized_name: 'properties.doNotRunExtensionsOnOverprovisionedVMs', type: { name: 'Boolean' } }, single_placement_group: { client_side_validation: true, required: false, serialized_name: 'properties.singlePlacementGroup', type: { name: 'Boolean' } }, additional_capabilities: { client_side_validation: true, required: false, serialized_name: 'properties.additionalCapabilities', type: { name: 'Composite', class_name: 'AdditionalCapabilities' } }, scale_in_policy: { client_side_validation: true, required: false, serialized_name: 'properties.scaleInPolicy', type: { name: 'Composite', class_name: 'ScaleInPolicy' } }, identity: { client_side_validation: true, required: false, serialized_name: 'identity', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetIdentity' } } } } } end |