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)


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

field :name

#pathString (readonly)

Namespace/Path combination the quota applies to.

Returns:

  • (String)


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

field :path

#typeString (readonly)

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

Returns:

  • (String)


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

field :type