oci-redis 2.91.0 → 2.92.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 (78) hide show
  1. package/index.d.ts +2 -2
  2. package/index.js +2 -2
  3. package/lib/client.d.ts +18 -8
  4. package/lib/client.js +78 -8
  5. package/lib/client.js.map +1 -1
  6. package/lib/model/action-type.d.ts +2 -2
  7. package/lib/model/action-type.js +2 -2
  8. package/lib/model/change-redis-cluster-compartment-details.d.ts +3 -3
  9. package/lib/model/change-redis-cluster-compartment-details.js +2 -2
  10. package/lib/model/create-redis-cluster-details.d.ts +17 -9
  11. package/lib/model/create-redis-cluster-details.js +2 -2
  12. package/lib/model/create-redis-cluster-details.js.map +1 -1
  13. package/lib/model/index.d.ts +6 -2
  14. package/lib/model/index.js +7 -3
  15. package/lib/model/index.js.map +1 -1
  16. package/lib/model/node-collection.d.ts +3 -3
  17. package/lib/model/node-collection.js +2 -2
  18. package/lib/model/node-summary.d.ts +41 -0
  19. package/lib/model/node-summary.js +29 -0
  20. package/lib/model/node-summary.js.map +1 -0
  21. package/lib/model/node.d.ts +4 -4
  22. package/lib/model/node.js +2 -2
  23. package/lib/model/operation-status.d.ts +2 -2
  24. package/lib/model/operation-status.js +2 -2
  25. package/lib/model/operation-type.d.ts +2 -2
  26. package/lib/model/operation-type.js +2 -2
  27. package/lib/model/redis-cluster-collection.d.ts +4 -4
  28. package/lib/model/redis-cluster-collection.js +2 -2
  29. package/lib/model/redis-cluster-summary.d.ts +25 -17
  30. package/lib/model/redis-cluster-summary.js +2 -2
  31. package/lib/model/redis-cluster-summary.js.map +1 -1
  32. package/lib/model/redis-cluster.d.ts +34 -17
  33. package/lib/model/redis-cluster.js +12 -2
  34. package/lib/model/redis-cluster.js.map +1 -1
  35. package/lib/model/redis-node-collection.d.ts +26 -0
  36. package/lib/model/redis-node-collection.js +61 -0
  37. package/lib/model/redis-node-collection.js.map +1 -0
  38. package/lib/model/sort-order.d.ts +2 -2
  39. package/lib/model/sort-order.js +2 -2
  40. package/lib/model/update-redis-cluster-details.d.ts +10 -6
  41. package/lib/model/update-redis-cluster-details.js +2 -2
  42. package/lib/model/update-redis-cluster-details.js.map +1 -1
  43. package/lib/model/work-request-error-collection.d.ts +2 -2
  44. package/lib/model/work-request-error-collection.js +2 -2
  45. package/lib/model/work-request-error.d.ts +2 -2
  46. package/lib/model/work-request-error.js +2 -2
  47. package/lib/model/work-request-log-entry-collection.d.ts +2 -2
  48. package/lib/model/work-request-log-entry-collection.js +2 -2
  49. package/lib/model/work-request-log-entry.d.ts +2 -2
  50. package/lib/model/work-request-log-entry.js +2 -2
  51. package/lib/model/work-request-resource.d.ts +2 -2
  52. package/lib/model/work-request-resource.js +2 -2
  53. package/lib/model/work-request-summary-collection.d.ts +2 -2
  54. package/lib/model/work-request-summary-collection.js +2 -2
  55. package/lib/model/work-request-summary.d.ts +2 -2
  56. package/lib/model/work-request-summary.js +2 -2
  57. package/lib/model/work-request.d.ts +2 -2
  58. package/lib/model/work-request.js +2 -2
  59. package/lib/rediscluster-waiter.d.ts +2 -2
  60. package/lib/rediscluster-waiter.js +2 -2
  61. package/lib/request/change-redis-cluster-compartment-request.d.ts +1 -1
  62. package/lib/request/create-redis-cluster-request.d.ts +1 -1
  63. package/lib/request/delete-redis-cluster-request.d.ts +1 -1
  64. package/lib/request/get-redis-cluster-request.d.ts +1 -1
  65. package/lib/request/index.d.ts +4 -2
  66. package/lib/request/index.js +5 -3
  67. package/lib/request/index.js.map +1 -1
  68. package/lib/request/list-redis-cluster-nodes-request.d.ts +54 -0
  69. package/lib/request/list-redis-cluster-nodes-request.js +24 -0
  70. package/lib/request/list-redis-cluster-nodes-request.js.map +1 -0
  71. package/lib/request/list-redis-clusters-request.d.ts +1 -1
  72. package/lib/request/update-redis-cluster-request.d.ts +1 -1
  73. package/lib/response/index.d.ts +4 -2
  74. package/lib/response/index.js +2 -2
  75. package/lib/response/list-redis-cluster-nodes-response.d.ts +32 -0
  76. package/lib/response/list-redis-cluster-nodes-response.js +15 -0
  77. package/lib/response/list-redis-cluster-nodes-response.js.map +1 -0
  78. package/package.json +3 -3
@@ -0,0 +1,41 @@
1
+ /**
2
+ * OCI Cache API
3
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/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, 2024, 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 details of each node in the cluster.
15
+ */
16
+ export interface NodeSummary {
17
+ /**
18
+ * The fully qualified domain name (FQDN) of the API endpoint to access a specific node.
19
+ */
20
+ "privateEndpointFqdn": string;
21
+ /**
22
+ * The private IP address of the API endpoint to access a specific node.
23
+ */
24
+ "privateEndpointIpAddress": string;
25
+ /**
26
+ * A user-friendly name of a cluster node.
27
+ */
28
+ "displayName": string;
29
+ /**
30
+ * The OCID of the cluster
31
+ */
32
+ "redisClusterId": string;
33
+ /**
34
+ * The shard number to which the node belongs to. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
35
+ */
36
+ "shardNumber"?: number;
37
+ }
38
+ export declare namespace NodeSummary {
39
+ function getJsonObj(obj: NodeSummary): object;
40
+ function getDeserializedJsonObj(obj: NodeSummary): object;
41
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * OCI Cache API
4
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/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, 2024, 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.NodeSummary = void 0;
16
+ var NodeSummary;
17
+ (function (NodeSummary) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ NodeSummary.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ NodeSummary.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(NodeSummary = exports.NodeSummary || (exports.NodeSummary = {}));
29
+ //# sourceMappingURL=node-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node-summary.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/node-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA+BH,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"}
@@ -1,6 +1,6 @@
1
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).
2
+ * OCI Cache API
3
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/home.htm).
4
4
  * OpenAPI spec version: 20220315
5
5
  *
6
6
  *
@@ -11,7 +11,7 @@
11
11
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
12
  */
13
13
  /**
14
- * The details of each node in the Redis cluster.
14
+ * The details of each node in the cluster.
15
15
  */
16
16
  export interface Node {
17
17
  /**
@@ -23,7 +23,7 @@ export interface Node {
23
23
  */
24
24
  "privateEndpointIpAddress": string;
25
25
  /**
26
- * A user-friendly name of a Redis cluster node.
26
+ * A user-friendly name of a cluster node.
27
27
  */
28
28
  "displayName": string;
29
29
  }
package/lib/model/node.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
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).
3
+ * OCI Cache API
4
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/home.htm).
5
5
  * OpenAPI spec version: 20220315
6
6
  *
7
7
  *
@@ -1,6 +1,6 @@
1
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).
2
+ * OCI Cache API
3
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/home.htm).
4
4
  * OpenAPI spec version: 20220315
5
5
  *
6
6
  *
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
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).
3
+ * OCI Cache API
4
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/home.htm).
5
5
  * OpenAPI spec version: 20220315
6
6
  *
7
7
  *
@@ -1,6 +1,6 @@
1
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).
2
+ * OCI Cache API
3
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/home.htm).
4
4
  * OpenAPI spec version: 20220315
5
5
  *
6
6
  *
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
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).
3
+ * OCI Cache API
4
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/home.htm).
5
5
  * OpenAPI spec version: 20220315
6
6
  *
7
7
  *
@@ -1,6 +1,6 @@
1
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).
2
+ * OCI Cache API
3
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/home.htm).
4
4
  * OpenAPI spec version: 20220315
5
5
  *
6
6
  *
@@ -12,11 +12,11 @@
12
12
  */
13
13
  import * as model from "../model";
14
14
  /**
15
- * A list of Redis clusters that match filter criteria, if any. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](https://docs.cloud.oracle.com/iaas/Content/redis/home.htm).
15
+ * A list of clusters that match filter criteria, if any. A cluster is a memory-based storage solution. For more information, see [OCI Cache](https://docs.cloud.oracle.com/iaas/Content/ocicache/home.htm).
16
16
  */
17
17
  export interface RedisClusterCollection {
18
18
  /**
19
- * The list of Redis clusters.
19
+ * The list of clusters.
20
20
  */
21
21
  "items": Array<model.RedisClusterSummary>;
22
22
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
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).
3
+ * OCI Cache API
4
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/home.htm).
5
5
  * OpenAPI spec version: 20220315
6
6
  *
7
7
  *
@@ -1,6 +1,6 @@
1
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).
2
+ * OCI Cache API
3
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/home.htm).
4
4
  * OpenAPI spec version: 20220315
5
5
  *
6
6
  *
@@ -11,12 +11,12 @@
11
11
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
12
  */
13
13
  /**
14
- * Summary of information about a Redis cluster. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](https://docs.cloud.oracle.com/iaas/Content/redis/home.htm).
14
+ * Summary of information about a cluster. A cluster is a memory-based storage solution. For more information, see [OCI Cache](https://docs.cloud.oracle.com/iaas/Content/ocicache/home.htm).
15
15
  *
16
16
  */
17
17
  export interface RedisClusterSummary {
18
18
  /**
19
- * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster.
19
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
20
20
  */
21
21
  "id": string;
22
22
  /**
@@ -24,11 +24,11 @@ export interface RedisClusterSummary {
24
24
  */
25
25
  "displayName": string;
26
26
  /**
27
- * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the Redis cluster.
27
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster.
28
28
  */
29
29
  "compartmentId": string;
30
30
  /**
31
- * The current state of the Redis cluster.
31
+ * The current state of the cluster.
32
32
  */
33
33
  "lifecycleState"?: string;
34
34
  /**
@@ -36,49 +36,57 @@ export interface RedisClusterSummary {
36
36
  */
37
37
  "lifecycleDetails"?: string;
38
38
  /**
39
- * The number of nodes in the Redis cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
39
+ * The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
40
40
  */
41
41
  "nodeCount": number;
42
42
  /**
43
- * 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.
43
+ * The amount of memory allocated to the cluster's nodes, in gigabytes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
44
44
  */
45
45
  "nodeMemoryInGBs": number;
46
46
  /**
47
- * The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
47
+ * The fully qualified domain name (FQDN) of the API endpoint for the cluster's primary node.
48
48
  */
49
49
  "primaryFqdn": string;
50
50
  /**
51
- * The private IP address of the API endpoint for the Redis cluster's primary node.
51
+ * The private IP address of the API endpoint for the cluster's primary node.
52
52
  */
53
53
  "primaryEndpointIpAddress": string;
54
54
  /**
55
- * The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
55
+ * The fully qualified domain name (FQDN) of the API endpoint for the cluster's replica nodes.
56
56
  */
57
57
  "replicasFqdn": string;
58
58
  /**
59
- * The private IP address of the API endpoint for the Redis cluster's replica nodes.
59
+ * The private IP address of the API endpoint for the cluster's replica nodes.
60
60
  */
61
61
  "replicasEndpointIpAddress": string;
62
62
  /**
63
- * The Redis version that the cluster is running.
63
+ * The OCI Cache engine version that the cluster is running.
64
64
  */
65
65
  "softwareVersion": string;
66
66
  /**
67
- * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster's subnet.
67
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet.
68
68
  */
69
69
  "subnetId": string;
70
70
  /**
71
- * The date and time the Redis cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
71
+ * The date and time the cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
72
72
  */
73
73
  "timeCreated"?: Date;
74
74
  /**
75
- * The date and time the Redis cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
75
+ * The date and time the cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
76
76
  */
77
77
  "timeUpdated"?: Date;
78
+ /**
79
+ * Specifies whether the cluster is sharded or non-sharded.
80
+ */
81
+ "clusterMode"?: string;
82
+ /**
83
+ * The number of shards in a sharded cluster. Only applicable when clusterMode is SHARDED. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
84
+ */
85
+ "shardCount"?: number;
78
86
  /**
79
87
  * A list of Network Security Group (NSG) [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
80
88
  * associated with this cluster. For more information,
81
- * see [Using an NSG for Redis Clusters](https://docs.cloud.oracle.com/iaas/Content/redis/connecttorediscluster.htm#connecttorediscluster__networksecuritygroup).
89
+ * see [Using an NSG for Clusters](https://docs.cloud.oracle.com/iaas/Content/ocicache/connecttocluster.htm#connecttocluster__networksecuritygroup).
82
90
  *
83
91
  */
84
92
  "nsgIds"?: Array<string>;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
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).
3
+ * OCI Cache API
4
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/home.htm).
5
5
  * OpenAPI spec version: 20220315
6
6
  *
7
7
  *
@@ -1 +1 @@
1
- {"version":3,"file":"redis-cluster-summary.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/redis-cluster-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAiGH,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"}
1
+ {"version":3,"file":"redis-cluster-summary.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/redis-cluster-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAyGH,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"}
@@ -1,6 +1,6 @@
1
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).
2
+ * OCI Cache API
3
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/home.htm).
4
4
  * OpenAPI spec version: 20220315
5
5
  *
6
6
  *
@@ -12,11 +12,11 @@
12
12
  */
13
13
  import * as model from "../model";
14
14
  /**
15
- * A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](https://docs.cloud.oracle.com/iaas/Content/redis/home.htm).
15
+ * An OCI Cache cluster is a memory-based storage solution. For more information, see [OCI Cache](https://docs.cloud.oracle.com/iaas/Content/ocicache/home.htm).
16
16
  */
17
17
  export interface RedisCluster {
18
18
  /**
19
- * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster.
19
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
20
20
  */
21
21
  "id": string;
22
22
  /**
@@ -24,11 +24,11 @@ export interface RedisCluster {
24
24
  */
25
25
  "displayName": string;
26
26
  /**
27
- * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the Redis cluster.
27
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster.
28
28
  */
29
29
  "compartmentId": string;
30
30
  /**
31
- * The current state of the Redis cluster.
31
+ * The current state of the cluster.
32
32
  */
33
33
  "lifecycleState"?: RedisCluster.LifecycleState;
34
34
  /**
@@ -36,50 +36,58 @@ export interface RedisCluster {
36
36
  */
37
37
  "lifecycleDetails"?: string;
38
38
  /**
39
- * The number of nodes in the Redis cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
39
+ * The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
40
40
  */
41
41
  "nodeCount": number;
42
42
  /**
43
- * 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.
43
+ * The amount of memory allocated to the cluster's nodes, in gigabytes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
44
44
  */
45
45
  "nodeMemoryInGBs": number;
46
46
  /**
47
- * The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
47
+ * The fully qualified domain name (FQDN) of the API endpoint for the cluster's primary node.
48
48
  */
49
49
  "primaryFqdn": string;
50
50
  /**
51
- * The private IP address of the API endpoint for the Redis cluster's primary node.
51
+ * The private IP address of the API endpoint for the cluster's primary node.
52
52
  */
53
53
  "primaryEndpointIpAddress": string;
54
54
  /**
55
- * The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
55
+ * The fully qualified domain name (FQDN) of the API endpoint for the cluster's replica nodes.
56
56
  */
57
57
  "replicasFqdn": string;
58
58
  /**
59
- * The private IP address of the API endpoint for the Redis cluster's replica nodes.
59
+ * The private IP address of the API endpoint for the cluster's replica nodes.
60
60
  */
61
61
  "replicasEndpointIpAddress": string;
62
62
  /**
63
- * The Redis version that the cluster is running.
63
+ * The OCI Cache engine version that the cluster is running.
64
64
  */
65
65
  "softwareVersion": RedisCluster.SoftwareVersion;
66
66
  /**
67
- * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster's subnet.
67
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet.
68
68
  */
69
69
  "subnetId": string;
70
70
  /**
71
- * The date and time the Redis cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
71
+ * The date and time the cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
72
72
  */
73
73
  "timeCreated"?: Date;
74
74
  /**
75
- * The date and time the Redis cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
75
+ * The date and time the cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
76
76
  */
77
77
  "timeUpdated"?: Date;
78
78
  "nodeCollection": model.NodeCollection;
79
+ /**
80
+ * Specifies whether the cluster is sharded or non-sharded.
81
+ */
82
+ "clusterMode"?: RedisCluster.ClusterMode;
83
+ /**
84
+ * The number of shards in a sharded cluster. Only applicable when clusterMode is SHARDED. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
85
+ */
86
+ "shardCount"?: number;
79
87
  /**
80
88
  * A list of Network Security Group (NSG) [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
81
89
  * associated with this cluster. For more information,
82
- * see [Using an NSG for Redis Clusters](https://docs.cloud.oracle.com/iaas/Content/redis/connecttorediscluster.htm#connecttorediscluster__networksecuritygroup).
90
+ * see [Using an NSG for Clusters](https://docs.cloud.oracle.com/iaas/Content/ocicache/connecttocluster.htm#connecttocluster__networksecuritygroup).
83
91
  *
84
92
  */
85
93
  "nsgIds"?: Array<string>;
@@ -135,6 +143,15 @@ export declare namespace RedisCluster {
135
143
  */
136
144
  UnknownValue = "UNKNOWN_VALUE"
137
145
  }
146
+ enum ClusterMode {
147
+ Sharded = "SHARDED",
148
+ Nonsharded = "NONSHARDED",
149
+ /**
150
+ * This value is used if a service returns a value for this enum that is not recognized by this
151
+ * version of the SDK.
152
+ */
153
+ UnknownValue = "UNKNOWN_VALUE"
154
+ }
138
155
  function getJsonObj(obj: RedisCluster): object;
139
156
  function getDeserializedJsonObj(obj: RedisCluster): object;
140
157
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
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).
3
+ * OCI Cache API
4
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/home.htm).
5
5
  * OpenAPI spec version: 20220315
6
6
  *
7
7
  *
@@ -59,6 +59,16 @@ var RedisCluster;
59
59
  */
60
60
  SoftwareVersion["UnknownValue"] = "UNKNOWN_VALUE";
61
61
  })(SoftwareVersion = RedisCluster.SoftwareVersion || (RedisCluster.SoftwareVersion = {}));
62
+ let ClusterMode;
63
+ (function (ClusterMode) {
64
+ ClusterMode["Sharded"] = "SHARDED";
65
+ ClusterMode["Nonsharded"] = "NONSHARDED";
66
+ /**
67
+ * This value is used if a service returns a value for this enum that is not recognized by this
68
+ * version of the SDK.
69
+ */
70
+ ClusterMode["UnknownValue"] = "UNKNOWN_VALUE";
71
+ })(ClusterMode = RedisCluster.ClusterMode || (RedisCluster.ClusterMode = {}));
62
72
  function getJsonObj(obj) {
63
73
  const jsonObj = Object.assign(Object.assign({}, obj), {
64
74
  "nodeCollection": obj.nodeCollection
@@ -1 +1 @@
1
- {"version":3,"file":"redis-cluster.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/redis-cluster.ts"],"names":[],"mappings":";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CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,mCAAsB,yBAWrC,CAAA;AACH,CAAC,EA3DgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QA2D5B"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * OCI Cache API
3
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/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, 2024, 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 nodes in a cluster that match filter criteria, if any.
16
+ */
17
+ export interface RedisNodeCollection {
18
+ /**
19
+ * The list of nodes in a cluster.
20
+ */
21
+ "items": Array<model.NodeSummary>;
22
+ }
23
+ export declare namespace RedisNodeCollection {
24
+ function getJsonObj(obj: RedisNodeCollection): object;
25
+ function getDeserializedJsonObj(obj: RedisNodeCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * OCI Cache API
4
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/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, 2024, 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.RedisNodeCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var RedisNodeCollection;
37
+ (function (RedisNodeCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.NodeSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ RedisNodeCollection.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.NodeSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ RedisNodeCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(RedisNodeCollection = exports.RedisNodeCollection || (exports.RedisNodeCollection = {}));
61
+ //# sourceMappingURL=redis-node-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redis-node-collection.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/redis-node-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,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC5C,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,WAAW,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACxD,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"}
@@ -1,6 +1,6 @@
1
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).
2
+ * OCI Cache API
3
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/home.htm).
4
4
  * OpenAPI spec version: 20220315
5
5
  *
6
6
  *
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
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).
3
+ * OCI Cache API
4
+ * Use the OCI Cache API to create and manage clusters. A cluster is a memory-based storage solution. For more information, see [OCI Cache](/iaas/Content/ocicache/home.htm).
5
5
  * OpenAPI spec version: 20220315
6
6
  *
7
7
  *