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
@@ -0,0 +1,120 @@
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
+ * Encapsulates a collection of Hard and Soft Limits for a resource within a subscription.
15
+ */
16
+ export interface UsageLimitSummary {
17
+ /**
18
+ * Time when the usage limit was created
19
+ */
20
+ "timeCreated": Date;
21
+ /**
22
+ * Entitlement ID of the usage limit
23
+ */
24
+ "entitlementId": string;
25
+ /**
26
+ * The usage limit ID
27
+ */
28
+ "id": string;
29
+ /**
30
+ * Time when the usage limit was modified
31
+ */
32
+ "timeModified": Date;
33
+ /**
34
+ * The resource for which the limit is defined
35
+ */
36
+ "resourceName": string;
37
+ /**
38
+ * The service for which the limit is defined
39
+ */
40
+ "serviceName": string;
41
+ /**
42
+ * The limit value
43
+ */
44
+ "limit": string;
45
+ /**
46
+ * The user who created the limit
47
+ */
48
+ "createdBy": string;
49
+ /**
50
+ * The user who modified the limit
51
+ */
52
+ "modifiedBy": string;
53
+ /**
54
+ * The action when usage limit is hit
55
+ */
56
+ "action": UsageLimitSummary.Action;
57
+ /**
58
+ * The alert level of the usage limit Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
59
+ */
60
+ "alertLevel": number;
61
+ /**
62
+ * The limit type of the usage limit
63
+ */
64
+ "limitType": UsageLimitSummary.LimitType;
65
+ /**
66
+ * The value type of the usage limit
67
+ */
68
+ "valueType": UsageLimitSummary.ValueType;
69
+ /**
70
+ * The usage limit lifecycle state.
71
+ */
72
+ "lifecycleState": UsageLimitSummary.LifecycleState;
73
+ /**
74
+ * The maximum hard limit set for the usage limit
75
+ */
76
+ "maxHardLimit"?: string;
77
+ /**
78
+ * The SKU for which the usage limit is set
79
+ */
80
+ "skuPartId"?: string;
81
+ }
82
+ export declare namespace UsageLimitSummary {
83
+ enum Action {
84
+ QuotaBreach = "QUOTA_BREACH",
85
+ QuotaAlert = "QUOTA_ALERT",
86
+ /**
87
+ * This value is used if a service returns a value for this enum that is not recognized by this
88
+ * version of the SDK.
89
+ */
90
+ UnknownValue = "UNKNOWN_VALUE"
91
+ }
92
+ enum LimitType {
93
+ Hard = "HARD",
94
+ Soft = "SOFT",
95
+ /**
96
+ * This value is used if a service returns a value for this enum that is not recognized by this
97
+ * version of the SDK.
98
+ */
99
+ UnknownValue = "UNKNOWN_VALUE"
100
+ }
101
+ enum ValueType {
102
+ Absolute = "ABSOLUTE",
103
+ Percentage = "PERCENTAGE",
104
+ /**
105
+ * This value is used if a service returns a value for this enum that is not recognized by this
106
+ * version of the SDK.
107
+ */
108
+ UnknownValue = "UNKNOWN_VALUE"
109
+ }
110
+ enum LifecycleState {
111
+ Active = "ACTIVE",
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
+ function getJsonObj(obj: UsageLimitSummary): object;
119
+ function getDeserializedJsonObj(obj: UsageLimitSummary): object;
120
+ }
@@ -0,0 +1,68 @@
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.UsageLimitSummary = void 0;
16
+ var UsageLimitSummary;
17
+ (function (UsageLimitSummary) {
18
+ let Action;
19
+ (function (Action) {
20
+ Action["QuotaBreach"] = "QUOTA_BREACH";
21
+ Action["QuotaAlert"] = "QUOTA_ALERT";
22
+ /**
23
+ * This value is used if a service returns a value for this enum that is not recognized by this
24
+ * version of the SDK.
25
+ */
26
+ Action["UnknownValue"] = "UNKNOWN_VALUE";
27
+ })(Action = UsageLimitSummary.Action || (UsageLimitSummary.Action = {}));
28
+ let LimitType;
29
+ (function (LimitType) {
30
+ LimitType["Hard"] = "HARD";
31
+ LimitType["Soft"] = "SOFT";
32
+ /**
33
+ * This value is used if a service returns a value for this enum that is not recognized by this
34
+ * version of the SDK.
35
+ */
36
+ LimitType["UnknownValue"] = "UNKNOWN_VALUE";
37
+ })(LimitType = UsageLimitSummary.LimitType || (UsageLimitSummary.LimitType = {}));
38
+ let ValueType;
39
+ (function (ValueType) {
40
+ ValueType["Absolute"] = "ABSOLUTE";
41
+ ValueType["Percentage"] = "PERCENTAGE";
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
+ ValueType["UnknownValue"] = "UNKNOWN_VALUE";
47
+ })(ValueType = UsageLimitSummary.ValueType || (UsageLimitSummary.ValueType = {}));
48
+ let LifecycleState;
49
+ (function (LifecycleState) {
50
+ LifecycleState["Active"] = "ACTIVE";
51
+ /**
52
+ * This value is used if a service returns a value for this enum that is not recognized by this
53
+ * version of the SDK.
54
+ */
55
+ LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
56
+ })(LifecycleState = UsageLimitSummary.LifecycleState || (UsageLimitSummary.LifecycleState = {}));
57
+ function getJsonObj(obj) {
58
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
59
+ return jsonObj;
60
+ }
61
+ UsageLimitSummary.getJsonObj = getJsonObj;
62
+ function getDeserializedJsonObj(obj) {
63
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
64
+ return jsonObj;
65
+ }
66
+ UsageLimitSummary.getDeserializedJsonObj = getDeserializedJsonObj;
67
+ })(UsageLimitSummary = exports.UsageLimitSummary || (exports.UsageLimitSummary = {}));
68
+ //# sourceMappingURL=usage-limit-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-limit-summary.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/usage-limit-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA2EH,IAAiB,iBAAiB,CAkDjC;AAlDD,WAAiB,iBAAiB;IAChC,IAAY,MAQX;IARD,WAAY,MAAM;QAChB,sCAA4B,CAAA;QAC5B,oCAA0B,CAAA;QAC1B;;;WAGG;QACH,wCAA8B,CAAA;IAChC,CAAC,EARW,MAAM,GAAN,wBAAM,KAAN,wBAAM,QAQjB;IAED,IAAY,SAQX;IARD,WAAY,SAAS;QACnB,0BAAa,CAAA;QACb,0BAAa,CAAA;QACb;;;WAGG;QACH,2CAA8B,CAAA;IAChC,CAAC,EARW,SAAS,GAAT,2BAAS,KAAT,2BAAS,QAQpB;IAED,IAAY,SAQX;IARD,WAAY,SAAS;QACnB,kCAAqB,CAAA;QACrB,sCAAyB,CAAA;QACzB;;;WAGG;QACH,2CAA8B,CAAA;IAChC,CAAC,EARW,SAAS,GAAT,2BAAS,KAAT,2BAAS,QAQpB;IAED,IAAY,cAOX;IAPD,WAAY,cAAc;QACxB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAPW,cAAc,GAAd,gCAAc,KAAd,gCAAc,QAOzB;IAED,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wCAAsB,yBAIrC,CAAA;AACH,CAAC,EAlDgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAkDjC"}
@@ -13,7 +13,7 @@
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.62.1/usage/CreateRedeemableUser.ts.html |here} to see how to use CreateRedeemableUserRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/usage/CreateRedeemableUser.ts.html |here} to see how to use CreateRedeemableUserRequest.
17
17
  */
18
18
  export interface CreateRedeemableUserRequest extends common.BaseRequest {
19
19
  /**
@@ -12,7 +12,7 @@
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.62.1/usage/DeleteRedeemableUser.ts.html |here} to see how to use DeleteRedeemableUserRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/usage/DeleteRedeemableUser.ts.html |here} to see how to use DeleteRedeemableUserRequest.
16
16
  */
17
17
  export interface DeleteRedeemableUserRequest extends common.BaseRequest {
18
18
  /**
@@ -10,6 +10,10 @@
10
10
  * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
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
+ import * as ListResourceQuotaRequest from "./list-resource-quota-request";
14
+ export import ListResourceQuotaRequest = ListResourceQuotaRequest.ListResourceQuotaRequest;
15
+ import * as ListResourcesRequest from "./list-resources-request";
16
+ export import ListResourcesRequest = ListResourcesRequest.ListResourcesRequest;
13
17
  import * as CreateRedeemableUserRequest from "./create-redeemable-user-request";
14
18
  export import CreateRedeemableUserRequest = CreateRedeemableUserRequest.CreateRedeemableUserRequest;
15
19
  import * as DeleteRedeemableUserRequest from "./delete-redeemable-user-request";
@@ -22,3 +26,5 @@ import * as ListRedemptionsRequest from "./list-redemptions-request";
22
26
  export import ListRedemptionsRequest = ListRedemptionsRequest.ListRedemptionsRequest;
23
27
  import * as ListRewardsRequest from "./list-rewards-request";
24
28
  export import ListRewardsRequest = ListRewardsRequest.ListRewardsRequest;
29
+ import * as ListUsageLimitsRequest from "./list-usage-limits-request";
30
+ export import ListUsageLimitsRequest = ListUsageLimitsRequest.ListUsageLimitsRequest;
@@ -31,11 +31,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
31
31
  return result;
32
32
  };
33
33
  Object.defineProperty(exports, "__esModule", { value: true });
34
- exports.ListRedemptionsRequest = exports.ListRedeemableUsersRequest = exports.ListProductsRequest = void 0;
34
+ exports.ListUsageLimitsRequest = exports.ListRedemptionsRequest = exports.ListRedeemableUsersRequest = exports.ListProductsRequest = exports.ListResourcesRequest = exports.ListResourceQuotaRequest = void 0;
35
+ const ListResourceQuotaRequest = __importStar(require("./list-resource-quota-request"));
36
+ exports.ListResourceQuotaRequest = ListResourceQuotaRequest.ListResourceQuotaRequest;
37
+ const ListResourcesRequest = __importStar(require("./list-resources-request"));
38
+ exports.ListResourcesRequest = ListResourcesRequest.ListResourcesRequest;
35
39
  const ListProductsRequest = __importStar(require("./list-products-request"));
36
40
  exports.ListProductsRequest = ListProductsRequest.ListProductsRequest;
37
41
  const ListRedeemableUsersRequest = __importStar(require("./list-redeemable-users-request"));
38
42
  exports.ListRedeemableUsersRequest = ListRedeemableUsersRequest.ListRedeemableUsersRequest;
39
43
  const ListRedemptionsRequest = __importStar(require("./list-redemptions-request"));
40
44
  exports.ListRedemptionsRequest = ListRedemptionsRequest.ListRedemptionsRequest;
45
+ const ListUsageLimitsRequest = __importStar(require("./list-usage-limits-request"));
46
+ exports.ListUsageLimitsRequest = ListUsageLimitsRequest.ListUsageLimitsRequest;
41
47
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAMH,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,4FAA8E;AAChE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,mFAAqE;AACvD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,wFAA0E;AAC5D,QAAA,wBAAwB,GAAG,wBAAwB,CAAC,wBAAwB,CAAC;AAC3F,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAK/E,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,4FAA8E;AAChE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,mFAAqE;AACvD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AAGrF,oFAAsE;AACxD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC"}
@@ -12,7 +12,7 @@
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.62.1/usage/ListProducts.ts.html |here} to see how to use ListProductsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/usage/ListProducts.ts.html |here} to see how to use ListProductsRequest.
16
16
  */
17
17
  export interface ListProductsRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
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.62.1/usage/ListRedeemableUsers.ts.html |here} to see how to use ListRedeemableUsersRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/usage/ListRedeemableUsers.ts.html |here} to see how to use ListRedeemableUsersRequest.
16
16
  */
17
17
  export interface ListRedeemableUsersRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
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.62.1/usage/ListRedemptions.ts.html |here} to see how to use ListRedemptionsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/usage/ListRedemptions.ts.html |here} to see how to use ListRedemptionsRequest.
16
16
  */
17
17
  export interface ListRedemptionsRequest extends common.BaseRequest {
18
18
  /**
@@ -0,0 +1,60 @@
1
+ /**
2
+ *
3
+ *
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 common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/usage/ListResourceQuota.ts.html |here} to see how to use ListResourceQuotaRequest.
16
+ */
17
+ export interface ListResourceQuotaRequest extends common.BaseRequest {
18
+ /**
19
+ * Service Name.
20
+ */
21
+ "serviceName": string;
22
+ /**
23
+ * The OCID of the root compartment.
24
+ */
25
+ "compartmentId": string;
26
+ /**
27
+ * Unique, Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
28
+ */
29
+ "opcRequestId"?: string;
30
+ /**
31
+ * Service entitlement Id.
32
+ */
33
+ "serviceEntitlement"?: string;
34
+ /**
35
+ * The value of the 'opc-next-page' response header from the previous call.
36
+ */
37
+ "page"?: string;
38
+ /**
39
+ * The maximum number of items to return in the paginated response.
40
+ */
41
+ "limit"?: number;
42
+ /**
43
+ * The sort order to use, which can be ascending (ASC) or descending (DESC).
44
+ */
45
+ "sortOrder"?: ListResourceQuotaRequest.SortOrder;
46
+ /**
47
+ * The field to sort by. Supports one sort order.
48
+ */
49
+ "sortBy"?: ListResourceQuotaRequest.SortBy;
50
+ }
51
+ export declare namespace ListResourceQuotaRequest {
52
+ enum SortOrder {
53
+ Asc = "ASC",
54
+ Desc = "DESC"
55
+ }
56
+ enum SortBy {
57
+ Timecreated = "TIMECREATED",
58
+ Timestart = "TIMESTART"
59
+ }
60
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
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.ListResourceQuotaRequest = void 0;
16
+ var ListResourceQuotaRequest;
17
+ (function (ListResourceQuotaRequest) {
18
+ let SortOrder;
19
+ (function (SortOrder) {
20
+ SortOrder["Asc"] = "ASC";
21
+ SortOrder["Desc"] = "DESC";
22
+ })(SortOrder = ListResourceQuotaRequest.SortOrder || (ListResourceQuotaRequest.SortOrder = {}));
23
+ let SortBy;
24
+ (function (SortBy) {
25
+ SortBy["Timecreated"] = "TIMECREATED";
26
+ SortBy["Timestart"] = "TIMESTART";
27
+ })(SortBy = ListResourceQuotaRequest.SortBy || (ListResourceQuotaRequest.SortBy = {}));
28
+ })(ListResourceQuotaRequest = exports.ListResourceQuotaRequest || (exports.ListResourceQuotaRequest = {}));
29
+ //# sourceMappingURL=list-resource-quota-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-resource-quota-request.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/request/list-resource-quota-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA2CH,IAAiB,wBAAwB,CAUxC;AAVD,WAAiB,wBAAwB;IACvC,IAAY,SAGX;IAHD,WAAY,SAAS;QACnB,wBAAW,CAAA;QACX,0BAAa,CAAA;IACf,CAAC,EAHW,SAAS,GAAT,kCAAS,KAAT,kCAAS,QAGpB;IAED,IAAY,MAGX;IAHD,WAAY,MAAM;QAChB,qCAA2B,CAAA;QAC3B,iCAAuB,CAAA;IACzB,CAAC,EAHW,MAAM,GAAN,+BAAM,KAAN,+BAAM,QAGjB;AACH,CAAC,EAVgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAUxC"}
@@ -0,0 +1,60 @@
1
+ /**
2
+ *
3
+ *
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 common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/usage/ListResources.ts.html |here} to see how to use ListResourcesRequest.
16
+ */
17
+ export interface ListResourcesRequest extends common.BaseRequest {
18
+ /**
19
+ * Service Name.
20
+ */
21
+ "serviceName": string;
22
+ /**
23
+ * The OCID of the root compartment.
24
+ */
25
+ "compartmentId": string;
26
+ /**
27
+ * Subscription or entitlement Id.
28
+ */
29
+ "entitlementId"?: string;
30
+ /**
31
+ * Unique, Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
32
+ */
33
+ "opcRequestId"?: string;
34
+ /**
35
+ * The value of the 'opc-next-page' response header from the previous call.
36
+ */
37
+ "page"?: string;
38
+ /**
39
+ * The maximum number of items to return in the paginated response.
40
+ */
41
+ "limit"?: number;
42
+ /**
43
+ * The sort order to use, which can be ascending (ASC) or descending (DESC).
44
+ */
45
+ "sortOrder"?: ListResourcesRequest.SortOrder;
46
+ /**
47
+ * The field to sort by. Supports one sort order.
48
+ */
49
+ "sortBy"?: ListResourcesRequest.SortBy;
50
+ }
51
+ export declare namespace ListResourcesRequest {
52
+ enum SortOrder {
53
+ Asc = "ASC",
54
+ Desc = "DESC"
55
+ }
56
+ enum SortBy {
57
+ Timecreated = "TIMECREATED",
58
+ Timestart = "TIMESTART"
59
+ }
60
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
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.ListResourcesRequest = void 0;
16
+ var ListResourcesRequest;
17
+ (function (ListResourcesRequest) {
18
+ let SortOrder;
19
+ (function (SortOrder) {
20
+ SortOrder["Asc"] = "ASC";
21
+ SortOrder["Desc"] = "DESC";
22
+ })(SortOrder = ListResourcesRequest.SortOrder || (ListResourcesRequest.SortOrder = {}));
23
+ let SortBy;
24
+ (function (SortBy) {
25
+ SortBy["Timecreated"] = "TIMECREATED";
26
+ SortBy["Timestart"] = "TIMESTART";
27
+ })(SortBy = ListResourcesRequest.SortBy || (ListResourcesRequest.SortBy = {}));
28
+ })(ListResourcesRequest = exports.ListResourcesRequest || (exports.ListResourcesRequest = {}));
29
+ //# sourceMappingURL=list-resources-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-resources-request.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/request/list-resources-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA2CH,IAAiB,oBAAoB,CAUpC;AAVD,WAAiB,oBAAoB;IACnC,IAAY,SAGX;IAHD,WAAY,SAAS;QACnB,wBAAW,CAAA;QACX,0BAAa,CAAA;IACf,CAAC,EAHW,SAAS,GAAT,8BAAS,KAAT,8BAAS,QAGpB;IAED,IAAY,MAGX;IAHD,WAAY,MAAM;QAChB,qCAA2B,CAAA;QAC3B,iCAAuB,CAAA;IACzB,CAAC,EAHW,MAAM,GAAN,2BAAM,KAAN,2BAAM,QAGjB;AACH,CAAC,EAVgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAUpC"}
@@ -12,7 +12,7 @@
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.62.1/usage/ListRewards.ts.html |here} to see how to use ListRewardsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/usage/ListRewards.ts.html |here} to see how to use ListRewardsRequest.
16
16
  */
17
17
  export interface ListRewardsRequest extends common.BaseRequest {
18
18
  /**
@@ -0,0 +1,68 @@
1
+ /**
2
+ *
3
+ *
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 common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/usage/ListUsageLimits.ts.html |here} to see how to use ListUsageLimitsRequest.
16
+ */
17
+ export interface ListUsageLimitsRequest extends common.BaseRequest {
18
+ /**
19
+ * The OCID of the root compartment.
20
+ */
21
+ "compartmentId": string;
22
+ /**
23
+ * The subscription ID for which rewards information is requested for.
24
+ */
25
+ "subscriptionId": string;
26
+ /**
27
+ * Hard or soft limit. Hard limits lead to breaches, soft to alerts.
28
+ */
29
+ "limitType"?: string;
30
+ /**
31
+ * Resource Name.
32
+ */
33
+ "resourceType"?: string;
34
+ /**
35
+ * Service Name.
36
+ */
37
+ "serviceType"?: string;
38
+ /**
39
+ * Unique, Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
40
+ */
41
+ "opcRequestId"?: string;
42
+ /**
43
+ * The value of the 'opc-next-page' response header from the previous call.
44
+ */
45
+ "page"?: string;
46
+ /**
47
+ * The maximum number of items to return in the paginated response.
48
+ */
49
+ "limit"?: number;
50
+ /**
51
+ * The sort order to use, which can be ascending (ASC) or descending (DESC).
52
+ */
53
+ "sortOrder"?: ListUsageLimitsRequest.SortOrder;
54
+ /**
55
+ * The field to sort by. Supports one sort order.
56
+ */
57
+ "sortBy"?: ListUsageLimitsRequest.SortBy;
58
+ }
59
+ export declare namespace ListUsageLimitsRequest {
60
+ enum SortOrder {
61
+ Asc = "ASC",
62
+ Desc = "DESC"
63
+ }
64
+ enum SortBy {
65
+ Timecreated = "TIMECREATED",
66
+ Timestart = "TIMESTART"
67
+ }
68
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
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.ListUsageLimitsRequest = void 0;
16
+ var ListUsageLimitsRequest;
17
+ (function (ListUsageLimitsRequest) {
18
+ let SortOrder;
19
+ (function (SortOrder) {
20
+ SortOrder["Asc"] = "ASC";
21
+ SortOrder["Desc"] = "DESC";
22
+ })(SortOrder = ListUsageLimitsRequest.SortOrder || (ListUsageLimitsRequest.SortOrder = {}));
23
+ let SortBy;
24
+ (function (SortBy) {
25
+ SortBy["Timecreated"] = "TIMECREATED";
26
+ SortBy["Timestart"] = "TIMESTART";
27
+ })(SortBy = ListUsageLimitsRequest.SortBy || (ListUsageLimitsRequest.SortBy = {}));
28
+ })(ListUsageLimitsRequest = exports.ListUsageLimitsRequest || (exports.ListUsageLimitsRequest = {}));
29
+ //# sourceMappingURL=list-usage-limits-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-usage-limits-request.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/request/list-usage-limits-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmDH,IAAiB,sBAAsB,CAUtC;AAVD,WAAiB,sBAAsB;IACrC,IAAY,SAGX;IAHD,WAAY,SAAS;QACnB,wBAAW,CAAA;QACX,0BAAa,CAAA;IACf,CAAC,EAHW,SAAS,GAAT,gCAAS,KAAT,gCAAS,QAGpB;IAED,IAAY,MAGX;IAHD,WAAY,MAAM;QAChB,qCAA2B,CAAA;QAC3B,iCAAuB,CAAA;IACzB,CAAC,EAHW,MAAM,GAAN,6BAAM,KAAN,6BAAM,QAGjB;AACH,CAAC,EAVgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAUtC"}
@@ -10,6 +10,10 @@
10
10
  * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
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
+ import * as ListResourceQuotaResponse from "./list-resource-quota-response";
14
+ export import ListResourceQuotaResponse = ListResourceQuotaResponse.ListResourceQuotaResponse;
15
+ import * as ListResourcesResponse from "./list-resources-response";
16
+ export import ListResourcesResponse = ListResourcesResponse.ListResourcesResponse;
13
17
  import * as CreateRedeemableUserResponse from "./create-redeemable-user-response";
14
18
  export import CreateRedeemableUserResponse = CreateRedeemableUserResponse.CreateRedeemableUserResponse;
15
19
  import * as DeleteRedeemableUserResponse from "./delete-redeemable-user-response";
@@ -22,3 +26,5 @@ import * as ListRedemptionsResponse from "./list-redemptions-response";
22
26
  export import ListRedemptionsResponse = ListRedemptionsResponse.ListRedemptionsResponse;
23
27
  import * as ListRewardsResponse from "./list-rewards-response";
24
28
  export import ListRewardsResponse = ListRewardsResponse.ListRewardsResponse;
29
+ import * as ListUsageLimitsResponse from "./list-usage-limits-response";
30
+ export import ListUsageLimitsResponse = ListUsageLimitsResponse.ListUsageLimitsResponse;
@@ -0,0 +1,32 @@
1
+ /**
2
+ *
3
+ *
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
+ export interface ListResourceQuotaResponse {
15
+ /**
16
+ * For pagination of a list of items. When paging through a list, if this header appears in the response,
17
+ * then a partial list might have been returned. Include this value as the `page` parameter for the
18
+ * subsequent GET request to get the next batch of items.
19
+ *
20
+ */
21
+ "opcNextPage": string;
22
+ /**
23
+ * Unique Oracle-assigned identifier for the request. If you need to contact
24
+ * Oracle about a particular request, please provide the request ID.
25
+ *
26
+ */
27
+ "opcRequestId": string;
28
+ /**
29
+ * The returned model.ResourceQuotumCollection instance.
30
+ */
31
+ "resourceQuotumCollection": model.ResourceQuotumCollection;
32
+ }