Sha256: 7ce6d3154b58e913b5f49e6cab90daf877c1f4d74196964d533e04f5e4890692

Contents?: true

Size: 1.52 KB

Versions: 3

Compression:

Stored size: 1.52 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::V2020_06_30
  module Models
    #
    # The snapshots sku name. Can be Standard_LRS, Premium_LRS, or
    # Standard_ZRS.
    #
    class SnapshotSku

      include MsRestAzure

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

      # @return [String] The sku tier.
      attr_accessor :tier


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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_sku.rb
azure_mgmt_compute-0.21.1 lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_sku.rb
azure_mgmt_compute-0.20.0 lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_sku.rb