oci-budget 2.122.1 → 2.123.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +4 -1
- package/index.js +5 -2
- package/index.js.map +1 -1
- package/lib/budget-waiter.d.ts +1 -1
- package/lib/budget-waiter.js +1 -1
- package/lib/client.d.ts +232 -1
- package/lib/client.js +1211 -2
- package/lib/client.js.map +1 -1
- package/lib/costad-waiter.d.ts +45 -0
- package/lib/costad-waiter.js +89 -0
- package/lib/costad-waiter.js.map +1 -0
- package/lib/model/alert-rule-summary.d.ts +1 -1
- package/lib/model/alert-rule-summary.js +1 -1
- package/lib/model/alert-rule.d.ts +1 -1
- package/lib/model/alert-rule.js +1 -1
- package/lib/model/alert-type.d.ts +1 -1
- package/lib/model/alert-type.js +1 -1
- package/lib/model/budget-summary.d.ts +13 -3
- package/lib/model/budget-summary.js +1 -1
- package/lib/model/budget-summary.js.map +1 -1
- package/lib/model/budget.d.ts +13 -3
- package/lib/model/budget.js +1 -1
- package/lib/model/budget.js.map +1 -1
- package/lib/model/cost-alert-subscription-collection.d.ts +26 -0
- package/lib/model/cost-alert-subscription-collection.js +61 -0
- package/lib/model/cost-alert-subscription-collection.js.map +1 -0
- package/lib/model/cost-alert-subscription-map.d.ts +46 -0
- package/lib/model/cost-alert-subscription-map.js +39 -0
- package/lib/model/cost-alert-subscription-map.js.map +1 -0
- package/lib/model/cost-alert-subscription-summary.d.ts +80 -0
- package/lib/model/cost-alert-subscription-summary.js +29 -0
- package/lib/model/cost-alert-subscription-summary.js.map +1 -0
- package/lib/model/cost-alert-subscription.d.ts +101 -0
- package/lib/model/cost-alert-subscription.js +39 -0
- package/lib/model/cost-alert-subscription.js.map +1 -0
- package/lib/model/cost-anomaly-event-analytic-collection.d.ts +26 -0
- package/lib/model/cost-anomaly-event-analytic-collection.js +61 -0
- package/lib/model/cost-anomaly-event-analytic-collection.js.map +1 -0
- package/lib/model/cost-anomaly-event-analytic-summary.d.ts +33 -0
- package/lib/model/cost-anomaly-event-analytic-summary.js +29 -0
- package/lib/model/cost-anomaly-event-analytic-summary.js.map +1 -0
- package/lib/model/cost-anomaly-event-collection.d.ts +26 -0
- package/lib/model/cost-anomaly-event-collection.js +61 -0
- package/lib/model/cost-anomaly-event-collection.js.map +1 -0
- package/lib/model/cost-anomaly-event-summary.d.ts +99 -0
- package/lib/model/cost-anomaly-event-summary.js +63 -0
- package/lib/model/cost-anomaly-event-summary.js.map +1 -0
- package/lib/model/cost-anomaly-event.d.ts +129 -0
- package/lib/model/cost-anomaly-event.js +83 -0
- package/lib/model/cost-anomaly-event.js.map +1 -0
- package/lib/model/cost-anomaly-monitor-collection.d.ts +26 -0
- package/lib/model/cost-anomaly-monitor-collection.js +61 -0
- package/lib/model/cost-anomaly-monitor-collection.js.map +1 -0
- package/lib/model/cost-anomaly-monitor-summary.d.ts +90 -0
- package/lib/model/cost-anomaly-monitor-summary.js +57 -0
- package/lib/model/cost-anomaly-monitor-summary.js.map +1 -0
- package/lib/model/cost-anomaly-monitor.d.ts +106 -0
- package/lib/model/cost-anomaly-monitor.js +74 -0
- package/lib/model/cost-anomaly-monitor.js.map +1 -0
- package/lib/model/create-alert-rule-details.d.ts +1 -1
- package/lib/model/create-alert-rule-details.js +1 -1
- package/lib/model/create-budget-details.d.ts +13 -3
- package/lib/model/create-budget-details.js +1 -1
- package/lib/model/create-budget-details.js.map +1 -1
- package/lib/model/create-cost-alert-subscription-details.d.ts +61 -0
- package/lib/model/create-cost-alert-subscription-details.js +29 -0
- package/lib/model/create-cost-alert-subscription-details.js.map +1 -0
- package/lib/model/create-cost-anomaly-monitor-details.d.ts +61 -0
- package/lib/model/create-cost-anomaly-monitor-details.js +63 -0
- package/lib/model/create-cost-anomaly-monitor-details.js.map +1 -0
- package/lib/model/dimension.d.ts +32 -0
- package/lib/model/dimension.js +29 -0
- package/lib/model/dimension.js.map +1 -0
- package/lib/model/index.d.ts +51 -3
- package/lib/model/index.js +52 -4
- package/lib/model/index.js.map +1 -1
- package/lib/model/lifecycle-state.d.ts +1 -1
- package/lib/model/lifecycle-state.js +1 -1
- package/lib/model/monitor-type.d.ts +29 -0
- package/lib/model/monitor-type.js +40 -0
- package/lib/model/monitor-type.js.map +1 -0
- package/lib/model/processing-period-type.d.ts +1 -1
- package/lib/model/processing-period-type.js +1 -1
- package/lib/model/reset-period.d.ts +1 -1
- package/lib/model/reset-period.js +1 -1
- package/lib/model/root-cause-detail.d.ts +25 -0
- package/lib/model/root-cause-detail.js +29 -0
- package/lib/model/root-cause-detail.js.map +1 -0
- package/lib/model/{sort-by.d.ts → sort-by-for-budget.d.ts} +7 -8
- package/lib/model/{sort-by.js → sort-by-for-budget.js} +14 -15
- package/lib/model/sort-by-for-budget.js.map +1 -0
- package/lib/model/sort-by-for-cost-ad.d.ts +26 -0
- package/lib/model/sort-by-for-cost-ad.js +37 -0
- package/lib/model/sort-by-for-cost-ad.js.map +1 -0
- package/lib/model/sort-by-for-cost-anomaly-event.d.ts +26 -0
- package/lib/model/sort-by-for-cost-anomaly-event.js +37 -0
- package/lib/model/sort-by-for-cost-anomaly-event.js.map +1 -0
- package/lib/model/sort-order.d.ts +1 -1
- package/lib/model/sort-order.js +1 -1
- package/lib/model/tag.d.ts +33 -0
- package/lib/model/tag.js +29 -0
- package/lib/model/tag.js.map +1 -0
- package/lib/model/target-resource-filter.d.ts +50 -0
- package/lib/model/target-resource-filter.js +91 -0
- package/lib/model/target-resource-filter.js.map +1 -0
- package/lib/model/target-type.d.ts +1 -1
- package/lib/model/target-type.js +1 -1
- package/lib/model/threshold-type.d.ts +1 -1
- package/lib/model/threshold-type.js +1 -1
- package/lib/model/update-alert-rule-details.d.ts +1 -1
- package/lib/model/update-alert-rule-details.js +1 -1
- package/lib/model/update-budget-details.d.ts +13 -3
- package/lib/model/update-budget-details.js +1 -1
- package/lib/model/update-budget-details.js.map +1 -1
- package/lib/model/update-cost-alert-subscription-details.d.ts +52 -0
- package/lib/model/update-cost-alert-subscription-details.js +29 -0
- package/lib/model/update-cost-alert-subscription-details.js.map +1 -0
- package/lib/model/update-cost-anomaly-event-details.d.ts +48 -0
- package/lib/model/update-cost-anomaly-event-details.js +29 -0
- package/lib/model/update-cost-anomaly-event-details.js.map +1 -0
- package/lib/model/update-cost-anomaly-monitor-details.d.ts +49 -0
- package/lib/model/update-cost-anomaly-monitor-details.js +57 -0
- package/lib/model/update-cost-anomaly-monitor-details.js.map +1 -0
- package/lib/request/create-alert-rule-request.d.ts +1 -1
- package/lib/request/create-alert-rule-request.js +1 -1
- package/lib/request/create-budget-request.d.ts +1 -1
- package/lib/request/create-budget-request.js +1 -1
- package/lib/request/create-cost-alert-subscription-request.d.ts +36 -0
- package/lib/request/create-cost-alert-subscription-request.js +15 -0
- package/lib/request/create-cost-alert-subscription-request.js.map +1 -0
- package/lib/request/create-cost-anomaly-monitor-request.d.ts +36 -0
- package/lib/request/create-cost-anomaly-monitor-request.js +15 -0
- package/lib/request/create-cost-anomaly-monitor-request.js.map +1 -0
- package/lib/request/delete-alert-rule-request.d.ts +1 -1
- package/lib/request/delete-alert-rule-request.js +1 -1
- package/lib/request/delete-budget-request.d.ts +1 -1
- package/lib/request/delete-budget-request.js +1 -1
- package/lib/request/delete-cost-alert-subscription-request.d.ts +35 -0
- package/lib/request/delete-cost-alert-subscription-request.js +15 -0
- package/lib/request/delete-cost-alert-subscription-request.js.map +1 -0
- package/lib/request/delete-cost-anomaly-monitor-request.d.ts +35 -0
- package/lib/request/delete-cost-anomaly-monitor-request.js +15 -0
- package/lib/request/delete-cost-anomaly-monitor-request.js.map +1 -0
- package/lib/request/disable-cost-anomaly-monitor-request.d.ts +44 -0
- package/lib/request/disable-cost-anomaly-monitor-request.js +15 -0
- package/lib/request/disable-cost-anomaly-monitor-request.js.map +1 -0
- package/lib/request/enable-cost-anomaly-monitor-request.d.ts +44 -0
- package/lib/request/enable-cost-anomaly-monitor-request.js +15 -0
- package/lib/request/enable-cost-anomaly-monitor-request.js.map +1 -0
- package/lib/request/get-alert-rule-request.d.ts +1 -1
- package/lib/request/get-alert-rule-request.js +1 -1
- package/lib/request/get-budget-request.d.ts +1 -1
- package/lib/request/get-budget-request.js +1 -1
- package/lib/request/get-cost-alert-subscription-request.d.ts +26 -0
- package/lib/request/get-cost-alert-subscription-request.js +15 -0
- package/lib/request/get-cost-alert-subscription-request.js.map +1 -0
- package/lib/request/get-cost-anomaly-event-request.d.ts +26 -0
- package/lib/request/get-cost-anomaly-event-request.js +15 -0
- package/lib/request/get-cost-anomaly-event-request.js.map +1 -0
- package/lib/request/get-cost-anomaly-monitor-request.d.ts +26 -0
- package/lib/request/get-cost-anomaly-monitor-request.js +15 -0
- package/lib/request/get-cost-anomaly-monitor-request.js.map +1 -0
- package/lib/request/index.d.ts +33 -1
- package/lib/request/index.js +1 -1
- package/lib/request/list-alert-rules-request.d.ts +2 -2
- package/lib/request/list-alert-rules-request.js +1 -1
- package/lib/request/list-budgets-request.d.ts +2 -2
- package/lib/request/list-budgets-request.js +1 -1
- package/lib/request/list-cost-alert-subscriptions-request.d.ts +55 -0
- package/lib/request/list-cost-alert-subscriptions-request.js +15 -0
- package/lib/request/list-cost-alert-subscriptions-request.js.map +1 -0
- package/lib/request/list-cost-anomaly-events-request.d.ts +79 -0
- package/lib/request/list-cost-anomaly-events-request.js +15 -0
- package/lib/request/list-cost-anomaly-events-request.js.map +1 -0
- package/lib/request/list-cost-anomaly-monitors-request.d.ts +63 -0
- package/lib/request/list-cost-anomaly-monitors-request.js +15 -0
- package/lib/request/list-cost-anomaly-monitors-request.js.map +1 -0
- package/lib/request/summarize-cost-anomaly-event-analytics-request.d.ts +79 -0
- package/lib/request/summarize-cost-anomaly-event-analytics-request.js +15 -0
- package/lib/request/summarize-cost-anomaly-event-analytics-request.js.map +1 -0
- package/lib/request/update-alert-rule-request.d.ts +1 -1
- package/lib/request/update-alert-rule-request.js +1 -1
- package/lib/request/update-budget-request.d.ts +1 -1
- package/lib/request/update-budget-request.js +1 -1
- package/lib/request/update-cost-alert-subscription-request.d.ts +40 -0
- package/lib/request/update-cost-alert-subscription-request.js +15 -0
- package/lib/request/update-cost-alert-subscription-request.js.map +1 -0
- package/lib/request/update-cost-anomaly-event-request.d.ts +40 -0
- package/lib/request/update-cost-anomaly-event-request.js +15 -0
- package/lib/request/update-cost-anomaly-event-request.js.map +1 -0
- package/lib/request/update-cost-anomaly-monitor-request.d.ts +40 -0
- package/lib/request/update-cost-anomaly-monitor-request.js +15 -0
- package/lib/request/update-cost-anomaly-monitor-request.js.map +1 -0
- package/lib/response/create-alert-rule-response.d.ts +1 -1
- package/lib/response/create-alert-rule-response.js +1 -1
- package/lib/response/create-budget-response.d.ts +1 -1
- package/lib/response/create-budget-response.js +1 -1
- package/lib/response/create-cost-alert-subscription-response.d.ts +30 -0
- package/lib/response/create-cost-alert-subscription-response.js +15 -0
- package/lib/response/create-cost-alert-subscription-response.js.map +1 -0
- package/lib/response/create-cost-anomaly-monitor-response.d.ts +30 -0
- package/lib/response/create-cost-anomaly-monitor-response.js +15 -0
- package/lib/response/create-cost-anomaly-monitor-response.js.map +1 -0
- package/lib/response/delete-alert-rule-response.d.ts +1 -1
- package/lib/response/delete-alert-rule-response.js +1 -1
- package/lib/response/delete-budget-response.d.ts +1 -1
- package/lib/response/delete-budget-response.js +1 -1
- package/lib/response/delete-cost-alert-subscription-response.d.ts +20 -0
- package/lib/response/delete-cost-alert-subscription-response.js +15 -0
- package/lib/response/delete-cost-alert-subscription-response.js.map +1 -0
- package/lib/response/delete-cost-anomaly-monitor-response.d.ts +20 -0
- package/lib/response/delete-cost-anomaly-monitor-response.js +15 -0
- package/lib/response/delete-cost-anomaly-monitor-response.js.map +1 -0
- package/lib/response/disable-cost-anomaly-monitor-response.d.ts +30 -0
- package/lib/response/disable-cost-anomaly-monitor-response.js +15 -0
- package/lib/response/disable-cost-anomaly-monitor-response.js.map +1 -0
- package/lib/response/enable-cost-anomaly-monitor-response.d.ts +30 -0
- package/lib/response/enable-cost-anomaly-monitor-response.js +15 -0
- package/lib/response/enable-cost-anomaly-monitor-response.js.map +1 -0
- package/lib/response/get-alert-rule-response.d.ts +1 -1
- package/lib/response/get-alert-rule-response.js +1 -1
- package/lib/response/get-budget-response.d.ts +1 -1
- package/lib/response/get-budget-response.js +1 -1
- package/lib/response/get-cost-alert-subscription-response.d.ts +30 -0
- package/lib/response/get-cost-alert-subscription-response.js +15 -0
- package/lib/response/get-cost-alert-subscription-response.js.map +1 -0
- package/lib/response/get-cost-anomaly-event-response.d.ts +30 -0
- package/lib/response/get-cost-anomaly-event-response.js +15 -0
- package/lib/response/get-cost-anomaly-event-response.js.map +1 -0
- package/lib/response/get-cost-anomaly-monitor-response.d.ts +30 -0
- package/lib/response/get-cost-anomaly-monitor-response.js +15 -0
- package/lib/response/get-cost-anomaly-monitor-response.js.map +1 -0
- package/lib/response/index.d.ts +33 -1
- package/lib/response/index.js +1 -1
- package/lib/response/list-alert-rules-response.d.ts +1 -1
- package/lib/response/list-alert-rules-response.js +1 -1
- package/lib/response/list-budgets-response.d.ts +1 -1
- package/lib/response/list-budgets-response.js +1 -1
- package/lib/response/list-cost-alert-subscriptions-response.d.ts +32 -0
- package/lib/response/list-cost-alert-subscriptions-response.js +15 -0
- package/lib/response/list-cost-alert-subscriptions-response.js.map +1 -0
- package/lib/response/list-cost-anomaly-events-response.d.ts +32 -0
- package/lib/response/list-cost-anomaly-events-response.js +15 -0
- package/lib/response/list-cost-anomaly-events-response.js.map +1 -0
- package/lib/response/list-cost-anomaly-monitors-response.d.ts +32 -0
- package/lib/response/list-cost-anomaly-monitors-response.js +15 -0
- package/lib/response/list-cost-anomaly-monitors-response.js.map +1 -0
- package/lib/response/summarize-cost-anomaly-event-analytics-response.d.ts +32 -0
- package/lib/response/summarize-cost-anomaly-event-analytics-response.js +15 -0
- package/lib/response/summarize-cost-anomaly-event-analytics-response.js.map +1 -0
- package/lib/response/update-alert-rule-response.d.ts +1 -1
- package/lib/response/update-alert-rule-response.js +1 -1
- package/lib/response/update-budget-response.d.ts +1 -1
- package/lib/response/update-budget-response.js +1 -1
- package/lib/response/update-cost-alert-subscription-response.d.ts +30 -0
- package/lib/response/update-cost-alert-subscription-response.js +15 -0
- package/lib/response/update-cost-alert-subscription-response.js.map +1 -0
- package/lib/response/update-cost-anomaly-event-response.d.ts +30 -0
- package/lib/response/update-cost-anomaly-event-response.js +15 -0
- package/lib/response/update-cost-anomaly-event-response.js.map +1 -0
- package/lib/response/update-cost-anomaly-monitor-response.d.ts +30 -0
- package/lib/response/update-cost-anomaly-monitor-response.js +15 -0
- package/lib/response/update-cost-anomaly-monitor-response.js.map +1 -0
- package/package.json +3 -3
- package/lib/model/sort-by.js.map +0 -1
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Budgets API
|
|
3
|
+
* Use the Budgets API to manage budgets and budget alerts. For more information, see [Budgets Overview](https://docs.oracle.com/iaas/Content/Billing/Concepts/budgetsoverview.htm).
|
|
4
|
+
* OpenAPI spec version: 20190111
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A CostAnomalyEvent.
|
|
16
|
+
*/
|
|
17
|
+
export interface CostAnomalyEventSummary {
|
|
18
|
+
/**
|
|
19
|
+
* The OCID of the Cost Anomaly Event.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* The name of the associated cost Anomaly.
|
|
24
|
+
*/
|
|
25
|
+
"costAnomalyName"?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The OCID of the compartment.
|
|
28
|
+
*/
|
|
29
|
+
"compartmentId": string;
|
|
30
|
+
/**
|
|
31
|
+
* The OCID of the associated cost monitor.
|
|
32
|
+
*/
|
|
33
|
+
"costMonitorId": string;
|
|
34
|
+
/**
|
|
35
|
+
* The name of the associated cost monitor.
|
|
36
|
+
*/
|
|
37
|
+
"costMonitorName": string;
|
|
38
|
+
/**
|
|
39
|
+
* Type of cost monitor
|
|
40
|
+
*/
|
|
41
|
+
"costMonitorType"?: model.MonitorType;
|
|
42
|
+
/**
|
|
43
|
+
* The current state of the cost anomaly event.
|
|
44
|
+
*/
|
|
45
|
+
"lifecycleState"?: string;
|
|
46
|
+
"targetResourceFilter": model.TargetResourceFilter;
|
|
47
|
+
"rootCauseDetail": model.RootCauseDetail;
|
|
48
|
+
/**
|
|
49
|
+
* The event date of the anomaly event.
|
|
50
|
+
*/
|
|
51
|
+
"timeAnomalyEventDate": Date;
|
|
52
|
+
/**
|
|
53
|
+
* The cost impact of the detected anomaly. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
54
|
+
*/
|
|
55
|
+
"costImpact"?: number;
|
|
56
|
+
/**
|
|
57
|
+
* The cost variance percentage of the detected anomaly. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
58
|
+
*/
|
|
59
|
+
"costVariancePercentage"?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Defined tags for this resource. Each key is predefined and scoped to a
|
|
62
|
+
* namespace. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
63
|
+
* <p>
|
|
64
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
"definedTags"?: {
|
|
68
|
+
[key: string]: {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no
|
|
74
|
+
* predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
75
|
+
* <p>
|
|
76
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
"freeformTags"?: {
|
|
80
|
+
[key: string]: string;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
84
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
85
|
+
* System tags can be viewed by users, but can only be created by the system.
|
|
86
|
+
* <p>
|
|
87
|
+
Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
"systemTags"?: {
|
|
91
|
+
[key: string]: {
|
|
92
|
+
[key: string]: any;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
export declare namespace CostAnomalyEventSummary {
|
|
97
|
+
function getJsonObj(obj: CostAnomalyEventSummary): object;
|
|
98
|
+
function getDeserializedJsonObj(obj: CostAnomalyEventSummary): object;
|
|
99
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Budgets API
|
|
4
|
+
* Use the Budgets API to manage budgets and budget alerts. For more information, see [Budgets Overview](https://docs.oracle.com/iaas/Content/Billing/Concepts/budgetsoverview.htm).
|
|
5
|
+
* OpenAPI spec version: 20190111
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.CostAnomalyEventSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var CostAnomalyEventSummary;
|
|
37
|
+
(function (CostAnomalyEventSummary) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"targetResourceFilter": obj.targetResourceFilter
|
|
41
|
+
? model.TargetResourceFilter.getJsonObj(obj.targetResourceFilter)
|
|
42
|
+
: undefined,
|
|
43
|
+
"rootCauseDetail": obj.rootCauseDetail
|
|
44
|
+
? model.RootCauseDetail.getJsonObj(obj.rootCauseDetail)
|
|
45
|
+
: undefined
|
|
46
|
+
});
|
|
47
|
+
return jsonObj;
|
|
48
|
+
}
|
|
49
|
+
CostAnomalyEventSummary.getJsonObj = getJsonObj;
|
|
50
|
+
function getDeserializedJsonObj(obj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
52
|
+
"targetResourceFilter": obj.targetResourceFilter
|
|
53
|
+
? model.TargetResourceFilter.getDeserializedJsonObj(obj.targetResourceFilter)
|
|
54
|
+
: undefined,
|
|
55
|
+
"rootCauseDetail": obj.rootCauseDetail
|
|
56
|
+
? model.RootCauseDetail.getDeserializedJsonObj(obj.rootCauseDetail)
|
|
57
|
+
: undefined
|
|
58
|
+
});
|
|
59
|
+
return jsonObj;
|
|
60
|
+
}
|
|
61
|
+
CostAnomalyEventSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
62
|
+
})(CostAnomalyEventSummary = exports.CostAnomalyEventSummary || (exports.CostAnomalyEventSummary = {}));
|
|
63
|
+
//# sourceMappingURL=cost-anomaly-event-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cost-anomaly-event-summary.js","sourceRoot":"","sources":["../../../../../lib/budget/lib/model/cost-anomaly-event-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4ElC,IAAiB,uBAAuB,CA+BvC;AA/BD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,oBAAoB,CAAC;gBACjE,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBACvD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,kCAAU,aAczB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,oBAAoB,CAAC;gBAC7E,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACnE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,8CAAsB,yBAcrC,CAAA;AACH,CAAC,EA/BgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QA+BvC"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Budgets API
|
|
3
|
+
* Use the Budgets API to manage budgets and budget alerts. For more information, see [Budgets Overview](https://docs.oracle.com/iaas/Content/Billing/Concepts/budgetsoverview.htm).
|
|
4
|
+
* OpenAPI spec version: 20190111
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A CostAnomalyEvent.
|
|
16
|
+
*/
|
|
17
|
+
export interface CostAnomalyEvent {
|
|
18
|
+
/**
|
|
19
|
+
* The OCID of the Cost Anomaly Event.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* The name of the associated cost monitor.
|
|
24
|
+
*/
|
|
25
|
+
"costAnomalyName": string;
|
|
26
|
+
/**
|
|
27
|
+
* The OCID of the compartment.
|
|
28
|
+
*/
|
|
29
|
+
"compartmentId": string;
|
|
30
|
+
/**
|
|
31
|
+
* The current state of the cost anomaly event.
|
|
32
|
+
*/
|
|
33
|
+
"lifecycleState": CostAnomalyEvent.LifecycleState;
|
|
34
|
+
/**
|
|
35
|
+
* The OCID of the associated cost monitor.
|
|
36
|
+
*/
|
|
37
|
+
"costMonitorId": string;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the associated cost monitor.
|
|
40
|
+
*/
|
|
41
|
+
"costMonitorName": string;
|
|
42
|
+
/**
|
|
43
|
+
* Type of cost monitor
|
|
44
|
+
*/
|
|
45
|
+
"costMonitorType"?: model.MonitorType;
|
|
46
|
+
"targetResourceFilter": model.TargetResourceFilter;
|
|
47
|
+
/**
|
|
48
|
+
* The event date of the anomaly event.
|
|
49
|
+
*/
|
|
50
|
+
"timeAnomalyEventDate": Date;
|
|
51
|
+
/**
|
|
52
|
+
* The cost impact of the detected anomaly. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
53
|
+
*/
|
|
54
|
+
"costImpact"?: number;
|
|
55
|
+
/**
|
|
56
|
+
* The cost variance percentage of the detected anomaly. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
57
|
+
*/
|
|
58
|
+
"costVariancePercentage"?: number;
|
|
59
|
+
"rootCauseDetail"?: model.RootCauseDetail;
|
|
60
|
+
/**
|
|
61
|
+
* The feedback response for the cost anomaly event.
|
|
62
|
+
*/
|
|
63
|
+
"feedbackResponse"?: CostAnomalyEvent.FeedbackResponse;
|
|
64
|
+
/**
|
|
65
|
+
* The created time of the cost anomaly event.
|
|
66
|
+
*/
|
|
67
|
+
"timeCreated": Date;
|
|
68
|
+
/**
|
|
69
|
+
* The updated time of the cost anomaly event.
|
|
70
|
+
*/
|
|
71
|
+
"timeUpdated": Date;
|
|
72
|
+
/**
|
|
73
|
+
* Defined tags for this resource. Each key is predefined and scoped to a
|
|
74
|
+
* namespace. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
75
|
+
* <p>
|
|
76
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
"definedTags"?: {
|
|
80
|
+
[key: string]: {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no
|
|
86
|
+
* predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
87
|
+
* <p>
|
|
88
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
"freeformTags"?: {
|
|
92
|
+
[key: string]: string;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
96
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
97
|
+
* System tags can be viewed by users, but can only be created by the system.
|
|
98
|
+
* <p>
|
|
99
|
+
Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
100
|
+
*
|
|
101
|
+
*/
|
|
102
|
+
"systemTags"?: {
|
|
103
|
+
[key: string]: {
|
|
104
|
+
[key: string]: any;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
export declare namespace CostAnomalyEvent {
|
|
109
|
+
enum LifecycleState {
|
|
110
|
+
Active = "ACTIVE",
|
|
111
|
+
Inactive = "INACTIVE",
|
|
112
|
+
/**
|
|
113
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
114
|
+
* version of the SDK.
|
|
115
|
+
*/
|
|
116
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
117
|
+
}
|
|
118
|
+
enum FeedbackResponse {
|
|
119
|
+
AccurateAnomaly = "ACCURATE_ANOMALY",
|
|
120
|
+
ExpectedAnomaly = "EXPECTED_ANOMALY",
|
|
121
|
+
/**
|
|
122
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
123
|
+
* version of the SDK.
|
|
124
|
+
*/
|
|
125
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
126
|
+
}
|
|
127
|
+
function getJsonObj(obj: CostAnomalyEvent): object;
|
|
128
|
+
function getDeserializedJsonObj(obj: CostAnomalyEvent): object;
|
|
129
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Budgets API
|
|
4
|
+
* Use the Budgets API to manage budgets and budget alerts. For more information, see [Budgets Overview](https://docs.oracle.com/iaas/Content/Billing/Concepts/budgetsoverview.htm).
|
|
5
|
+
* OpenAPI spec version: 20190111
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.CostAnomalyEvent = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var CostAnomalyEvent;
|
|
37
|
+
(function (CostAnomalyEvent) {
|
|
38
|
+
let LifecycleState;
|
|
39
|
+
(function (LifecycleState) {
|
|
40
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
41
|
+
LifecycleState["Inactive"] = "INACTIVE";
|
|
42
|
+
/**
|
|
43
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
44
|
+
* version of the SDK.
|
|
45
|
+
*/
|
|
46
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
47
|
+
})(LifecycleState = CostAnomalyEvent.LifecycleState || (CostAnomalyEvent.LifecycleState = {}));
|
|
48
|
+
let FeedbackResponse;
|
|
49
|
+
(function (FeedbackResponse) {
|
|
50
|
+
FeedbackResponse["AccurateAnomaly"] = "ACCURATE_ANOMALY";
|
|
51
|
+
FeedbackResponse["ExpectedAnomaly"] = "EXPECTED_ANOMALY";
|
|
52
|
+
/**
|
|
53
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
54
|
+
* version of the SDK.
|
|
55
|
+
*/
|
|
56
|
+
FeedbackResponse["UnknownValue"] = "UNKNOWN_VALUE";
|
|
57
|
+
})(FeedbackResponse = CostAnomalyEvent.FeedbackResponse || (CostAnomalyEvent.FeedbackResponse = {}));
|
|
58
|
+
function getJsonObj(obj) {
|
|
59
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
60
|
+
"targetResourceFilter": obj.targetResourceFilter
|
|
61
|
+
? model.TargetResourceFilter.getJsonObj(obj.targetResourceFilter)
|
|
62
|
+
: undefined,
|
|
63
|
+
"rootCauseDetail": obj.rootCauseDetail
|
|
64
|
+
? model.RootCauseDetail.getJsonObj(obj.rootCauseDetail)
|
|
65
|
+
: undefined
|
|
66
|
+
});
|
|
67
|
+
return jsonObj;
|
|
68
|
+
}
|
|
69
|
+
CostAnomalyEvent.getJsonObj = getJsonObj;
|
|
70
|
+
function getDeserializedJsonObj(obj) {
|
|
71
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
72
|
+
"targetResourceFilter": obj.targetResourceFilter
|
|
73
|
+
? model.TargetResourceFilter.getDeserializedJsonObj(obj.targetResourceFilter)
|
|
74
|
+
: undefined,
|
|
75
|
+
"rootCauseDetail": obj.rootCauseDetail
|
|
76
|
+
? model.RootCauseDetail.getDeserializedJsonObj(obj.rootCauseDetail)
|
|
77
|
+
: undefined
|
|
78
|
+
});
|
|
79
|
+
return jsonObj;
|
|
80
|
+
}
|
|
81
|
+
CostAnomalyEvent.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
82
|
+
})(CostAnomalyEvent = exports.CostAnomalyEvent || (exports.CostAnomalyEvent = {}));
|
|
83
|
+
//# sourceMappingURL=cost-anomaly-event.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cost-anomaly-event.js","sourceRoot":"","sources":["../../../../../lib/budget/lib/model/cost-anomaly-event.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwFlC,IAAiB,gBAAgB,CAqDhC;AArDD,WAAiB,gBAAgB;IAC/B,IAAY,cAQX;IARD,WAAY,cAAc;QACxB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EARW,cAAc,GAAd,+BAAc,KAAd,+BAAc,QAQzB;IAED,IAAY,gBAQX;IARD,WAAY,gBAAgB;QAC1B,wDAAoC,CAAA;QACpC,wDAAoC,CAAA;QACpC;;;WAGG;QACH,kDAA8B,CAAA;IAChC,CAAC,EARW,gBAAgB,GAAhB,iCAAgB,KAAhB,iCAAgB,QAQ3B;IAED,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,oBAAoB,CAAC;gBACjE,CAAC,CAAC,SAAS;YAEb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBACvD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,2BAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,oBAAoB,CAAC;gBAC7E,CAAC,CAAC,SAAS;YAEb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACnE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,uCAAsB,yBAerC,CAAA;AACH,CAAC,EArDgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAqDhC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Budgets API
|
|
3
|
+
* Use the Budgets API to manage budgets and budget alerts. For more information, see [Budgets Overview](https://docs.oracle.com/iaas/Content/Billing/Concepts/budgetsoverview.htm).
|
|
4
|
+
* OpenAPI spec version: 20190111
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Results of a costAnomalyMonitor search. Contains both CostAnomalyMonitorSummary items and other data.
|
|
16
|
+
*/
|
|
17
|
+
export interface CostAnomalyMonitorCollection {
|
|
18
|
+
/**
|
|
19
|
+
* A page of CostAnomalyMonitorSummary objects.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.CostAnomalyMonitorSummary>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace CostAnomalyMonitorCollection {
|
|
24
|
+
function getJsonObj(obj: CostAnomalyMonitorCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: CostAnomalyMonitorCollection): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Budgets API
|
|
4
|
+
* Use the Budgets API to manage budgets and budget alerts. For more information, see [Budgets Overview](https://docs.oracle.com/iaas/Content/Billing/Concepts/budgetsoverview.htm).
|
|
5
|
+
* OpenAPI spec version: 20190111
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.CostAnomalyMonitorCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var CostAnomalyMonitorCollection;
|
|
37
|
+
(function (CostAnomalyMonitorCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.CostAnomalyMonitorSummary.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
CostAnomalyMonitorCollection.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"items": obj.items
|
|
52
|
+
? obj.items.map(item => {
|
|
53
|
+
return model.CostAnomalyMonitorSummary.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
CostAnomalyMonitorCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(CostAnomalyMonitorCollection = exports.CostAnomalyMonitorCollection || (exports.CostAnomalyMonitorCollection = {}));
|
|
61
|
+
//# sourceMappingURL=cost-anomaly-monitor-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cost-anomaly-monitor-collection.js","sourceRoot":"","sources":["../../../../../lib/budget/lib/model/cost-anomaly-monitor-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,4BAA4B,CA6B5C;AA7BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA6B5C"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Budgets API
|
|
3
|
+
* Use the Budgets API to manage budgets and budget alerts. For more information, see [Budgets Overview](https://docs.oracle.com/iaas/Content/Billing/Concepts/budgetsoverview.htm).
|
|
4
|
+
* OpenAPI spec version: 20190111
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A CostAnomalyMonitor.
|
|
16
|
+
*/
|
|
17
|
+
export interface CostAnomalyMonitorSummary {
|
|
18
|
+
/**
|
|
19
|
+
* The OCID of the Cost Anomaly Monitor.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* The OCID of the compartment.
|
|
24
|
+
*/
|
|
25
|
+
"compartmentId": string;
|
|
26
|
+
/**
|
|
27
|
+
* The name of the cost anomaly monitor. Avoid entering confidential information.
|
|
28
|
+
*/
|
|
29
|
+
"name": string;
|
|
30
|
+
/**
|
|
31
|
+
* Type of cost monitor
|
|
32
|
+
*/
|
|
33
|
+
"type"?: model.MonitorType;
|
|
34
|
+
/**
|
|
35
|
+
* The description of the budget.
|
|
36
|
+
*/
|
|
37
|
+
"description"?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The current state of the cost monitor.
|
|
40
|
+
*/
|
|
41
|
+
"lifecycleState": string;
|
|
42
|
+
"targetResourceFilter": model.TargetResourceFilter;
|
|
43
|
+
/**
|
|
44
|
+
* The time that the cost monitor was created.
|
|
45
|
+
*/
|
|
46
|
+
"timeCreated": Date;
|
|
47
|
+
/**
|
|
48
|
+
* The time that the cost monitor was last updated.
|
|
49
|
+
*/
|
|
50
|
+
"timeUpdated": Date;
|
|
51
|
+
/**
|
|
52
|
+
* Defined tags for this resource. Each key is predefined and scoped to a
|
|
53
|
+
* namespace. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
54
|
+
* <p>
|
|
55
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
"definedTags"?: {
|
|
59
|
+
[key: string]: {
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no
|
|
65
|
+
* predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
66
|
+
* <p>
|
|
67
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"freeformTags"?: {
|
|
71
|
+
[key: string]: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
75
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
76
|
+
* System tags can be viewed by users, but can only be created by the system.
|
|
77
|
+
* <p>
|
|
78
|
+
Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
"systemTags"?: {
|
|
82
|
+
[key: string]: {
|
|
83
|
+
[key: string]: any;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
export declare namespace CostAnomalyMonitorSummary {
|
|
88
|
+
function getJsonObj(obj: CostAnomalyMonitorSummary): object;
|
|
89
|
+
function getDeserializedJsonObj(obj: CostAnomalyMonitorSummary): object;
|
|
90
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Budgets API
|
|
4
|
+
* Use the Budgets API to manage budgets and budget alerts. For more information, see [Budgets Overview](https://docs.oracle.com/iaas/Content/Billing/Concepts/budgetsoverview.htm).
|
|
5
|
+
* OpenAPI spec version: 20190111
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.CostAnomalyMonitorSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var CostAnomalyMonitorSummary;
|
|
37
|
+
(function (CostAnomalyMonitorSummary) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"targetResourceFilter": obj.targetResourceFilter
|
|
41
|
+
? model.TargetResourceFilter.getJsonObj(obj.targetResourceFilter)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
CostAnomalyMonitorSummary.getJsonObj = getJsonObj;
|
|
47
|
+
function getDeserializedJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"targetResourceFilter": obj.targetResourceFilter
|
|
50
|
+
? model.TargetResourceFilter.getDeserializedJsonObj(obj.targetResourceFilter)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
CostAnomalyMonitorSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(CostAnomalyMonitorSummary = exports.CostAnomalyMonitorSummary || (exports.CostAnomalyMonitorSummary = {}));
|
|
57
|
+
//# sourceMappingURL=cost-anomaly-monitor-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cost-anomaly-monitor-summary.js","sourceRoot":"","sources":["../../../../../lib/budget/lib/model/cost-anomaly-monitor-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmElC,IAAiB,yBAAyB,CAyBzC;AAzBD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,oBAAoB,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,oCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,oBAAoB,CAAC;gBAC7E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,gDAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAyBzC"}
|