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.
- package/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +22 -0
- package/index.js +45 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +187 -0
- package/lib/client.js +902 -0
- package/lib/client.js.map +1 -0
- package/lib/model/action-type.d.ts +32 -0
- package/lib/model/action-type.js +43 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/change-redis-cluster-compartment-details.d.ts +27 -0
- package/lib/model/change-redis-cluster-compartment-details.js +29 -0
- package/lib/model/change-redis-cluster-compartment-details.js.map +1 -0
- package/lib/model/create-redis-cluster-details.d.ts +63 -0
- package/lib/model/create-redis-cluster-details.js +29 -0
- package/lib/model/create-redis-cluster-details.js.map +1 -0
- package/lib/model/index.d.ts +52 -0
- package/lib/model/index.js +75 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/node-collection.d.ts +26 -0
- package/lib/model/node-collection.js +61 -0
- package/lib/model/node-collection.js.map +1 -0
- package/lib/model/node.d.ts +33 -0
- package/lib/model/node.js +29 -0
- package/lib/model/node.js.map +1 -0
- package/lib/model/operation-status.d.ts +34 -0
- package/lib/model/operation-status.js +45 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +35 -0
- package/lib/model/operation-type.js +46 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/redis-cluster-collection.d.ts +26 -0
- package/lib/model/redis-cluster-collection.js +61 -0
- package/lib/model/redis-cluster-collection.js.map +1 -0
- package/lib/model/redis-cluster-summary.d.ts +110 -0
- package/lib/model/redis-cluster-summary.js +29 -0
- package/lib/model/redis-cluster-summary.js.map +1 -0
- package/lib/model/redis-cluster.d.ts +132 -0
- package/lib/model/redis-cluster.js +80 -0
- package/lib/model/redis-cluster.js.map +1 -0
- package/lib/model/sort-order.d.ts +23 -0
- package/lib/model/sort-order.js +34 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/update-redis-cluster-details.d.ts +51 -0
- package/lib/model/update-redis-cluster-details.js +29 -0
- package/lib/model/update-redis-cluster-details.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +26 -0
- package/lib/model/work-request-error-collection.js +61 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +34 -0
- package/lib/model/work-request-error.js +29 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +26 -0
- package/lib/model/work-request-log-entry-collection.js +61 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +29 -0
- package/lib/model/work-request-log-entry.js +29 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +42 -0
- package/lib/model/work-request-resource.js +29 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +26 -0
- package/lib/model/work-request-summary-collection.js +61 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +80 -0
- package/lib/model/work-request-summary.js +61 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +62 -0
- package/lib/model/work-request.js +61 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/rediscluster-waiter.d.ts +36 -0
- package/lib/rediscluster-waiter.js +76 -0
- package/lib/rediscluster-waiter.js.map +1 -0
- package/lib/request/cancel-work-request-request.d.ts +35 -0
- package/lib/request/cancel-work-request-request.js +15 -0
- package/lib/request/cancel-work-request-request.js.map +1 -0
- package/lib/request/change-redis-cluster-compartment-request.d.ts +49 -0
- package/lib/request/change-redis-cluster-compartment-request.js +15 -0
- package/lib/request/change-redis-cluster-compartment-request.js.map +1 -0
- package/lib/request/create-redis-cluster-request.d.ts +36 -0
- package/lib/request/create-redis-cluster-request.js +15 -0
- package/lib/request/create-redis-cluster-request.js.map +1 -0
- package/lib/request/delete-redis-cluster-request.d.ts +35 -0
- package/lib/request/delete-redis-cluster-request.js +15 -0
- package/lib/request/delete-redis-cluster-request.js.map +1 -0
- package/lib/request/get-redis-cluster-request.d.ts +26 -0
- package/lib/request/get-redis-cluster-request.js +15 -0
- package/lib/request/get-redis-cluster-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +26 -0
- package/lib/request/get-work-request-request.js +15 -0
- package/lib/request/get-work-request-request.js.map +1 -0
- package/lib/request/index.d.ts +34 -0
- package/lib/request/index.js +43 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-redis-clusters-request.d.ts +62 -0
- package/lib/request/list-redis-clusters-request.js +24 -0
- package/lib/request/list-redis-clusters-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +49 -0
- package/lib/request/list-work-request-errors-request.js +23 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +49 -0
- package/lib/request/list-work-request-logs-request.js +23 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +61 -0
- package/lib/request/list-work-requests-request.js +23 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/update-redis-cluster-request.d.ts +40 -0
- package/lib/request/update-redis-cluster-request.js +15 -0
- package/lib/request/update-redis-cluster-request.js.map +1 -0
- package/lib/response/cancel-work-request-response.d.ts +20 -0
- package/lib/response/cancel-work-request-response.js +15 -0
- package/lib/response/cancel-work-request-response.js.map +1 -0
- package/lib/response/change-redis-cluster-compartment-response.d.ts +25 -0
- package/lib/response/change-redis-cluster-compartment-response.js +15 -0
- package/lib/response/change-redis-cluster-compartment-response.js.map +1 -0
- package/lib/response/create-redis-cluster-response.d.ts +35 -0
- package/lib/response/create-redis-cluster-response.js +15 -0
- package/lib/response/create-redis-cluster-response.js.map +1 -0
- package/lib/response/delete-redis-cluster-response.d.ts +25 -0
- package/lib/response/delete-redis-cluster-response.js +15 -0
- package/lib/response/delete-redis-cluster-response.js.map +1 -0
- package/lib/response/get-redis-cluster-response.d.ts +30 -0
- package/lib/response/get-redis-cluster-response.js +15 -0
- package/lib/response/get-redis-cluster-response.js.map +1 -0
- package/lib/response/get-work-request-response.d.ts +34 -0
- package/lib/response/get-work-request-response.js +15 -0
- package/lib/response/get-work-request-response.js.map +1 -0
- package/lib/response/index.d.ts +34 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-redis-clusters-response.d.ts +32 -0
- package/lib/response/list-redis-clusters-response.js +15 -0
- package/lib/response/list-redis-clusters-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +32 -0
- package/lib/response/list-work-request-errors-response.js +15 -0
- package/lib/response/list-work-request-errors-response.js.map +1 -0
- package/lib/response/list-work-request-logs-response.d.ts +32 -0
- package/lib/response/list-work-request-logs-response.js +15 -0
- package/lib/response/list-work-request-logs-response.js.map +1 -0
- package/lib/response/list-work-requests-response.d.ts +32 -0
- package/lib/response/list-work-requests-response.js +15 -0
- package/lib/response/list-work-requests-response.js.map +1 -0
- package/lib/response/update-redis-cluster-response.d.ts +25 -0
- package/lib/response/update-redis-cluster-response.js +15 -0
- package/lib/response/update-redis-cluster-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,80 @@
|
|
|
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 description of the work request status.
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkRequestSummary {
|
|
18
|
+
/**
|
|
19
|
+
* The type of operation that spawned the work request.
|
|
20
|
+
*/
|
|
21
|
+
"operationType": model.OperationType;
|
|
22
|
+
/**
|
|
23
|
+
* The status of current work request.
|
|
24
|
+
*/
|
|
25
|
+
"status": model.OperationStatus;
|
|
26
|
+
/**
|
|
27
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the work request.
|
|
28
|
+
*/
|
|
29
|
+
"id": string;
|
|
30
|
+
/**
|
|
31
|
+
* The OCID of the compartment that contains the work request.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"compartmentId": string;
|
|
35
|
+
/**
|
|
36
|
+
* The resources affected by this work request.
|
|
37
|
+
*/
|
|
38
|
+
"resources": Array<model.WorkRequestResource>;
|
|
39
|
+
/**
|
|
40
|
+
* Percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
41
|
+
*/
|
|
42
|
+
"percentComplete": number;
|
|
43
|
+
/**
|
|
44
|
+
* The date and time the work request was created, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
"timeAccepted": Date;
|
|
48
|
+
/**
|
|
49
|
+
* The date and time the work request was started, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
"timeStarted"?: Date;
|
|
53
|
+
/**
|
|
54
|
+
* The date and time the work request completed, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
"timeFinished"?: Date;
|
|
58
|
+
/**
|
|
59
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
60
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
"freeformTags"?: {
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
68
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
"definedTags"?: {
|
|
72
|
+
[key: string]: {
|
|
73
|
+
[key: string]: any;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
export declare namespace WorkRequestSummary {
|
|
78
|
+
function getJsonObj(obj: WorkRequestSummary): object;
|
|
79
|
+
function getDeserializedJsonObj(obj: WorkRequestSummary): object;
|
|
80
|
+
}
|
|
@@ -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.WorkRequestSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var WorkRequestSummary;
|
|
37
|
+
(function (WorkRequestSummary) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"resources": obj.resources
|
|
41
|
+
? obj.resources.map(item => {
|
|
42
|
+
return model.WorkRequestResource.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
WorkRequestSummary.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"resources": obj.resources
|
|
52
|
+
? obj.resources.map(item => {
|
|
53
|
+
return model.WorkRequestResource.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
WorkRequestSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(WorkRequestSummary = exports.WorkRequestSummary || (exports.WorkRequestSummary = {}));
|
|
61
|
+
//# sourceMappingURL=work-request-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-summary.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/work-request-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6DlC,IAAiB,kBAAkB,CA6BlC;AA7BD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,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,6BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,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,yCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA6BlC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
* An asynchronous work request.
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The type of operation that spawned the work request.
|
|
20
|
+
*/
|
|
21
|
+
"operationType": model.OperationType;
|
|
22
|
+
/**
|
|
23
|
+
* The status of current work request.
|
|
24
|
+
*/
|
|
25
|
+
"status": model.OperationStatus;
|
|
26
|
+
/**
|
|
27
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the work request.
|
|
28
|
+
*/
|
|
29
|
+
"id": string;
|
|
30
|
+
/**
|
|
31
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the work request.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"compartmentId": string;
|
|
35
|
+
/**
|
|
36
|
+
* The resources that are affected by the work request.
|
|
37
|
+
*/
|
|
38
|
+
"resources": Array<model.WorkRequestResource>;
|
|
39
|
+
/**
|
|
40
|
+
* The percentage complete of the operation tracked by the work request. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
41
|
+
*/
|
|
42
|
+
"percentComplete": number;
|
|
43
|
+
/**
|
|
44
|
+
* The date and time the work request was created, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
"timeAccepted": Date;
|
|
48
|
+
/**
|
|
49
|
+
* The date and time the work request was started, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
"timeStarted"?: Date;
|
|
53
|
+
/**
|
|
54
|
+
* The date and time the work request completed, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
"timeFinished"?: Date;
|
|
58
|
+
}
|
|
59
|
+
export declare namespace WorkRequest {
|
|
60
|
+
function getJsonObj(obj: WorkRequest): object;
|
|
61
|
+
function getDeserializedJsonObj(obj: WorkRequest): object;
|
|
62
|
+
}
|
|
@@ -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.WorkRequest = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var WorkRequest;
|
|
37
|
+
(function (WorkRequest) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"resources": obj.resources
|
|
41
|
+
? obj.resources.map(item => {
|
|
42
|
+
return model.WorkRequestResource.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
WorkRequest.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"resources": obj.resources
|
|
52
|
+
? obj.resources.map(item => {
|
|
53
|
+
return model.WorkRequestResource.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
WorkRequest.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(WorkRequest = exports.WorkRequest || (exports.WorkRequest = {}));
|
|
61
|
+
//# sourceMappingURL=work-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/work-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiDlC,IAAiB,WAAW,CA6B3B;AA7BD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB;QACzC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,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,sBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,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,kCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QA6B3B"}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 serviceRequests from "./request";
|
|
14
|
+
import * as serviceResponses from "./response";
|
|
15
|
+
import * as models from "./model";
|
|
16
|
+
import { RedisClusterClient } from "./client";
|
|
17
|
+
export declare class RedisClusterWaiter {
|
|
18
|
+
private client;
|
|
19
|
+
private readonly config?;
|
|
20
|
+
constructor(client: RedisClusterClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
|
|
21
|
+
/**
|
|
22
|
+
* Waits forRedisCluster till it reaches any of the provided states
|
|
23
|
+
*
|
|
24
|
+
* @param request the request to send
|
|
25
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
26
|
+
* @return response returns GetRedisClusterResponse | null (null in case of 404 response)
|
|
27
|
+
*/
|
|
28
|
+
forRedisCluster(request: serviceRequests.GetRedisClusterRequest, ...targetStates: models.RedisCluster.LifecycleState[]): Promise<serviceResponses.GetRedisClusterResponse | null>;
|
|
29
|
+
/**
|
|
30
|
+
* Waits forWorkRequest
|
|
31
|
+
*
|
|
32
|
+
* @param request the request to send
|
|
33
|
+
* @return response returns GetWorkRequestResponse
|
|
34
|
+
*/
|
|
35
|
+
forWorkRequest(request: serviceRequests.GetWorkRequestRequest): Promise<serviceResponses.GetWorkRequestResponse>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
34
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
35
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
36
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
37
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
38
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
39
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.RedisClusterWaiter = void 0;
|
|
44
|
+
const models = __importStar(require("./model"));
|
|
45
|
+
const oci_common_1 = require("oci-common");
|
|
46
|
+
class RedisClusterWaiter {
|
|
47
|
+
constructor(client, config) {
|
|
48
|
+
this.client = client;
|
|
49
|
+
this.config = config;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Waits forRedisCluster till it reaches any of the provided states
|
|
53
|
+
*
|
|
54
|
+
* @param request the request to send
|
|
55
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
56
|
+
* @return response returns GetRedisClusterResponse | null (null in case of 404 response)
|
|
57
|
+
*/
|
|
58
|
+
forRedisCluster(request, ...targetStates) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getRedisCluster(request), response => targetStates.includes(response.redisCluster.lifecycleState), targetStates.includes(models.RedisCluster.LifecycleState.Deleted));
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Waits forWorkRequest
|
|
65
|
+
*
|
|
66
|
+
* @param request the request to send
|
|
67
|
+
* @return response returns GetWorkRequestResponse
|
|
68
|
+
*/
|
|
69
|
+
forWorkRequest(request) {
|
|
70
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
+
return oci_common_1.genericWaiter(this.config, () => this.client.getWorkRequest(request), response => (response.workRequest.timeFinished ? true : false));
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.RedisClusterWaiter = RedisClusterWaiter;
|
|
76
|
+
//# sourceMappingURL=rediscluster-waiter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rediscluster-waiter.js","sourceRoot":"","sources":["../../../../lib/redis/lib/rediscluster-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,kBAAkB;IAC7B,YACU,MAA0B,EACjB,MAA4B;QADrC,WAAM,GAAN,MAAM,CAAoB;QACjB,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,eAAe,CAC1B,OAA+C,EAC/C,GAAG,YAAkD;;YAErD,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,OAAO,CAAC,EAC1C,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,YAAY,CAAC,cAAe,CAAC,EACxE,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAY,CAAC,cAAc,CAAC,OAAO,CAAC,CAClE,CAAC;QACJ,CAAC;KAAA;IAED;;;;;OAKG;IACU,cAAc,CACzB,OAA8C;;YAE9C,OAAO,0BAAa,CAClB,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,EACzC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAC/D,CAAC;QACJ,CAAC;KAAA;CACF;AAxCD,gDAwCC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
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 common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.71.0/redis/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequestRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface CancelWorkRequestRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The the asynchronous request ID.
|
|
20
|
+
*/
|
|
21
|
+
"workRequestId": string;
|
|
22
|
+
/**
|
|
23
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
24
|
+
* for a resource, set the `if-match` parameter to the value of the
|
|
25
|
+
* etag from a previous GET or POST response for that resource.
|
|
26
|
+
* The resource will be updated or deleted only if the etag you
|
|
27
|
+
* provide matches the resource's current etag value.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"ifMatch"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The client request ID for tracing.
|
|
33
|
+
*/
|
|
34
|
+
"opcRequestId"?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
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
|
+
//# sourceMappingURL=cancel-work-request-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-work-request-request.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/request/cancel-work-request-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
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
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.71.0/redis/ChangeRedisClusterCompartment.ts.html |here} to see how to use ChangeRedisClusterCompartmentRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface ChangeRedisClusterCompartmentRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster.
|
|
21
|
+
*/
|
|
22
|
+
"redisClusterId": string;
|
|
23
|
+
/**
|
|
24
|
+
* The information to be updated.
|
|
25
|
+
*/
|
|
26
|
+
"changeRedisClusterCompartmentDetails": model.ChangeRedisClusterCompartmentDetails;
|
|
27
|
+
/**
|
|
28
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
29
|
+
* for a resource, set the `if-match` parameter to the value of the
|
|
30
|
+
* etag from a previous GET or POST response for that resource.
|
|
31
|
+
* The resource will be updated or deleted only if the etag you
|
|
32
|
+
* provide matches the resource's current etag value.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"ifMatch"?: string;
|
|
36
|
+
/**
|
|
37
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
38
|
+
* server error without risk of executing that same action again. Retry tokens expire after 24
|
|
39
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
40
|
+
* has been deleted and purged from the system, then a retry of the original creation request
|
|
41
|
+
* might be rejected.
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
"opcRetryToken"?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The client request ID for tracing.
|
|
47
|
+
*/
|
|
48
|
+
"opcRequestId"?: string;
|
|
49
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
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
|
+
//# sourceMappingURL=change-redis-cluster-compartment-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"change-redis-cluster-compartment-request.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/request/change-redis-cluster-compartment-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
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
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.71.0/redis/CreateRedisCluster.ts.html |here} to see how to use CreateRedisClusterRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateRedisClusterRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Details for the new RedisCluster.
|
|
21
|
+
*/
|
|
22
|
+
"createRedisClusterDetails": model.CreateRedisClusterDetails;
|
|
23
|
+
/**
|
|
24
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
25
|
+
* server error without risk of executing that same action again. Retry tokens expire after 24
|
|
26
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
27
|
+
* has been deleted and purged from the system, then a retry of the original creation request
|
|
28
|
+
* might be rejected.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"opcRetryToken"?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The client request ID for tracing.
|
|
34
|
+
*/
|
|
35
|
+
"opcRequestId"?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
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
|
+
//# sourceMappingURL=create-redis-cluster-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-redis-cluster-request.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/request/create-redis-cluster-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
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 common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.71.0/redis/DeleteRedisCluster.ts.html |here} to see how to use DeleteRedisClusterRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface DeleteRedisClusterRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster.
|
|
20
|
+
*/
|
|
21
|
+
"redisClusterId": string;
|
|
22
|
+
/**
|
|
23
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
24
|
+
* for a resource, set the `if-match` parameter to the value of the
|
|
25
|
+
* etag from a previous GET or POST response for that resource.
|
|
26
|
+
* The resource will be updated or deleted only if the etag you
|
|
27
|
+
* provide matches the resource's current etag value.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"ifMatch"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The client request ID for tracing.
|
|
33
|
+
*/
|
|
34
|
+
"opcRequestId"?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
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
|
+
//# sourceMappingURL=delete-redis-cluster-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-redis-cluster-request.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/request/delete-redis-cluster-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|