class Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionLimits

Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections.

Attributes

current[RW]

@return [Integer] The current number of Hybrid Connections.

maximum[RW]

@return [Integer] The maximum number of Hybrid Connections allowed.

Private Class Methods

mapper() click to toggle source

Mapper for HybridConnectionLimits class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection_limits.rb, line 27
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