Sha256: 43ed35e2de702eeb6987a694dda6d9f9c92618b63f0ca35e4a2225c9883dca07

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 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::V2017_03_30
  module Models
    #
    # The disks and snapshots sku name. Can be Standard_LRS or Premium_LRS.
    #
    class DiskSku

      include MsRestAzure

      # @return [StorageAccountTypes] The sku name. Possible values include:
      # 'Standard_LRS', 'Premium_LRS'
      attr_accessor :name

      # @return [String] The sku tier. Default value: 'Standard' .
      attr_accessor :tier


      #
      # Mapper for DiskSku class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'DiskSku',
          type: {
            name: 'Composite',
            class_name: 'DiskSku',
            model_properties: {
              name: {
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'Enum',
                  module: 'StorageAccountTypes'
                }
              },
              tier: {
                required: false,
                read_only: true,
                serialized_name: 'tier',
                default_value: 'Standard',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.15.1 lib/2017-03-30/generated/azure_mgmt_compute/models/disk_sku.rb
azure_mgmt_compute-0.15.0 lib/2017-03-30/generated/azure_mgmt_compute/models/disk_sku.rb