Sha256: 6c6aa8dfc970b7997768ef043854b6218654275b4175a4eaf13a66d2c01618c8

Contents?: true

Size: 1.92 KB

Versions: 7

Compression:

Stored size: 1.92 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::V2017_04_01
  module Models
    #
    # SKU of the namespace.
    #
    class SBSku

      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. For
      # Premium tier, capacity are 1,2 and 4.
      attr_accessor :capacity


      #
      # Mapper for SBSku class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SBSku',
          type: {
            name: 'Composite',
            class_name: 'SBSku',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'Enum',
                  module: 'SkuName'
                }
              },
              tier: {
                client_side_validation: true,
                required: false,
                serialized_name: 'tier',
                type: {
                  name: 'Enum',
                  module: 'SkuTier'
                }
              },
              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/2017-04-01/generated/azure_mgmt_service_bus/models/sbsku.rb
azure_mgmt_service_bus-0.17.3 lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbsku.rb
azure_mgmt_service_bus-0.17.2 lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbsku.rb
azure_mgmt_service_bus-0.17.1 lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbsku.rb
azure_mgmt_service_bus-0.17.0 lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbsku.rb
azure_mgmt_service_bus-0.16.0 lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbsku.rb
azure_mgmt_service_bus-0.15.2 lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbsku.rb