Sha256: b8ed417fe12566c3efeae74f009a4d6140190542dccc5e14d7a2dd4a39156856

Contents?: true

Size: 1.67 KB

Versions: 2

Compression:

Stored size: 1.67 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_09_30
  module Models
    #
    # The snapshots sku name. Can be Standard_LRS, Premium_LRS, or
    # Standard_ZRS. This is an optional parameter for incremental snapshot and
    # the default behavior is the SKU will be set to the same sku as the
    # previous snapshot
    #
    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

2 entries across 2 versions & 1 rubygems

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