oci-usage 2.62.1 → 2.62.2

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.
Files changed (59) hide show
  1. package/index.d.ts +2 -0
  2. package/index.js +3 -1
  3. package/index.js.map +1 -1
  4. package/lib/client.d.ts +142 -6
  5. package/lib/client.js +437 -7
  6. package/lib/client.js.map +1 -1
  7. package/lib/model/index.d.ts +14 -0
  8. package/lib/model/index.js +15 -1
  9. package/lib/model/index.js.map +1 -1
  10. package/lib/model/resource-quotum-collection.d.ts +30 -0
  11. package/lib/model/resource-quotum-collection.js +61 -0
  12. package/lib/model/resource-quotum-collection.js.map +1 -0
  13. package/lib/model/resource-quotum-summary.d.ts +58 -0
  14. package/lib/model/resource-quotum-summary.js +29 -0
  15. package/lib/model/resource-quotum-summary.js.map +1 -0
  16. package/lib/model/resource-summary.d.ts +76 -0
  17. package/lib/model/resource-summary.js +71 -0
  18. package/lib/model/resource-summary.js.map +1 -0
  19. package/lib/model/resources-collection.d.ts +26 -0
  20. package/lib/model/resources-collection.js +61 -0
  21. package/lib/model/resources-collection.js.map +1 -0
  22. package/lib/model/sku-products.d.ts +34 -0
  23. package/lib/model/sku-products.js +29 -0
  24. package/lib/model/sku-products.js.map +1 -0
  25. package/lib/model/usage-limit-collection.d.ts +26 -0
  26. package/lib/model/usage-limit-collection.js +61 -0
  27. package/lib/model/usage-limit-collection.js.map +1 -0
  28. package/lib/model/usage-limit-summary.d.ts +120 -0
  29. package/lib/model/usage-limit-summary.js +68 -0
  30. package/lib/model/usage-limit-summary.js.map +1 -0
  31. package/lib/request/create-redeemable-user-request.d.ts +1 -1
  32. package/lib/request/delete-redeemable-user-request.d.ts +1 -1
  33. package/lib/request/index.d.ts +6 -0
  34. package/lib/request/index.js +7 -1
  35. package/lib/request/index.js.map +1 -1
  36. package/lib/request/list-products-request.d.ts +1 -1
  37. package/lib/request/list-redeemable-users-request.d.ts +1 -1
  38. package/lib/request/list-redemptions-request.d.ts +1 -1
  39. package/lib/request/list-resource-quota-request.d.ts +60 -0
  40. package/lib/request/list-resource-quota-request.js +29 -0
  41. package/lib/request/list-resource-quota-request.js.map +1 -0
  42. package/lib/request/list-resources-request.d.ts +60 -0
  43. package/lib/request/list-resources-request.js +29 -0
  44. package/lib/request/list-resources-request.js.map +1 -0
  45. package/lib/request/list-rewards-request.d.ts +1 -1
  46. package/lib/request/list-usage-limits-request.d.ts +68 -0
  47. package/lib/request/list-usage-limits-request.js +29 -0
  48. package/lib/request/list-usage-limits-request.js.map +1 -0
  49. package/lib/response/index.d.ts +6 -0
  50. package/lib/response/list-resource-quota-response.d.ts +32 -0
  51. package/lib/response/list-resource-quota-response.js +15 -0
  52. package/lib/response/list-resource-quota-response.js.map +1 -0
  53. package/lib/response/list-resources-response.d.ts +32 -0
  54. package/lib/response/list-resources-response.js +15 -0
  55. package/lib/response/list-resources-response.js.map +1 -0
  56. package/lib/response/list-usage-limits-response.d.ts +32 -0
  57. package/lib/response/list-usage-limits-response.js +15 -0
  58. package/lib/response/list-usage-limits-response.js.map +1 -0
  59. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,8FAAgF;AAClE,QAAA,2BAA2B,GAAG,2BAA2B,CAAC,2BAA2B,CAAC;AACpG,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,wEAA0D;AAC5C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,uFAAyE;AAC3D,QAAA,wBAAwB,GAAG,wBAAwB,CAAC,wBAAwB,CAAC;AAC3F,iFAAmE;AACrD,QAAA,qBAAqB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;AAClF,8EAAgE;AAClD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,wEAA0D;AAC5C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,sEAAwD;AAC1C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,8FAAgF;AAClE,QAAA,2BAA2B,GAAG,2BAA2B,CAAC,2BAA2B,CAAC;AACpG,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,wEAA0D;AAC5C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,uFAAyE;AAC3D,QAAA,wBAAwB,GAAG,wBAAwB,CAAC,wBAAwB,CAAC;AAC3F,iFAAmE;AACrD,QAAA,qBAAqB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;AAClF,8EAAgE;AAClD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,wEAA0D;AAC5C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,uFAAyE;AAC3D,QAAA,wBAAwB,GAAG,wBAAwB,CAAC,wBAAwB,CAAC;AAC3F,iFAAmE;AACrD,QAAA,qBAAqB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;AAClF,oEAAsD;AACxC,QAAA,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC;AAChE,4EAA8D;AAChD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,sEAAwD;AAC1C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;AAC1D,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,yEAA2D;AAC7C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Usage Proxy API
3
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.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, 2023, 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
+ * The quota details of resources under a tenancy.
16
+ */
17
+ export interface ResourceQuotumCollection {
18
+ /**
19
+ * The list of resource quota details.
20
+ */
21
+ "items": Array<model.ResourceQuotumSummary>;
22
+ /**
23
+ * Used to indicate if further quota consumption isAllowed.
24
+ */
25
+ "isAllowed": boolean;
26
+ }
27
+ export declare namespace ResourceQuotumCollection {
28
+ function getJsonObj(obj: ResourceQuotumCollection): object;
29
+ function getDeserializedJsonObj(obj: ResourceQuotumCollection): object;
30
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Usage Proxy API
4
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.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, 2023, 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.ResourceQuotumCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ResourceQuotumCollection;
37
+ (function (ResourceQuotumCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.ResourceQuotumSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ ResourceQuotumCollection.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.ResourceQuotumSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ ResourceQuotumCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(ResourceQuotumCollection = exports.ResourceQuotumCollection || (exports.ResourceQuotumCollection = {}));
61
+ //# sourceMappingURL=resource-quotum-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resource-quotum-collection.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/resource-quotum-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,wBAAwB,CA6BxC;AA7BD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B;QACtD,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,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACtD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,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,qBAAqB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAClE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,+CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QA6BxC"}
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Usage Proxy API
3
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.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, 2023, 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 resource quota balance details.
15
+ *
16
+ */
17
+ export interface ResourceQuotumSummary {
18
+ /**
19
+ * The resource name.
20
+ */
21
+ "name"?: string;
22
+ /**
23
+ * Used to indicate if further quota consumption isAllowed.
24
+ */
25
+ "isAllowed"?: boolean;
26
+ /**
27
+ * The quota limit. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
28
+ */
29
+ "limit"?: number;
30
+ /**
31
+ * The quota balance. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
32
+ */
33
+ "balance"?: number;
34
+ /**
35
+ * Used to indicate if overages are incurred.
36
+ */
37
+ "isOverage"?: boolean;
38
+ /**
39
+ * The purchased quota limit. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
40
+ */
41
+ "purchasedLimit"?: number;
42
+ /**
43
+ * The service name.
44
+ */
45
+ "service"?: string;
46
+ /**
47
+ * Used to indicate any resource dependencies.
48
+ */
49
+ "isDependency"?: boolean;
50
+ /**
51
+ * The affected resource name.
52
+ */
53
+ "affectedResource"?: string;
54
+ }
55
+ export declare namespace ResourceQuotumSummary {
56
+ function getJsonObj(obj: ResourceQuotumSummary): object;
57
+ function getDeserializedJsonObj(obj: ResourceQuotumSummary): object;
58
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Usage Proxy API
4
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.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, 2023, 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.ResourceQuotumSummary = void 0;
16
+ var ResourceQuotumSummary;
17
+ (function (ResourceQuotumSummary) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ ResourceQuotumSummary.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ ResourceQuotumSummary.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(ResourceQuotumSummary = exports.ResourceQuotumSummary || (exports.ResourceQuotumSummary = {}));
29
+ //# sourceMappingURL=resource-quotum-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resource-quotum-summary.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/resource-quotum-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAgDH,IAAiB,qBAAqB,CAWrC;AAXD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAWrC"}
@@ -0,0 +1,76 @@
1
+ /**
2
+ * Usage Proxy API
3
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.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, 2023, 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
+ * The details of a resource under a service.
16
+ *
17
+ */
18
+ export interface ResourceSummary {
19
+ /**
20
+ * Units to be used for daily aggregated data.
21
+ */
22
+ "dailyUnitDisplayName"?: string;
23
+ /**
24
+ * Units to be used for hourly aggregated data.
25
+ */
26
+ "hourlyUnitDisplayName"?: string;
27
+ /**
28
+ * Default units to use when unspecified.
29
+ */
30
+ "rawUnitDisplayName"?: string;
31
+ /**
32
+ * Usage data type of the resource.
33
+ */
34
+ "usageDataType"?: ResourceSummary.UsageDataType;
35
+ /**
36
+ * Name of the resource.
37
+ */
38
+ "name"?: string;
39
+ /**
40
+ * Name of the service.
41
+ */
42
+ "servicename"?: string;
43
+ /**
44
+ * Description of the resource.
45
+ */
46
+ "description"?: string;
47
+ /**
48
+ * Instance type for the resource.
49
+ */
50
+ "instanceType"?: string;
51
+ /**
52
+ * Indicates if the SKU was purchased
53
+ */
54
+ "isPurchased"?: boolean;
55
+ /**
56
+ * The details of any child resources.
57
+ */
58
+ "childResources"?: Array<string>;
59
+ /**
60
+ * The details of resource Skus.
61
+ */
62
+ "skus"?: Array<model.SkuProducts>;
63
+ }
64
+ export declare namespace ResourceSummary {
65
+ enum UsageDataType {
66
+ Interval = "INTERVAL",
67
+ PointData = "POINT_DATA",
68
+ /**
69
+ * This value is used if a service returns a value for this enum that is not recognized by this
70
+ * version of the SDK.
71
+ */
72
+ UnknownValue = "UNKNOWN_VALUE"
73
+ }
74
+ function getJsonObj(obj: ResourceSummary): object;
75
+ function getDeserializedJsonObj(obj: ResourceSummary): object;
76
+ }
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ /**
3
+ * Usage Proxy API
4
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.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, 2023, 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.ResourceSummary = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ResourceSummary;
37
+ (function (ResourceSummary) {
38
+ let UsageDataType;
39
+ (function (UsageDataType) {
40
+ UsageDataType["Interval"] = "INTERVAL";
41
+ UsageDataType["PointData"] = "POINT_DATA";
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
+ UsageDataType["UnknownValue"] = "UNKNOWN_VALUE";
47
+ })(UsageDataType = ResourceSummary.UsageDataType || (ResourceSummary.UsageDataType = {}));
48
+ function getJsonObj(obj) {
49
+ const jsonObj = Object.assign(Object.assign({}, obj), {
50
+ "skus": obj.skus
51
+ ? obj.skus.map(item => {
52
+ return model.SkuProducts.getJsonObj(item);
53
+ })
54
+ : undefined
55
+ });
56
+ return jsonObj;
57
+ }
58
+ ResourceSummary.getJsonObj = getJsonObj;
59
+ function getDeserializedJsonObj(obj) {
60
+ const jsonObj = Object.assign(Object.assign({}, obj), {
61
+ "skus": obj.skus
62
+ ? obj.skus.map(item => {
63
+ return model.SkuProducts.getDeserializedJsonObj(item);
64
+ })
65
+ : undefined
66
+ });
67
+ return jsonObj;
68
+ }
69
+ ResourceSummary.getDeserializedJsonObj = getDeserializedJsonObj;
70
+ })(ResourceSummary = exports.ResourceSummary || (exports.ResourceSummary = {}));
71
+ //# sourceMappingURL=resource-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resource-summary.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/resource-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsDlC,IAAiB,eAAe,CAuC/B;AAvCD,WAAiB,eAAe;IAC9B,IAAY,aAQX;IARD,WAAY,aAAa;QACvB,sCAAqB,CAAA;QACrB,yCAAwB,CAAA;QACxB;;;WAGG;QACH,+CAA8B,CAAA;IAChC,CAAC,EARW,aAAa,GAAb,6BAAa,KAAb,6BAAa,QAQxB;IAED,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,MAAM,EAAE,GAAG,CAAC,IAAI;gBACd,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClB,OAAO,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC5C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,MAAM,EAAE,GAAG,CAAC,IAAI;gBACd,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClB,OAAO,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACxD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sCAAsB,yBAarC,CAAA;AACH,CAAC,EAvCgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAuC/B"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Usage Proxy API
3
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.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, 2023, 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
+ * The resources of a service.
16
+ */
17
+ export interface ResourcesCollection {
18
+ /**
19
+ * The list of resource details for a service.
20
+ */
21
+ "items": Array<model.ResourceSummary>;
22
+ }
23
+ export declare namespace ResourcesCollection {
24
+ function getJsonObj(obj: ResourcesCollection): object;
25
+ function getDeserializedJsonObj(obj: ResourcesCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Usage Proxy API
4
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.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, 2023, 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.ResourcesCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ResourcesCollection;
37
+ (function (ResourcesCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.ResourceSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ ResourcesCollection.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.ResourceSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ ResourcesCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(ResourcesCollection = exports.ResourcesCollection || (exports.ResourcesCollection = {}));
61
+ //# sourceMappingURL=resources-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resources-collection.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/resources-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,mBAAmB,CA6BnC;AA7BD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,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,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,8BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,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,eAAe,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QA6BnC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Usage Proxy API
3
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.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, 2023, 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 SKU Product Id details for a resource.
15
+ *
16
+ */
17
+ export interface SkuProducts {
18
+ /**
19
+ * The Sku Id for the resource.
20
+ */
21
+ "skuId"?: string;
22
+ /**
23
+ * The Sku type for the resource.
24
+ */
25
+ "skuType"?: string;
26
+ /**
27
+ * The cloud credit type for the resource.
28
+ */
29
+ "cloudCreditType"?: string;
30
+ }
31
+ export declare namespace SkuProducts {
32
+ function getJsonObj(obj: SkuProducts): object;
33
+ function getDeserializedJsonObj(obj: SkuProducts): object;
34
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Usage Proxy API
4
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.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, 2023, 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.SkuProducts = void 0;
16
+ var SkuProducts;
17
+ (function (SkuProducts) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ SkuProducts.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ SkuProducts.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(SkuProducts = exports.SkuProducts || (exports.SkuProducts = {}));
29
+ //# sourceMappingURL=sku-products.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sku-products.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/sku-products.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAwBH,IAAiB,WAAW,CAW3B;AAXD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB;QACzC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAW3B"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Usage Proxy API
3
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.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, 2023, 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
+ * The list of usage limit summary for the requested tenancy ID and subscription ID.
16
+ */
17
+ export interface UsageLimitCollection {
18
+ /**
19
+ * The list of usage limits.
20
+ */
21
+ "items": Array<model.UsageLimitSummary>;
22
+ }
23
+ export declare namespace UsageLimitCollection {
24
+ function getJsonObj(obj: UsageLimitCollection): object;
25
+ function getDeserializedJsonObj(obj: UsageLimitCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Usage Proxy API
4
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.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, 2023, 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.UsageLimitCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var UsageLimitCollection;
37
+ (function (UsageLimitCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.UsageLimitSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ UsageLimitCollection.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.UsageLimitSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ UsageLimitCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(UsageLimitCollection = exports.UsageLimitCollection || (exports.UsageLimitCollection = {}));
61
+ //# sourceMappingURL=usage-limit-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-limit-collection.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/usage-limit-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,oBAAoB,CA6BpC;AA7BD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,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,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,+BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,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,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,2CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QA6BpC"}