Skip to main content

child_usages

Creates, updates, deletes, gets or lists a child_usages resource.

Overview

Namechild_usages
TypeResource
Idsumologic.organizations.child_usages

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_usagesexecregionGet the credits usage details of the child orgs for a parent.

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.

NameDatatypeDescription
regionstringSumo Logic deployment (au, ca, ch, de, eu, fed, in, jp, kr, us1, us2). Resolved from the SUMOLOGIC_ENVIRONMENT environment variable when it is set (x-stackQL-envVar, the same variable the Terraform provider reads); otherwise defaults to us2. A WHERE region = '...' value always takes precedence. (enum: [au, ca, ch, de, eu, fed, in, jp, kr, us1, us2], default: us2, x-stackQL-envVar: SUMOLOGIC_ENVIRONMENT)

Lifecycle Methods

EXEC variables use wire (API) names.

Get the credits usage details of the child orgs for a parent.

EXEC sumologic.organizations.child_usages.get_usages
@region='{{ region }}' --required unless SUMOLOGIC_ENVIRONMENT is set
@@json=
'{
"startDate": "{{ startDate }}",
"endDate": "{{ endDate }}"
}'
;