cost_anomaly_event_analytics
Creates, updates, deletes, gets or lists a cost_anomaly_event_analytics resource.
Overview​
| Name | cost_anomaly_event_analytics |
| Type | Resource |
| Id | oci.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
summarize_cost_anomaly_event_analytics | exec | compartmentId, costAnomalyMonitorId, timeAnomalyEventStartDate, timeAnomalyEventEndDate, region, costImpact | limit, page, sortOrder, sortBy, name, targetTenantId, opc-request-id | Gets 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.
| Name | Datatype | Description |
|---|---|---|
compartmentId | string | The ID of the compartment in which to list resources. |
costAnomalyMonitorId | string | The cost monitor ocid. |
costImpact | number (double) | cost impact of the anomaly event. |
region | string | OCI 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) |
timeAnomalyEventEndDate | string (date-time) | endDate for anomaly event date. |
timeAnomalyEventStartDate | string (date-time) | startDate for anomaly event date. |
limit | integer | The maximum number of items to return. |
name | string | Unique, non-changeable resource name. |
opc-request-id | string | The client request ID for tracing. |
page | string | The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. |
sortBy | string | The 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. |
sortOrder | string | The sort order to use, either 'asc' or 'desc'. |
targetTenantId | string | The target tenantId ocid filter param. |
Lifecycle Methods​
- summarize_cost_anomaly_event_analytics
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 }}'
;