Class: Azure::Compute::Mgmt::V2019_03_01::Models::AvailabilitySetUpdate
- Inherits:
-
UpdateResource
- Object
- UpdateResource
- Azure::Compute::Mgmt::V2019_03_01::Models::AvailabilitySetUpdate
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set_update.rb
Overview
Specifies information about the availability set that the virtual machine should be assigned to. Only tags may be updated.
Instance Attribute Summary collapse
-
#platform_fault_domain_count ⇒ Integer
Fault Domain count.
-
#platform_update_domain_count ⇒ Integer
Update Domain count.
-
#proximity_placement_group ⇒ SubResource
placement group that the availability set should be assigned to.
-
#sku ⇒ Sku
Sku of the availability set.
-
#statuses ⇒ Array<InstanceViewStatus>
The resource status information.
-
#virtual_machines ⇒ Array<SubResource>
machines in the availability set.
Attributes inherited from UpdateResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AvailabilitySetUpdate class as Ruby Hash.
Instance Attribute Details
#platform_fault_domain_count ⇒ Integer
Returns Fault Domain count.
20 21 22 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set_update.rb', line 20 def platform_fault_domain_count @platform_fault_domain_count end |
#platform_update_domain_count ⇒ Integer
Returns Update Domain count.
17 18 19 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set_update.rb', line 17 def platform_update_domain_count @platform_update_domain_count end |
#proximity_placement_group ⇒ SubResource
placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.
29 30 31 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set_update.rb', line 29 def proximity_placement_group @proximity_placement_group end |
#sku ⇒ Sku
Returns Sku of the availability set.
35 36 37 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set_update.rb', line 35 def sku @sku end |
#statuses ⇒ Array<InstanceViewStatus>
Returns The resource status information.
32 33 34 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set_update.rb', line 32 def statuses @statuses end |
#virtual_machines ⇒ Array<SubResource>
machines in the availability set.
24 25 26 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set_update.rb', line 24 def virtual_machines @virtual_machines end |
Class Method Details
.mapper ⇒ Object
Mapper for AvailabilitySetUpdate class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set_update.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AvailabilitySetUpdate', type: { name: 'Composite', class_name: 'AvailabilitySetUpdate', 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' } } } }, platform_update_domain_count: { client_side_validation: true, required: false, serialized_name: 'properties.platformUpdateDomainCount', type: { name: 'Number' } }, platform_fault_domain_count: { client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomainCount', type: { name: 'Number' } }, virtual_machines: { client_side_validation: true, required: false, serialized_name: 'properties.virtualMachines', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { name: 'Composite', class_name: 'SubResource' } } } }, proximity_placement_group: { client_side_validation: true, required: false, serialized_name: 'properties.proximityPlacementGroup', type: { name: 'Composite', class_name: 'SubResource' } }, statuses: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statuses', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { name: 'Composite', class_name: 'InstanceViewStatus' } } } }, sku: { client_side_validation: true, required: false, serialized_name: 'sku', type: { name: 'Composite', class_name: 'Sku' } } } } } end |