Class: Azure::Compute::Mgmt::V2018_04_01::Models::VirtualMachineScaleSetUpdate
- Inherits:
-
UpdateResource
- Object
- UpdateResource
- Azure::Compute::Mgmt::V2018_04_01::Models::VirtualMachineScaleSetUpdate
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb
Overview
Describes a Virtual Machine Scale Set.
Instance Attribute Summary collapse
-
#identity ⇒ VirtualMachineScaleSetIdentity
machine scale set, if configured.
-
#overprovision ⇒ Boolean
should be overprovisioned.
-
#plan ⇒ Plan
set from VM Marketplace images.
-
#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
#identity ⇒ VirtualMachineScaleSetIdentity
machine scale set, if configured.
39 40 41 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 39 def identity @identity end |
#overprovision ⇒ Boolean
should be overprovisioned.
31 32 33 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 31 def overprovision @overprovision end |
#plan ⇒ Plan
set from VM Marketplace images.
20 21 22 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 20 def plan @plan end |
#single_placement_group ⇒ Boolean
placement group, of max size 100 virtual machines.
35 36 37 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 35 def single_placement_group @single_placement_group end |
#sku ⇒ Sku
Returns The virtual machine scale set sku.
16 17 18 |
# File 'lib/2018-04-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/2018-04-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.
27 28 29 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 27 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.
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 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb', line 46 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' } }, 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' } }, single_placement_group: { client_side_validation: true, required: false, serialized_name: 'properties.singlePlacementGroup', type: { name: 'Boolean' } }, identity: { client_side_validation: true, required: false, serialized_name: 'identity', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetIdentity' } } } } } end |