/AWS1/CL_BCDSAVGPLANSCOVGQUERY¶
Defines the parameters for querying Savings Plans coverage data, including metrics, grouping options, and time granularity.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
io_timerange TYPE REF TO /AWS1/CL_BCDDATETIMERANGE /AWS1/CL_BCDDATETIMERANGE¶
Defines a time period with explicit start and end times for data queries.
Optional arguments:¶
it_metrics TYPE /AWS1/CL_BCDMETRICNAMES_W=>TT_METRICNAMES TT_METRICNAMES¶
The coverage metrics to include in the results.
Valid value for SavingsPlansCoverageQuery metrics is
SpendCoveredBySavingsPlans.
iv_granularity TYPE /AWS1/BCDGRANULARITY /AWS1/BCDGRANULARITY¶
The time granularity of the retrieved data:
HOURLY,DAILY, orMONTHLY.
it_groupby TYPE /AWS1/CL_BCDGROUPDEFINITION=>TT_GROUPDEFINITIONS TT_GROUPDEFINITIONS¶
Specifies how to group the Savings Plans coverage data, such as by service or instance family.
io_filter TYPE REF TO /AWS1/CL_BCDEXPRESSION /AWS1/CL_BCDEXPRESSION¶
Defines complex filtering conditions using logical operators (
AND,OR,NOT) and various filter types.
Queryable Attributes¶
timeRange¶
Defines a time period with explicit start and end times for data queries.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TIMERANGE() |
Getter for TIMERANGE |
metrics¶
The coverage metrics to include in the results.
Valid value for SavingsPlansCoverageQuery metrics is
SpendCoveredBySavingsPlans.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_METRICS() |
Getter for METRICS, with configurable default |
ASK_METRICS() |
Getter for METRICS w/ exceptions if field has no value |
HAS_METRICS() |
Determine if METRICS has a value |
granularity¶
The time granularity of the retrieved data:
HOURLY,DAILY, orMONTHLY.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_GRANULARITY() |
Getter for GRANULARITY, with configurable default |
ASK_GRANULARITY() |
Getter for GRANULARITY w/ exceptions if field has no value |
HAS_GRANULARITY() |
Determine if GRANULARITY has a value |
groupBy¶
Specifies how to group the Savings Plans coverage data, such as by service or instance family.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_GROUPBY() |
Getter for GROUPBY, with configurable default |
ASK_GROUPBY() |
Getter for GROUPBY w/ exceptions if field has no value |
HAS_GROUPBY() |
Determine if GROUPBY has a value |
filter¶
Defines complex filtering conditions using logical operators (
AND,OR,NOT) and various filter types.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FILTER() |
Getter for FILTER |