Class: Azure::Compute::Mgmt::V2019_12_01::Models::AdditionalCapabilities

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-12-01/generated/azure_mgmt_compute/models/additional_capabilities.rb

Overview

Enables or disables a capability on the virtual machine or virtual machine scale set.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#ultra_ssdenabledBoolean

have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.

Returns:

  • (Boolean)

    The flag that enables or disables a capability to



21
22
23
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/additional_capabilities.rb', line 21

def ultra_ssdenabled
  @ultra_ssdenabled
end

Class Method Details

.mapperObject

Mapper for AdditionalCapabilities class as Ruby Hash. This will be used for serialization/deserialization.



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/additional_capabilities.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AdditionalCapabilities',
    type: {
      name: 'Composite',
      class_name: 'AdditionalCapabilities',
      model_properties: {
        ultra_ssdenabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ultraSSDEnabled',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end