Class: Vault::LeaseCountQuota

Inherits:
Quota show all
Defined in:
lib/vault/api/sys/quota.rb

Instance Attribute Summary collapse

Attributes inherited from Quota

#name, #path, #type

Method Summary

Methods inherited from Response

#==, decode, #initialize, #to_h

Constructor Details

This class inherits a constructor from Vault::Response

Instance Attribute Details

#counterInt (readonly)

Number of currently active leases for the quota.

Returns:

  • (Int)


37
# File 'lib/vault/api/sys/quota.rb', line 37

field :counter

#max_leasesInt (readonly)

The maximum number of allowed leases for this quota.

Returns:

  • (Int)


42
# File 'lib/vault/api/sys/quota.rb', line 42

field :max_leases