Class: Vault::Quota

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

Direct Known Subclasses

LeaseCountQuota, RateLimitQuota

Instance Attribute Summary collapse

Method Summary

Methods inherited from Response

#==, decode, #initialize, #to_h

Constructor Details

This class inherits a constructor from Vault::Response

Instance Attribute Details

#nameString (readonly)

Name of the quota rule.

Returns:

  • (String)


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

field :name

#pathString (readonly)

Namespace/Path combination the quota applies to.

Returns:

  • (String)


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

field :path

#typeString (readonly)

Type of the quota rule, must be one of “lease-count” or “rate-limit”

Returns:

  • (String)


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

field :type