Class: Azure::ARM::Compute::Models::VirtualMachine
- Inherits:
-
MsRestAzure::Resource
- Object
- MsRestAzure::Resource
- Azure::ARM::Compute::Models::VirtualMachine
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_compute/models/virtual_machine.rb
Overview
Describes a Virtual Machine.
Instance Attribute Summary collapse
-
#availability_set ⇒ SubResource
the virtual machine belongs.
-
#diagnostics_profile ⇒ DiagnosticsProfile
The diagnostics profile.
-
#hardware_profile ⇒ HardwareProfile
The hardware profile.
-
#instance_view ⇒ VirtualMachineInstanceView
The virtual machine instance view.
-
#license_type ⇒ String
was licensed on-premises.
-
#network_profile ⇒ NetworkProfile
The network profile.
-
#os_profile ⇒ OSProfile
The OS profile.
-
#plan ⇒ Plan
Marketplace images.
-
#provisioning_state ⇒ String
response.
-
#resources ⇒ Array<VirtualMachineExtension>
extension resources.
-
#storage_profile ⇒ StorageProfile
The storage profile.
-
#vm_id ⇒ String
identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachine class as Ruby Hash.
Instance Attribute Details
#availability_set ⇒ SubResource
the virtual machine belongs.
36 37 38 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine.rb', line 36 def availability_set @availability_set end |
#diagnostics_profile ⇒ DiagnosticsProfile
Returns The diagnostics profile.
32 33 34 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine.rb', line 32 def diagnostics_profile @diagnostics_profile end |
#hardware_profile ⇒ HardwareProfile
Returns The hardware profile.
20 21 22 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine.rb', line 20 def hardware_profile @hardware_profile end |
#instance_view ⇒ VirtualMachineInstanceView
Returns The virtual machine instance view.
43 44 45 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine.rb', line 43 def instance_view @instance_view end |
#license_type ⇒ String
was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
48 49 50 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine.rb', line 48 def license_type @license_type end |
#network_profile ⇒ NetworkProfile
Returns The network profile.
29 30 31 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine.rb', line 29 def network_profile @network_profile end |
#os_profile ⇒ OSProfile
Returns The OS profile.
26 27 28 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine.rb', line 26 def os_profile @os_profile end |
#plan ⇒ Plan
Marketplace images.
17 18 19 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine.rb', line 17 def plan @plan end |
#provisioning_state ⇒ String
response.
40 41 42 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine.rb', line 40 def provisioning_state @provisioning_state end |
#resources ⇒ Array<VirtualMachineExtension>
extension resources.
57 58 59 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine.rb', line 57 def resources @resources end |
#storage_profile ⇒ StorageProfile
Returns The storage profile.
23 24 25 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine.rb', line 23 def storage_profile @storage_profile end |
#vm_id ⇒ String
identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands.
53 54 55 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine.rb', line 53 def vm_id @vm_id end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachine class as Ruby Hash. This will be used for serialization/deserialization.
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 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 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine.rb', line 64 def self.mapper() { required: false, serialized_name: 'VirtualMachine', type: { name: 'Composite', class_name: 'VirtualMachine', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { required: true, serialized_name: 'location', type: { name: 'String' } }, tags: { required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, plan: { required: false, serialized_name: 'plan', type: { name: 'Composite', class_name: 'Plan' } }, hardware_profile: { required: false, serialized_name: 'properties.hardwareProfile', type: { name: 'Composite', class_name: 'HardwareProfile' } }, storage_profile: { required: false, serialized_name: 'properties.storageProfile', type: { name: 'Composite', class_name: 'StorageProfile' } }, os_profile: { required: false, serialized_name: 'properties.osProfile', type: { name: 'Composite', class_name: 'OSProfile' } }, network_profile: { required: false, serialized_name: 'properties.networkProfile', type: { name: 'Composite', class_name: 'NetworkProfile' } }, diagnostics_profile: { required: false, serialized_name: 'properties.diagnosticsProfile', type: { name: 'Composite', class_name: 'DiagnosticsProfile' } }, availability_set: { required: false, serialized_name: 'properties.availabilitySet', type: { name: 'Composite', class_name: 'SubResource' } }, provisioning_state: { required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, instance_view: { required: false, read_only: true, serialized_name: 'properties.instanceView', type: { name: 'Composite', class_name: 'VirtualMachineInstanceView' } }, license_type: { required: false, serialized_name: 'properties.licenseType', type: { name: 'String' } }, vm_id: { required: false, read_only: true, serialized_name: 'properties.vmId', type: { name: 'String' } }, resources: { required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { name: 'Composite', class_name: 'VirtualMachineExtension' } } } } } } } end |