Skip to main content

cost_anomaly_event_analytics

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

Overview​

Namecost_anomaly_event_analytics
TypeResource
Idoci.budgets.cost_anomaly_event_analytics

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
summarize_cost_anomaly_event_analyticsexeccompartmentId, costAnomalyMonitorId, timeAnomalyEventStartDate, timeAnomalyEventEndDate, region, costImpactlimit, page, sortOrder, sortBy, name, targetTenantId, opc-request-idGets a list of Cost Anomaly Events analytics summary - aggregated metrics for a given time period.<br />

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
compartmentIdstringThe ID of the compartment in which to list resources.
costAnomalyMonitorIdstringThe cost monitor ocid.
costImpactnumber (double)cost impact of the anomaly event.
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
timeAnomalyEventEndDatestring (date-time)endDate for anomaly event date.
timeAnomalyEventStartDatestring (date-time)startDate for anomaly event date.
limitintegerThe maximum number of items to return.
namestringUnique, non-changeable resource name.
opc-request-idstringThe client request ID for tracing.
pagestringThe page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
sortBystringThe field to sort by. If not specified, the default is timeCreated. The default sort order for timeCreated is DESC. The default sort order for displayName is ASC in alphanumeric order.
sortOrderstringThe sort order to use, either 'asc' or 'desc'.
targetTenantIdstringThe target tenantId ocid filter param.

Lifecycle Methods​

Gets a list of Cost Anomaly Events analytics summary - aggregated metrics for a given time period.<br />

EXEC oci.budgets.cost_anomaly_event_analytics.summarize_cost_anomaly_event_analytics
@compartmentId='{{ compartmentId }}' --required,
@costAnomalyMonitorId='{{ costAnomalyMonitorId }}' --required,
@timeAnomalyEventStartDate='{{ timeAnomalyEventStartDate }}' --required,
@timeAnomalyEventEndDate='{{ timeAnomalyEventEndDate }}' --required,
@region='{{ region }}' --required,
@costImpact='{{ costImpact }}' --required,
@limit='{{ limit }}',
@page='{{ page }}',
@sortOrder='{{ sortOrder }}',
@sortBy='{{ sortBy }}',
@name='{{ name }}',
@targetTenantId='{{ targetTenantId }}',
@opc-request-id='{{ opc-request-id }}'
;