Class: Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetUpdate
- Inherits:
-
UpdateResource
- Object
- UpdateResource
- Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetUpdate
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-12-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.
-
#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/2017-12-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/2017-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb', line 17 def platform_update_domain_count @platform_update_domain_count end |
#sku ⇒ Sku
Returns Sku of the availability set.
30 31 32 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb', line 30 def sku @sku end |
#statuses ⇒ Array<InstanceViewStatus>
Returns The resource status information.
27 28 29 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb', line 27 def statuses @statuses end |
#virtual_machines ⇒ Array<SubResource>
machines in the availability set.
24 25 26 |
# File 'lib/2017-12-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.
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 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 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb', line 37 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' } } } }, 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 |