oci-redis 2.111.1 → 2.111.3
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/index.d.ts +4 -0
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/lib/client.d.ts +311 -0
- package/lib/client.js +1154 -56
- package/lib/client.js.map +1 -1
- package/lib/model/attach-oci-cache-users-details.d.ts +25 -0
- package/lib/model/attach-oci-cache-users-details.js +29 -0
- package/lib/model/attach-oci-cache-users-details.js.map +1 -0
- package/lib/model/attached-oci-cache-cluster.d.ts +26 -0
- package/lib/model/attached-oci-cache-cluster.js +29 -0
- package/lib/model/attached-oci-cache-cluster.js.map +1 -0
- package/lib/model/attached-oci-cache-user.d.ts +26 -0
- package/lib/model/attached-oci-cache-user.js +29 -0
- package/lib/model/attached-oci-cache-user.js.map +1 -0
- package/lib/model/authentication-mode.d.ts +22 -0
- package/lib/model/authentication-mode.js +72 -0
- package/lib/model/authentication-mode.js.map +1 -0
- package/lib/model/change-oci-cache-user-compartment-details.d.ts +25 -0
- package/lib/model/change-oci-cache-user-compartment-details.js +29 -0
- package/lib/model/change-oci-cache-user-compartment-details.js.map +1 -0
- package/lib/model/create-identity-token-details.d.ts +47 -0
- package/lib/model/create-identity-token-details.js +29 -0
- package/lib/model/create-identity-token-details.js.map +1 -0
- package/lib/model/create-oci-cache-user-details.d.ts +61 -0
- package/lib/model/create-oci-cache-user-details.js +57 -0
- package/lib/model/create-oci-cache-user-details.js.map +1 -0
- package/lib/model/detach-oci-cache-users-details.d.ts +25 -0
- package/lib/model/detach-oci-cache-users-details.js +29 -0
- package/lib/model/detach-oci-cache-users-details.js.map +1 -0
- package/lib/model/iam-authentication-mode.d.ts +24 -0
- package/lib/model/iam-authentication-mode.js +54 -0
- package/lib/model/iam-authentication-mode.js.map +1 -0
- package/lib/model/identity-token-details-response.d.ts +29 -0
- package/lib/model/identity-token-details-response.js +29 -0
- package/lib/model/identity-token-details-response.js.map +1 -0
- package/lib/model/index.d.ts +30 -0
- package/lib/model/index.js +31 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/oci-cache-user-collection.d.ts +26 -0
- package/lib/model/oci-cache-user-collection.js +61 -0
- package/lib/model/oci-cache-user-collection.js.map +1 -0
- package/lib/model/oci-cache-user-summary.d.ts +81 -0
- package/lib/model/oci-cache-user-summary.js +29 -0
- package/lib/model/oci-cache-user-summary.js.map +1 -0
- package/lib/model/oci-cache-user.d.ts +109 -0
- package/lib/model/oci-cache-user.js +81 -0
- package/lib/model/oci-cache-user.js.map +1 -0
- package/lib/model/operation-type.d.ts +6 -0
- package/lib/model/operation-type.js +6 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/password-authentication-mode.d.ts +28 -0
- package/lib/model/password-authentication-mode.js +54 -0
- package/lib/model/password-authentication-mode.js.map +1 -0
- package/lib/model/update-oci-cache-user-details.d.ts +53 -0
- package/lib/model/update-oci-cache-user-details.js +57 -0
- package/lib/model/update-oci-cache-user-details.js.map +1 -0
- package/lib/ocicacheuser-waiter.d.ts +29 -0
- package/lib/ocicacheuser-waiter.js +65 -0
- package/lib/ocicacheuser-waiter.js.map +1 -0
- package/lib/request/attach-oci-cache-users-request.d.ts +49 -0
- package/lib/request/attach-oci-cache-users-request.js +15 -0
- package/lib/request/attach-oci-cache-users-request.js.map +1 -0
- package/lib/request/change-oci-cache-user-compartment-request.d.ts +49 -0
- package/lib/request/change-oci-cache-user-compartment-request.js +15 -0
- package/lib/request/change-oci-cache-user-compartment-request.js.map +1 -0
- package/lib/request/create-identity-token-request.d.ts +49 -0
- package/lib/request/create-identity-token-request.js +15 -0
- package/lib/request/create-identity-token-request.js.map +1 -0
- package/lib/request/create-oci-cache-user-request.d.ts +36 -0
- package/lib/request/create-oci-cache-user-request.js +15 -0
- package/lib/request/create-oci-cache-user-request.js.map +1 -0
- package/lib/request/delete-oci-cache-user-request.d.ts +35 -0
- package/lib/request/delete-oci-cache-user-request.js +15 -0
- package/lib/request/delete-oci-cache-user-request.js.map +1 -0
- package/lib/request/detach-oci-cache-users-request.d.ts +49 -0
- package/lib/request/detach-oci-cache-users-request.js +15 -0
- package/lib/request/detach-oci-cache-users-request.js.map +1 -0
- package/lib/request/get-oci-cache-user-request.d.ts +26 -0
- package/lib/request/get-oci-cache-user-request.js +15 -0
- package/lib/request/get-oci-cache-user-request.js.map +1 -0
- package/lib/request/index.d.ts +22 -0
- package/lib/request/index.js +7 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-attached-oci-cache-users-request.d.ts +58 -0
- package/lib/request/list-attached-oci-cache-users-request.js +24 -0
- package/lib/request/list-attached-oci-cache-users-request.js.map +1 -0
- package/lib/request/list-attached-redis-clusters-request.d.ts +58 -0
- package/lib/request/list-attached-redis-clusters-request.js +24 -0
- package/lib/request/list-attached-redis-clusters-request.js.map +1 -0
- package/lib/request/list-oci-cache-users-request.d.ts +58 -0
- package/lib/request/list-oci-cache-users-request.js +24 -0
- package/lib/request/list-oci-cache-users-request.js.map +1 -0
- package/lib/request/update-oci-cache-user-request.d.ts +40 -0
- package/lib/request/update-oci-cache-user-request.js +15 -0
- package/lib/request/update-oci-cache-user-request.js.map +1 -0
- package/lib/response/attach-oci-cache-users-response.d.ts +25 -0
- package/lib/response/attach-oci-cache-users-response.js +15 -0
- package/lib/response/attach-oci-cache-users-response.js.map +1 -0
- package/lib/response/change-oci-cache-user-compartment-response.d.ts +25 -0
- package/lib/response/change-oci-cache-user-compartment-response.js +15 -0
- package/lib/response/change-oci-cache-user-compartment-response.js.map +1 -0
- package/lib/response/create-identity-token-response.d.ts +30 -0
- package/lib/response/create-identity-token-response.js +15 -0
- package/lib/response/create-identity-token-response.js.map +1 -0
- package/lib/response/create-oci-cache-user-response.d.ts +35 -0
- package/lib/response/create-oci-cache-user-response.js +15 -0
- package/lib/response/create-oci-cache-user-response.js.map +1 -0
- package/lib/response/delete-oci-cache-user-response.d.ts +25 -0
- package/lib/response/delete-oci-cache-user-response.js +15 -0
- package/lib/response/delete-oci-cache-user-response.js.map +1 -0
- package/lib/response/detach-oci-cache-users-response.d.ts +25 -0
- package/lib/response/detach-oci-cache-users-response.js +15 -0
- package/lib/response/detach-oci-cache-users-response.js.map +1 -0
- package/lib/response/get-oci-cache-user-response.d.ts +30 -0
- package/lib/response/get-oci-cache-user-response.js +15 -0
- package/lib/response/get-oci-cache-user-response.js.map +1 -0
- package/lib/response/index.d.ts +22 -0
- package/lib/response/list-attached-oci-cache-users-response.d.ts +32 -0
- package/lib/response/list-attached-oci-cache-users-response.js +15 -0
- package/lib/response/list-attached-oci-cache-users-response.js.map +1 -0
- package/lib/response/list-attached-redis-clusters-response.d.ts +32 -0
- package/lib/response/list-attached-redis-clusters-response.js +15 -0
- package/lib/response/list-attached-redis-clusters-response.js.map +1 -0
- package/lib/response/list-oci-cache-users-response.d.ts +32 -0
- package/lib/response/list-oci-cache-users-response.js +15 -0
- package/lib/response/list-oci-cache-users-response.js.map +1 -0
- package/lib/response/update-oci-cache-user-response.d.ts +25 -0
- package/lib/response/update-oci-cache-user-response.js +15 -0
- package/lib/response/update-oci-cache-user-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -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](https://docs.oracle.com/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, 2025, 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.OciCacheUserSummary = void 0;
|
|
16
|
+
var OciCacheUserSummary;
|
|
17
|
+
(function (OciCacheUserSummary) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
OciCacheUserSummary.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
OciCacheUserSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(OciCacheUserSummary = exports.OciCacheUserSummary || (exports.OciCacheUserSummary = {}));
|
|
29
|
+
//# sourceMappingURL=oci-cache-user-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oci-cache-user-summary.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/oci-cache-user-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA6DH,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,109 @@
|
|
|
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](https://docs.oracle.com/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, 2025, 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 OCI cache user is required to connect to an OCI cache cluster.
|
|
16
|
+
*/
|
|
17
|
+
export interface OciCacheUser {
|
|
18
|
+
/**
|
|
19
|
+
* OCI Cache user unique ID.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* OCI Cache user name.
|
|
24
|
+
*/
|
|
25
|
+
"name": string;
|
|
26
|
+
/**
|
|
27
|
+
* Description of OCI cache user.
|
|
28
|
+
*/
|
|
29
|
+
"description"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* OCI Cache user compartment ID.
|
|
32
|
+
*/
|
|
33
|
+
"compartmentId": string;
|
|
34
|
+
"authenticationMode": model.IamAuthenticationMode | model.PasswordAuthenticationMode;
|
|
35
|
+
/**
|
|
36
|
+
* ACL string of OCI cache user.
|
|
37
|
+
*/
|
|
38
|
+
"aclString": string;
|
|
39
|
+
/**
|
|
40
|
+
* OCI Cache user status. ON enables and OFF disables the OCI cache user to login to the cluster.
|
|
41
|
+
*/
|
|
42
|
+
"status": OciCacheUser.Status;
|
|
43
|
+
/**
|
|
44
|
+
* OCI Cache user lifecycle state.
|
|
45
|
+
*/
|
|
46
|
+
"lifecycleState": OciCacheUser.LifecycleState;
|
|
47
|
+
/**
|
|
48
|
+
* The date and time, when the OCI cache user was created.
|
|
49
|
+
*/
|
|
50
|
+
"timeCreated"?: Date;
|
|
51
|
+
/**
|
|
52
|
+
* The date and time, when the OCI cache user was updated.
|
|
53
|
+
*/
|
|
54
|
+
"timeUpdated"?: Date;
|
|
55
|
+
/**
|
|
56
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
57
|
+
* Example: {@code {\"bar-key\": \"value\"}}
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
"freeformTags"?: {
|
|
61
|
+
[key: string]: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
65
|
+
* Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
"definedTags"?: {
|
|
69
|
+
[key: string]: {
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
75
|
+
* Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
"systemTags"?: {
|
|
79
|
+
[key: string]: {
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
export declare namespace OciCacheUser {
|
|
85
|
+
enum Status {
|
|
86
|
+
On = "ON",
|
|
87
|
+
Off = "OFF",
|
|
88
|
+
/**
|
|
89
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
90
|
+
* version of the SDK.
|
|
91
|
+
*/
|
|
92
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
93
|
+
}
|
|
94
|
+
enum LifecycleState {
|
|
95
|
+
Creating = "CREATING",
|
|
96
|
+
Updating = "UPDATING",
|
|
97
|
+
Active = "ACTIVE",
|
|
98
|
+
Deleting = "DELETING",
|
|
99
|
+
Deleted = "DELETED",
|
|
100
|
+
Failed = "FAILED",
|
|
101
|
+
/**
|
|
102
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
103
|
+
* version of the SDK.
|
|
104
|
+
*/
|
|
105
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
106
|
+
}
|
|
107
|
+
function getJsonObj(obj: OciCacheUser): object;
|
|
108
|
+
function getDeserializedJsonObj(obj: OciCacheUser): object;
|
|
109
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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](https://docs.oracle.com/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, 2025, 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.OciCacheUser = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var OciCacheUser;
|
|
37
|
+
(function (OciCacheUser) {
|
|
38
|
+
let Status;
|
|
39
|
+
(function (Status) {
|
|
40
|
+
Status["On"] = "ON";
|
|
41
|
+
Status["Off"] = "OFF";
|
|
42
|
+
/**
|
|
43
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
44
|
+
* version of the SDK.
|
|
45
|
+
*/
|
|
46
|
+
Status["UnknownValue"] = "UNKNOWN_VALUE";
|
|
47
|
+
})(Status = OciCacheUser.Status || (OciCacheUser.Status = {}));
|
|
48
|
+
let LifecycleState;
|
|
49
|
+
(function (LifecycleState) {
|
|
50
|
+
LifecycleState["Creating"] = "CREATING";
|
|
51
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
52
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
53
|
+
LifecycleState["Deleting"] = "DELETING";
|
|
54
|
+
LifecycleState["Deleted"] = "DELETED";
|
|
55
|
+
LifecycleState["Failed"] = "FAILED";
|
|
56
|
+
/**
|
|
57
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
58
|
+
* version of the SDK.
|
|
59
|
+
*/
|
|
60
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
61
|
+
})(LifecycleState = OciCacheUser.LifecycleState || (OciCacheUser.LifecycleState = {}));
|
|
62
|
+
function getJsonObj(obj) {
|
|
63
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
64
|
+
"authenticationMode": obj.authenticationMode
|
|
65
|
+
? model.AuthenticationMode.getJsonObj(obj.authenticationMode)
|
|
66
|
+
: undefined
|
|
67
|
+
});
|
|
68
|
+
return jsonObj;
|
|
69
|
+
}
|
|
70
|
+
OciCacheUser.getJsonObj = getJsonObj;
|
|
71
|
+
function getDeserializedJsonObj(obj) {
|
|
72
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
73
|
+
"authenticationMode": obj.authenticationMode
|
|
74
|
+
? model.AuthenticationMode.getDeserializedJsonObj(obj.authenticationMode)
|
|
75
|
+
: undefined
|
|
76
|
+
});
|
|
77
|
+
return jsonObj;
|
|
78
|
+
}
|
|
79
|
+
OciCacheUser.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
80
|
+
})(OciCacheUser = exports.OciCacheUser || (exports.OciCacheUser = {}));
|
|
81
|
+
//# sourceMappingURL=oci-cache-user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oci-cache-user.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/oci-cache-user.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgElC,IAAiB,YAAY,CAiD5B;AAjDD,WAAiB,YAAY;IAC3B,IAAY,MAQX;IARD,WAAY,MAAM;QAChB,mBAAS,CAAA;QACT,qBAAW,CAAA;QACX;;;WAGG;QACH,wCAA8B,CAAA;IAChC,CAAC,EARW,MAAM,GAAN,mBAAM,KAAN,mBAAM,QAQjB;IAED,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,2BAAc,KAAd,2BAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAAC,kBAAkB,CAAC;gBAC7D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,uBAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,GAAG,CAAC,kBAAkB,CAAC;gBACzE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,mCAAsB,yBAWrC,CAAA;AACH,CAAC,EAjDgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAiD5B"}
|
|
@@ -23,6 +23,12 @@ export declare enum OperationType {
|
|
|
23
23
|
UpdateRedisConfigSet = "UPDATE_REDIS_CONFIG_SET",
|
|
24
24
|
DeleteRedisConfigSet = "DELETE_REDIS_CONFIG_SET",
|
|
25
25
|
MoveRedisConfigSet = "MOVE_REDIS_CONFIG_SET",
|
|
26
|
+
MigrateCluster = "MIGRATE_CLUSTER",
|
|
27
|
+
ClusterRollback = "CLUSTER_ROLLBACK",
|
|
28
|
+
AttachOciCacheUsers = "ATTACH_OCI_CACHE_USERS",
|
|
29
|
+
DetachOciCacheUsers = "DETACH_OCI_CACHE_USERS",
|
|
30
|
+
CreateOciCacheUser = "CREATE_OCI_CACHE_USER",
|
|
31
|
+
UpdateOciCacheUser = "UPDATE_OCI_CACHE_USER",
|
|
26
32
|
/**
|
|
27
33
|
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
28
34
|
* version of the SDK.
|
|
@@ -27,6 +27,12 @@ var OperationType;
|
|
|
27
27
|
OperationType["UpdateRedisConfigSet"] = "UPDATE_REDIS_CONFIG_SET";
|
|
28
28
|
OperationType["DeleteRedisConfigSet"] = "DELETE_REDIS_CONFIG_SET";
|
|
29
29
|
OperationType["MoveRedisConfigSet"] = "MOVE_REDIS_CONFIG_SET";
|
|
30
|
+
OperationType["MigrateCluster"] = "MIGRATE_CLUSTER";
|
|
31
|
+
OperationType["ClusterRollback"] = "CLUSTER_ROLLBACK";
|
|
32
|
+
OperationType["AttachOciCacheUsers"] = "ATTACH_OCI_CACHE_USERS";
|
|
33
|
+
OperationType["DetachOciCacheUsers"] = "DETACH_OCI_CACHE_USERS";
|
|
34
|
+
OperationType["CreateOciCacheUser"] = "CREATE_OCI_CACHE_USER";
|
|
35
|
+
OperationType["UpdateOciCacheUser"] = "UPDATE_OCI_CACHE_USER";
|
|
30
36
|
/**
|
|
31
37
|
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
32
38
|
* version of the SDK.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-type.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,
|
|
1
|
+
{"version":3,"file":"operation-type.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,aAsBX;AAtBD,WAAY,aAAa;IACvB,4DAA2C,CAAA;IAC3C,4DAA2C,CAAA;IAC3C,4DAA2C,CAAA;IAC3C,wDAAuC,CAAA;IACvC,gEAA+C,CAAA;IAC/C,iEAAgD,CAAA;IAChD,iEAAgD,CAAA;IAChD,iEAAgD,CAAA;IAChD,6DAA4C,CAAA;IAC5C,mDAAkC,CAAA;IAClC,qDAAoC,CAAA;IACpC,+DAA8C,CAAA;IAC9C,+DAA8C,CAAA;IAC9C,6DAA4C,CAAA;IAC5C,6DAA4C,CAAA;IAE5C;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EAtBW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAsBxB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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](https://docs.oracle.com/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, 2025, 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
|
+
* child class of AuthenticationMode.
|
|
16
|
+
*/
|
|
17
|
+
export interface PasswordAuthenticationMode extends model.AuthenticationMode {
|
|
18
|
+
/**
|
|
19
|
+
* SHA-256 hashed passwords for OCI Cache user,required if authenticationType is set to PASSWORD.
|
|
20
|
+
*/
|
|
21
|
+
"hashedPasswords": Array<string>;
|
|
22
|
+
"authenticationType": string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace PasswordAuthenticationMode {
|
|
25
|
+
function getJsonObj(obj: PasswordAuthenticationMode, isParentJsonObj?: boolean): object;
|
|
26
|
+
const authenticationType = "PASSWORD";
|
|
27
|
+
function getDeserializedJsonObj(obj: PasswordAuthenticationMode, isParentJsonObj?: boolean): object;
|
|
28
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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](https://docs.oracle.com/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, 2025, 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.PasswordAuthenticationMode = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var PasswordAuthenticationMode;
|
|
37
|
+
(function (PasswordAuthenticationMode) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.AuthenticationMode.getJsonObj(obj))), {});
|
|
42
|
+
return jsonObj;
|
|
43
|
+
}
|
|
44
|
+
PasswordAuthenticationMode.getJsonObj = getJsonObj;
|
|
45
|
+
PasswordAuthenticationMode.authenticationType = "PASSWORD";
|
|
46
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
47
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
48
|
+
? obj
|
|
49
|
+
: model.AuthenticationMode.getDeserializedJsonObj(obj))), {});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
PasswordAuthenticationMode.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
53
|
+
})(PasswordAuthenticationMode = exports.PasswordAuthenticationMode || (exports.PasswordAuthenticationMode = {}));
|
|
54
|
+
//# sourceMappingURL=password-authentication-mode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"password-authentication-mode.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/password-authentication-mode.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,0BAA0B,CAyB1C;AAzBD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B,EAAE,eAAyB;QACnF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAAgC,CAAC,GAC1E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,qCAAU,aASzB,CAAA;IACY,6CAAkB,GAAG,UAAU,CAAC;IAC7C,SAAgB,sBAAsB,CACpC,GAA+B,EAC/B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,GAAG,CAAgC,CAAC,GACtF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,iDAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAyB1C"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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](https://docs.oracle.com/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, 2025, 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
|
+
* Details required to update an existing OCI cache user.
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateOciCacheUserDetails {
|
|
18
|
+
/**
|
|
19
|
+
* Description of OCI cache user.
|
|
20
|
+
*/
|
|
21
|
+
"description"?: string;
|
|
22
|
+
"authenticationMode"?: model.IamAuthenticationMode | model.PasswordAuthenticationMode;
|
|
23
|
+
/**
|
|
24
|
+
* ACL string of OCI cache user.
|
|
25
|
+
*/
|
|
26
|
+
"aclString"?: string;
|
|
27
|
+
/**
|
|
28
|
+
* OCI cache user status. ON enables and OFF disables the OCI cache user to login to the associated clusters.
|
|
29
|
+
*/
|
|
30
|
+
"status"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
33
|
+
* Example: {@code {\"bar-key\": \"value\"}}
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
"freeformTags"?: {
|
|
37
|
+
[key: string]: string;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
41
|
+
* Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
"definedTags"?: {
|
|
45
|
+
[key: string]: {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export declare namespace UpdateOciCacheUserDetails {
|
|
51
|
+
function getJsonObj(obj: UpdateOciCacheUserDetails): object;
|
|
52
|
+
function getDeserializedJsonObj(obj: UpdateOciCacheUserDetails): object;
|
|
53
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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](https://docs.oracle.com/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, 2025, 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.UpdateOciCacheUserDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var UpdateOciCacheUserDetails;
|
|
37
|
+
(function (UpdateOciCacheUserDetails) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"authenticationMode": obj.authenticationMode
|
|
41
|
+
? model.AuthenticationMode.getJsonObj(obj.authenticationMode)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
UpdateOciCacheUserDetails.getJsonObj = getJsonObj;
|
|
47
|
+
function getDeserializedJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"authenticationMode": obj.authenticationMode
|
|
50
|
+
? model.AuthenticationMode.getDeserializedJsonObj(obj.authenticationMode)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
UpdateOciCacheUserDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(UpdateOciCacheUserDetails = exports.UpdateOciCacheUserDetails || (exports.UpdateOciCacheUserDetails = {}));
|
|
57
|
+
//# sourceMappingURL=update-oci-cache-user-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-oci-cache-user-details.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/update-oci-cache-user-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkClC,IAAiB,yBAAyB,CAyBzC;AAzBD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAAC,kBAAkB,CAAC;gBAC7D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,oCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,GAAG,CAAC,kBAAkB,CAAC;gBACzE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,gDAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAyBzC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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](https://docs.oracle.com/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, 2025, 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 { OciCacheUserClient } from "./client";
|
|
17
|
+
export declare class OciCacheUserWaiter {
|
|
18
|
+
private client;
|
|
19
|
+
private readonly config?;
|
|
20
|
+
constructor(client: OciCacheUserClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
|
|
21
|
+
/**
|
|
22
|
+
* Waits forOciCacheUser 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 GetOciCacheUserResponse | null (null in case of 404 response)
|
|
27
|
+
*/
|
|
28
|
+
forOciCacheUser(request: serviceRequests.GetOciCacheUserRequest, ...targetStates: models.OciCacheUser.LifecycleState[]): Promise<serviceResponses.GetOciCacheUserResponse | null>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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](https://docs.oracle.com/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, 2025, 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.OciCacheUserWaiter = void 0;
|
|
44
|
+
const models = __importStar(require("./model"));
|
|
45
|
+
const oci_common_1 = require("oci-common");
|
|
46
|
+
class OciCacheUserWaiter {
|
|
47
|
+
constructor(client, config) {
|
|
48
|
+
this.client = client;
|
|
49
|
+
this.config = config;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Waits forOciCacheUser 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 GetOciCacheUserResponse | null (null in case of 404 response)
|
|
57
|
+
*/
|
|
58
|
+
forOciCacheUser(request, ...targetStates) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getOciCacheUser(request), response => targetStates.includes(response.ociCacheUser.lifecycleState), targetStates.includes(models.OciCacheUser.LifecycleState.Deleted));
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.OciCacheUserWaiter = OciCacheUserWaiter;
|
|
65
|
+
//# sourceMappingURL=ocicacheuser-waiter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ocicacheuser-waiter.js","sourceRoot":"","sources":["../../../../lib/redis/lib/ocicacheuser-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;CACF;AAxBD,gDAwBC"}
|
|
@@ -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, 2025, 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.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/redis/AttachOciCacheUsers.ts.html |here} to see how to use AttachOciCacheUsersRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface AttachOciCacheUsersRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
|
|
21
|
+
*/
|
|
22
|
+
"redisClusterId": string;
|
|
23
|
+
/**
|
|
24
|
+
* The parameter details to attach the OCI cache users to the redis cluster.
|
|
25
|
+
*/
|
|
26
|
+
"attachOciCacheUsersDetails": model.AttachOciCacheUsersDetails;
|
|
27
|
+
/**
|
|
28
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
29
|
+
* for a resource, set the {@code 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, 2025, 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=attach-oci-cache-users-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attach-oci-cache-users-request.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/request/attach-oci-cache-users-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|