status
Creates, updates, deletes, gets or lists a status
resource.
Overview
Name | status |
Type | Resource |
Id | sumologic.account.status |
Fields
The following fields are returned by SELECT
queries:
- getStatus
Overview of the account.
Name | Datatype | Description |
---|---|---|
accountActivated | boolean | If the account is activated or not |
applicationUse | string | The current usage of the application. (pattern: ^(ALLOWED|ALLOWED_WITH_WARNING|THROTTLED|RESTRICTED)$ , example: ALLOWED) |
canUpdatePlan | boolean | If the plan can be updated by the given user |
planExpirationDays | integer | The number of days in which the plan will expire |
planType | string | Whether the account is Free /Trial /Paid (pattern: ^(Free|Trial|Paid)$ , example: Free) |
pricingModel | string | Whether the account is cloudflex or credits (pattern: ^(credits|cloudflex)$ , example: credits) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getStatus | select | region | Get information related to the account's plan, pricing model, expiration and payment status. |
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
- getStatus
Get information related to the account's plan, pricing model, expiration and payment status.
SELECT
accountActivated,
applicationUse,
canUpdatePlan,
planExpirationDays,
planType,
pricingModel
FROM sumologic.account.status
WHERE region = '{{ region }}' -- required
;