# 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::Web::Mgmt::V2016_09_01 module Models # # Hybrid Connection limits contract. This is used to return the plan limits # of Hybrid Connections. # class HybridConnectionLimits < ProxyOnlyResource include MsRestAzure # @return [Integer] The current number of Hybrid Connections. attr_accessor :current # @return [Integer] The maximum number of Hybrid Connections allowed. attr_accessor :maximum # # Mapper for HybridConnectionLimits class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'HybridConnectionLimits', type: { name: 'Composite', class_name: 'HybridConnectionLimits', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, current: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.current', type: { name: 'Number' } }, maximum: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maximum', type: { name: 'Number' } } } } } end end end end