class Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota

Describes the current quota for the subscription.

Attributes

current_count[RW]

@return [Integer] The current usage of this resource.

max_count[RW]

@return [Integer] The max permitted usage of this resource.

Private Class Methods

mapper() click to toggle source

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

# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/subscription_quota.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SubscriptionQuota',
    type: {
      name: 'Composite',
      class_name: 'SubscriptionQuota',
      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,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        max_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.maxCount',
          type: {
            name: 'Number'
          }
        },
        current_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.currentCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end