oci-redis 2.71.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.
Files changed (149) hide show
  1. package/LICENSE.txt +89 -0
  2. package/NOTICE.txt +1 -0
  3. package/README.md +22 -0
  4. package/THIRD_PARTY_LICENSES.txt +576 -0
  5. package/index.d.ts +22 -0
  6. package/index.js +45 -0
  7. package/index.js.map +1 -0
  8. package/lib/client.d.ts +187 -0
  9. package/lib/client.js +902 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/model/action-type.d.ts +32 -0
  12. package/lib/model/action-type.js +43 -0
  13. package/lib/model/action-type.js.map +1 -0
  14. package/lib/model/change-redis-cluster-compartment-details.d.ts +27 -0
  15. package/lib/model/change-redis-cluster-compartment-details.js +29 -0
  16. package/lib/model/change-redis-cluster-compartment-details.js.map +1 -0
  17. package/lib/model/create-redis-cluster-details.d.ts +63 -0
  18. package/lib/model/create-redis-cluster-details.js +29 -0
  19. package/lib/model/create-redis-cluster-details.js.map +1 -0
  20. package/lib/model/index.d.ts +52 -0
  21. package/lib/model/index.js +75 -0
  22. package/lib/model/index.js.map +1 -0
  23. package/lib/model/node-collection.d.ts +26 -0
  24. package/lib/model/node-collection.js +61 -0
  25. package/lib/model/node-collection.js.map +1 -0
  26. package/lib/model/node.d.ts +33 -0
  27. package/lib/model/node.js +29 -0
  28. package/lib/model/node.js.map +1 -0
  29. package/lib/model/operation-status.d.ts +34 -0
  30. package/lib/model/operation-status.js +45 -0
  31. package/lib/model/operation-status.js.map +1 -0
  32. package/lib/model/operation-type.d.ts +35 -0
  33. package/lib/model/operation-type.js +46 -0
  34. package/lib/model/operation-type.js.map +1 -0
  35. package/lib/model/redis-cluster-collection.d.ts +26 -0
  36. package/lib/model/redis-cluster-collection.js +61 -0
  37. package/lib/model/redis-cluster-collection.js.map +1 -0
  38. package/lib/model/redis-cluster-summary.d.ts +110 -0
  39. package/lib/model/redis-cluster-summary.js +29 -0
  40. package/lib/model/redis-cluster-summary.js.map +1 -0
  41. package/lib/model/redis-cluster.d.ts +132 -0
  42. package/lib/model/redis-cluster.js +80 -0
  43. package/lib/model/redis-cluster.js.map +1 -0
  44. package/lib/model/sort-order.d.ts +23 -0
  45. package/lib/model/sort-order.js +34 -0
  46. package/lib/model/sort-order.js.map +1 -0
  47. package/lib/model/update-redis-cluster-details.d.ts +51 -0
  48. package/lib/model/update-redis-cluster-details.js +29 -0
  49. package/lib/model/update-redis-cluster-details.js.map +1 -0
  50. package/lib/model/work-request-error-collection.d.ts +26 -0
  51. package/lib/model/work-request-error-collection.js +61 -0
  52. package/lib/model/work-request-error-collection.js.map +1 -0
  53. package/lib/model/work-request-error.d.ts +34 -0
  54. package/lib/model/work-request-error.js +29 -0
  55. package/lib/model/work-request-error.js.map +1 -0
  56. package/lib/model/work-request-log-entry-collection.d.ts +26 -0
  57. package/lib/model/work-request-log-entry-collection.js +61 -0
  58. package/lib/model/work-request-log-entry-collection.js.map +1 -0
  59. package/lib/model/work-request-log-entry.d.ts +29 -0
  60. package/lib/model/work-request-log-entry.js +29 -0
  61. package/lib/model/work-request-log-entry.js.map +1 -0
  62. package/lib/model/work-request-resource.d.ts +42 -0
  63. package/lib/model/work-request-resource.js +29 -0
  64. package/lib/model/work-request-resource.js.map +1 -0
  65. package/lib/model/work-request-summary-collection.d.ts +26 -0
  66. package/lib/model/work-request-summary-collection.js +61 -0
  67. package/lib/model/work-request-summary-collection.js.map +1 -0
  68. package/lib/model/work-request-summary.d.ts +80 -0
  69. package/lib/model/work-request-summary.js +61 -0
  70. package/lib/model/work-request-summary.js.map +1 -0
  71. package/lib/model/work-request.d.ts +62 -0
  72. package/lib/model/work-request.js +61 -0
  73. package/lib/model/work-request.js.map +1 -0
  74. package/lib/rediscluster-waiter.d.ts +36 -0
  75. package/lib/rediscluster-waiter.js +76 -0
  76. package/lib/rediscluster-waiter.js.map +1 -0
  77. package/lib/request/cancel-work-request-request.d.ts +35 -0
  78. package/lib/request/cancel-work-request-request.js +15 -0
  79. package/lib/request/cancel-work-request-request.js.map +1 -0
  80. package/lib/request/change-redis-cluster-compartment-request.d.ts +49 -0
  81. package/lib/request/change-redis-cluster-compartment-request.js +15 -0
  82. package/lib/request/change-redis-cluster-compartment-request.js.map +1 -0
  83. package/lib/request/create-redis-cluster-request.d.ts +36 -0
  84. package/lib/request/create-redis-cluster-request.js +15 -0
  85. package/lib/request/create-redis-cluster-request.js.map +1 -0
  86. package/lib/request/delete-redis-cluster-request.d.ts +35 -0
  87. package/lib/request/delete-redis-cluster-request.js +15 -0
  88. package/lib/request/delete-redis-cluster-request.js.map +1 -0
  89. package/lib/request/get-redis-cluster-request.d.ts +26 -0
  90. package/lib/request/get-redis-cluster-request.js +15 -0
  91. package/lib/request/get-redis-cluster-request.js.map +1 -0
  92. package/lib/request/get-work-request-request.d.ts +26 -0
  93. package/lib/request/get-work-request-request.js +15 -0
  94. package/lib/request/get-work-request-request.js.map +1 -0
  95. package/lib/request/index.d.ts +34 -0
  96. package/lib/request/index.js +43 -0
  97. package/lib/request/index.js.map +1 -0
  98. package/lib/request/list-redis-clusters-request.d.ts +62 -0
  99. package/lib/request/list-redis-clusters-request.js +24 -0
  100. package/lib/request/list-redis-clusters-request.js.map +1 -0
  101. package/lib/request/list-work-request-errors-request.d.ts +49 -0
  102. package/lib/request/list-work-request-errors-request.js +23 -0
  103. package/lib/request/list-work-request-errors-request.js.map +1 -0
  104. package/lib/request/list-work-request-logs-request.d.ts +49 -0
  105. package/lib/request/list-work-request-logs-request.js +23 -0
  106. package/lib/request/list-work-request-logs-request.js.map +1 -0
  107. package/lib/request/list-work-requests-request.d.ts +61 -0
  108. package/lib/request/list-work-requests-request.js +23 -0
  109. package/lib/request/list-work-requests-request.js.map +1 -0
  110. package/lib/request/update-redis-cluster-request.d.ts +40 -0
  111. package/lib/request/update-redis-cluster-request.js +15 -0
  112. package/lib/request/update-redis-cluster-request.js.map +1 -0
  113. package/lib/response/cancel-work-request-response.d.ts +20 -0
  114. package/lib/response/cancel-work-request-response.js +15 -0
  115. package/lib/response/cancel-work-request-response.js.map +1 -0
  116. package/lib/response/change-redis-cluster-compartment-response.d.ts +25 -0
  117. package/lib/response/change-redis-cluster-compartment-response.js +15 -0
  118. package/lib/response/change-redis-cluster-compartment-response.js.map +1 -0
  119. package/lib/response/create-redis-cluster-response.d.ts +35 -0
  120. package/lib/response/create-redis-cluster-response.js +15 -0
  121. package/lib/response/create-redis-cluster-response.js.map +1 -0
  122. package/lib/response/delete-redis-cluster-response.d.ts +25 -0
  123. package/lib/response/delete-redis-cluster-response.js +15 -0
  124. package/lib/response/delete-redis-cluster-response.js.map +1 -0
  125. package/lib/response/get-redis-cluster-response.d.ts +30 -0
  126. package/lib/response/get-redis-cluster-response.js +15 -0
  127. package/lib/response/get-redis-cluster-response.js.map +1 -0
  128. package/lib/response/get-work-request-response.d.ts +34 -0
  129. package/lib/response/get-work-request-response.js +15 -0
  130. package/lib/response/get-work-request-response.js.map +1 -0
  131. package/lib/response/index.d.ts +34 -0
  132. package/lib/response/index.js +15 -0
  133. package/lib/response/index.js.map +1 -0
  134. package/lib/response/list-redis-clusters-response.d.ts +32 -0
  135. package/lib/response/list-redis-clusters-response.js +15 -0
  136. package/lib/response/list-redis-clusters-response.js.map +1 -0
  137. package/lib/response/list-work-request-errors-response.d.ts +32 -0
  138. package/lib/response/list-work-request-errors-response.js +15 -0
  139. package/lib/response/list-work-request-errors-response.js.map +1 -0
  140. package/lib/response/list-work-request-logs-response.d.ts +32 -0
  141. package/lib/response/list-work-request-logs-response.js +15 -0
  142. package/lib/response/list-work-request-logs-response.js.map +1 -0
  143. package/lib/response/list-work-requests-response.d.ts +32 -0
  144. package/lib/response/list-work-requests-response.js +15 -0
  145. package/lib/response/list-work-requests-response.js.map +1 -0
  146. package/lib/response/update-redis-cluster-response.d.ts +25 -0
  147. package/lib/response/update-redis-cluster-response.js +15 -0
  148. package/lib/response/update-redis-cluster-response.js.map +1 -0
  149. package/package.json +29 -0
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Redis Service API
3
+ * Use the Redis Service API to create and manage Redis clusters. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](/iaas/Content/redis/home.htm).
4
+ * OpenAPI spec version: 20220315
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 configuration to update for an existing Redis cluster.
15
+ */
16
+ export interface UpdateRedisClusterDetails {
17
+ /**
18
+ * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
19
+ */
20
+ "displayName"?: string;
21
+ /**
22
+ * The number of nodes in the Redis cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
23
+ */
24
+ "nodeCount"?: number;
25
+ /**
26
+ * The amount of memory allocated to the Redis cluster's nodes, in gigabytes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
27
+ */
28
+ "nodeMemoryInGBs"?: number;
29
+ /**
30
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
31
+ * Example: `{\"bar-key\": \"value\"}`
32
+ *
33
+ */
34
+ "freeformTags"?: {
35
+ [key: string]: string;
36
+ };
37
+ /**
38
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
39
+ * Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
40
+ *
41
+ */
42
+ "definedTags"?: {
43
+ [key: string]: {
44
+ [key: string]: any;
45
+ };
46
+ };
47
+ }
48
+ export declare namespace UpdateRedisClusterDetails {
49
+ function getJsonObj(obj: UpdateRedisClusterDetails): object;
50
+ function getDeserializedJsonObj(obj: UpdateRedisClusterDetails): object;
51
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Redis Service API
4
+ * Use the Redis Service API to create and manage Redis clusters. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](/iaas/Content/redis/home.htm).
5
+ * OpenAPI spec version: 20220315
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.UpdateRedisClusterDetails = void 0;
16
+ var UpdateRedisClusterDetails;
17
+ (function (UpdateRedisClusterDetails) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ UpdateRedisClusterDetails.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ UpdateRedisClusterDetails.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(UpdateRedisClusterDetails = exports.UpdateRedisClusterDetails || (exports.UpdateRedisClusterDetails = {}));
29
+ //# sourceMappingURL=update-redis-cluster-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-redis-cluster-details.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/update-redis-cluster-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmCH,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWzC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Redis Service API
3
+ * Use the Redis Service API to create and manage Redis clusters. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](/iaas/Content/redis/home.htm).
4
+ * OpenAPI spec version: 20220315
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
+ * A list of errors for a work request.
16
+ */
17
+ export interface WorkRequestErrorCollection {
18
+ /**
19
+ * A collection of work request errors.
20
+ */
21
+ "items": Array<model.WorkRequestError>;
22
+ }
23
+ export declare namespace WorkRequestErrorCollection {
24
+ function getJsonObj(obj: WorkRequestErrorCollection): object;
25
+ function getDeserializedJsonObj(obj: WorkRequestErrorCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Redis Service API
4
+ * Use the Redis Service API to create and manage Redis clusters. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](/iaas/Content/redis/home.htm).
5
+ * OpenAPI spec version: 20220315
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.WorkRequestErrorCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var WorkRequestErrorCollection;
37
+ (function (WorkRequestErrorCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.WorkRequestError.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ WorkRequestErrorCollection.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.WorkRequestError.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ WorkRequestErrorCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(WorkRequestErrorCollection = exports.WorkRequestErrorCollection || (exports.WorkRequestErrorCollection = {}));
61
+ //# sourceMappingURL=work-request-error-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-request-error-collection.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/work-request-error-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,0BAA0B,CA6B1C;AA7BD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,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,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,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,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QA6B1C"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Redis Service API
3
+ * Use the Redis Service API to create and manage Redis clusters. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](/iaas/Content/redis/home.htm).
4
+ * OpenAPI spec version: 20220315
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
+ * An error encountered while executing an operation that is tracked by a work request.
15
+ */
16
+ export interface WorkRequestError {
17
+ /**
18
+ * A machine-usable code for the error that occured. Error codes are listed at [API Errors](https://docs.cloud.oracle.com/iaas/Content/API/References/apierrors.htm).
19
+ *
20
+ */
21
+ "code": string;
22
+ /**
23
+ * A human-readable error string for the error that occured.
24
+ */
25
+ "message": string;
26
+ /**
27
+ * The time and time the error occured.
28
+ */
29
+ "timestamp": Date;
30
+ }
31
+ export declare namespace WorkRequestError {
32
+ function getJsonObj(obj: WorkRequestError): object;
33
+ function getDeserializedJsonObj(obj: WorkRequestError): object;
34
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Redis Service API
4
+ * Use the Redis Service API to create and manage Redis clusters. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](/iaas/Content/redis/home.htm).
5
+ * OpenAPI spec version: 20220315
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.WorkRequestError = void 0;
16
+ var WorkRequestError;
17
+ (function (WorkRequestError) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ WorkRequestError.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ WorkRequestError.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(WorkRequestError = exports.WorkRequestError || (exports.WorkRequestError = {}));
29
+ //# sourceMappingURL=work-request-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-request-error.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/work-request-error.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAwBH,IAAiB,gBAAgB,CAWhC;AAXD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAWhC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Redis Service API
3
+ * Use the Redis Service API to create and manage Redis clusters. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](/iaas/Content/redis/home.htm).
4
+ * OpenAPI spec version: 20220315
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
+ * A list of logs for the specified work request.
16
+ */
17
+ export interface WorkRequestLogEntryCollection {
18
+ /**
19
+ * A collection of work request logs.
20
+ */
21
+ "items": Array<model.WorkRequestLogEntry>;
22
+ }
23
+ export declare namespace WorkRequestLogEntryCollection {
24
+ function getJsonObj(obj: WorkRequestLogEntryCollection): object;
25
+ function getDeserializedJsonObj(obj: WorkRequestLogEntryCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Redis Service API
4
+ * Use the Redis Service API to create and manage Redis clusters. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](/iaas/Content/redis/home.htm).
5
+ * OpenAPI spec version: 20220315
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.WorkRequestLogEntryCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var WorkRequestLogEntryCollection;
37
+ (function (WorkRequestLogEntryCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.WorkRequestLogEntry.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ WorkRequestLogEntryCollection.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.WorkRequestLogEntry.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ WorkRequestLogEntryCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(WorkRequestLogEntryCollection = exports.WorkRequestLogEntryCollection || (exports.WorkRequestLogEntryCollection = {}));
61
+ //# sourceMappingURL=work-request-log-entry-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-request-log-entry-collection.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/work-request-log-entry-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,6BAA6B,CA6B7C;AA7BD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CAAC,GAAkC;QAC3D,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,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,wCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkC;QACvE,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,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,oDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA6B7C"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Redis Service API
3
+ * Use the Redis Service API to create and manage Redis clusters. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](/iaas/Content/redis/home.htm).
4
+ * OpenAPI spec version: 20220315
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
+ * A log message from executing an operation that is tracked by a work request.
15
+ */
16
+ export interface WorkRequestLogEntry {
17
+ /**
18
+ * A human-readable log message.
19
+ */
20
+ "message": string;
21
+ /**
22
+ * The date and time the log message was written.
23
+ */
24
+ "timestamp": Date;
25
+ }
26
+ export declare namespace WorkRequestLogEntry {
27
+ function getJsonObj(obj: WorkRequestLogEntry): object;
28
+ function getDeserializedJsonObj(obj: WorkRequestLogEntry): object;
29
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Redis Service API
4
+ * Use the Redis Service API to create and manage Redis clusters. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](/iaas/Content/redis/home.htm).
5
+ * OpenAPI spec version: 20220315
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.WorkRequestLogEntry = void 0;
16
+ var WorkRequestLogEntry;
17
+ (function (WorkRequestLogEntry) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ WorkRequestLogEntry.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ WorkRequestLogEntry.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(WorkRequestLogEntry = exports.WorkRequestLogEntry || (exports.WorkRequestLogEntry = {}));
29
+ //# sourceMappingURL=work-request-log-entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-request-log-entry.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/work-request-log-entry.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,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"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Redis Service API
3
+ * Use the Redis Service API to create and manage Redis clusters. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](/iaas/Content/redis/home.htm).
4
+ * OpenAPI spec version: 20220315
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 that are affected by the work request.
16
+ */
17
+ export interface WorkRequestResource {
18
+ /**
19
+ * The resource type the work request affects.
20
+ */
21
+ "entityType": string;
22
+ /**
23
+ * The way in which this resource is affected by the work tracked in the work request.
24
+ * A resource being created, updated, or deleted will remain in the `IN_PROGRESS` state until
25
+ * work is complete for that resource at which point it will transition to `CREATED`, `UPDATED`,
26
+ * or `DELETED`, respectively.
27
+ *
28
+ */
29
+ "actionType": model.ActionType;
30
+ /**
31
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the resource the work request affects.
32
+ */
33
+ "identifier": string;
34
+ /**
35
+ * The URI path that you can use for a GET to access the resource metadata
36
+ */
37
+ "entityUri"?: string;
38
+ }
39
+ export declare namespace WorkRequestResource {
40
+ function getJsonObj(obj: WorkRequestResource): object;
41
+ function getDeserializedJsonObj(obj: WorkRequestResource): object;
42
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Redis Service API
4
+ * Use the Redis Service API to create and manage Redis clusters. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](/iaas/Content/redis/home.htm).
5
+ * OpenAPI spec version: 20220315
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.WorkRequestResource = void 0;
16
+ var WorkRequestResource;
17
+ (function (WorkRequestResource) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ WorkRequestResource.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ WorkRequestResource.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(WorkRequestResource = exports.WorkRequestResource || (exports.WorkRequestResource = {}));
29
+ //# sourceMappingURL=work-request-resource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-request-resource.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/work-request-resource.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA+BH,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"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Redis Service API
3
+ * Use the Redis Service API to create and manage Redis clusters. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](/iaas/Content/redis/home.htm).
4
+ * OpenAPI spec version: 20220315
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
+ * A list of work requests.
16
+ */
17
+ export interface WorkRequestSummaryCollection {
18
+ /**
19
+ * A collection of work requests.
20
+ */
21
+ "items": Array<model.WorkRequestSummary>;
22
+ }
23
+ export declare namespace WorkRequestSummaryCollection {
24
+ function getJsonObj(obj: WorkRequestSummaryCollection): object;
25
+ function getDeserializedJsonObj(obj: WorkRequestSummaryCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Redis Service API
4
+ * Use the Redis Service API to create and manage Redis clusters. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](/iaas/Content/redis/home.htm).
5
+ * OpenAPI spec version: 20220315
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.WorkRequestSummaryCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var WorkRequestSummaryCollection;
37
+ (function (WorkRequestSummaryCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.WorkRequestSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ WorkRequestSummaryCollection.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.WorkRequestSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ WorkRequestSummaryCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(WorkRequestSummaryCollection = exports.WorkRequestSummaryCollection || (exports.WorkRequestSummaryCollection = {}));
61
+ //# sourceMappingURL=work-request-summary-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-request-summary-collection.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/work-request-summary-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,4BAA4B,CA6B5C;AA7BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA6B5C"}