oci-redis 2.130.0 → 2.131.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/index.d.ts +3 -0
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/lib/client.d.ts +148 -1
- package/lib/client.js +624 -2
- package/lib/client.js.map +1 -1
- package/lib/model/change-oci-cache-backup-compartment-details.d.ts +27 -0
- package/lib/model/change-oci-cache-backup-compartment-details.js +29 -0
- package/lib/model/change-oci-cache-backup-compartment-details.js.map +1 -0
- package/lib/model/create-identity-token-details.d.ts +0 -18
- package/lib/model/create-identity-token-details.js.map +1 -1
- package/lib/model/create-oci-cache-backup-details.d.ts +63 -0
- package/lib/model/create-oci-cache-backup-details.js +29 -0
- package/lib/model/create-oci-cache-backup-details.js.map +1 -0
- package/lib/model/create-redis-cluster-details.d.ts +6 -0
- package/lib/model/create-redis-cluster-details.js +30 -2
- package/lib/model/create-redis-cluster-details.js.map +1 -1
- package/lib/model/export-oci-cache-backup-to-object-storage-details.d.ts +33 -0
- package/lib/model/export-oci-cache-backup-to-object-storage-details.js +29 -0
- package/lib/model/export-oci-cache-backup-to-object-storage-details.js.map +1 -0
- package/lib/model/import-oci-cache-from-object-storage-details.d.ts +34 -0
- package/lib/model/import-oci-cache-from-object-storage-details.js +61 -0
- package/lib/model/import-oci-cache-from-object-storage-details.js.map +1 -0
- package/lib/model/import-oci-cache-from-object-storage-object.d.ts +25 -0
- package/lib/model/import-oci-cache-from-object-storage-object.js +29 -0
- package/lib/model/import-oci-cache-from-object-storage-object.js.map +1 -0
- package/lib/model/index.d.ts +18 -0
- package/lib/model/index.js +20 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/oci-cache-backup-collection.d.ts +26 -0
- package/lib/model/oci-cache-backup-collection.js +61 -0
- package/lib/model/oci-cache-backup-collection.js.map +1 -0
- package/lib/model/oci-cache-backup-summary.d.ts +106 -0
- package/lib/model/oci-cache-backup-summary.js +39 -0
- package/lib/model/oci-cache-backup-summary.js.map +1 -0
- package/lib/model/oci-cache-backup.d.ts +144 -0
- package/lib/model/oci-cache-backup.js +63 -0
- package/lib/model/oci-cache-backup.js.map +1 -0
- package/lib/model/operation-type.d.ts +5 -0
- package/lib/model/operation-type.js +5 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/redis-cluster-summary.d.ts +4 -0
- package/lib/model/redis-cluster-summary.js.map +1 -1
- package/lib/model/redis-cluster.d.ts +5 -0
- package/lib/model/redis-cluster.js +6 -0
- package/lib/model/redis-cluster.js.map +1 -1
- package/lib/model/update-oci-cache-backup-details.d.ts +51 -0
- package/lib/model/update-oci-cache-backup-details.js +29 -0
- package/lib/model/update-oci-cache-backup-details.js.map +1 -0
- package/lib/ocicachebackup-waiter.d.ts +29 -0
- package/lib/ocicachebackup-waiter.js +65 -0
- package/lib/ocicachebackup-waiter.js.map +1 -0
- package/lib/request/change-oci-cache-backup-compartment-request.d.ts +49 -0
- package/lib/request/change-oci-cache-backup-compartment-request.js +15 -0
- package/lib/request/change-oci-cache-backup-compartment-request.js.map +1 -0
- package/lib/request/create-oci-cache-backup-request.d.ts +36 -0
- package/lib/request/create-oci-cache-backup-request.js +15 -0
- package/lib/request/create-oci-cache-backup-request.js.map +1 -0
- package/lib/request/delete-oci-cache-backup-request.d.ts +35 -0
- package/lib/request/delete-oci-cache-backup-request.js +15 -0
- package/lib/request/delete-oci-cache-backup-request.js.map +1 -0
- package/lib/request/export-oci-cache-backup-to-object-storage-request.d.ts +49 -0
- package/lib/request/export-oci-cache-backup-to-object-storage-request.js +15 -0
- package/lib/request/export-oci-cache-backup-to-object-storage-request.js.map +1 -0
- package/lib/request/get-oci-cache-backup-request.d.ts +26 -0
- package/lib/request/get-oci-cache-backup-request.js +15 -0
- package/lib/request/get-oci-cache-backup-request.js.map +1 -0
- package/lib/request/index.d.ts +14 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-oci-cache-backups-request.d.ts +66 -0
- package/lib/request/list-oci-cache-backups-request.js +24 -0
- package/lib/request/list-oci-cache-backups-request.js.map +1 -0
- package/lib/request/update-oci-cache-backup-request.d.ts +40 -0
- package/lib/request/update-oci-cache-backup-request.js +15 -0
- package/lib/request/update-oci-cache-backup-request.js.map +1 -0
- package/lib/response/change-oci-cache-backup-compartment-response.d.ts +25 -0
- package/lib/response/change-oci-cache-backup-compartment-response.js +15 -0
- package/lib/response/change-oci-cache-backup-compartment-response.js.map +1 -0
- package/lib/response/create-oci-cache-backup-response.d.ts +35 -0
- package/lib/response/create-oci-cache-backup-response.js +15 -0
- package/lib/response/create-oci-cache-backup-response.js.map +1 -0
- package/lib/response/delete-oci-cache-backup-response.d.ts +25 -0
- package/lib/response/delete-oci-cache-backup-response.js +15 -0
- package/lib/response/delete-oci-cache-backup-response.js.map +1 -0
- package/lib/response/export-oci-cache-backup-to-object-storage-response.d.ts +25 -0
- package/lib/response/export-oci-cache-backup-to-object-storage-response.js +15 -0
- package/lib/response/export-oci-cache-backup-to-object-storage-response.js.map +1 -0
- package/lib/response/get-oci-cache-backup-response.d.ts +30 -0
- package/lib/response/get-oci-cache-backup-response.js +15 -0
- package/lib/response/get-oci-cache-backup-response.js.map +1 -0
- package/lib/response/index.d.ts +14 -0
- package/lib/response/list-oci-cache-backups-response.d.ts +32 -0
- package/lib/response/list-oci-cache-backups-response.js +15 -0
- package/lib/response/list-oci-cache-backups-response.js.map +1 -0
- package/lib/response/update-oci-cache-backup-response.d.ts +35 -0
- package/lib/response/update-oci-cache-backup-response.js +15 -0
- package/lib/response/update-oci-cache-backup-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,106 @@
|
|
|
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, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Summary of the OCI Cache Backup.
|
|
15
|
+
*/
|
|
16
|
+
export interface OciCacheBackupSummary {
|
|
17
|
+
/**
|
|
18
|
+
* Unique identifier that is immutable on creation
|
|
19
|
+
*/
|
|
20
|
+
"id": string;
|
|
21
|
+
/**
|
|
22
|
+
* Backup identifier, can be renamed
|
|
23
|
+
*/
|
|
24
|
+
"displayName": string;
|
|
25
|
+
/**
|
|
26
|
+
* Compartment identifier
|
|
27
|
+
*/
|
|
28
|
+
"compartmentId": string;
|
|
29
|
+
/**
|
|
30
|
+
* The source OCI Cache Cluster OCID.
|
|
31
|
+
*/
|
|
32
|
+
"sourceClusterId": string;
|
|
33
|
+
/**
|
|
34
|
+
* The date and time the backup was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
|
35
|
+
*/
|
|
36
|
+
"timeCreated": Date;
|
|
37
|
+
/**
|
|
38
|
+
* The date and time the backup was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
|
39
|
+
*/
|
|
40
|
+
"timeUpdated"?: Date;
|
|
41
|
+
/**
|
|
42
|
+
* The current state of the backup.
|
|
43
|
+
*/
|
|
44
|
+
"lifecycleState": string;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies whether the cluster is sharded or non-sharded.
|
|
47
|
+
*/
|
|
48
|
+
"clusterMode": string;
|
|
49
|
+
/**
|
|
50
|
+
* Specifies whether the backup was created from a replica or primary node
|
|
51
|
+
*/
|
|
52
|
+
"backupSource"?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Backup retention period in days. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
55
|
+
*/
|
|
56
|
+
"retentionPeriodInDays"?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Backup size in GB. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
59
|
+
*/
|
|
60
|
+
"backupSizeInGBs"?: number;
|
|
61
|
+
/**
|
|
62
|
+
* Backup Type.
|
|
63
|
+
*/
|
|
64
|
+
"backupType"?: OciCacheBackupSummary.BackupType;
|
|
65
|
+
/**
|
|
66
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
67
|
+
* Example: {@code {\"bar-key\": \"value\"}}
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"freeformTags": {
|
|
71
|
+
[key: string]: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
75
|
+
* Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
"definedTags": {
|
|
79
|
+
[key: string]: {
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
85
|
+
* Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
"systemTags"?: {
|
|
89
|
+
[key: string]: {
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
export declare namespace OciCacheBackupSummary {
|
|
95
|
+
enum BackupType {
|
|
96
|
+
Manual = "MANUAL",
|
|
97
|
+
Automated = "AUTOMATED",
|
|
98
|
+
/**
|
|
99
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
100
|
+
* version of the SDK.
|
|
101
|
+
*/
|
|
102
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
103
|
+
}
|
|
104
|
+
function getJsonObj(obj: OciCacheBackupSummary): object;
|
|
105
|
+
function getDeserializedJsonObj(obj: OciCacheBackupSummary): object;
|
|
106
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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, 2026, 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.OciCacheBackupSummary = void 0;
|
|
16
|
+
var OciCacheBackupSummary;
|
|
17
|
+
(function (OciCacheBackupSummary) {
|
|
18
|
+
let BackupType;
|
|
19
|
+
(function (BackupType) {
|
|
20
|
+
BackupType["Manual"] = "MANUAL";
|
|
21
|
+
BackupType["Automated"] = "AUTOMATED";
|
|
22
|
+
/**
|
|
23
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
24
|
+
* version of the SDK.
|
|
25
|
+
*/
|
|
26
|
+
BackupType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
27
|
+
})(BackupType = OciCacheBackupSummary.BackupType || (OciCacheBackupSummary.BackupType = {}));
|
|
28
|
+
function getJsonObj(obj) {
|
|
29
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
30
|
+
return jsonObj;
|
|
31
|
+
}
|
|
32
|
+
OciCacheBackupSummary.getJsonObj = getJsonObj;
|
|
33
|
+
function getDeserializedJsonObj(obj) {
|
|
34
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
35
|
+
return jsonObj;
|
|
36
|
+
}
|
|
37
|
+
OciCacheBackupSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
38
|
+
})(OciCacheBackupSummary = exports.OciCacheBackupSummary || (exports.OciCacheBackupSummary = {}));
|
|
39
|
+
//# sourceMappingURL=oci-cache-backup-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oci-cache-backup-summary.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/oci-cache-backup-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA6EH,IAAiB,qBAAqB,CAqBrC;AArBD,WAAiB,qBAAqB;IACpC,IAAY,UAQX;IARD,WAAY,UAAU;QACpB,+BAAiB,CAAA;QACjB,qCAAuB,CAAA;QACvB;;;WAGG;QACH,4CAA8B,CAAA;IAChC,CAAC,EARW,UAAU,GAAV,gCAAU,KAAV,gCAAU,QAQrB;IAED,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4CAAsB,yBAIrC,CAAA;AACH,CAAC,EArBgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAqBrC"}
|
|
@@ -0,0 +1,144 @@
|
|
|
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, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* OCI Cache cluster backup information
|
|
15
|
+
*/
|
|
16
|
+
export interface OciCacheBackup {
|
|
17
|
+
/**
|
|
18
|
+
* Unique identifier that is immutable on creation
|
|
19
|
+
*/
|
|
20
|
+
"id": string;
|
|
21
|
+
/**
|
|
22
|
+
* Backup display name
|
|
23
|
+
*/
|
|
24
|
+
"displayName": string;
|
|
25
|
+
/**
|
|
26
|
+
* Backup description
|
|
27
|
+
*/
|
|
28
|
+
"description"?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Backup compartment identifier
|
|
31
|
+
*/
|
|
32
|
+
"compartmentId": string;
|
|
33
|
+
/**
|
|
34
|
+
* Specifies whether the backup was created from a replica or primary node
|
|
35
|
+
*/
|
|
36
|
+
"backupSource"?: OciCacheBackup.BackupSource;
|
|
37
|
+
/**
|
|
38
|
+
* The current state of the backup.
|
|
39
|
+
*/
|
|
40
|
+
"lifecycleState": OciCacheBackup.LifecycleState;
|
|
41
|
+
/**
|
|
42
|
+
* Backup retention period in days. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
43
|
+
*/
|
|
44
|
+
"retentionPeriodInDays"?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Backup size in GB. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
47
|
+
*/
|
|
48
|
+
"backupSizeInGBs": number;
|
|
49
|
+
/**
|
|
50
|
+
* The source OCI Cache Cluster OCID.
|
|
51
|
+
*/
|
|
52
|
+
"sourceClusterId": string;
|
|
53
|
+
/**
|
|
54
|
+
* Specifies whether the cluster is sharded or non-sharded.
|
|
55
|
+
*/
|
|
56
|
+
"clusterMode": string;
|
|
57
|
+
/**
|
|
58
|
+
* The amount of memory allocated to the cluster, in gigabytes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
59
|
+
*/
|
|
60
|
+
"clusterMemoryInGBs"?: number;
|
|
61
|
+
/**
|
|
62
|
+
* The number of shards in a sharded cluster. Only applicable when clusterMode is SHARDED. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
63
|
+
*/
|
|
64
|
+
"shardCount"?: number;
|
|
65
|
+
/**
|
|
66
|
+
* The OCI Cache engine version that the cluster is running.
|
|
67
|
+
*/
|
|
68
|
+
"softwareVersion": string;
|
|
69
|
+
/**
|
|
70
|
+
* The date and time the backup was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
|
71
|
+
*/
|
|
72
|
+
"timeCreated"?: Date;
|
|
73
|
+
/**
|
|
74
|
+
* The date and time the backup was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
|
75
|
+
*/
|
|
76
|
+
"timeUpdated"?: Date;
|
|
77
|
+
/**
|
|
78
|
+
* Backup Type.
|
|
79
|
+
*/
|
|
80
|
+
"backupType"?: OciCacheBackup.BackupType;
|
|
81
|
+
/**
|
|
82
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
83
|
+
* Example: {@code {\"bar-key\": \"value\"}}
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
"freeformTags"?: {
|
|
87
|
+
[key: string]: string;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
91
|
+
* Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
"definedTags"?: {
|
|
95
|
+
[key: string]: {
|
|
96
|
+
[key: string]: any;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
101
|
+
* Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
102
|
+
*
|
|
103
|
+
*/
|
|
104
|
+
"systemTags"?: {
|
|
105
|
+
[key: string]: {
|
|
106
|
+
[key: string]: any;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
export declare namespace OciCacheBackup {
|
|
111
|
+
enum BackupSource {
|
|
112
|
+
Replica = "REPLICA",
|
|
113
|
+
Primary = "PRIMARY",
|
|
114
|
+
/**
|
|
115
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
116
|
+
* version of the SDK.
|
|
117
|
+
*/
|
|
118
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
119
|
+
}
|
|
120
|
+
enum LifecycleState {
|
|
121
|
+
Creating = "CREATING",
|
|
122
|
+
Updating = "UPDATING",
|
|
123
|
+
Active = "ACTIVE",
|
|
124
|
+
Deleting = "DELETING",
|
|
125
|
+
Deleted = "DELETED",
|
|
126
|
+
Failed = "FAILED",
|
|
127
|
+
/**
|
|
128
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
129
|
+
* version of the SDK.
|
|
130
|
+
*/
|
|
131
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
132
|
+
}
|
|
133
|
+
enum BackupType {
|
|
134
|
+
Manual = "MANUAL",
|
|
135
|
+
Automated = "AUTOMATED",
|
|
136
|
+
/**
|
|
137
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
138
|
+
* version of the SDK.
|
|
139
|
+
*/
|
|
140
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
141
|
+
}
|
|
142
|
+
function getJsonObj(obj: OciCacheBackup): object;
|
|
143
|
+
function getDeserializedJsonObj(obj: OciCacheBackup): object;
|
|
144
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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, 2026, 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.OciCacheBackup = void 0;
|
|
16
|
+
var OciCacheBackup;
|
|
17
|
+
(function (OciCacheBackup) {
|
|
18
|
+
let BackupSource;
|
|
19
|
+
(function (BackupSource) {
|
|
20
|
+
BackupSource["Replica"] = "REPLICA";
|
|
21
|
+
BackupSource["Primary"] = "PRIMARY";
|
|
22
|
+
/**
|
|
23
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
24
|
+
* version of the SDK.
|
|
25
|
+
*/
|
|
26
|
+
BackupSource["UnknownValue"] = "UNKNOWN_VALUE";
|
|
27
|
+
})(BackupSource = OciCacheBackup.BackupSource || (OciCacheBackup.BackupSource = {}));
|
|
28
|
+
let LifecycleState;
|
|
29
|
+
(function (LifecycleState) {
|
|
30
|
+
LifecycleState["Creating"] = "CREATING";
|
|
31
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
32
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
33
|
+
LifecycleState["Deleting"] = "DELETING";
|
|
34
|
+
LifecycleState["Deleted"] = "DELETED";
|
|
35
|
+
LifecycleState["Failed"] = "FAILED";
|
|
36
|
+
/**
|
|
37
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
38
|
+
* version of the SDK.
|
|
39
|
+
*/
|
|
40
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
41
|
+
})(LifecycleState = OciCacheBackup.LifecycleState || (OciCacheBackup.LifecycleState = {}));
|
|
42
|
+
let BackupType;
|
|
43
|
+
(function (BackupType) {
|
|
44
|
+
BackupType["Manual"] = "MANUAL";
|
|
45
|
+
BackupType["Automated"] = "AUTOMATED";
|
|
46
|
+
/**
|
|
47
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
48
|
+
* version of the SDK.
|
|
49
|
+
*/
|
|
50
|
+
BackupType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
51
|
+
})(BackupType = OciCacheBackup.BackupType || (OciCacheBackup.BackupType = {}));
|
|
52
|
+
function getJsonObj(obj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
OciCacheBackup.getJsonObj = getJsonObj;
|
|
57
|
+
function getDeserializedJsonObj(obj) {
|
|
58
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
59
|
+
return jsonObj;
|
|
60
|
+
}
|
|
61
|
+
OciCacheBackup.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
62
|
+
})(OciCacheBackup = exports.OciCacheBackup || (exports.OciCacheBackup = {}));
|
|
63
|
+
//# sourceMappingURL=oci-cache-backup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oci-cache-backup.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/oci-cache-backup.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA6FH,IAAiB,cAAc,CA6C9B;AA7CD,WAAiB,cAAc;IAC7B,IAAY,YAQX;IARD,WAAY,YAAY;QACtB,mCAAmB,CAAA;QACnB,mCAAmB,CAAA;QACnB;;;WAGG;QACH,8CAA8B,CAAA;IAChC,CAAC,EARW,YAAY,GAAZ,2BAAY,KAAZ,2BAAY,QAQvB;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,6BAAc,KAAd,6BAAc,QAYzB;IAED,IAAY,UAQX;IARD,WAAY,UAAU;QACpB,+BAAiB,CAAA;QACjB,qCAAuB,CAAA;QACvB;;;WAGG;QACH,4CAA8B,CAAA;IAChC,CAAC,EARW,UAAU,GAAV,yBAAU,KAAV,yBAAU,QAQrB;IAED,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAsB,yBAIrC,CAAA;AACH,CAAC,EA7CgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QA6C9B"}
|
|
@@ -35,6 +35,11 @@ export declare enum OperationType {
|
|
|
35
35
|
DeleteOciCacheConfigSet = "DELETE_OCI_CACHE_CONFIG_SET",
|
|
36
36
|
ChangeOciCacheConfigSetCompartment = "CHANGE_OCI_CACHE_CONFIG_SET_COMPARTMENT",
|
|
37
37
|
ChangeOciCacheUserCompartment = "CHANGE_OCI_CACHE_USER_COMPARTMENT",
|
|
38
|
+
CreateOciCacheBackup = "CREATE_OCI_CACHE_BACKUP",
|
|
39
|
+
UpdateOciCacheBackup = "UPDATE_OCI_CACHE_BACKUP",
|
|
40
|
+
DeleteOciCacheBackup = "DELETE_OCI_CACHE_BACKUP",
|
|
41
|
+
MoveOciCacheBackup = "MOVE_OCI_CACHE_BACKUP",
|
|
42
|
+
ExportOciCacheBackupToOs = "EXPORT_OCI_CACHE_BACKUP_TO_OS",
|
|
38
43
|
PatchOciCacheCluster = "PATCH_OCI_CACHE_CLUSTER",
|
|
39
44
|
ReplaceOciCacheNode = "REPLACE_OCI_CACHE_NODE",
|
|
40
45
|
/**
|
|
@@ -39,6 +39,11 @@ var OperationType;
|
|
|
39
39
|
OperationType["DeleteOciCacheConfigSet"] = "DELETE_OCI_CACHE_CONFIG_SET";
|
|
40
40
|
OperationType["ChangeOciCacheConfigSetCompartment"] = "CHANGE_OCI_CACHE_CONFIG_SET_COMPARTMENT";
|
|
41
41
|
OperationType["ChangeOciCacheUserCompartment"] = "CHANGE_OCI_CACHE_USER_COMPARTMENT";
|
|
42
|
+
OperationType["CreateOciCacheBackup"] = "CREATE_OCI_CACHE_BACKUP";
|
|
43
|
+
OperationType["UpdateOciCacheBackup"] = "UPDATE_OCI_CACHE_BACKUP";
|
|
44
|
+
OperationType["DeleteOciCacheBackup"] = "DELETE_OCI_CACHE_BACKUP";
|
|
45
|
+
OperationType["MoveOciCacheBackup"] = "MOVE_OCI_CACHE_BACKUP";
|
|
46
|
+
OperationType["ExportOciCacheBackupToOs"] = "EXPORT_OCI_CACHE_BACKUP_TO_OS";
|
|
42
47
|
OperationType["PatchOciCacheCluster"] = "PATCH_OCI_CACHE_CLUSTER";
|
|
43
48
|
OperationType["ReplaceOciCacheNode"] = "REPLACE_OCI_CACHE_NODE";
|
|
44
49
|
/**
|
|
@@ -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,aAmCX;AAnCD,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;IAC5C,6DAA4C,CAAA;IAC5C,wEAAuD,CAAA;IACvD,wEAAuD,CAAA;IACvD,wEAAuD,CAAA;IACvD,+FAA8E,CAAA;IAC9E,oFAAmE,CAAA;IACnE,iEAAgD,CAAA;IAChD,iEAAgD,CAAA;IAChD,iEAAgD,CAAA;IAChD,6DAA4C,CAAA;IAC5C,2EAA0D,CAAA;IAC1D,iEAAgD,CAAA;IAChD,+DAA8C,CAAA;IAE9C;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EAnCW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAmCxB;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"}
|
|
@@ -102,6 +102,10 @@ export interface RedisClusterSummary {
|
|
|
102
102
|
*
|
|
103
103
|
*/
|
|
104
104
|
"nsgIds"?: Array<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The ID of the OCI Cache Backup from which this cluster was created.
|
|
107
|
+
*/
|
|
108
|
+
"backupId"?: string;
|
|
105
109
|
/**
|
|
106
110
|
* Security attributes for redis cluster resource. Each key is predefined and scoped to a namespace.
|
|
107
111
|
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redis-cluster-summary.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/redis-cluster-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;
|
|
1
|
+
{"version":3,"file":"redis-cluster-summary.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/redis-cluster-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAiIH,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"}
|
|
@@ -103,6 +103,11 @@ export interface RedisCluster {
|
|
|
103
103
|
*
|
|
104
104
|
*/
|
|
105
105
|
"nsgIds"?: Array<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The ID of the OCI Cache Backup from which this cluster was created.
|
|
108
|
+
*/
|
|
109
|
+
"backupId"?: string;
|
|
110
|
+
"importFromObjectStorageDetails"?: model.ImportOciCacheFromObjectStorageDetails;
|
|
106
111
|
/**
|
|
107
112
|
* Security attributes for redis cluster resource. Each key is predefined and scoped to a namespace.
|
|
108
113
|
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
@@ -75,6 +75,9 @@ var RedisCluster;
|
|
|
75
75
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
76
76
|
"nodeCollection": obj.nodeCollection
|
|
77
77
|
? model.NodeCollection.getJsonObj(obj.nodeCollection)
|
|
78
|
+
: undefined,
|
|
79
|
+
"importFromObjectStorageDetails": obj.importFromObjectStorageDetails
|
|
80
|
+
? model.ImportOciCacheFromObjectStorageDetails.getJsonObj(obj.importFromObjectStorageDetails)
|
|
78
81
|
: undefined
|
|
79
82
|
});
|
|
80
83
|
return jsonObj;
|
|
@@ -84,6 +87,9 @@ var RedisCluster;
|
|
|
84
87
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
85
88
|
"nodeCollection": obj.nodeCollection
|
|
86
89
|
? model.NodeCollection.getDeserializedJsonObj(obj.nodeCollection)
|
|
90
|
+
: undefined,
|
|
91
|
+
"importFromObjectStorageDetails": obj.importFromObjectStorageDetails
|
|
92
|
+
? model.ImportOciCacheFromObjectStorageDetails.getDeserializedJsonObj(obj.importFromObjectStorageDetails)
|
|
87
93
|
: undefined
|
|
88
94
|
});
|
|
89
95
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redis-cluster.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/redis-cluster.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"redis-cluster.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/redis-cluster.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgIlC,IAAiB,YAAY,CAyE5B;AAzED,WAAiB,YAAY;IAC3B,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,IAAY,eAUX;IAVD,WAAY,eAAe;QACzB,kCAAe,CAAA;QACf,wCAAqB,CAAA;QACrB,0CAAuB,CAAA;QACvB,0CAAuB,CAAA;QACvB;;;WAGG;QACH,iDAA8B,CAAA;IAChC,CAAC,EAVW,eAAe,GAAf,4BAAe,KAAf,4BAAe,QAU1B;IAED,IAAY,WAQX;IARD,WAAY,WAAW;QACrB,kCAAmB,CAAA;QACnB,wCAAyB,CAAA;QACzB;;;WAGG;QACH,6CAA8B,CAAA;IAChC,CAAC,EARW,WAAW,GAAX,wBAAW,KAAX,wBAAW,QAQtB;IAED,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;YAEb,gCAAgC,EAAE,GAAG,CAAC,8BAA8B;gBAClE,CAAC,CAAC,KAAK,CAAC,sCAAsC,CAAC,UAAU,CACrD,GAAG,CAAC,8BAA8B,CACnC;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,uBAAU,aAiBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACjE,CAAC,CAAC,SAAS;YAEb,gCAAgC,EAAE,GAAG,CAAC,8BAA8B;gBAClE,CAAC,CAAC,KAAK,CAAC,sCAAsC,CAAC,sBAAsB,CACjE,GAAG,CAAC,8BAA8B,CACnC;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,mCAAsB,yBAiBrC,CAAA;AACH,CAAC,EAzEgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAyE5B"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* The OCI Cache backup information to be updated.
|
|
15
|
+
*/
|
|
16
|
+
export interface UpdateOciCacheBackupDetails {
|
|
17
|
+
/**
|
|
18
|
+
* Backup display name
|
|
19
|
+
*/
|
|
20
|
+
"displayName"?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Backup description
|
|
23
|
+
*/
|
|
24
|
+
"description"?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Backup retention period in days. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
27
|
+
*/
|
|
28
|
+
"retentionPeriodInDays"?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
31
|
+
* Example: {@code {\"bar-key\": \"value\"}}
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"freeformTags"?: {
|
|
35
|
+
[key: string]: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
39
|
+
* Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
"definedTags"?: {
|
|
43
|
+
[key: string]: {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export declare namespace UpdateOciCacheBackupDetails {
|
|
49
|
+
function getJsonObj(obj: UpdateOciCacheBackupDetails): object;
|
|
50
|
+
function getDeserializedJsonObj(obj: UpdateOciCacheBackupDetails): object;
|
|
51
|
+
}
|
|
@@ -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, 2026, 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.UpdateOciCacheBackupDetails = void 0;
|
|
16
|
+
var UpdateOciCacheBackupDetails;
|
|
17
|
+
(function (UpdateOciCacheBackupDetails) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
UpdateOciCacheBackupDetails.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
UpdateOciCacheBackupDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(UpdateOciCacheBackupDetails = exports.UpdateOciCacheBackupDetails || (exports.UpdateOciCacheBackupDetails = {}));
|
|
29
|
+
//# sourceMappingURL=update-oci-cache-backup-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-oci-cache-backup-details.js","sourceRoot":"","sources":["../../../../../lib/redis/lib/model/update-oci-cache-backup-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmCH,IAAiB,2BAA2B,CAW3C;AAXD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAW3C"}
|
|
@@ -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, 2026, 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 { OciCacheBackupClient } from "./client";
|
|
17
|
+
export declare class OciCacheBackupWaiter {
|
|
18
|
+
private client;
|
|
19
|
+
private readonly config?;
|
|
20
|
+
constructor(client: OciCacheBackupClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
|
|
21
|
+
/**
|
|
22
|
+
* Waits forOciCacheBackup 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 GetOciCacheBackupResponse | null (null in case of 404 response)
|
|
27
|
+
*/
|
|
28
|
+
forOciCacheBackup(request: serviceRequests.GetOciCacheBackupRequest, ...targetStates: models.OciCacheBackup.LifecycleState[]): Promise<serviceResponses.GetOciCacheBackupResponse | 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, 2026, 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.OciCacheBackupWaiter = void 0;
|
|
44
|
+
const models = __importStar(require("./model"));
|
|
45
|
+
const oci_common_1 = require("oci-common");
|
|
46
|
+
class OciCacheBackupWaiter {
|
|
47
|
+
constructor(client, config) {
|
|
48
|
+
this.client = client;
|
|
49
|
+
this.config = config;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Waits forOciCacheBackup 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 GetOciCacheBackupResponse | null (null in case of 404 response)
|
|
57
|
+
*/
|
|
58
|
+
forOciCacheBackup(request, ...targetStates) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getOciCacheBackup(request), response => targetStates.includes(response.ociCacheBackup.lifecycleState), targetStates.includes(models.OciCacheBackup.LifecycleState.Deleted));
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.OciCacheBackupWaiter = OciCacheBackupWaiter;
|
|
65
|
+
//# sourceMappingURL=ocicachebackup-waiter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ocicachebackup-waiter.js","sourceRoot":"","sources":["../../../../lib/redis/lib/ocicachebackup-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,oBAAoB;IAC/B,YACU,MAA4B,EACnB,MAA4B;QADrC,WAAM,GAAN,MAAM,CAAsB;QACnB,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,iBAAiB,CAC5B,OAAiD,EACjD,GAAG,YAAoD;;YAEvD,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAC5C,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,cAAc,CAAC,cAAe,CAAC,EAC1E,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC,OAAO,CAAC,CACpE,CAAC;QACJ,CAAC;KAAA;CACF;AAxBD,oDAwBC"}
|