class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::AttachNewDataDiskOptions

Properties to attach new disk to the Virtual Machine.

Attributes

disk_name[RW]

@return [String] The name of the disk to be attached.

disk_size_gi_b[RW]

@return [Integer] Size of the disk to be attached in GibiBytes.

disk_type[RW]

@return [StorageType] The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', 'Premium', 'StandardSSD'

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AttachNewDataDiskOptions',
    type: {
      name: 'Composite',
      class_name: 'AttachNewDataDiskOptions',
      model_properties: {
        disk_size_gi_b: {
          client_side_validation: true,
          required: false,
          serialized_name: 'diskSizeGiB',
          type: {
            name: 'Number'
          }
        },
        disk_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'diskName',
          type: {
            name: 'String'
          }
        },
        disk_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'diskType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end