Class: DatadogAPIClient::V2::UsageQuotaResponseAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::UsageQuotaResponseAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/usage_quota_response_attributes.rb
Overview
Attributes of a usage quota.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#enforced ⇒ Object
readonly
Whether usage above the limit is actively blocked instead of only tracked or alerted on.
-
#org_public_id ⇒ Object
readonly
The public ID of the organization that owns the quota.
-
#pending_effective_from ⇒ Object
readonly
The future UTC month when the scheduled limit takes effect, formatted as
YYYY-MM, starting at 00:00 UTC on its first day. -
#pending_usage_limit ⇒ Object
The usage limit scheduled for the organization-wide quota in the usage units defined by the quota namespace.
-
#scope ⇒ Object
A namespace-specific key and value identifying what the quota applies to within an organization.
-
#usage_limit ⇒ Object
readonly
The quota limit in the usage units defined by the quota namespace.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
44 45 46 |
# File 'lib/datadog_api_client/v2/models/usage_quota_response_attributes.rb', line 44 def additional_properties @additional_properties end |
#enforced ⇒ Object
Whether usage above the limit is actively blocked instead of only tracked or alerted on.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/usage_quota_response_attributes.rb', line 25 def enforced @enforced end |
#org_public_id ⇒ Object
The public ID of the organization that owns the quota.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/usage_quota_response_attributes.rb', line 28 def org_public_id @org_public_id end |
#pending_effective_from ⇒ Object
The future UTC month when the scheduled limit takes effect, formatted as YYYY-MM, starting at 00:00 UTC on its first day. Present only together with pending_usage_limit and omitted when no change is scheduled.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/usage_quota_response_attributes.rb', line 31 def pending_effective_from @pending_effective_from end |
#pending_usage_limit ⇒ Object
The usage limit scheduled for the organization-wide quota in the usage units defined by the quota namespace.
A value of 0 is valid. At the start of the effective month, this value becomes usage_limit and both pending
fields are omitted. Omitted when no change is scheduled.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/usage_quota_response_attributes.rb', line 36 def pending_usage_limit @pending_usage_limit end |
#scope ⇒ Object
A namespace-specific key and value identifying what the quota applies to within an organization. The object contains exactly one entry. A value of "*" identifies the default quota applied to entities without a specific quota. This field is omitted for an organization-wide quota.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/usage_quota_response_attributes.rb', line 39 def scope @scope end |
#usage_limit ⇒ Object
The quota limit in the usage units defined by the quota namespace. May be fractional for quotas configured before public writes required whole units.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/usage_quota_response_attributes.rb', line 42 def usage_limit @usage_limit end |