Sha256: 363916269bcd6c79720dcb6f16fb1cb03e76c3785d5ffad7638854b87c30fcb7

Contents?: true

Size: 1.8 KB

Versions: 7

Compression:

Stored size: 1.8 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::ServiceBus::Mgmt::V2015_08_01
  module Models
    #
    # SKU of the namespace.
    #
    class Sku

      include MsRestAzure

      # @return [SkuName] Name of this SKU. Possible values include: 'Basic',
      # 'Standard', 'Premium'
      attr_accessor :name

      # @return [SkuTier] The billing tier of this particular SKU. Possible
      # values include: 'Basic', 'Standard', 'Premium'
      attr_accessor :tier

      # @return [Integer] The specified messaging units for the tier.
      attr_accessor :capacity


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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
azure_mgmt_service_bus-0.17.4 lib/2015-08-01/generated/azure_mgmt_service_bus/models/sku.rb
azure_mgmt_service_bus-0.17.3 lib/2015-08-01/generated/azure_mgmt_service_bus/models/sku.rb
azure_mgmt_service_bus-0.17.2 lib/2015-08-01/generated/azure_mgmt_service_bus/models/sku.rb
azure_mgmt_service_bus-0.17.1 lib/2015-08-01/generated/azure_mgmt_service_bus/models/sku.rb
azure_mgmt_service_bus-0.17.0 lib/2015-08-01/generated/azure_mgmt_service_bus/models/sku.rb
azure_mgmt_service_bus-0.16.0 lib/2015-08-01/generated/azure_mgmt_service_bus/models/sku.rb
azure_mgmt_service_bus-0.15.2 lib/2015-08-01/generated/azure_mgmt_service_bus/models/sku.rb