oci-budget 2.22.0 → 2.26.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/lib/client.d.ts +22 -23
- package/lib/client.js +27 -24
- package/lib/client.js.map +1 -1
- package/lib/model/alert-rule-summary.d.ts +11 -11
- package/lib/model/alert-rule.d.ts +12 -12
- package/lib/model/alert-type.d.ts +2 -2
- package/lib/model/alert-type.js +2 -2
- package/lib/model/budget-summary.d.ts +21 -16
- package/lib/model/budget-summary.js.map +1 -1
- package/lib/model/budget.d.ts +19 -14
- package/lib/model/budget.js.map +1 -1
- package/lib/model/create-alert-rule-details.d.ts +8 -8
- package/lib/model/create-budget-details.d.ts +15 -10
- package/lib/model/create-budget-details.js.map +1 -1
- package/lib/model/index.d.ts +2 -0
- package/lib/model/index.js +3 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/processing-period-type.d.ts +28 -0
- package/lib/model/processing-period-type.js +39 -0
- package/lib/model/processing-period-type.js.map +1 -0
- package/lib/model/reset-period.d.ts +1 -1
- package/lib/model/reset-period.js +1 -1
- package/lib/model/target-type.d.ts +1 -1
- package/lib/model/target-type.js +1 -1
- package/lib/model/update-alert-rule-details.d.ts +9 -9
- package/lib/model/update-budget-details.d.ts +6 -1
- package/lib/model/update-budget-details.js.map +1 -1
- package/lib/request/create-alert-rule-request.d.ts +4 -4
- package/lib/request/create-budget-request.d.ts +4 -4
- package/lib/request/delete-alert-rule-request.d.ts +3 -3
- package/lib/request/delete-budget-request.d.ts +2 -2
- package/lib/request/get-alert-rule-request.d.ts +3 -3
- package/lib/request/get-budget-request.d.ts +2 -2
- package/lib/request/list-alert-rules-request.d.ts +3 -3
- package/lib/request/list-budgets-request.d.ts +3 -3
- package/lib/request/update-alert-rule-request.d.ts +3 -3
- package/lib/request/update-budget-request.d.ts +2 -2
- package/lib/response/list-alert-rules-response.d.ts +1 -1
- package/lib/response/list-budgets-response.d.ts +2 -2
- package/package.json +3 -3
|
@@ -16,22 +16,22 @@ import * as model from "../model";
|
|
|
16
16
|
*/
|
|
17
17
|
export interface BudgetSummary {
|
|
18
18
|
/**
|
|
19
|
-
* The OCID of the budget
|
|
19
|
+
* The OCID of the budget.
|
|
20
20
|
*/
|
|
21
21
|
"id": string;
|
|
22
22
|
/**
|
|
23
|
-
* The OCID of the compartment
|
|
23
|
+
* The OCID of the compartment.
|
|
24
24
|
*/
|
|
25
25
|
"compartmentId": string;
|
|
26
26
|
/**
|
|
27
|
-
* This is DEPRECATED. For backwards compatability, the property
|
|
28
|
-
* targetType is \"COMPARTMENT\"
|
|
29
|
-
* For all other scenarios, this property
|
|
27
|
+
* This is DEPRECATED. For backwards compatability, the property is populated when
|
|
28
|
+
* the targetType is \"COMPARTMENT\", and the targets contain the specific target compartment OCID.
|
|
29
|
+
* For all other scenarios, this property is left empty.
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
"targetCompartmentId"?: string;
|
|
33
33
|
/**
|
|
34
|
-
* The display name of the budget.
|
|
34
|
+
* The display name of the budget. Avoid entering confidential information.
|
|
35
35
|
*/
|
|
36
36
|
"displayName": string;
|
|
37
37
|
/**
|
|
@@ -39,7 +39,7 @@ export interface BudgetSummary {
|
|
|
39
39
|
*/
|
|
40
40
|
"description"?: string;
|
|
41
41
|
/**
|
|
42
|
-
* The amount of the budget expressed in the currency of the customer's rate card.
|
|
42
|
+
* The amount of the budget, expressed in the currency of the customer's rate card.
|
|
43
43
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
44
44
|
*/
|
|
45
45
|
"amount": number;
|
|
@@ -52,6 +52,11 @@ export interface BudgetSummary {
|
|
|
52
52
|
* The number of days offset from the first day of the month, at which the budget processing period starts. In months that have fewer days than this value, processing will begin on the last day of that month. For example, for a value of 12, processing starts every month on the 12th at midnight. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
53
53
|
*/
|
|
54
54
|
"budgetProcessingPeriodStartOffset"?: number;
|
|
55
|
+
/**
|
|
56
|
+
* The type of the budget processing period. Valid values are INVOICE and MONTH.
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
"processingPeriodType"?: model.ProcessingPeriodType;
|
|
55
60
|
/**
|
|
56
61
|
* The type of target on which the budget is applied.
|
|
57
62
|
*
|
|
@@ -59,8 +64,8 @@ export interface BudgetSummary {
|
|
|
59
64
|
"targetType"?: model.TargetType;
|
|
60
65
|
/**
|
|
61
66
|
* The list of targets on which the budget is applied.
|
|
62
|
-
* If targetType is \"COMPARTMENT\", targets
|
|
63
|
-
* If targetType is \"TAG\", targets
|
|
67
|
+
* If the targetType is \"COMPARTMENT\", the targets contain the list of compartment OCIDs.
|
|
68
|
+
* If the targetType is \"TAG\", the targets contain the list of cost tracking tag identifiers in the form of \"{tagNamespace}.{tagKey}.{tagValue}\".
|
|
64
69
|
*
|
|
65
70
|
*/
|
|
66
71
|
"targets"?: Array<string>;
|
|
@@ -69,31 +74,31 @@ export interface BudgetSummary {
|
|
|
69
74
|
*/
|
|
70
75
|
"lifecycleState": model.LifecycleState;
|
|
71
76
|
/**
|
|
72
|
-
*
|
|
77
|
+
* The total number of alert rules in the budget. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
73
78
|
*/
|
|
74
79
|
"alertRuleCount": number;
|
|
75
80
|
/**
|
|
76
|
-
*
|
|
81
|
+
* The version of the budget. Starts from 1 and increments by 1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
77
82
|
*/
|
|
78
83
|
"version"?: number;
|
|
79
84
|
/**
|
|
80
|
-
* The actual spend in currency for the current budget cycle Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
85
|
+
* The actual spend in currency for the current budget cycle. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
81
86
|
*/
|
|
82
87
|
"actualSpend"?: number;
|
|
83
88
|
/**
|
|
84
|
-
* The forecasted spend in currency by the end of the current budget cycle Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
89
|
+
* The forecasted spend in currency by the end of the current budget cycle. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
85
90
|
*/
|
|
86
91
|
"forecastedSpend"?: number;
|
|
87
92
|
/**
|
|
88
|
-
*
|
|
93
|
+
* The time the budget spend was last computed.
|
|
89
94
|
*/
|
|
90
95
|
"timeSpendComputed"?: Date;
|
|
91
96
|
/**
|
|
92
|
-
*
|
|
97
|
+
* The time the budget was created.
|
|
93
98
|
*/
|
|
94
99
|
"timeCreated": Date;
|
|
95
100
|
/**
|
|
96
|
-
*
|
|
101
|
+
* The time the budget was updated.
|
|
97
102
|
*/
|
|
98
103
|
"timeUpdated": Date;
|
|
99
104
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"budget-summary.js","sourceRoot":"","sources":["../../../../../lib/budget/lib/model/budget-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;
|
|
1
|
+
{"version":3,"file":"budget-summary.js","sourceRoot":"","sources":["../../../../../lib/budget/lib/model/budget-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAiHH,IAAiB,aAAa,CAW7B;AAXD,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAW7B"}
|
package/lib/model/budget.d.ts
CHANGED
|
@@ -16,22 +16,22 @@ import * as model from "../model";
|
|
|
16
16
|
*/
|
|
17
17
|
export interface Budget {
|
|
18
18
|
/**
|
|
19
|
-
* The OCID of the budget
|
|
19
|
+
* The OCID of the budget.
|
|
20
20
|
*/
|
|
21
21
|
"id": string;
|
|
22
22
|
/**
|
|
23
|
-
* The OCID of the compartment
|
|
23
|
+
* The OCID of the compartment.
|
|
24
24
|
*/
|
|
25
25
|
"compartmentId": string;
|
|
26
26
|
/**
|
|
27
|
-
* This is DEPRECATED. For backwards compatability, the property
|
|
28
|
-
* targetType is \"COMPARTMENT\"
|
|
27
|
+
* This is DEPRECATED. For backwards compatability, the property is populated when
|
|
28
|
+
* the targetType is \"COMPARTMENT\", and targets contain the specific target compartment OCID.
|
|
29
29
|
* For all other scenarios, this property will be left empty.
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
"targetCompartmentId"?: string;
|
|
33
33
|
/**
|
|
34
|
-
* The display name of the budget.
|
|
34
|
+
* The display name of the budget. Avoid entering confidential information.
|
|
35
35
|
*/
|
|
36
36
|
"displayName": string;
|
|
37
37
|
/**
|
|
@@ -52,6 +52,11 @@ export interface Budget {
|
|
|
52
52
|
* The number of days offset from the first day of the month, at which the budget processing period starts. In months that have fewer days than this value, processing will begin on the last day of that month. For example, for a value of 12, processing starts every month on the 12th at midnight. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
53
53
|
*/
|
|
54
54
|
"budgetProcessingPeriodStartOffset"?: number;
|
|
55
|
+
/**
|
|
56
|
+
* The type of the budget processing period. Valid values are INVOICE and MONTH.
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
"processingPeriodType"?: model.ProcessingPeriodType;
|
|
55
60
|
/**
|
|
56
61
|
* The type of target on which the budget is applied.
|
|
57
62
|
*
|
|
@@ -59,8 +64,8 @@ export interface Budget {
|
|
|
59
64
|
"targetType"?: model.TargetType;
|
|
60
65
|
/**
|
|
61
66
|
* The list of targets on which the budget is applied.
|
|
62
|
-
* If targetType is \"COMPARTMENT\", targets
|
|
63
|
-
* If targetType is \"TAG\", targets
|
|
67
|
+
* If the targetType is \"COMPARTMENT\", the targets contain the list of compartment OCIDs.
|
|
68
|
+
* If the targetType is \"TAG\", the targets contain the list of cost tracking tag identifiers in the form of \"{tagNamespace}.{tagKey}.{tagValue}\".
|
|
64
69
|
*
|
|
65
70
|
*/
|
|
66
71
|
"targets"?: Array<string>;
|
|
@@ -69,31 +74,31 @@ export interface Budget {
|
|
|
69
74
|
*/
|
|
70
75
|
"lifecycleState": model.LifecycleState;
|
|
71
76
|
/**
|
|
72
|
-
*
|
|
77
|
+
* The total number of alert rules in the budget. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
73
78
|
*/
|
|
74
79
|
"alertRuleCount": number;
|
|
75
80
|
/**
|
|
76
|
-
*
|
|
81
|
+
* The version of the budget. Starts from 1 and increments by 1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
77
82
|
*/
|
|
78
83
|
"version"?: number;
|
|
79
84
|
/**
|
|
80
|
-
* The actual spend in currency for the current budget cycle Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
85
|
+
* The actual spend in currency for the current budget cycle. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
81
86
|
*/
|
|
82
87
|
"actualSpend"?: number;
|
|
83
88
|
/**
|
|
84
|
-
* The forecasted spend in currency by the end of the current budget cycle Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
89
|
+
* The forecasted spend in currency by the end of the current budget cycle. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
85
90
|
*/
|
|
86
91
|
"forecastedSpend"?: number;
|
|
87
92
|
/**
|
|
88
|
-
* The time that the budget spend was last computed
|
|
93
|
+
* The time that the budget spend was last computed.
|
|
89
94
|
*/
|
|
90
95
|
"timeSpendComputed"?: Date;
|
|
91
96
|
/**
|
|
92
|
-
*
|
|
97
|
+
* The time that the budget was created.
|
|
93
98
|
*/
|
|
94
99
|
"timeCreated": Date;
|
|
95
100
|
/**
|
|
96
|
-
*
|
|
101
|
+
* The time that the budget was updated.
|
|
97
102
|
*/
|
|
98
103
|
"timeUpdated": Date;
|
|
99
104
|
/**
|
package/lib/model/budget.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"budget.js","sourceRoot":"","sources":["../../../../../lib/budget/lib/model/budget.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;
|
|
1
|
+
{"version":3,"file":"budget.js","sourceRoot":"","sources":["../../../../../lib/budget/lib/model/budget.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAiHH,IAAiB,MAAM,CAWtB;AAXD,WAAiB,MAAM;IACrB,SAAgB,UAAU,CAAC,GAAW;QACpC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAW;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6BAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAWtB"}
|
|
@@ -16,7 +16,7 @@ import * as model from "../model";
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateAlertRuleDetails {
|
|
18
18
|
/**
|
|
19
|
-
* The name of the alert rule.
|
|
19
|
+
* The name of the alert rule. Avoid entering confidential information.
|
|
20
20
|
*/
|
|
21
21
|
"displayName"?: string;
|
|
22
22
|
/**
|
|
@@ -24,15 +24,15 @@ export interface CreateAlertRuleDetails {
|
|
|
24
24
|
*/
|
|
25
25
|
"description"?: string;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
28
|
-
* FORECAST (the alert
|
|
27
|
+
* The type of the alert. Valid values are ACTUAL (the alert triggers based on actual usage), or
|
|
28
|
+
* FORECAST (the alert triggers based on predicted usage).
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
"type": model.AlertType;
|
|
32
32
|
/**
|
|
33
|
-
* The threshold for triggering the alert expressed as a whole number or decimal value.
|
|
34
|
-
* If thresholdType is ABSOLUTE, threshold can have at most 12 digits before the decimal point and up to
|
|
35
|
-
* If thresholdType is PERCENTAGE, the maximum value is 10000 and can have up to
|
|
33
|
+
* The threshold for triggering the alert, expressed as a whole number or decimal value.
|
|
34
|
+
* If the thresholdType is ABSOLUTE, the threshold can have at most 12 digits before the decimal point, and up to two digits after the decimal point.
|
|
35
|
+
* If the thresholdType is PERCENTAGE, the maximum value is 10000 and can have up to two digits after the decimal point.
|
|
36
36
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
37
37
|
*/
|
|
38
38
|
"threshold": number;
|
|
@@ -41,11 +41,11 @@ export interface CreateAlertRuleDetails {
|
|
|
41
41
|
*/
|
|
42
42
|
"thresholdType": model.ThresholdType;
|
|
43
43
|
/**
|
|
44
|
-
* The audience that
|
|
44
|
+
* The audience that receives the alert when it triggers. An empty string is interpreted as null.
|
|
45
45
|
*/
|
|
46
46
|
"recipients"?: string;
|
|
47
47
|
/**
|
|
48
|
-
* The message to be sent to the recipients when alert rule is triggered.
|
|
48
|
+
* The message to be sent to the recipients when the alert rule is triggered.
|
|
49
49
|
*/
|
|
50
50
|
"message"?: string;
|
|
51
51
|
/**
|
|
@@ -14,26 +14,26 @@ import * as model from "../model";
|
|
|
14
14
|
/**
|
|
15
15
|
* The create budget details.
|
|
16
16
|
* <p>
|
|
17
|
-
|
|
17
|
+
Clients should use 'targetType' and 'targets' to specify the target type and list of targets on which the budget is applied.
|
|
18
18
|
* <p>
|
|
19
|
-
For backwards compatibility, 'targetCompartmentId'
|
|
20
|
-
*
|
|
19
|
+
For backwards compatibility, 'targetCompartmentId' is still supported for all existing clients.
|
|
20
|
+
* This is considered deprecated, however, and all clients are upgraded to use 'targetType' and 'targets'.
|
|
21
21
|
* <p>
|
|
22
|
-
Specifying both 'targetCompartmentId' and 'targets'
|
|
22
|
+
Specifying both 'targetCompartmentId' and 'targets' causes a Bad Request.
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
25
|
export interface CreateBudgetDetails {
|
|
26
26
|
/**
|
|
27
|
-
* The OCID of the compartment
|
|
27
|
+
* The OCID of the compartment.
|
|
28
28
|
*/
|
|
29
29
|
"compartmentId": string;
|
|
30
30
|
/**
|
|
31
|
-
* This is
|
|
31
|
+
* This is DEPRECATED. Set the target compartment ID in targets instead.
|
|
32
32
|
*
|
|
33
33
|
*/
|
|
34
34
|
"targetCompartmentId"?: string;
|
|
35
35
|
/**
|
|
36
|
-
* The displayName of the budget.
|
|
36
|
+
* The displayName of the budget. Avoid entering confidential information.
|
|
37
37
|
*/
|
|
38
38
|
"displayName"?: string;
|
|
39
39
|
/**
|
|
@@ -54,6 +54,11 @@ export interface CreateBudgetDetails {
|
|
|
54
54
|
* The number of days offset from the first day of the month, at which the budget processing period starts. In months that have fewer days than this value, processing will begin on the last day of that month. For example, for a value of 12, processing starts every month on the 12th at midnight. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
55
55
|
*/
|
|
56
56
|
"budgetProcessingPeriodStartOffset"?: number;
|
|
57
|
+
/**
|
|
58
|
+
* The type of the budget processing period. Valid values are INVOICE and MONTH.
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
"processingPeriodType"?: model.ProcessingPeriodType;
|
|
57
62
|
/**
|
|
58
63
|
* The type of target on which the budget is applied.
|
|
59
64
|
*
|
|
@@ -61,9 +66,9 @@ export interface CreateBudgetDetails {
|
|
|
61
66
|
"targetType"?: model.TargetType;
|
|
62
67
|
/**
|
|
63
68
|
* The list of targets on which the budget is applied.
|
|
64
|
-
* If targetType is \"COMPARTMENT\", targets
|
|
65
|
-
* If targetType is \"TAG\", targets
|
|
66
|
-
* Curerntly, the array should contain
|
|
69
|
+
* If targetType is \"COMPARTMENT\", the targets contain the list of compartment OCIDs.
|
|
70
|
+
* If targetType is \"TAG\", the targets contain the list of cost tracking tag identifiers in the form of \"{tagNamespace}.{tagKey}.{tagValue}\".
|
|
71
|
+
* Curerntly, the array should contain exactly one item.
|
|
67
72
|
*
|
|
68
73
|
*/
|
|
69
74
|
"targets"?: Array<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-budget-details.js","sourceRoot":"","sources":["../../../../../lib/budget/lib/model/create-budget-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;
|
|
1
|
+
{"version":3,"file":"create-budget-details.js","sourceRoot":"","sources":["../../../../../lib/budget/lib/model/create-budget-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAoFH,IAAiB,mBAAmB,CAWnC;AAXD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAWnC"}
|
package/lib/model/index.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ import * as CreateBudgetDetails from "./create-budget-details";
|
|
|
26
26
|
export import CreateBudgetDetails = CreateBudgetDetails.CreateBudgetDetails;
|
|
27
27
|
import * as LifecycleState from "./lifecycle-state";
|
|
28
28
|
export import LifecycleState = LifecycleState.LifecycleState;
|
|
29
|
+
import * as ProcessingPeriodType from "./processing-period-type";
|
|
30
|
+
export import ProcessingPeriodType = ProcessingPeriodType.ProcessingPeriodType;
|
|
29
31
|
import * as ResetPeriod from "./reset-period";
|
|
30
32
|
export import ResetPeriod = ResetPeriod.ResetPeriod;
|
|
31
33
|
import * as SortBy from "./sort-by";
|
package/lib/model/index.js
CHANGED
|
@@ -31,7 +31,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
31
31
|
return result;
|
|
32
32
|
};
|
|
33
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
-
exports.UpdateBudgetDetails = exports.UpdateAlertRuleDetails = exports.ThresholdType = exports.TargetType = exports.SortOrder = exports.SortBy = exports.ResetPeriod = exports.LifecycleState = exports.CreateBudgetDetails = exports.CreateAlertRuleDetails = exports.BudgetSummary = exports.Budget = exports.AlertType = exports.AlertRuleSummary = exports.AlertRule = void 0;
|
|
34
|
+
exports.UpdateBudgetDetails = exports.UpdateAlertRuleDetails = exports.ThresholdType = exports.TargetType = exports.SortOrder = exports.SortBy = exports.ResetPeriod = exports.ProcessingPeriodType = exports.LifecycleState = exports.CreateBudgetDetails = exports.CreateAlertRuleDetails = exports.BudgetSummary = exports.Budget = exports.AlertType = exports.AlertRuleSummary = exports.AlertRule = void 0;
|
|
35
35
|
const AlertRule = __importStar(require("./alert-rule"));
|
|
36
36
|
exports.AlertRule = AlertRule.AlertRule;
|
|
37
37
|
const AlertRuleSummary = __importStar(require("./alert-rule-summary"));
|
|
@@ -48,6 +48,8 @@ const CreateBudgetDetails = __importStar(require("./create-budget-details"));
|
|
|
48
48
|
exports.CreateBudgetDetails = CreateBudgetDetails.CreateBudgetDetails;
|
|
49
49
|
const LifecycleState = __importStar(require("./lifecycle-state"));
|
|
50
50
|
exports.LifecycleState = LifecycleState.LifecycleState;
|
|
51
|
+
const ProcessingPeriodType = __importStar(require("./processing-period-type"));
|
|
52
|
+
exports.ProcessingPeriodType = ProcessingPeriodType.ProcessingPeriodType;
|
|
51
53
|
const ResetPeriod = __importStar(require("./reset-period"));
|
|
52
54
|
exports.ResetPeriod = ResetPeriod.ResetPeriod;
|
|
53
55
|
const SortBy = __importStar(require("./sort-by"));
|
package/lib/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/budget/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;AAC5B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,uEAAyD;AAC3C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,wDAA0C;AAC5B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,iDAAmC;AACrB,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACrC,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;AAC1D,oFAAsE;AACxD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,kDAAoC;AACtB,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACrC,wDAA0C;AAC5B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;AAC1D,oFAAsE;AACxD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/budget/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;AAC5B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,uEAAyD;AAC3C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,wDAA0C;AAC5B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,iDAAmC;AACrB,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACrC,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;AAC1D,oFAAsE;AACxD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,kDAAoC;AACtB,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACrC,wDAA0C;AAC5B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;AAC1D,oFAAsE;AACxD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Budgets API
|
|
3
|
+
* Use the Budgets API to manage budgets and budget alerts.
|
|
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, 2022, 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
|
+
/**
|
|
14
|
+
* The type of the budget processing period. Valid values are INVOICE and MONTH.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum ProcessingPeriodType {
|
|
17
|
+
Invoice = "INVOICE",
|
|
18
|
+
Month = "MONTH",
|
|
19
|
+
/**
|
|
20
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
21
|
+
* version of the SDK.
|
|
22
|
+
*/
|
|
23
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
24
|
+
}
|
|
25
|
+
export declare namespace ProcessingPeriodType {
|
|
26
|
+
function getJsonObj(obj: ProcessingPeriodType): ProcessingPeriodType;
|
|
27
|
+
function getDeserializedJsonObj(obj: ProcessingPeriodType): ProcessingPeriodType;
|
|
28
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Budgets API
|
|
4
|
+
* Use the Budgets API to manage budgets and budget alerts.
|
|
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, 2022, 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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ProcessingPeriodType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The type of the budget processing period. Valid values are INVOICE and MONTH.
|
|
18
|
+
**/
|
|
19
|
+
var ProcessingPeriodType;
|
|
20
|
+
(function (ProcessingPeriodType) {
|
|
21
|
+
ProcessingPeriodType["Invoice"] = "INVOICE";
|
|
22
|
+
ProcessingPeriodType["Month"] = "MONTH";
|
|
23
|
+
/**
|
|
24
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
25
|
+
* version of the SDK.
|
|
26
|
+
*/
|
|
27
|
+
ProcessingPeriodType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
28
|
+
})(ProcessingPeriodType = exports.ProcessingPeriodType || (exports.ProcessingPeriodType = {}));
|
|
29
|
+
(function (ProcessingPeriodType) {
|
|
30
|
+
function getJsonObj(obj) {
|
|
31
|
+
return obj;
|
|
32
|
+
}
|
|
33
|
+
ProcessingPeriodType.getJsonObj = getJsonObj;
|
|
34
|
+
function getDeserializedJsonObj(obj) {
|
|
35
|
+
return obj;
|
|
36
|
+
}
|
|
37
|
+
ProcessingPeriodType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
38
|
+
})(ProcessingPeriodType = exports.ProcessingPeriodType || (exports.ProcessingPeriodType = {}));
|
|
39
|
+
//# sourceMappingURL=processing-period-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processing-period-type.js","sourceRoot":"","sources":["../../../../../lib/budget/lib/model/processing-period-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,oBASX;AATD,WAAY,oBAAoB;IAC9B,2CAAmB,CAAA;IACnB,uCAAe,CAAA;IAEf;;;OAGG;IACH,sDAA8B,CAAA;AAChC,CAAC,EATW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAS/B;AAED,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,+BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,2CAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAOpC"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
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
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
* The reset period for the budget.
|
|
14
|
+
* The reset period for the budget. The valid value is MONTHLY.
|
|
15
15
|
*
|
|
16
16
|
**/
|
|
17
17
|
export declare enum ResetPeriod {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.ResetPeriod = void 0;
|
|
16
16
|
/**
|
|
17
|
-
* The reset period for the budget.
|
|
17
|
+
* The reset period for the budget. The valid value is MONTHLY.
|
|
18
18
|
*
|
|
19
19
|
**/
|
|
20
20
|
var ResetPeriod;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
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
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
* The type of target on which budget is applied. Valid values are COMPARTMENT or TAG.
|
|
14
|
+
* The type of target on which the budget is applied. Valid values are COMPARTMENT or TAG.
|
|
15
15
|
**/
|
|
16
16
|
export declare enum TargetType {
|
|
17
17
|
Compartment = "COMPARTMENT",
|
package/lib/model/target-type.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.TargetType = void 0;
|
|
16
16
|
/**
|
|
17
|
-
* The type of target on which budget is applied. Valid values are COMPARTMENT or TAG.
|
|
17
|
+
* The type of target on which the budget is applied. Valid values are COMPARTMENT or TAG.
|
|
18
18
|
**/
|
|
19
19
|
var TargetType;
|
|
20
20
|
(function (TargetType) {
|
|
@@ -16,19 +16,19 @@ import * as model from "../model";
|
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdateAlertRuleDetails {
|
|
18
18
|
/**
|
|
19
|
-
* The name of the alert rule.
|
|
19
|
+
* The name of the alert rule. Avoid entering confidential information.
|
|
20
20
|
*/
|
|
21
21
|
"displayName"?: string;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
24
|
-
* FORECAST (the alert
|
|
23
|
+
* The type of the alert. Valid values are ACTUAL (the alert triggers based on actual usage), or
|
|
24
|
+
* FORECAST (the alert triggers based on predicted usage).
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
"type"?: model.AlertType;
|
|
28
28
|
/**
|
|
29
|
-
* The threshold for triggering the alert expressed as a whole number or decimal value.
|
|
30
|
-
* If thresholdType is ABSOLUTE, threshold can have at most 12 digits before the decimal point and up to
|
|
31
|
-
* If thresholdType is PERCENTAGE, the maximum value is 10000 and can have up to
|
|
29
|
+
* The threshold for triggering the alert, expressed as a whole number or decimal value.
|
|
30
|
+
* If the thresholdType is ABSOLUTE, the threshold can have at most 12 digits before the decimal point, and up to two digits after the decimal point.
|
|
31
|
+
* If the thresholdType is PERCENTAGE, the maximum value is 10000 and can have up to two digits after the decimal point.
|
|
32
32
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
33
33
|
*/
|
|
34
34
|
"threshold"?: number;
|
|
@@ -37,15 +37,15 @@ export interface UpdateAlertRuleDetails {
|
|
|
37
37
|
*/
|
|
38
38
|
"thresholdType"?: model.ThresholdType;
|
|
39
39
|
/**
|
|
40
|
-
* The audience that
|
|
40
|
+
* The audience that receives the alert when it triggers. If you need to clear out this value, pass in an empty string instead of a null value.
|
|
41
41
|
*/
|
|
42
42
|
"recipients"?: string;
|
|
43
43
|
/**
|
|
44
|
-
* The description of the alert rule
|
|
44
|
+
* The description of the alert rule.
|
|
45
45
|
*/
|
|
46
46
|
"description"?: string;
|
|
47
47
|
/**
|
|
48
|
-
* The message to be delivered to the recipients when alert is triggered
|
|
48
|
+
* The message to be delivered to the recipients when an alert is triggered.
|
|
49
49
|
*/
|
|
50
50
|
"message"?: string;
|
|
51
51
|
/**
|
|
@@ -16,7 +16,7 @@ import * as model from "../model";
|
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdateBudgetDetails {
|
|
18
18
|
/**
|
|
19
|
-
* The displayName of the budget.
|
|
19
|
+
* The displayName of the budget. Avoid entering confidential information.
|
|
20
20
|
*/
|
|
21
21
|
"displayName"?: string;
|
|
22
22
|
/**
|
|
@@ -32,6 +32,11 @@ export interface UpdateBudgetDetails {
|
|
|
32
32
|
* The number of days offset from the first day of the month, at which the budget processing period starts. In months that have fewer days than this value, processing will begin on the last day of that month. For example, for a value of 12, processing starts every month on the 12th at midnight. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
33
33
|
*/
|
|
34
34
|
"budgetProcessingPeriodStartOffset"?: number;
|
|
35
|
+
/**
|
|
36
|
+
* The type of the budget processing period. Valid values are INVOICE and MONTH.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
"processingPeriodType"?: model.ProcessingPeriodType;
|
|
35
40
|
/**
|
|
36
41
|
* The reset period for the budget.
|
|
37
42
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-budget-details.js","sourceRoot":"","sources":["../../../../../lib/budget/lib/model/update-budget-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;
|
|
1
|
+
{"version":3,"file":"update-budget-details.js","sourceRoot":"","sources":["../../../../../lib/budget/lib/model/update-budget-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAsDH,IAAiB,mBAAmB,CAWnC;AAXD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAWnC"}
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/budget/CreateAlertRule.ts.html |here} to see how to use CreateAlertRuleRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface CreateAlertRuleRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
20
|
-
* The unique
|
|
20
|
+
* The unique budget OCID.
|
|
21
21
|
*/
|
|
22
22
|
"budgetId": string;
|
|
23
23
|
/**
|
|
@@ -25,8 +25,8 @@ export interface CreateAlertRuleRequest extends common.BaseRequest {
|
|
|
25
25
|
*/
|
|
26
26
|
"createAlertRuleDetails": model.CreateAlertRuleDetails;
|
|
27
27
|
/**
|
|
28
|
-
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
29
|
-
* server error without risk of executing that same action again. Retry tokens expire after 24
|
|
28
|
+
* A token that uniquely identifies a request so it can be retried, in case of a timeout or
|
|
29
|
+
* server error, without risk of executing that same action again. Retry tokens expire after 24
|
|
30
30
|
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
31
31
|
* has been deleted and purged from the system, then a retry of the original creation request
|
|
32
32
|
* might be rejected.
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/budget/CreateBudget.ts.html |here} to see how to use CreateBudgetRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface CreateBudgetRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
20
|
-
* Details for the new
|
|
20
|
+
* Details for the new budget.
|
|
21
21
|
*/
|
|
22
22
|
"createBudgetDetails": model.CreateBudgetDetails;
|
|
23
23
|
/**
|
|
24
|
-
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
25
|
-
* server error without risk of executing that same action again. Retry tokens expire after 24
|
|
24
|
+
* A token that uniquely identifies a request so it can be retried, in case of a timeout or
|
|
25
|
+
* server error, without risk of executing that same action again. Retry tokens expire after 24
|
|
26
26
|
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
27
27
|
* has been deleted and purged from the system, then a retry of the original creation request
|
|
28
28
|
* might be rejected.
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/budget/DeleteAlertRule.ts.html |here} to see how to use DeleteAlertRuleRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface DeleteAlertRuleRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
19
|
-
* The unique
|
|
19
|
+
* The unique budget OCID.
|
|
20
20
|
*/
|
|
21
21
|
"budgetId": string;
|
|
22
22
|
/**
|
|
23
|
-
* The unique Alert Rule OCID
|
|
23
|
+
* The unique Alert Rule OCID.
|
|
24
24
|
*/
|
|
25
25
|
"alertRuleId": string;
|
|
26
26
|
/**
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/budget/DeleteBudget.ts.html |here} to see how to use DeleteBudgetRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface DeleteBudgetRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
19
|
-
* The unique
|
|
19
|
+
* The unique budget OCID.
|
|
20
20
|
*/
|
|
21
21
|
"budgetId": string;
|
|
22
22
|
/**
|