Sha256: 38906587baa70a0cd4a3298bda8f455c6e084d567ce7a928f1494528cd5173a3

Contents?: true

Size: 1.99 KB

Versions: 7

Compression:

Stored size: 1.99 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Compute::Mgmt::V2019_07_01
  module Models
    #
    # Describes the parameters of a ScaleSet managed disk.
    #
    class VirtualMachineScaleSetManagedDiskParameters

      include MsRestAzure

      # @return [StorageAccountTypes] Specifies the storage account type for
      # the managed disk. 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'
      attr_accessor :storage_account_type

      # @return [DiskEncryptionSetParameters] Specifies the customer managed
      # disk encryption set resource id for the managed disk.
      attr_accessor :disk_encryption_set


      #
      # Mapper for VirtualMachineScaleSetManagedDiskParameters class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb
azure_mgmt_compute-0.21.1 lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb
azure_mgmt_compute-0.20.0 lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb
azure_mgmt_compute-0.19.3 lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb
azure_mgmt_compute-0.19.2 lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb
azure_mgmt_compute-0.19.1 lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb
azure_mgmt_compute-0.19.0 lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb