oci-filestorage 2.57.0 → 2.58.1
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/lib/client.d.ts +45 -35
- package/lib/client.js +58 -35
- package/lib/client.js.map +1 -1
- package/lib/request/change-file-system-compartment-request.d.ts +1 -1
- package/lib/request/change-mount-target-compartment-request.d.ts +1 -1
- package/lib/request/change-replication-compartment-request.d.ts +1 -1
- package/lib/request/create-export-request.d.ts +1 -1
- package/lib/request/create-file-system-request.d.ts +1 -1
- package/lib/request/create-mount-target-request.d.ts +1 -1
- package/lib/request/create-replication-request.d.ts +1 -1
- package/lib/request/create-snapshot-request.d.ts +1 -1
- package/lib/request/delete-export-request.d.ts +1 -1
- package/lib/request/delete-file-system-request.d.ts +1 -1
- package/lib/request/delete-mount-target-request.d.ts +1 -1
- package/lib/request/delete-replication-request.d.ts +1 -1
- package/lib/request/delete-replication-target-request.d.ts +1 -1
- package/lib/request/delete-snapshot-request.d.ts +1 -1
- package/lib/request/estimate-replication-request.d.ts +1 -1
- package/lib/request/get-export-request.d.ts +1 -1
- package/lib/request/get-export-set-request.d.ts +1 -1
- package/lib/request/get-file-system-request.d.ts +1 -1
- package/lib/request/get-mount-target-request.d.ts +1 -1
- package/lib/request/get-replication-request.d.ts +1 -1
- package/lib/request/get-replication-target-request.d.ts +1 -1
- package/lib/request/get-snapshot-request.d.ts +1 -1
- package/lib/request/list-export-sets-request.d.ts +1 -1
- package/lib/request/list-exports-request.d.ts +1 -1
- package/lib/request/list-file-systems-request.d.ts +1 -1
- package/lib/request/list-mount-targets-request.d.ts +1 -1
- package/lib/request/list-replication-targets-request.d.ts +1 -1
- package/lib/request/list-replications-request.d.ts +1 -1
- package/lib/request/list-snapshots-request.d.ts +1 -1
- package/lib/request/update-export-request.d.ts +1 -1
- package/lib/request/update-export-set-request.d.ts +1 -1
- package/lib/request/update-file-system-request.d.ts +1 -1
- package/lib/request/update-mount-target-request.d.ts +1 -1
- package/lib/request/update-replication-request.d.ts +1 -1
- package/lib/request/update-snapshot-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -59,11 +59,14 @@ var FileStorageApiKeys;
|
|
|
59
59
|
*/
|
|
60
60
|
class FileStorageClient {
|
|
61
61
|
constructor(params, clientConfiguration) {
|
|
62
|
+
this["_realmSpecificEndpointTemplateEnabled"] = false;
|
|
62
63
|
this["_endpoint"] = "";
|
|
63
64
|
this["_defaultHeaders"] = {};
|
|
64
65
|
this._circuitBreaker = null;
|
|
65
66
|
this._httpOptions = undefined;
|
|
66
67
|
this.targetService = "FileStorage";
|
|
68
|
+
this._regionId = "";
|
|
69
|
+
this._lastSetRegionOrRegionId = "";
|
|
67
70
|
const requestSigner = params.authenticationDetailsProvider
|
|
68
71
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
69
72
|
: null;
|
|
@@ -113,13 +116,31 @@ class FileStorageClient {
|
|
|
113
116
|
get logger() {
|
|
114
117
|
return common.LOG.logger;
|
|
115
118
|
}
|
|
119
|
+
/**
|
|
120
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
121
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
122
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
123
|
+
*/
|
|
124
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
125
|
+
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
126
|
+
if (this.logger)
|
|
127
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
128
|
+
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
129
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(FileStorageClient.serviceEndpointTemplate, this._region, FileStorageClient.endpointServiceName);
|
|
130
|
+
}
|
|
131
|
+
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
|
|
132
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(FileStorageClient.serviceEndpointTemplate, this._regionId, FileStorageClient.endpointServiceName);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
116
135
|
/**
|
|
117
136
|
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
118
137
|
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
119
138
|
* @param region The region of the service.
|
|
120
139
|
*/
|
|
121
140
|
set region(region) {
|
|
141
|
+
this._region = region;
|
|
122
142
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(FileStorageClient.serviceEndpointTemplate, region, FileStorageClient.endpointServiceName);
|
|
143
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
|
|
123
144
|
}
|
|
124
145
|
/**
|
|
125
146
|
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
@@ -130,7 +151,9 @@ class FileStorageClient {
|
|
|
130
151
|
* @param regionId The public region ID.
|
|
131
152
|
*/
|
|
132
153
|
set regionId(regionId) {
|
|
154
|
+
this._regionId = regionId;
|
|
133
155
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(FileStorageClient.serviceEndpointTemplate, regionId, FileStorageClient.endpointServiceName);
|
|
156
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
|
|
134
157
|
}
|
|
135
158
|
/**
|
|
136
159
|
* Creates a new FileStorageWaiter for resources for this service.
|
|
@@ -160,7 +183,7 @@ class FileStorageClient {
|
|
|
160
183
|
* @param ChangeFileSystemCompartmentRequest
|
|
161
184
|
* @return ChangeFileSystemCompartmentResponse
|
|
162
185
|
* @throws OciError when an error occurs
|
|
163
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
186
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/ChangeFileSystemCompartment.ts.html |here} to see how to use ChangeFileSystemCompartment API.
|
|
164
187
|
*/
|
|
165
188
|
changeFileSystemCompartment(changeFileSystemCompartmentRequest) {
|
|
166
189
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -217,7 +240,7 @@ class FileStorageClient {
|
|
|
217
240
|
* @param ChangeMountTargetCompartmentRequest
|
|
218
241
|
* @return ChangeMountTargetCompartmentResponse
|
|
219
242
|
* @throws OciError when an error occurs
|
|
220
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
243
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/ChangeMountTargetCompartment.ts.html |here} to see how to use ChangeMountTargetCompartment API.
|
|
221
244
|
*/
|
|
222
245
|
changeMountTargetCompartment(changeMountTargetCompartmentRequest) {
|
|
223
246
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -275,7 +298,7 @@ class FileStorageClient {
|
|
|
275
298
|
* @param ChangeReplicationCompartmentRequest
|
|
276
299
|
* @return ChangeReplicationCompartmentResponse
|
|
277
300
|
* @throws OciError when an error occurs
|
|
278
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
301
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/ChangeReplicationCompartment.ts.html |here} to see how to use ChangeReplicationCompartment API.
|
|
279
302
|
*/
|
|
280
303
|
changeReplicationCompartment(changeReplicationCompartmentRequest) {
|
|
281
304
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -333,7 +356,7 @@ class FileStorageClient {
|
|
|
333
356
|
* @param CreateExportRequest
|
|
334
357
|
* @return CreateExportResponse
|
|
335
358
|
* @throws OciError when an error occurs
|
|
336
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
359
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/CreateExport.ts.html |here} to see how to use CreateExport API.
|
|
337
360
|
*/
|
|
338
361
|
createExport(createExportRequest) {
|
|
339
362
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -425,7 +448,7 @@ class FileStorageClient {
|
|
|
425
448
|
* @param CreateFileSystemRequest
|
|
426
449
|
* @return CreateFileSystemResponse
|
|
427
450
|
* @throws OciError when an error occurs
|
|
428
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
451
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/CreateFileSystem.ts.html |here} to see how to use CreateFileSystem API.
|
|
429
452
|
*/
|
|
430
453
|
createFileSystem(createFileSystemRequest) {
|
|
431
454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -520,7 +543,7 @@ class FileStorageClient {
|
|
|
520
543
|
* @param CreateMountTargetRequest
|
|
521
544
|
* @return CreateMountTargetResponse
|
|
522
545
|
* @throws OciError when an error occurs
|
|
523
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
546
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/CreateMountTarget.ts.html |here} to see how to use CreateMountTarget API.
|
|
524
547
|
*/
|
|
525
548
|
createMountTarget(createMountTargetRequest) {
|
|
526
549
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -610,7 +633,7 @@ class FileStorageClient {
|
|
|
610
633
|
* @param CreateReplicationRequest
|
|
611
634
|
* @return CreateReplicationResponse
|
|
612
635
|
* @throws OciError when an error occurs
|
|
613
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
636
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/CreateReplication.ts.html |here} to see how to use CreateReplication API.
|
|
614
637
|
*/
|
|
615
638
|
createReplication(createReplicationRequest) {
|
|
616
639
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -675,7 +698,7 @@ class FileStorageClient {
|
|
|
675
698
|
* @param CreateSnapshotRequest
|
|
676
699
|
* @return CreateSnapshotResponse
|
|
677
700
|
* @throws OciError when an error occurs
|
|
678
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
701
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/CreateSnapshot.ts.html |here} to see how to use CreateSnapshot API.
|
|
679
702
|
*/
|
|
680
703
|
createSnapshot(createSnapshotRequest) {
|
|
681
704
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -739,7 +762,7 @@ class FileStorageClient {
|
|
|
739
762
|
* @param DeleteExportRequest
|
|
740
763
|
* @return DeleteExportResponse
|
|
741
764
|
* @throws OciError when an error occurs
|
|
742
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
765
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/DeleteExport.ts.html |here} to see how to use DeleteExport API.
|
|
743
766
|
*/
|
|
744
767
|
deleteExport(deleteExportRequest) {
|
|
745
768
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -797,7 +820,7 @@ class FileStorageClient {
|
|
|
797
820
|
* @param DeleteFileSystemRequest
|
|
798
821
|
* @return DeleteFileSystemResponse
|
|
799
822
|
* @throws OciError when an error occurs
|
|
800
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
823
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/DeleteFileSystem.ts.html |here} to see how to use DeleteFileSystem API.
|
|
801
824
|
*/
|
|
802
825
|
deleteFileSystem(deleteFileSystemRequest) {
|
|
803
826
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -854,7 +877,7 @@ class FileStorageClient {
|
|
|
854
877
|
* @param DeleteMountTargetRequest
|
|
855
878
|
* @return DeleteMountTargetResponse
|
|
856
879
|
* @throws OciError when an error occurs
|
|
857
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
880
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/DeleteMountTarget.ts.html |here} to see how to use DeleteMountTarget API.
|
|
858
881
|
*/
|
|
859
882
|
deleteMountTarget(deleteMountTargetRequest) {
|
|
860
883
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -910,7 +933,7 @@ class FileStorageClient {
|
|
|
910
933
|
* @param DeleteReplicationRequest
|
|
911
934
|
* @return DeleteReplicationResponse
|
|
912
935
|
* @throws OciError when an error occurs
|
|
913
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
936
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/DeleteReplication.ts.html |here} to see how to use DeleteReplication API.
|
|
914
937
|
*/
|
|
915
938
|
deleteReplication(deleteReplicationRequest) {
|
|
916
939
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -971,7 +994,7 @@ class FileStorageClient {
|
|
|
971
994
|
* @param DeleteReplicationTargetRequest
|
|
972
995
|
* @return DeleteReplicationTargetResponse
|
|
973
996
|
* @throws OciError when an error occurs
|
|
974
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
997
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/DeleteReplicationTarget.ts.html |here} to see how to use DeleteReplicationTarget API.
|
|
975
998
|
*/
|
|
976
999
|
deleteReplicationTarget(deleteReplicationTargetRequest) {
|
|
977
1000
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1027,7 +1050,7 @@ class FileStorageClient {
|
|
|
1027
1050
|
* @param DeleteSnapshotRequest
|
|
1028
1051
|
* @return DeleteSnapshotResponse
|
|
1029
1052
|
* @throws OciError when an error occurs
|
|
1030
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1053
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/DeleteSnapshot.ts.html |here} to see how to use DeleteSnapshot API.
|
|
1031
1054
|
*/
|
|
1032
1055
|
deleteSnapshot(deleteSnapshotRequest) {
|
|
1033
1056
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1083,7 +1106,7 @@ class FileStorageClient {
|
|
|
1083
1106
|
* @param EstimateReplicationRequest
|
|
1084
1107
|
* @return EstimateReplicationResponse
|
|
1085
1108
|
* @throws OciError when an error occurs
|
|
1086
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1109
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/EstimateReplication.ts.html |here} to see how to use EstimateReplication API.
|
|
1087
1110
|
*/
|
|
1088
1111
|
estimateReplication(estimateReplicationRequest) {
|
|
1089
1112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1149,7 +1172,7 @@ class FileStorageClient {
|
|
|
1149
1172
|
* @param GetExportRequest
|
|
1150
1173
|
* @return GetExportResponse
|
|
1151
1174
|
* @throws OciError when an error occurs
|
|
1152
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1175
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/GetExport.ts.html |here} to see how to use GetExport API.
|
|
1153
1176
|
*/
|
|
1154
1177
|
getExport(getExportRequest) {
|
|
1155
1178
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1212,7 +1235,7 @@ class FileStorageClient {
|
|
|
1212
1235
|
* @param GetExportSetRequest
|
|
1213
1236
|
* @return GetExportSetResponse
|
|
1214
1237
|
* @throws OciError when an error occurs
|
|
1215
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1238
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/GetExportSet.ts.html |here} to see how to use GetExportSet API.
|
|
1216
1239
|
*/
|
|
1217
1240
|
getExportSet(getExportSetRequest) {
|
|
1218
1241
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1275,7 +1298,7 @@ class FileStorageClient {
|
|
|
1275
1298
|
* @param GetFileSystemRequest
|
|
1276
1299
|
* @return GetFileSystemResponse
|
|
1277
1300
|
* @throws OciError when an error occurs
|
|
1278
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1301
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/GetFileSystem.ts.html |here} to see how to use GetFileSystem API.
|
|
1279
1302
|
*/
|
|
1280
1303
|
getFileSystem(getFileSystemRequest) {
|
|
1281
1304
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1338,7 +1361,7 @@ class FileStorageClient {
|
|
|
1338
1361
|
* @param GetMountTargetRequest
|
|
1339
1362
|
* @return GetMountTargetResponse
|
|
1340
1363
|
* @throws OciError when an error occurs
|
|
1341
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1364
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/GetMountTarget.ts.html |here} to see how to use GetMountTarget API.
|
|
1342
1365
|
*/
|
|
1343
1366
|
getMountTarget(getMountTargetRequest) {
|
|
1344
1367
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1401,7 +1424,7 @@ class FileStorageClient {
|
|
|
1401
1424
|
* @param GetReplicationRequest
|
|
1402
1425
|
* @return GetReplicationResponse
|
|
1403
1426
|
* @throws OciError when an error occurs
|
|
1404
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1427
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/GetReplication.ts.html |here} to see how to use GetReplication API.
|
|
1405
1428
|
*/
|
|
1406
1429
|
getReplication(getReplicationRequest) {
|
|
1407
1430
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1464,7 +1487,7 @@ class FileStorageClient {
|
|
|
1464
1487
|
* @param GetReplicationTargetRequest
|
|
1465
1488
|
* @return GetReplicationTargetResponse
|
|
1466
1489
|
* @throws OciError when an error occurs
|
|
1467
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1490
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/GetReplicationTarget.ts.html |here} to see how to use GetReplicationTarget API.
|
|
1468
1491
|
*/
|
|
1469
1492
|
getReplicationTarget(getReplicationTargetRequest) {
|
|
1470
1493
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1527,7 +1550,7 @@ class FileStorageClient {
|
|
|
1527
1550
|
* @param GetSnapshotRequest
|
|
1528
1551
|
* @return GetSnapshotResponse
|
|
1529
1552
|
* @throws OciError when an error occurs
|
|
1530
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1553
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/GetSnapshot.ts.html |here} to see how to use GetSnapshot API.
|
|
1531
1554
|
*/
|
|
1532
1555
|
getSnapshot(getSnapshotRequest) {
|
|
1533
1556
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1591,7 +1614,7 @@ class FileStorageClient {
|
|
|
1591
1614
|
* @param ListExportSetsRequest
|
|
1592
1615
|
* @return ListExportSetsResponse
|
|
1593
1616
|
* @throws OciError when an error occurs
|
|
1594
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1617
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/ListExportSets.ts.html |here} to see how to use ListExportSets API.
|
|
1595
1618
|
*/
|
|
1596
1619
|
listExportSets(listExportSetsRequest) {
|
|
1597
1620
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1705,7 +1728,7 @@ class FileStorageClient {
|
|
|
1705
1728
|
* @param ListExportsRequest
|
|
1706
1729
|
* @return ListExportsResponse
|
|
1707
1730
|
* @throws OciError when an error occurs
|
|
1708
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1731
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/ListExports.ts.html |here} to see how to use ListExports API.
|
|
1709
1732
|
*/
|
|
1710
1733
|
listExports(listExportsRequest) {
|
|
1711
1734
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1817,7 +1840,7 @@ class FileStorageClient {
|
|
|
1817
1840
|
* @param ListFileSystemsRequest
|
|
1818
1841
|
* @return ListFileSystemsResponse
|
|
1819
1842
|
* @throws OciError when an error occurs
|
|
1820
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1843
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/ListFileSystems.ts.html |here} to see how to use ListFileSystems API.
|
|
1821
1844
|
*/
|
|
1822
1845
|
listFileSystems(listFileSystemsRequest) {
|
|
1823
1846
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1931,7 +1954,7 @@ class FileStorageClient {
|
|
|
1931
1954
|
* @param ListMountTargetsRequest
|
|
1932
1955
|
* @return ListMountTargetsResponse
|
|
1933
1956
|
* @throws OciError when an error occurs
|
|
1934
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1957
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/ListMountTargets.ts.html |here} to see how to use ListMountTargets API.
|
|
1935
1958
|
*/
|
|
1936
1959
|
listMountTargets(listMountTargetsRequest) {
|
|
1937
1960
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2044,7 +2067,7 @@ class FileStorageClient {
|
|
|
2044
2067
|
* @param ListReplicationTargetsRequest
|
|
2045
2068
|
* @return ListReplicationTargetsResponse
|
|
2046
2069
|
* @throws OciError when an error occurs
|
|
2047
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2070
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/ListReplicationTargets.ts.html |here} to see how to use ListReplicationTargets API.
|
|
2048
2071
|
*/
|
|
2049
2072
|
listReplicationTargets(listReplicationTargetsRequest) {
|
|
2050
2073
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2156,7 +2179,7 @@ class FileStorageClient {
|
|
|
2156
2179
|
* @param ListReplicationsRequest
|
|
2157
2180
|
* @return ListReplicationsResponse
|
|
2158
2181
|
* @throws OciError when an error occurs
|
|
2159
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2182
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/ListReplications.ts.html |here} to see how to use ListReplications API.
|
|
2160
2183
|
*/
|
|
2161
2184
|
listReplications(listReplicationsRequest) {
|
|
2162
2185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2269,7 +2292,7 @@ class FileStorageClient {
|
|
|
2269
2292
|
* @param ListSnapshotsRequest
|
|
2270
2293
|
* @return ListSnapshotsResponse
|
|
2271
2294
|
* @throws OciError when an error occurs
|
|
2272
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2295
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/ListSnapshots.ts.html |here} to see how to use ListSnapshots API.
|
|
2273
2296
|
*/
|
|
2274
2297
|
listSnapshots(listSnapshotsRequest) {
|
|
2275
2298
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2377,7 +2400,7 @@ class FileStorageClient {
|
|
|
2377
2400
|
* @param UpdateExportRequest
|
|
2378
2401
|
* @return UpdateExportResponse
|
|
2379
2402
|
* @throws OciError when an error occurs
|
|
2380
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2403
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/UpdateExport.ts.html |here} to see how to use UpdateExport API.
|
|
2381
2404
|
*/
|
|
2382
2405
|
updateExport(updateExportRequest) {
|
|
2383
2406
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2442,7 +2465,7 @@ class FileStorageClient {
|
|
|
2442
2465
|
* @param UpdateExportSetRequest
|
|
2443
2466
|
* @return UpdateExportSetResponse
|
|
2444
2467
|
* @throws OciError when an error occurs
|
|
2445
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2468
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/UpdateExportSet.ts.html |here} to see how to use UpdateExportSet API.
|
|
2446
2469
|
*/
|
|
2447
2470
|
updateExportSet(updateExportSetRequest) {
|
|
2448
2471
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2509,7 +2532,7 @@ class FileStorageClient {
|
|
|
2509
2532
|
* @param UpdateFileSystemRequest
|
|
2510
2533
|
* @return UpdateFileSystemResponse
|
|
2511
2534
|
* @throws OciError when an error occurs
|
|
2512
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2535
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/UpdateFileSystem.ts.html |here} to see how to use UpdateFileSystem API.
|
|
2513
2536
|
*/
|
|
2514
2537
|
updateFileSystem(updateFileSystemRequest) {
|
|
2515
2538
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2574,7 +2597,7 @@ class FileStorageClient {
|
|
|
2574
2597
|
* @param UpdateMountTargetRequest
|
|
2575
2598
|
* @return UpdateMountTargetResponse
|
|
2576
2599
|
* @throws OciError when an error occurs
|
|
2577
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2600
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/UpdateMountTarget.ts.html |here} to see how to use UpdateMountTarget API.
|
|
2578
2601
|
*/
|
|
2579
2602
|
updateMountTarget(updateMountTargetRequest) {
|
|
2580
2603
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2640,7 +2663,7 @@ class FileStorageClient {
|
|
|
2640
2663
|
* @param UpdateReplicationRequest
|
|
2641
2664
|
* @return UpdateReplicationResponse
|
|
2642
2665
|
* @throws OciError when an error occurs
|
|
2643
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2666
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/UpdateReplication.ts.html |here} to see how to use UpdateReplication API.
|
|
2644
2667
|
*/
|
|
2645
2668
|
updateReplication(updateReplicationRequest) {
|
|
2646
2669
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2705,7 +2728,7 @@ class FileStorageClient {
|
|
|
2705
2728
|
* @param UpdateSnapshotRequest
|
|
2706
2729
|
* @return UpdateSnapshotResponse
|
|
2707
2730
|
* @throws OciError when an error occurs
|
|
2708
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2731
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/filestorage/UpdateSnapshot.ts.html |here} to see how to use UpdateSnapshot API.
|
|
2709
2732
|
*/
|
|
2710
2733
|
updateSnapshot(updateSnapshotRequest) {
|
|
2711
2734
|
return __awaiter(this, void 0, void 0, function* () {
|