oci-redis 2.111.0 → 2.111.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
package/index.d.ts
CHANGED
|
@@ -14,9 +14,13 @@ import * as requests from "./lib/request";
|
|
|
14
14
|
import * as models from "./lib/model";
|
|
15
15
|
import * as responses from "./lib/response";
|
|
16
16
|
import * as client from "./lib/client";
|
|
17
|
+
import * as ocicacheuser_waiter from "./lib/ocicacheuser-waiter";
|
|
17
18
|
import * as rediscluster_waiter from "./lib/rediscluster-waiter";
|
|
18
19
|
export { models };
|
|
19
20
|
export { requests };
|
|
20
21
|
export { responses };
|
|
22
|
+
export import OciCacheUserClient = client.OciCacheUserClient;
|
|
23
|
+
export import OciCacheUserWaiter = ocicacheuser_waiter.OciCacheUserWaiter;
|
|
21
24
|
export import RedisClusterClient = client.RedisClusterClient;
|
|
22
25
|
export import RedisClusterWaiter = rediscluster_waiter.RedisClusterWaiter;
|
|
26
|
+
export import RedisIdentityClient = client.RedisIdentityClient;
|
package/index.js
CHANGED
|
@@ -31,7 +31,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
31
31
|
return result;
|
|
32
32
|
};
|
|
33
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
-
exports.RedisClusterWaiter = exports.RedisClusterClient = exports.responses = exports.requests = exports.models = void 0;
|
|
34
|
+
exports.RedisIdentityClient = exports.RedisClusterWaiter = exports.RedisClusterClient = exports.OciCacheUserWaiter = exports.OciCacheUserClient = exports.responses = exports.requests = exports.models = void 0;
|
|
35
35
|
const requests = __importStar(require("./lib/request"));
|
|
36
36
|
exports.requests = requests;
|
|
37
37
|
const models = __importStar(require("./lib/model"));
|
|
@@ -39,7 +39,11 @@ exports.models = models;
|
|
|
39
39
|
const responses = __importStar(require("./lib/response"));
|
|
40
40
|
exports.responses = responses;
|
|
41
41
|
const client = __importStar(require("./lib/client"));
|
|
42
|
+
const ocicacheuser_waiter = __importStar(require("./lib/ocicacheuser-waiter"));
|
|
42
43
|
const rediscluster_waiter = __importStar(require("./lib/rediscluster-waiter"));
|
|
44
|
+
exports.OciCacheUserClient = client.OciCacheUserClient;
|
|
45
|
+
exports.OciCacheUserWaiter = ocicacheuser_waiter.OciCacheUserWaiter;
|
|
43
46
|
exports.RedisClusterClient = client.RedisClusterClient;
|
|
44
47
|
exports.RedisClusterWaiter = rediscluster_waiter.RedisClusterWaiter;
|
|
48
|
+
exports.RedisIdentityClient = client.RedisIdentityClient;
|
|
45
49
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/redis/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/redis/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;AAQjC,4BAAQ;AAPjB,oDAAsC;AAM7B,wBAAM;AALf,0DAA4C;AAOnC,8BAAS;AANlB,qDAAuC;AACvC,+EAAiE;AACjE,+EAAiE;AAKnD,QAAA,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAC/C,QAAA,kBAAkB,GAAG,mBAAmB,CAAC,kBAAkB,CAAC;AAC5D,QAAA,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAC/C,QAAA,kBAAkB,GAAG,mBAAmB,CAAC,kBAAkB,CAAC;AAC5D,QAAA,mBAAmB,GAAG,MAAM,CAAC,mBAAmB,CAAC"}
|
package/lib/client.d.ts
CHANGED
|
@@ -12,9 +12,186 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
import * as requests from "./request";
|
|
15
|
+
import * as model from "./model";
|
|
15
16
|
import * as responses from "./response";
|
|
17
|
+
import { OciCacheUserWaiter } from "./ocicacheuser-waiter";
|
|
16
18
|
import { RedisClusterWaiter } from "./rediscluster-waiter";
|
|
17
19
|
declare const Breaker: any;
|
|
20
|
+
export declare enum OciCacheUserApiKeys {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
24
|
+
*/
|
|
25
|
+
export declare class OciCacheUserClient {
|
|
26
|
+
protected static serviceEndpointTemplate: string;
|
|
27
|
+
protected static endpointServiceName: string;
|
|
28
|
+
protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined;
|
|
29
|
+
protected "_endpoint": string;
|
|
30
|
+
protected "_defaultHeaders": any;
|
|
31
|
+
protected "_waiters": OciCacheUserWaiter;
|
|
32
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
33
|
+
protected _circuitBreaker: typeof Breaker | null;
|
|
34
|
+
protected _httpOptions: any;
|
|
35
|
+
protected _bodyDuplexMode: any;
|
|
36
|
+
targetService: string;
|
|
37
|
+
protected _regionId: string;
|
|
38
|
+
protected "_region": common.Region;
|
|
39
|
+
protected _lastSetRegionOrRegionId: string;
|
|
40
|
+
protected _httpClient: common.HttpClient;
|
|
41
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
42
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
43
|
+
/**
|
|
44
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
45
|
+
*/
|
|
46
|
+
get endpoint(): string;
|
|
47
|
+
/**
|
|
48
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
49
|
+
* @param endpoint The endpoint of the service.
|
|
50
|
+
*/
|
|
51
|
+
set endpoint(endpoint: string);
|
|
52
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
53
|
+
/**
|
|
54
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
55
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
56
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
57
|
+
*/
|
|
58
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
|
|
59
|
+
/**
|
|
60
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
61
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
62
|
+
* @param region The region of the service.
|
|
63
|
+
*/
|
|
64
|
+
set region(region: common.Region);
|
|
65
|
+
/**
|
|
66
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
67
|
+
*
|
|
68
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
69
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
70
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
71
|
+
* @param regionId The public region ID.
|
|
72
|
+
*/
|
|
73
|
+
set regionId(regionId: string);
|
|
74
|
+
/**
|
|
75
|
+
* Creates a new OciCacheUserWaiter for resources for this service.
|
|
76
|
+
*
|
|
77
|
+
* @param config The waiter configuration for termination and delay strategy
|
|
78
|
+
* @return The service waiters.
|
|
79
|
+
*/
|
|
80
|
+
createWaiters(config?: common.WaiterConfiguration): OciCacheUserWaiter;
|
|
81
|
+
/**
|
|
82
|
+
* Gets the waiters available for resources for this service.
|
|
83
|
+
*
|
|
84
|
+
* @return The service waiters.
|
|
85
|
+
*/
|
|
86
|
+
getWaiters(): OciCacheUserWaiter;
|
|
87
|
+
/**
|
|
88
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
89
|
+
*/
|
|
90
|
+
shutdownCircuitBreaker(): void;
|
|
91
|
+
/**
|
|
92
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
93
|
+
*/
|
|
94
|
+
closeProvider(): void;
|
|
95
|
+
/**
|
|
96
|
+
* Close the client once it is no longer needed
|
|
97
|
+
*/
|
|
98
|
+
close(): void;
|
|
99
|
+
/**
|
|
100
|
+
* Moves an OCI Cache User from one compartment to another within the same tenancy.
|
|
101
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
102
|
+
* @param ChangeOciCacheUserCompartmentRequest
|
|
103
|
+
* @return ChangeOciCacheUserCompartmentResponse
|
|
104
|
+
* @throws OciError when an error occurs
|
|
105
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/redis/ChangeOciCacheUserCompartment.ts.html |here} to see how to use ChangeOciCacheUserCompartment API.
|
|
106
|
+
*/
|
|
107
|
+
changeOciCacheUserCompartment(changeOciCacheUserCompartmentRequest: requests.ChangeOciCacheUserCompartmentRequest): Promise<responses.ChangeOciCacheUserCompartmentResponse>;
|
|
108
|
+
/**
|
|
109
|
+
* Creates a new OCI Cache user. OCI Cache user is required to authenticate to OCI Cache cluster.
|
|
110
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
111
|
+
* @param CreateOciCacheUserRequest
|
|
112
|
+
* @return CreateOciCacheUserResponse
|
|
113
|
+
* @throws OciError when an error occurs
|
|
114
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/redis/CreateOciCacheUser.ts.html |here} to see how to use CreateOciCacheUser API.
|
|
115
|
+
*/
|
|
116
|
+
createOciCacheUser(createOciCacheUserRequest: requests.CreateOciCacheUserRequest): Promise<responses.CreateOciCacheUserResponse>;
|
|
117
|
+
/**
|
|
118
|
+
* Deletes an existing OCI Cache User based on the OCI cache user unique ID (OCID).
|
|
119
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
120
|
+
* @param DeleteOciCacheUserRequest
|
|
121
|
+
* @return DeleteOciCacheUserResponse
|
|
122
|
+
* @throws OciError when an error occurs
|
|
123
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/redis/DeleteOciCacheUser.ts.html |here} to see how to use DeleteOciCacheUser API.
|
|
124
|
+
*/
|
|
125
|
+
deleteOciCacheUser(deleteOciCacheUserRequest: requests.DeleteOciCacheUserRequest): Promise<responses.DeleteOciCacheUserResponse>;
|
|
126
|
+
/**
|
|
127
|
+
* Get an existing OCI Cache users based on the ID (OCID).
|
|
128
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
129
|
+
* @param GetOciCacheUserRequest
|
|
130
|
+
* @return GetOciCacheUserResponse
|
|
131
|
+
* @throws OciError when an error occurs
|
|
132
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/redis/GetOciCacheUser.ts.html |here} to see how to use GetOciCacheUser API.
|
|
133
|
+
*/
|
|
134
|
+
getOciCacheUser(getOciCacheUserRequest: requests.GetOciCacheUserRequest): Promise<responses.GetOciCacheUserResponse>;
|
|
135
|
+
/**
|
|
136
|
+
* Gets a list of associated redis cluster for an OCI cache user.
|
|
137
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
138
|
+
* @param ListAttachedRedisClustersRequest
|
|
139
|
+
* @return ListAttachedRedisClustersResponse
|
|
140
|
+
* @throws OciError when an error occurs
|
|
141
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/redis/ListAttachedRedisClusters.ts.html |here} to see how to use ListAttachedRedisClusters API.
|
|
142
|
+
*/
|
|
143
|
+
listAttachedRedisClusters(listAttachedRedisClustersRequest: requests.ListAttachedRedisClustersRequest): Promise<responses.ListAttachedRedisClustersResponse>;
|
|
144
|
+
/**
|
|
145
|
+
* NOTE: This function is deprecated in favor of listAttachedRedisClustersRecordIterator function.
|
|
146
|
+
* Creates a new async iterator which will iterate over the models.AttachedOciCacheCluster objects
|
|
147
|
+
* contained in responses from the listAttachedRedisClusters operation. This iterator will fetch more data from the
|
|
148
|
+
* server as needed.
|
|
149
|
+
*
|
|
150
|
+
* @param request a request which can be sent to the service operation
|
|
151
|
+
*/
|
|
152
|
+
listAllAttachedRedisClusters(request: requests.ListAttachedRedisClustersRequest): AsyncIterableIterator<model.AttachedOciCacheCluster>;
|
|
153
|
+
/**
|
|
154
|
+
* NOTE: This function is deprecated in favor of listAttachedRedisClustersResponseIterator function.
|
|
155
|
+
* Creates a new async iterator which will iterate over the responses received from the listAttachedRedisClusters operation. This iterator
|
|
156
|
+
* will fetch more data from the server as needed.
|
|
157
|
+
*
|
|
158
|
+
* @param request a request which can be sent to the service operation
|
|
159
|
+
*/
|
|
160
|
+
listAllAttachedRedisClustersResponses(request: requests.ListAttachedRedisClustersRequest): AsyncIterableIterator<responses.ListAttachedRedisClustersResponse>;
|
|
161
|
+
/**
|
|
162
|
+
* Creates a new async iterator which will iterate over the models.AttachedOciCacheCluster objects
|
|
163
|
+
* contained in responses from the listAttachedRedisClusters operation. This iterator will fetch more data from the
|
|
164
|
+
* server as needed.
|
|
165
|
+
*
|
|
166
|
+
* @param request a request which can be sent to the service operation
|
|
167
|
+
*/
|
|
168
|
+
listAttachedRedisClustersRecordIterator(request: requests.ListAttachedRedisClustersRequest): AsyncIterableIterator<model.AttachedOciCacheCluster>;
|
|
169
|
+
/**
|
|
170
|
+
* Creates a new async iterator which will iterate over the responses received from the listAttachedRedisClusters operation. This iterator
|
|
171
|
+
* will fetch more data from the server as needed.
|
|
172
|
+
*
|
|
173
|
+
* @param request a request which can be sent to the service operation
|
|
174
|
+
*/
|
|
175
|
+
listAttachedRedisClustersResponseIterator(request: requests.ListAttachedRedisClustersRequest): AsyncIterableIterator<responses.ListAttachedRedisClustersResponse>;
|
|
176
|
+
/**
|
|
177
|
+
* Lists the OCI Cache users based on the supplied parameters.
|
|
178
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
179
|
+
* @param ListOciCacheUsersRequest
|
|
180
|
+
* @return ListOciCacheUsersResponse
|
|
181
|
+
* @throws OciError when an error occurs
|
|
182
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/redis/ListOciCacheUsers.ts.html |here} to see how to use ListOciCacheUsers API.
|
|
183
|
+
*/
|
|
184
|
+
listOciCacheUsers(listOciCacheUsersRequest: requests.ListOciCacheUsersRequest): Promise<responses.ListOciCacheUsersResponse>;
|
|
185
|
+
/**
|
|
186
|
+
* Update an existing OCI Cache User with new details.
|
|
187
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
188
|
+
* @param UpdateOciCacheUserRequest
|
|
189
|
+
* @return UpdateOciCacheUserResponse
|
|
190
|
+
* @throws OciError when an error occurs
|
|
191
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/redis/UpdateOciCacheUser.ts.html |here} to see how to use UpdateOciCacheUser API.
|
|
192
|
+
*/
|
|
193
|
+
updateOciCacheUser(updateOciCacheUserRequest: requests.UpdateOciCacheUserRequest): Promise<responses.UpdateOciCacheUserResponse>;
|
|
194
|
+
}
|
|
18
195
|
export declare enum RedisClusterApiKeys {
|
|
19
196
|
}
|
|
20
197
|
/**
|
|
@@ -94,6 +271,15 @@ export declare class RedisClusterClient {
|
|
|
94
271
|
* Close the client once it is no longer needed
|
|
95
272
|
*/
|
|
96
273
|
close(): void;
|
|
274
|
+
/**
|
|
275
|
+
* Attach existing OCI cache users to a redis cluster.
|
|
276
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
277
|
+
* @param AttachOciCacheUsersRequest
|
|
278
|
+
* @return AttachOciCacheUsersResponse
|
|
279
|
+
* @throws OciError when an error occurs
|
|
280
|
+
* @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 AttachOciCacheUsers API.
|
|
281
|
+
*/
|
|
282
|
+
attachOciCacheUsers(attachOciCacheUsersRequest: requests.AttachOciCacheUsersRequest): Promise<responses.AttachOciCacheUsersResponse>;
|
|
97
283
|
/**
|
|
98
284
|
* Cancels the specified work request.
|
|
99
285
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -131,6 +317,15 @@ export declare class RedisClusterClient {
|
|
|
131
317
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/redis/DeleteRedisCluster.ts.html |here} to see how to use DeleteRedisCluster API.
|
|
132
318
|
*/
|
|
133
319
|
deleteRedisCluster(deleteRedisClusterRequest: requests.DeleteRedisClusterRequest): Promise<responses.DeleteRedisClusterResponse>;
|
|
320
|
+
/**
|
|
321
|
+
* Detach existing OCI cache users to a redis cluster.
|
|
322
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
323
|
+
* @param DetachOciCacheUsersRequest
|
|
324
|
+
* @return DetachOciCacheUsersResponse
|
|
325
|
+
* @throws OciError when an error occurs
|
|
326
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/redis/DetachOciCacheUsers.ts.html |here} to see how to use DetachOciCacheUsers API.
|
|
327
|
+
*/
|
|
328
|
+
detachOciCacheUsers(detachOciCacheUsersRequest: requests.DetachOciCacheUsersRequest): Promise<responses.DetachOciCacheUsersResponse>;
|
|
134
329
|
/**
|
|
135
330
|
* Retrieves the specified OCI Cache cluster. A cluster is a memory-based storage solution. For more information, see [OCI Cache](https://docs.oracle.com/iaas/Content/ocicache/home.htm).
|
|
136
331
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -149,6 +344,47 @@ export declare class RedisClusterClient {
|
|
|
149
344
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/redis/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
150
345
|
*/
|
|
151
346
|
getWorkRequest(getWorkRequestRequest: requests.GetWorkRequestRequest): Promise<responses.GetWorkRequestResponse>;
|
|
347
|
+
/**
|
|
348
|
+
* Gets a list of associated OCI cache users for a redis cluster.
|
|
349
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
350
|
+
* @param ListAttachedOciCacheUsersRequest
|
|
351
|
+
* @return ListAttachedOciCacheUsersResponse
|
|
352
|
+
* @throws OciError when an error occurs
|
|
353
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/redis/ListAttachedOciCacheUsers.ts.html |here} to see how to use ListAttachedOciCacheUsers API.
|
|
354
|
+
*/
|
|
355
|
+
listAttachedOciCacheUsers(listAttachedOciCacheUsersRequest: requests.ListAttachedOciCacheUsersRequest): Promise<responses.ListAttachedOciCacheUsersResponse>;
|
|
356
|
+
/**
|
|
357
|
+
* NOTE: This function is deprecated in favor of listAttachedOciCacheUsersRecordIterator function.
|
|
358
|
+
* Creates a new async iterator which will iterate over the models.AttachedOciCacheUser objects
|
|
359
|
+
* contained in responses from the listAttachedOciCacheUsers operation. This iterator will fetch more data from the
|
|
360
|
+
* server as needed.
|
|
361
|
+
*
|
|
362
|
+
* @param request a request which can be sent to the service operation
|
|
363
|
+
*/
|
|
364
|
+
listAllAttachedOciCacheUsers(request: requests.ListAttachedOciCacheUsersRequest): AsyncIterableIterator<model.AttachedOciCacheUser>;
|
|
365
|
+
/**
|
|
366
|
+
* NOTE: This function is deprecated in favor of listAttachedOciCacheUsersResponseIterator function.
|
|
367
|
+
* Creates a new async iterator which will iterate over the responses received from the listAttachedOciCacheUsers operation. This iterator
|
|
368
|
+
* will fetch more data from the server as needed.
|
|
369
|
+
*
|
|
370
|
+
* @param request a request which can be sent to the service operation
|
|
371
|
+
*/
|
|
372
|
+
listAllAttachedOciCacheUsersResponses(request: requests.ListAttachedOciCacheUsersRequest): AsyncIterableIterator<responses.ListAttachedOciCacheUsersResponse>;
|
|
373
|
+
/**
|
|
374
|
+
* Creates a new async iterator which will iterate over the models.AttachedOciCacheUser objects
|
|
375
|
+
* contained in responses from the listAttachedOciCacheUsers operation. This iterator will fetch more data from the
|
|
376
|
+
* server as needed.
|
|
377
|
+
*
|
|
378
|
+
* @param request a request which can be sent to the service operation
|
|
379
|
+
*/
|
|
380
|
+
listAttachedOciCacheUsersRecordIterator(request: requests.ListAttachedOciCacheUsersRequest): AsyncIterableIterator<model.AttachedOciCacheUser>;
|
|
381
|
+
/**
|
|
382
|
+
* Creates a new async iterator which will iterate over the responses received from the listAttachedOciCacheUsers operation. This iterator
|
|
383
|
+
* will fetch more data from the server as needed.
|
|
384
|
+
*
|
|
385
|
+
* @param request a request which can be sent to the service operation
|
|
386
|
+
*/
|
|
387
|
+
listAttachedOciCacheUsersResponseIterator(request: requests.ListAttachedOciCacheUsersRequest): AsyncIterableIterator<responses.ListAttachedOciCacheUsersResponse>;
|
|
152
388
|
/**
|
|
153
389
|
* Gets the list of all nodes in a cluster.
|
|
154
390
|
*
|
|
@@ -209,4 +445,79 @@ export declare class RedisClusterClient {
|
|
|
209
445
|
*/
|
|
210
446
|
updateRedisCluster(updateRedisClusterRequest: requests.UpdateRedisClusterRequest): Promise<responses.UpdateRedisClusterResponse>;
|
|
211
447
|
}
|
|
448
|
+
export declare enum RedisIdentityApiKeys {
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
452
|
+
*/
|
|
453
|
+
export declare class RedisIdentityClient {
|
|
454
|
+
protected static serviceEndpointTemplate: string;
|
|
455
|
+
protected static endpointServiceName: string;
|
|
456
|
+
protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined;
|
|
457
|
+
protected "_endpoint": string;
|
|
458
|
+
protected "_defaultHeaders": any;
|
|
459
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
460
|
+
protected _circuitBreaker: typeof Breaker | null;
|
|
461
|
+
protected _httpOptions: any;
|
|
462
|
+
protected _bodyDuplexMode: any;
|
|
463
|
+
targetService: string;
|
|
464
|
+
protected _regionId: string;
|
|
465
|
+
protected "_region": common.Region;
|
|
466
|
+
protected _lastSetRegionOrRegionId: string;
|
|
467
|
+
protected _httpClient: common.HttpClient;
|
|
468
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
469
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
470
|
+
/**
|
|
471
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
472
|
+
*/
|
|
473
|
+
get endpoint(): string;
|
|
474
|
+
/**
|
|
475
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
476
|
+
* @param endpoint The endpoint of the service.
|
|
477
|
+
*/
|
|
478
|
+
set endpoint(endpoint: string);
|
|
479
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
480
|
+
/**
|
|
481
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
482
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
483
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
484
|
+
*/
|
|
485
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
|
|
486
|
+
/**
|
|
487
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
488
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
489
|
+
* @param region The region of the service.
|
|
490
|
+
*/
|
|
491
|
+
set region(region: common.Region);
|
|
492
|
+
/**
|
|
493
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
494
|
+
*
|
|
495
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
496
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
497
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
498
|
+
* @param regionId The public region ID.
|
|
499
|
+
*/
|
|
500
|
+
set regionId(regionId: string);
|
|
501
|
+
/**
|
|
502
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
503
|
+
*/
|
|
504
|
+
shutdownCircuitBreaker(): void;
|
|
505
|
+
/**
|
|
506
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
507
|
+
*/
|
|
508
|
+
closeProvider(): void;
|
|
509
|
+
/**
|
|
510
|
+
* Close the client once it is no longer needed
|
|
511
|
+
*/
|
|
512
|
+
close(): void;
|
|
513
|
+
/**
|
|
514
|
+
* Generates an identity token to sign in with the specified redis user for the redis cluster
|
|
515
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
516
|
+
* @param CreateIdentityTokenRequest
|
|
517
|
+
* @return CreateIdentityTokenResponse
|
|
518
|
+
* @throws OciError when an error occurs
|
|
519
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/redis/CreateIdentityToken.ts.html |here} to see how to use CreateIdentityToken API.
|
|
520
|
+
*/
|
|
521
|
+
createIdentityToken(createIdentityTokenRequest: requests.CreateIdentityTokenRequest): Promise<responses.CreateIdentityTokenResponse>;
|
|
522
|
+
}
|
|
212
523
|
export {};
|