usage_info
Creates, updates, deletes, gets or lists a usage_info resource.
Overview
| Name | usage_info |
| Type | Resource |
| Id | sumologic.slos.usage_info |
Fields
The following fields are returned by SELECT queries:
- getSloUsageInfo
SLO Usage Info has been retrieved successfully.
| Name | Datatype | Description |
|---|---|---|
limit | integer | The limit of active Logs/Metrics/Monitors SLOs. |
sliType | string | The type of SLO usage info (Logs/Metrics/Monitor based). (pattern: ^(Logs|Metrics|Monitors)$, example: Logs, x-pattern-message: Either Logs or Metrics or Monitors.) |
usage | integer | Current number of active Logs/Metrics/Monitors SLOs. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
getSloUsageInfo | select | region | Get the current number and the allowed number of log and metrics SLOs. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
SELECT examples
- getSloUsageInfo
Get the current number and the allowed number of log and metrics SLOs.
SELECT
limit,
sliType,
usage
FROM sumologic.slos.usage_info
WHERE region = '{{ region }}' -- required
;