Sha256: 72ac777c9140160867ab71369454608b63774b869567bc47b1e71fcd80cbc20d

Contents?: true

Size: 1.73 KB

Versions: 1

Compression:

Stored size: 1.73 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::ARM::ServiceBus
  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()
        {
          required: false,
          serialized_name: 'SBSku',
          type: {
            name: 'Composite',
            class_name: 'SBSku',
            model_properties: {
              name: {
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'Enum',
                  module: 'SkuName'
                }
              },
              tier: {
                required: false,
                serialized_name: 'tier',
                type: {
                  name: 'Enum',
                  module: 'SkuTier'
                }
              },
              capacity: {
                required: false,
                serialized_name: 'capacity',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_service_bus-0.14.0 lib/generated/azure_mgmt_service_bus/models/sbsku.rb