Class: Azure::Compute::Mgmt::V2019_12_01::Models::VirtualMachineScaleSetManagedDiskParameters

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

Overview

Describes the parameters of a ScaleSet managed disk.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#disk_encryption_setDiskEncryptionSetParameters

disk encryption set resource id for the managed disk.

Returns:



24
25
26
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb', line 24

def disk_encryption_set
  @disk_encryption_set
end

#storage_account_typeStorageAccountTypes

the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'

Returns:



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

def 
  @storage_account_type
end

Class Method Details

.mapperObject

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



32
33
34
35
36
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
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualMachineScaleSetManagedDiskParameters',
    type: {
      name: 'Composite',
      class_name: 'VirtualMachineScaleSetManagedDiskParameters',
      model_properties: {
        storage_account_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'storageAccountType',
          type: {
            name: 'String'
          }
        },
        disk_encryption_set: {
          client_side_validation: true,
          required: false,
          serialized_name: 'diskEncryptionSet',
          type: {
            name: 'Composite',
            class_name: 'DiskEncryptionSetParameters'
          }
        }
      }
    }
  }
end