Sha256: 59a96a925c6639eb3648dff48f9eadfe5eb7fc460cd74aa25d0a167938f914ab

Contents?: true

Size: 1.93 KB

Versions: 2

Compression:

Stored size: 1.93 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::V2018_01_01_preview
  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

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_service_bus-0.17.4 lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/sbsku.rb
azure_mgmt_service_bus-0.17.3 lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/sbsku.rb