oci-filestorage 2.60.0 → 2.62.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.
Files changed (134) hide show
  1. package/lib/client.d.ts +170 -43
  2. package/lib/client.js +610 -43
  3. package/lib/client.js.map +1 -1
  4. package/lib/filestorage-waiter.d.ts +8 -0
  5. package/lib/filestorage-waiter.js +12 -0
  6. package/lib/filestorage-waiter.js.map +1 -1
  7. package/lib/model/change-filesystem-snapshot-policy-compartment-details.d.ts +28 -0
  8. package/lib/model/change-filesystem-snapshot-policy-compartment-details.js +31 -0
  9. package/lib/model/change-filesystem-snapshot-policy-compartment-details.js.map +1 -0
  10. package/lib/model/client-options.d.ts +1 -1
  11. package/lib/model/create-export-details.d.ts +6 -2
  12. package/lib/model/create-export-details.js.map +1 -1
  13. package/lib/model/create-file-system-details.d.ts +8 -0
  14. package/lib/model/create-file-system-details.js.map +1 -1
  15. package/lib/model/create-filesystem-snapshot-policy-details.d.ts +82 -0
  16. package/lib/model/create-filesystem-snapshot-policy-details.js +63 -0
  17. package/lib/model/create-filesystem-snapshot-policy-details.js.map +1 -0
  18. package/lib/model/create-snapshot-details.d.ts +4 -0
  19. package/lib/model/create-snapshot-details.js.map +1 -1
  20. package/lib/model/file-system.d.ts +6 -0
  21. package/lib/model/file-system.js.map +1 -1
  22. package/lib/model/filesystem-snapshot-policy-summary.d.ts +99 -0
  23. package/lib/model/filesystem-snapshot-policy-summary.js +45 -0
  24. package/lib/model/filesystem-snapshot-policy-summary.js.map +1 -0
  25. package/lib/model/filesystem-snapshot-policy.d.ts +112 -0
  26. package/lib/model/filesystem-snapshot-policy.js +77 -0
  27. package/lib/model/filesystem-snapshot-policy.js.map +1 -0
  28. package/lib/model/index.d.ts +12 -0
  29. package/lib/model/index.js +13 -1
  30. package/lib/model/index.js.map +1 -1
  31. package/lib/model/snapshot-schedule.d.ts +132 -0
  32. package/lib/model/snapshot-schedule.js +89 -0
  33. package/lib/model/snapshot-schedule.js.map +1 -0
  34. package/lib/model/snapshot-summary.d.ts +4 -0
  35. package/lib/model/snapshot-summary.js.map +1 -1
  36. package/lib/model/snapshot.d.ts +9 -0
  37. package/lib/model/snapshot.js.map +1 -1
  38. package/lib/model/update-file-system-details.d.ts +8 -0
  39. package/lib/model/update-file-system-details.js.map +1 -1
  40. package/lib/model/update-filesystem-snapshot-policy-details.d.ts +71 -0
  41. package/lib/model/update-filesystem-snapshot-policy-details.js +63 -0
  42. package/lib/model/update-filesystem-snapshot-policy-details.js.map +1 -0
  43. package/lib/model/update-snapshot-details.d.ts +7 -0
  44. package/lib/model/update-snapshot-details.js.map +1 -1
  45. package/lib/request/change-file-system-compartment-request.d.ts +1 -1
  46. package/lib/request/change-filesystem-snapshot-policy-compartment-request.d.ts +42 -0
  47. package/lib/request/change-filesystem-snapshot-policy-compartment-request.js +15 -0
  48. package/lib/request/change-filesystem-snapshot-policy-compartment-request.js.map +1 -0
  49. package/lib/request/change-mount-target-compartment-request.d.ts +1 -1
  50. package/lib/request/change-replication-compartment-request.d.ts +1 -1
  51. package/lib/request/create-export-request.d.ts +1 -1
  52. package/lib/request/create-file-system-request.d.ts +1 -1
  53. package/lib/request/create-filesystem-snapshot-policy-request.d.ts +38 -0
  54. package/lib/request/create-filesystem-snapshot-policy-request.js +15 -0
  55. package/lib/request/create-filesystem-snapshot-policy-request.js.map +1 -0
  56. package/lib/request/create-mount-target-request.d.ts +1 -1
  57. package/lib/request/create-replication-request.d.ts +1 -1
  58. package/lib/request/create-snapshot-request.d.ts +1 -1
  59. package/lib/request/delete-export-request.d.ts +1 -1
  60. package/lib/request/delete-file-system-request.d.ts +1 -1
  61. package/lib/request/delete-filesystem-snapshot-policy-request.d.ts +37 -0
  62. package/lib/request/delete-filesystem-snapshot-policy-request.js +15 -0
  63. package/lib/request/delete-filesystem-snapshot-policy-request.js.map +1 -0
  64. package/lib/request/delete-mount-target-request.d.ts +1 -1
  65. package/lib/request/delete-replication-request.d.ts +1 -1
  66. package/lib/request/delete-replication-target-request.d.ts +1 -1
  67. package/lib/request/delete-snapshot-request.d.ts +1 -1
  68. package/lib/request/estimate-replication-request.d.ts +1 -1
  69. package/lib/request/get-export-request.d.ts +1 -1
  70. package/lib/request/get-export-set-request.d.ts +1 -1
  71. package/lib/request/get-file-system-request.d.ts +1 -1
  72. package/lib/request/get-filesystem-snapshot-policy-request.d.ts +28 -0
  73. package/lib/request/get-filesystem-snapshot-policy-request.js +15 -0
  74. package/lib/request/get-filesystem-snapshot-policy-request.js.map +1 -0
  75. package/lib/request/get-mount-target-request.d.ts +1 -1
  76. package/lib/request/get-replication-request.d.ts +1 -1
  77. package/lib/request/get-replication-target-request.d.ts +1 -1
  78. package/lib/request/get-snapshot-request.d.ts +1 -1
  79. package/lib/request/index.d.ts +16 -0
  80. package/lib/request/index.js +3 -1
  81. package/lib/request/index.js.map +1 -1
  82. package/lib/request/list-export-sets-request.d.ts +1 -1
  83. package/lib/request/list-exports-request.d.ts +1 -1
  84. package/lib/request/list-file-systems-request.d.ts +7 -1
  85. package/lib/request/list-file-systems-request.js.map +1 -1
  86. package/lib/request/list-filesystem-snapshot-policies-request.d.ts +108 -0
  87. package/lib/request/list-filesystem-snapshot-policies-request.js +38 -0
  88. package/lib/request/list-filesystem-snapshot-policies-request.js.map +1 -0
  89. package/lib/request/list-mount-targets-request.d.ts +1 -1
  90. package/lib/request/list-replication-targets-request.d.ts +1 -1
  91. package/lib/request/list-replications-request.d.ts +1 -1
  92. package/lib/request/list-snapshots-request.d.ts +15 -5
  93. package/lib/request/list-snapshots-request.js.map +1 -1
  94. package/lib/request/pause-filesystem-snapshot-policy-request.d.ts +37 -0
  95. package/lib/request/pause-filesystem-snapshot-policy-request.js +15 -0
  96. package/lib/request/pause-filesystem-snapshot-policy-request.js.map +1 -0
  97. package/lib/request/unpause-filesystem-snapshot-policy-request.d.ts +37 -0
  98. package/lib/request/unpause-filesystem-snapshot-policy-request.js +15 -0
  99. package/lib/request/unpause-filesystem-snapshot-policy-request.js.map +1 -0
  100. package/lib/request/update-export-request.d.ts +1 -1
  101. package/lib/request/update-export-set-request.d.ts +1 -1
  102. package/lib/request/update-file-system-request.d.ts +1 -1
  103. package/lib/request/update-filesystem-snapshot-policy-request.d.ts +42 -0
  104. package/lib/request/update-filesystem-snapshot-policy-request.js +15 -0
  105. package/lib/request/update-filesystem-snapshot-policy-request.js.map +1 -0
  106. package/lib/request/update-mount-target-request.d.ts +1 -1
  107. package/lib/request/update-replication-request.d.ts +1 -1
  108. package/lib/request/update-snapshot-request.d.ts +1 -1
  109. package/lib/response/change-filesystem-snapshot-policy-compartment-response.d.ts +18 -0
  110. package/lib/response/change-filesystem-snapshot-policy-compartment-response.js +15 -0
  111. package/lib/response/change-filesystem-snapshot-policy-compartment-response.js.map +1 -0
  112. package/lib/response/create-filesystem-snapshot-policy-response.d.ts +30 -0
  113. package/lib/response/create-filesystem-snapshot-policy-response.js +15 -0
  114. package/lib/response/create-filesystem-snapshot-policy-response.js.map +1 -0
  115. package/lib/response/delete-filesystem-snapshot-policy-response.d.ts +21 -0
  116. package/lib/response/delete-filesystem-snapshot-policy-response.js +15 -0
  117. package/lib/response/delete-filesystem-snapshot-policy-response.js.map +1 -0
  118. package/lib/response/get-filesystem-snapshot-policy-response.d.ts +30 -0
  119. package/lib/response/get-filesystem-snapshot-policy-response.js +15 -0
  120. package/lib/response/get-filesystem-snapshot-policy-response.js.map +1 -0
  121. package/lib/response/index.d.ts +16 -0
  122. package/lib/response/list-filesystem-snapshot-policies-response.d.ts +35 -0
  123. package/lib/response/list-filesystem-snapshot-policies-response.js +15 -0
  124. package/lib/response/list-filesystem-snapshot-policies-response.js.map +1 -0
  125. package/lib/response/pause-filesystem-snapshot-policy-response.d.ts +30 -0
  126. package/lib/response/pause-filesystem-snapshot-policy-response.js +15 -0
  127. package/lib/response/pause-filesystem-snapshot-policy-response.js.map +1 -0
  128. package/lib/response/unpause-filesystem-snapshot-policy-response.d.ts +30 -0
  129. package/lib/response/unpause-filesystem-snapshot-policy-response.js +15 -0
  130. package/lib/response/unpause-filesystem-snapshot-policy-response.js.map +1 -0
  131. package/lib/response/update-filesystem-snapshot-policy-response.d.ts +30 -0
  132. package/lib/response/update-filesystem-snapshot-policy-response.js +15 -0
  133. package/lib/response/update-filesystem-snapshot-policy-response.js.map +1 -0
  134. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -183,7 +183,7 @@ class FileStorageClient {
183
183
  * @param ChangeFileSystemCompartmentRequest
184
184
  * @return ChangeFileSystemCompartmentResponse
185
185
  * @throws OciError when an error occurs
186
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/ChangeFileSystemCompartment.ts.html |here} to see how to use ChangeFileSystemCompartment API.
186
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/ChangeFileSystemCompartment.ts.html |here} to see how to use ChangeFileSystemCompartment API.
187
187
  */
188
188
  changeFileSystemCompartment(changeFileSystemCompartmentRequest) {
189
189
  return __awaiter(this, void 0, void 0, function* () {
@@ -233,6 +233,63 @@ class FileStorageClient {
233
233
  }
234
234
  });
235
235
  }
236
+ /**
237
+ * Moves a file system snapshot policy into a different compartment within the same tenancy. For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
238
+ *
239
+ * This operation does not retry by default if the user has not defined a retry configuration.
240
+ * @param ChangeFilesystemSnapshotPolicyCompartmentRequest
241
+ * @return ChangeFilesystemSnapshotPolicyCompartmentResponse
242
+ * @throws OciError when an error occurs
243
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/ChangeFilesystemSnapshotPolicyCompartment.ts.html |here} to see how to use ChangeFilesystemSnapshotPolicyCompartment API.
244
+ */
245
+ changeFilesystemSnapshotPolicyCompartment(changeFilesystemSnapshotPolicyCompartmentRequest) {
246
+ return __awaiter(this, void 0, void 0, function* () {
247
+ if (this.logger)
248
+ this.logger.debug("Calling operation FileStorageClient#changeFilesystemSnapshotPolicyCompartment.");
249
+ const operationName = "changeFilesystemSnapshotPolicyCompartment";
250
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicy/ChangeFilesystemSnapshotPolicyCompartment";
251
+ const pathParams = {
252
+ "{filesystemSnapshotPolicyId}": changeFilesystemSnapshotPolicyCompartmentRequest.filesystemSnapshotPolicyId
253
+ };
254
+ const queryParams = {};
255
+ let headerParams = {
256
+ "Content-Type": common.Constants.APPLICATION_JSON,
257
+ "if-match": changeFilesystemSnapshotPolicyCompartmentRequest.ifMatch,
258
+ "opc-request-id": changeFilesystemSnapshotPolicyCompartmentRequest.opcRequestId
259
+ };
260
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
261
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFilesystemSnapshotPolicyCompartmentRequest.retryConfiguration, specRetryConfiguration);
262
+ if (this.logger)
263
+ retrier.logger = this.logger;
264
+ const request = yield oci_common_2.composeRequest({
265
+ baseEndpoint: this._endpoint,
266
+ defaultHeaders: this._defaultHeaders,
267
+ path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}/actions/changeCompartment",
268
+ method: "POST",
269
+ bodyContent: common.ObjectSerializer.serialize(changeFilesystemSnapshotPolicyCompartmentRequest.changeFilesystemSnapshotPolicyCompartmentDetails, "ChangeFilesystemSnapshotPolicyCompartmentDetails", model.ChangeFilesystemSnapshotPolicyCompartmentDetails.getJsonObj),
270
+ pathParams: pathParams,
271
+ headerParams: headerParams,
272
+ queryParams: queryParams
273
+ });
274
+ try {
275
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
276
+ const sdkResponse = oci_common_2.composeResponse({
277
+ responseObject: {},
278
+ responseHeaders: [
279
+ {
280
+ value: response.headers.get("opc-request-id"),
281
+ key: "opcRequestId",
282
+ dataType: "string"
283
+ }
284
+ ]
285
+ });
286
+ return sdkResponse;
287
+ }
288
+ catch (err) {
289
+ throw err;
290
+ }
291
+ });
292
+ }
236
293
  /**
237
294
  * Moves a mount target and its associated export set into a different compartment within the same tenancy. For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes)
238
295
  *
@@ -240,7 +297,7 @@ class FileStorageClient {
240
297
  * @param ChangeMountTargetCompartmentRequest
241
298
  * @return ChangeMountTargetCompartmentResponse
242
299
  * @throws OciError when an error occurs
243
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/ChangeMountTargetCompartment.ts.html |here} to see how to use ChangeMountTargetCompartment API.
300
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/ChangeMountTargetCompartment.ts.html |here} to see how to use ChangeMountTargetCompartment API.
244
301
  */
245
302
  changeMountTargetCompartment(changeMountTargetCompartmentRequest) {
246
303
  return __awaiter(this, void 0, void 0, function* () {
@@ -298,7 +355,7 @@ class FileStorageClient {
298
355
  * @param ChangeReplicationCompartmentRequest
299
356
  * @return ChangeReplicationCompartmentResponse
300
357
  * @throws OciError when an error occurs
301
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/ChangeReplicationCompartment.ts.html |here} to see how to use ChangeReplicationCompartment API.
358
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/ChangeReplicationCompartment.ts.html |here} to see how to use ChangeReplicationCompartment API.
302
359
  */
303
360
  changeReplicationCompartment(changeReplicationCompartmentRequest) {
304
361
  return __awaiter(this, void 0, void 0, function* () {
@@ -356,7 +413,7 @@ class FileStorageClient {
356
413
  * @param CreateExportRequest
357
414
  * @return CreateExportResponse
358
415
  * @throws OciError when an error occurs
359
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/CreateExport.ts.html |here} to see how to use CreateExport API.
416
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/CreateExport.ts.html |here} to see how to use CreateExport API.
360
417
  */
361
418
  createExport(createExportRequest) {
362
419
  return __awaiter(this, void 0, void 0, function* () {
@@ -448,7 +505,7 @@ class FileStorageClient {
448
505
  * @param CreateFileSystemRequest
449
506
  * @return CreateFileSystemResponse
450
507
  * @throws OciError when an error occurs
451
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/CreateFileSystem.ts.html |here} to see how to use CreateFileSystem API.
508
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/CreateFileSystem.ts.html |here} to see how to use CreateFileSystem API.
452
509
  */
453
510
  createFileSystem(createFileSystemRequest) {
454
511
  return __awaiter(this, void 0, void 0, function* () {
@@ -505,6 +562,74 @@ class FileStorageClient {
505
562
  }
506
563
  });
507
564
  }
565
+ /**
566
+ * Creates a new file system snapshot policy in the specified compartment and
567
+ * availability domain.
568
+ * <p>
569
+ After you create a file system snapshot policy, you can associate it with
570
+ * file systems.
571
+ *
572
+ * This operation does not retry by default if the user has not defined a retry configuration.
573
+ * @param CreateFilesystemSnapshotPolicyRequest
574
+ * @return CreateFilesystemSnapshotPolicyResponse
575
+ * @throws OciError when an error occurs
576
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/CreateFilesystemSnapshotPolicy.ts.html |here} to see how to use CreateFilesystemSnapshotPolicy API.
577
+ */
578
+ createFilesystemSnapshotPolicy(createFilesystemSnapshotPolicyRequest) {
579
+ return __awaiter(this, void 0, void 0, function* () {
580
+ if (this.logger)
581
+ this.logger.debug("Calling operation FileStorageClient#createFilesystemSnapshotPolicy.");
582
+ const operationName = "createFilesystemSnapshotPolicy";
583
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicy/CreateFilesystemSnapshotPolicy";
584
+ const pathParams = {};
585
+ const queryParams = {};
586
+ let headerParams = {
587
+ "Content-Type": common.Constants.APPLICATION_JSON,
588
+ "opc-retry-token": createFilesystemSnapshotPolicyRequest.opcRetryToken,
589
+ "opc-request-id": createFilesystemSnapshotPolicyRequest.opcRequestId
590
+ };
591
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
592
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
593
+ if (this.logger)
594
+ retrier.logger = this.logger;
595
+ const request = yield oci_common_2.composeRequest({
596
+ baseEndpoint: this._endpoint,
597
+ defaultHeaders: this._defaultHeaders,
598
+ path: "/filesystemSnapshotPolicies",
599
+ method: "POST",
600
+ bodyContent: common.ObjectSerializer.serialize(createFilesystemSnapshotPolicyRequest.createFilesystemSnapshotPolicyDetails, "CreateFilesystemSnapshotPolicyDetails", model.CreateFilesystemSnapshotPolicyDetails.getJsonObj),
601
+ pathParams: pathParams,
602
+ headerParams: headerParams,
603
+ queryParams: queryParams
604
+ });
605
+ try {
606
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
607
+ const sdkResponse = oci_common_2.composeResponse({
608
+ responseObject: {},
609
+ body: yield response.json(),
610
+ bodyKey: "filesystemSnapshotPolicy",
611
+ bodyModel: model.FilesystemSnapshotPolicy,
612
+ type: "model.FilesystemSnapshotPolicy",
613
+ responseHeaders: [
614
+ {
615
+ value: response.headers.get("etag"),
616
+ key: "etag",
617
+ dataType: "string"
618
+ },
619
+ {
620
+ value: response.headers.get("opc-request-id"),
621
+ key: "opcRequestId",
622
+ dataType: "string"
623
+ }
624
+ ]
625
+ });
626
+ return sdkResponse;
627
+ }
628
+ catch (err) {
629
+ throw err;
630
+ }
631
+ });
632
+ }
508
633
  /**
509
634
  * Creates a new mount target in the specified compartment and
510
635
  * subnet. You can associate a file system with a mount
@@ -543,7 +668,7 @@ class FileStorageClient {
543
668
  * @param CreateMountTargetRequest
544
669
  * @return CreateMountTargetResponse
545
670
  * @throws OciError when an error occurs
546
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/CreateMountTarget.ts.html |here} to see how to use CreateMountTarget API.
671
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/CreateMountTarget.ts.html |here} to see how to use CreateMountTarget API.
547
672
  */
548
673
  createMountTarget(createMountTargetRequest) {
549
674
  return __awaiter(this, void 0, void 0, function* () {
@@ -633,7 +758,7 @@ class FileStorageClient {
633
758
  * @param CreateReplicationRequest
634
759
  * @return CreateReplicationResponse
635
760
  * @throws OciError when an error occurs
636
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/CreateReplication.ts.html |here} to see how to use CreateReplication API.
761
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/CreateReplication.ts.html |here} to see how to use CreateReplication API.
637
762
  */
638
763
  createReplication(createReplicationRequest) {
639
764
  return __awaiter(this, void 0, void 0, function* () {
@@ -698,7 +823,7 @@ class FileStorageClient {
698
823
  * @param CreateSnapshotRequest
699
824
  * @return CreateSnapshotResponse
700
825
  * @throws OciError when an error occurs
701
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/CreateSnapshot.ts.html |here} to see how to use CreateSnapshot API.
826
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/CreateSnapshot.ts.html |here} to see how to use CreateSnapshot API.
702
827
  */
703
828
  createSnapshot(createSnapshotRequest) {
704
829
  return __awaiter(this, void 0, void 0, function* () {
@@ -762,7 +887,7 @@ class FileStorageClient {
762
887
  * @param DeleteExportRequest
763
888
  * @return DeleteExportResponse
764
889
  * @throws OciError when an error occurs
765
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/DeleteExport.ts.html |here} to see how to use DeleteExport API.
890
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/DeleteExport.ts.html |here} to see how to use DeleteExport API.
766
891
  */
767
892
  deleteExport(deleteExportRequest) {
768
893
  return __awaiter(this, void 0, void 0, function* () {
@@ -820,7 +945,7 @@ class FileStorageClient {
820
945
  * @param DeleteFileSystemRequest
821
946
  * @return DeleteFileSystemResponse
822
947
  * @throws OciError when an error occurs
823
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/DeleteFileSystem.ts.html |here} to see how to use DeleteFileSystem API.
948
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/DeleteFileSystem.ts.html |here} to see how to use DeleteFileSystem API.
824
949
  */
825
950
  deleteFileSystem(deleteFileSystemRequest) {
826
951
  return __awaiter(this, void 0, void 0, function* () {
@@ -869,6 +994,62 @@ class FileStorageClient {
869
994
  }
870
995
  });
871
996
  }
997
+ /**
998
+ * Deletes the specified file system snapshot policy.
999
+ *
1000
+ * This operation does not retry by default if the user has not defined a retry configuration.
1001
+ * @param DeleteFilesystemSnapshotPolicyRequest
1002
+ * @return DeleteFilesystemSnapshotPolicyResponse
1003
+ * @throws OciError when an error occurs
1004
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/DeleteFilesystemSnapshotPolicy.ts.html |here} to see how to use DeleteFilesystemSnapshotPolicy API.
1005
+ */
1006
+ deleteFilesystemSnapshotPolicy(deleteFilesystemSnapshotPolicyRequest) {
1007
+ return __awaiter(this, void 0, void 0, function* () {
1008
+ if (this.logger)
1009
+ this.logger.debug("Calling operation FileStorageClient#deleteFilesystemSnapshotPolicy.");
1010
+ const operationName = "deleteFilesystemSnapshotPolicy";
1011
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicy/DeleteFilesystemSnapshotPolicy";
1012
+ const pathParams = {
1013
+ "{filesystemSnapshotPolicyId}": deleteFilesystemSnapshotPolicyRequest.filesystemSnapshotPolicyId
1014
+ };
1015
+ const queryParams = {};
1016
+ let headerParams = {
1017
+ "Content-Type": common.Constants.APPLICATION_JSON,
1018
+ "if-match": deleteFilesystemSnapshotPolicyRequest.ifMatch,
1019
+ "opc-request-id": deleteFilesystemSnapshotPolicyRequest.opcRequestId
1020
+ };
1021
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1022
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
1023
+ if (this.logger)
1024
+ retrier.logger = this.logger;
1025
+ const request = yield oci_common_2.composeRequest({
1026
+ baseEndpoint: this._endpoint,
1027
+ defaultHeaders: this._defaultHeaders,
1028
+ path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}",
1029
+ method: "DELETE",
1030
+ pathParams: pathParams,
1031
+ headerParams: headerParams,
1032
+ queryParams: queryParams
1033
+ });
1034
+ try {
1035
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1036
+ const sdkResponse = oci_common_2.composeResponse({
1037
+ responseObject: {},
1038
+ responseHeaders: [
1039
+ {
1040
+ value: response.headers.get("opc-request-id"),
1041
+ key: "opcRequestId",
1042
+ dataType: "string"
1043
+ }
1044
+ ]
1045
+ });
1046
+ return sdkResponse;
1047
+ }
1048
+ catch (err) {
1049
+ throw err;
1050
+ }
1051
+ });
1052
+ }
872
1053
  /**
873
1054
  * Deletes the specified mount target. This operation also deletes the
874
1055
  * mount target's VNICs.
@@ -877,7 +1058,7 @@ class FileStorageClient {
877
1058
  * @param DeleteMountTargetRequest
878
1059
  * @return DeleteMountTargetResponse
879
1060
  * @throws OciError when an error occurs
880
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/DeleteMountTarget.ts.html |here} to see how to use DeleteMountTarget API.
1061
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/DeleteMountTarget.ts.html |here} to see how to use DeleteMountTarget API.
881
1062
  */
882
1063
  deleteMountTarget(deleteMountTargetRequest) {
883
1064
  return __awaiter(this, void 0, void 0, function* () {
@@ -933,7 +1114,7 @@ class FileStorageClient {
933
1114
  * @param DeleteReplicationRequest
934
1115
  * @return DeleteReplicationResponse
935
1116
  * @throws OciError when an error occurs
936
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/DeleteReplication.ts.html |here} to see how to use DeleteReplication API.
1117
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/DeleteReplication.ts.html |here} to see how to use DeleteReplication API.
937
1118
  */
938
1119
  deleteReplication(deleteReplicationRequest) {
939
1120
  return __awaiter(this, void 0, void 0, function* () {
@@ -994,7 +1175,7 @@ class FileStorageClient {
994
1175
  * @param DeleteReplicationTargetRequest
995
1176
  * @return DeleteReplicationTargetResponse
996
1177
  * @throws OciError when an error occurs
997
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/DeleteReplicationTarget.ts.html |here} to see how to use DeleteReplicationTarget API.
1178
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/DeleteReplicationTarget.ts.html |here} to see how to use DeleteReplicationTarget API.
998
1179
  */
999
1180
  deleteReplicationTarget(deleteReplicationTargetRequest) {
1000
1181
  return __awaiter(this, void 0, void 0, function* () {
@@ -1050,7 +1231,7 @@ class FileStorageClient {
1050
1231
  * @param DeleteSnapshotRequest
1051
1232
  * @return DeleteSnapshotResponse
1052
1233
  * @throws OciError when an error occurs
1053
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/DeleteSnapshot.ts.html |here} to see how to use DeleteSnapshot API.
1234
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/DeleteSnapshot.ts.html |here} to see how to use DeleteSnapshot API.
1054
1235
  */
1055
1236
  deleteSnapshot(deleteSnapshotRequest) {
1056
1237
  return __awaiter(this, void 0, void 0, function* () {
@@ -1106,7 +1287,7 @@ class FileStorageClient {
1106
1287
  * @param EstimateReplicationRequest
1107
1288
  * @return EstimateReplicationResponse
1108
1289
  * @throws OciError when an error occurs
1109
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/EstimateReplication.ts.html |here} to see how to use EstimateReplication API.
1290
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/EstimateReplication.ts.html |here} to see how to use EstimateReplication API.
1110
1291
  */
1111
1292
  estimateReplication(estimateReplicationRequest) {
1112
1293
  return __awaiter(this, void 0, void 0, function* () {
@@ -1172,7 +1353,7 @@ class FileStorageClient {
1172
1353
  * @param GetExportRequest
1173
1354
  * @return GetExportResponse
1174
1355
  * @throws OciError when an error occurs
1175
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/GetExport.ts.html |here} to see how to use GetExport API.
1356
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/GetExport.ts.html |here} to see how to use GetExport API.
1176
1357
  */
1177
1358
  getExport(getExportRequest) {
1178
1359
  return __awaiter(this, void 0, void 0, function* () {
@@ -1235,7 +1416,7 @@ class FileStorageClient {
1235
1416
  * @param GetExportSetRequest
1236
1417
  * @return GetExportSetResponse
1237
1418
  * @throws OciError when an error occurs
1238
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/GetExportSet.ts.html |here} to see how to use GetExportSet API.
1419
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/GetExportSet.ts.html |here} to see how to use GetExportSet API.
1239
1420
  */
1240
1421
  getExportSet(getExportSetRequest) {
1241
1422
  return __awaiter(this, void 0, void 0, function* () {
@@ -1298,7 +1479,7 @@ class FileStorageClient {
1298
1479
  * @param GetFileSystemRequest
1299
1480
  * @return GetFileSystemResponse
1300
1481
  * @throws OciError when an error occurs
1301
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/GetFileSystem.ts.html |here} to see how to use GetFileSystem API.
1482
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/GetFileSystem.ts.html |here} to see how to use GetFileSystem API.
1302
1483
  */
1303
1484
  getFileSystem(getFileSystemRequest) {
1304
1485
  return __awaiter(this, void 0, void 0, function* () {
@@ -1355,13 +1536,76 @@ class FileStorageClient {
1355
1536
  }
1356
1537
  });
1357
1538
  }
1539
+ /**
1540
+ * Gets the specified file system snapshot policy's information.
1541
+ * This operation does not retry by default if the user has not defined a retry configuration.
1542
+ * @param GetFilesystemSnapshotPolicyRequest
1543
+ * @return GetFilesystemSnapshotPolicyResponse
1544
+ * @throws OciError when an error occurs
1545
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/GetFilesystemSnapshotPolicy.ts.html |here} to see how to use GetFilesystemSnapshotPolicy API.
1546
+ */
1547
+ getFilesystemSnapshotPolicy(getFilesystemSnapshotPolicyRequest) {
1548
+ return __awaiter(this, void 0, void 0, function* () {
1549
+ if (this.logger)
1550
+ this.logger.debug("Calling operation FileStorageClient#getFilesystemSnapshotPolicy.");
1551
+ const operationName = "getFilesystemSnapshotPolicy";
1552
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicy/GetFilesystemSnapshotPolicy";
1553
+ const pathParams = {
1554
+ "{filesystemSnapshotPolicyId}": getFilesystemSnapshotPolicyRequest.filesystemSnapshotPolicyId
1555
+ };
1556
+ const queryParams = {};
1557
+ let headerParams = {
1558
+ "Content-Type": common.Constants.APPLICATION_JSON,
1559
+ "opc-request-id": getFilesystemSnapshotPolicyRequest.opcRequestId
1560
+ };
1561
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1562
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
1563
+ if (this.logger)
1564
+ retrier.logger = this.logger;
1565
+ const request = yield oci_common_2.composeRequest({
1566
+ baseEndpoint: this._endpoint,
1567
+ defaultHeaders: this._defaultHeaders,
1568
+ path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}",
1569
+ method: "GET",
1570
+ pathParams: pathParams,
1571
+ headerParams: headerParams,
1572
+ queryParams: queryParams
1573
+ });
1574
+ try {
1575
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1576
+ const sdkResponse = oci_common_2.composeResponse({
1577
+ responseObject: {},
1578
+ body: yield response.json(),
1579
+ bodyKey: "filesystemSnapshotPolicy",
1580
+ bodyModel: model.FilesystemSnapshotPolicy,
1581
+ type: "model.FilesystemSnapshotPolicy",
1582
+ responseHeaders: [
1583
+ {
1584
+ value: response.headers.get("etag"),
1585
+ key: "etag",
1586
+ dataType: "string"
1587
+ },
1588
+ {
1589
+ value: response.headers.get("opc-request-id"),
1590
+ key: "opcRequestId",
1591
+ dataType: "string"
1592
+ }
1593
+ ]
1594
+ });
1595
+ return sdkResponse;
1596
+ }
1597
+ catch (err) {
1598
+ throw err;
1599
+ }
1600
+ });
1601
+ }
1358
1602
  /**
1359
1603
  * Gets the specified mount target's information.
1360
1604
  * This operation does not retry by default if the user has not defined a retry configuration.
1361
1605
  * @param GetMountTargetRequest
1362
1606
  * @return GetMountTargetResponse
1363
1607
  * @throws OciError when an error occurs
1364
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/GetMountTarget.ts.html |here} to see how to use GetMountTarget API.
1608
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/GetMountTarget.ts.html |here} to see how to use GetMountTarget API.
1365
1609
  */
1366
1610
  getMountTarget(getMountTargetRequest) {
1367
1611
  return __awaiter(this, void 0, void 0, function* () {
@@ -1424,7 +1668,7 @@ class FileStorageClient {
1424
1668
  * @param GetReplicationRequest
1425
1669
  * @return GetReplicationResponse
1426
1670
  * @throws OciError when an error occurs
1427
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/GetReplication.ts.html |here} to see how to use GetReplication API.
1671
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/GetReplication.ts.html |here} to see how to use GetReplication API.
1428
1672
  */
1429
1673
  getReplication(getReplicationRequest) {
1430
1674
  return __awaiter(this, void 0, void 0, function* () {
@@ -1487,7 +1731,7 @@ class FileStorageClient {
1487
1731
  * @param GetReplicationTargetRequest
1488
1732
  * @return GetReplicationTargetResponse
1489
1733
  * @throws OciError when an error occurs
1490
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/GetReplicationTarget.ts.html |here} to see how to use GetReplicationTarget API.
1734
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/GetReplicationTarget.ts.html |here} to see how to use GetReplicationTarget API.
1491
1735
  */
1492
1736
  getReplicationTarget(getReplicationTargetRequest) {
1493
1737
  return __awaiter(this, void 0, void 0, function* () {
@@ -1550,7 +1794,7 @@ class FileStorageClient {
1550
1794
  * @param GetSnapshotRequest
1551
1795
  * @return GetSnapshotResponse
1552
1796
  * @throws OciError when an error occurs
1553
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/GetSnapshot.ts.html |here} to see how to use GetSnapshot API.
1797
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/GetSnapshot.ts.html |here} to see how to use GetSnapshot API.
1554
1798
  */
1555
1799
  getSnapshot(getSnapshotRequest) {
1556
1800
  return __awaiter(this, void 0, void 0, function* () {
@@ -1614,7 +1858,7 @@ class FileStorageClient {
1614
1858
  * @param ListExportSetsRequest
1615
1859
  * @return ListExportSetsResponse
1616
1860
  * @throws OciError when an error occurs
1617
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/ListExportSets.ts.html |here} to see how to use ListExportSets API.
1861
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/ListExportSets.ts.html |here} to see how to use ListExportSets API.
1618
1862
  */
1619
1863
  listExportSets(listExportSetsRequest) {
1620
1864
  return __awaiter(this, void 0, void 0, function* () {
@@ -1728,7 +1972,7 @@ class FileStorageClient {
1728
1972
  * @param ListExportsRequest
1729
1973
  * @return ListExportsResponse
1730
1974
  * @throws OciError when an error occurs
1731
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/ListExports.ts.html |here} to see how to use ListExports API.
1975
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/ListExports.ts.html |here} to see how to use ListExports API.
1732
1976
  */
1733
1977
  listExports(listExportsRequest) {
1734
1978
  return __awaiter(this, void 0, void 0, function* () {
@@ -1834,13 +2078,14 @@ class FileStorageClient {
1834
2078
  return oci_common_1.paginateResponses(request, req => this.listExports(req));
1835
2079
  }
1836
2080
  /**
1837
- * Lists the file system resources in the specified compartment.
2081
+ * Lists the file system resources in the specified compartment, or by the specified compartment and
2082
+ * file system snapshot policy.
1838
2083
  *
1839
2084
  * This operation does not retry by default if the user has not defined a retry configuration.
1840
2085
  * @param ListFileSystemsRequest
1841
2086
  * @return ListFileSystemsResponse
1842
2087
  * @throws OciError when an error occurs
1843
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/ListFileSystems.ts.html |here} to see how to use ListFileSystems API.
2088
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/ListFileSystems.ts.html |here} to see how to use ListFileSystems API.
1844
2089
  */
1845
2090
  listFileSystems(listFileSystemsRequest) {
1846
2091
  return __awaiter(this, void 0, void 0, function* () {
@@ -1859,6 +2104,7 @@ class FileStorageClient {
1859
2104
  "id": listFileSystemsRequest.id,
1860
2105
  "sourceSnapshotId": listFileSystemsRequest.sourceSnapshotId,
1861
2106
  "parentFileSystemId": listFileSystemsRequest.parentFileSystemId,
2107
+ "filesystemSnapshotPolicyId": listFileSystemsRequest.filesystemSnapshotPolicyId,
1862
2108
  "sortBy": listFileSystemsRequest.sortBy,
1863
2109
  "sortOrder": listFileSystemsRequest.sortOrder
1864
2110
  };
@@ -1947,6 +2193,118 @@ class FileStorageClient {
1947
2193
  listFileSystemsResponseIterator(request) {
1948
2194
  return oci_common_1.paginateResponses(request, req => this.listFileSystems(req));
1949
2195
  }
2196
+ /**
2197
+ * Lists file system snapshot policies in the specified compartment.
2198
+ *
2199
+ * This operation does not retry by default if the user has not defined a retry configuration.
2200
+ * @param ListFilesystemSnapshotPoliciesRequest
2201
+ * @return ListFilesystemSnapshotPoliciesResponse
2202
+ * @throws OciError when an error occurs
2203
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/ListFilesystemSnapshotPolicies.ts.html |here} to see how to use ListFilesystemSnapshotPolicies API.
2204
+ */
2205
+ listFilesystemSnapshotPolicies(listFilesystemSnapshotPoliciesRequest) {
2206
+ return __awaiter(this, void 0, void 0, function* () {
2207
+ if (this.logger)
2208
+ this.logger.debug("Calling operation FileStorageClient#listFilesystemSnapshotPolicies.");
2209
+ const operationName = "listFilesystemSnapshotPolicies";
2210
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicySummary/ListFilesystemSnapshotPolicies";
2211
+ const pathParams = {};
2212
+ const queryParams = {
2213
+ "compartmentId": listFilesystemSnapshotPoliciesRequest.compartmentId,
2214
+ "availabilityDomain": listFilesystemSnapshotPoliciesRequest.availabilityDomain,
2215
+ "limit": listFilesystemSnapshotPoliciesRequest.limit,
2216
+ "page": listFilesystemSnapshotPoliciesRequest.page,
2217
+ "displayName": listFilesystemSnapshotPoliciesRequest.displayName,
2218
+ "lifecycleState": listFilesystemSnapshotPoliciesRequest.lifecycleState,
2219
+ "id": listFilesystemSnapshotPoliciesRequest.id,
2220
+ "sortBy": listFilesystemSnapshotPoliciesRequest.sortBy,
2221
+ "sortOrder": listFilesystemSnapshotPoliciesRequest.sortOrder
2222
+ };
2223
+ let headerParams = {
2224
+ "Content-Type": common.Constants.APPLICATION_JSON,
2225
+ "opc-request-id": listFilesystemSnapshotPoliciesRequest.opcRequestId
2226
+ };
2227
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2228
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFilesystemSnapshotPoliciesRequest.retryConfiguration, specRetryConfiguration);
2229
+ if (this.logger)
2230
+ retrier.logger = this.logger;
2231
+ const request = yield oci_common_2.composeRequest({
2232
+ baseEndpoint: this._endpoint,
2233
+ defaultHeaders: this._defaultHeaders,
2234
+ path: "/filesystemSnapshotPolicies",
2235
+ method: "GET",
2236
+ pathParams: pathParams,
2237
+ headerParams: headerParams,
2238
+ queryParams: queryParams
2239
+ });
2240
+ try {
2241
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2242
+ const sdkResponse = oci_common_2.composeResponse({
2243
+ responseObject: {},
2244
+ body: yield response.json(),
2245
+ bodyKey: "items",
2246
+ bodyModel: model.FilesystemSnapshotPolicySummary,
2247
+ type: "Array<model.FilesystemSnapshotPolicySummary>",
2248
+ responseHeaders: [
2249
+ {
2250
+ value: response.headers.get("opc-next-page"),
2251
+ key: "opcNextPage",
2252
+ dataType: "string"
2253
+ },
2254
+ {
2255
+ value: response.headers.get("opc-request-id"),
2256
+ key: "opcRequestId",
2257
+ dataType: "string"
2258
+ }
2259
+ ]
2260
+ });
2261
+ return sdkResponse;
2262
+ }
2263
+ catch (err) {
2264
+ throw err;
2265
+ }
2266
+ });
2267
+ }
2268
+ /**
2269
+ * NOTE: This function is deprecated in favor of listFilesystemSnapshotPoliciesRecordIterator function.
2270
+ * Creates a new async iterator which will iterate over the models.FilesystemSnapshotPolicySummary objects
2271
+ * contained in responses from the listFilesystemSnapshotPolicies operation. This iterator will fetch more data from the
2272
+ * server as needed.
2273
+ *
2274
+ * @param request a request which can be sent to the service operation
2275
+ */
2276
+ listAllFilesystemSnapshotPolicies(request) {
2277
+ return oci_common_1.paginateRecords(request, req => this.listFilesystemSnapshotPolicies(req));
2278
+ }
2279
+ /**
2280
+ * NOTE: This function is deprecated in favor of listFilesystemSnapshotPoliciesResponseIterator function.
2281
+ * Creates a new async iterator which will iterate over the responses received from the listFilesystemSnapshotPolicies operation. This iterator
2282
+ * will fetch more data from the server as needed.
2283
+ *
2284
+ * @param request a request which can be sent to the service operation
2285
+ */
2286
+ listAllFilesystemSnapshotPoliciesResponses(request) {
2287
+ return oci_common_1.paginateResponses(request, req => this.listFilesystemSnapshotPolicies(req));
2288
+ }
2289
+ /**
2290
+ * Creates a new async iterator which will iterate over the models.FilesystemSnapshotPolicySummary objects
2291
+ * contained in responses from the listFilesystemSnapshotPolicies operation. This iterator will fetch more data from the
2292
+ * server as needed.
2293
+ *
2294
+ * @param request a request which can be sent to the service operation
2295
+ */
2296
+ listFilesystemSnapshotPoliciesRecordIterator(request) {
2297
+ return oci_common_1.paginateRecords(request, req => this.listFilesystemSnapshotPolicies(req));
2298
+ }
2299
+ /**
2300
+ * Creates a new async iterator which will iterate over the responses received from the listFilesystemSnapshotPolicies operation. This iterator
2301
+ * will fetch more data from the server as needed.
2302
+ *
2303
+ * @param request a request which can be sent to the service operation
2304
+ */
2305
+ listFilesystemSnapshotPoliciesResponseIterator(request) {
2306
+ return oci_common_1.paginateResponses(request, req => this.listFilesystemSnapshotPolicies(req));
2307
+ }
1950
2308
  /**
1951
2309
  * Lists the mount target resources in the specified compartment.
1952
2310
  *
@@ -1954,7 +2312,7 @@ class FileStorageClient {
1954
2312
  * @param ListMountTargetsRequest
1955
2313
  * @return ListMountTargetsResponse
1956
2314
  * @throws OciError when an error occurs
1957
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/ListMountTargets.ts.html |here} to see how to use ListMountTargets API.
2315
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/ListMountTargets.ts.html |here} to see how to use ListMountTargets API.
1958
2316
  */
1959
2317
  listMountTargets(listMountTargetsRequest) {
1960
2318
  return __awaiter(this, void 0, void 0, function* () {
@@ -2067,7 +2425,7 @@ class FileStorageClient {
2067
2425
  * @param ListReplicationTargetsRequest
2068
2426
  * @return ListReplicationTargetsResponse
2069
2427
  * @throws OciError when an error occurs
2070
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/ListReplicationTargets.ts.html |here} to see how to use ListReplicationTargets API.
2428
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/ListReplicationTargets.ts.html |here} to see how to use ListReplicationTargets API.
2071
2429
  */
2072
2430
  listReplicationTargets(listReplicationTargetsRequest) {
2073
2431
  return __awaiter(this, void 0, void 0, function* () {
@@ -2179,7 +2537,7 @@ class FileStorageClient {
2179
2537
  * @param ListReplicationsRequest
2180
2538
  * @return ListReplicationsResponse
2181
2539
  * @throws OciError when an error occurs
2182
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/ListReplications.ts.html |here} to see how to use ListReplications API.
2540
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/ListReplications.ts.html |here} to see how to use ListReplications API.
2183
2541
  */
2184
2542
  listReplications(listReplicationsRequest) {
2185
2543
  return __awaiter(this, void 0, void 0, function* () {
@@ -2286,14 +2644,17 @@ class FileStorageClient {
2286
2644
  return oci_common_1.paginateResponses(request, req => this.listReplications(req));
2287
2645
  }
2288
2646
  /**
2289
- * Lists snapshots of the specified file system.
2290
- *
2291
- * This operation does not retry by default if the user has not defined a retry configuration.
2292
- * @param ListSnapshotsRequest
2293
- * @return ListSnapshotsResponse
2294
- * @throws OciError when an error occurs
2295
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/ListSnapshots.ts.html |here} to see how to use ListSnapshots API.
2296
- */
2647
+ * Lists snapshots of the specified file system, or by file system snapshot policy and compartment,
2648
+ * or by file system snapshot policy and file system.
2649
+ * <p>
2650
+ If file system ID is not specified, a file system snapshot policy ID and compartment ID must be specified.
2651
+ *
2652
+ * This operation does not retry by default if the user has not defined a retry configuration.
2653
+ * @param ListSnapshotsRequest
2654
+ * @return ListSnapshotsResponse
2655
+ * @throws OciError when an error occurs
2656
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/ListSnapshots.ts.html |here} to see how to use ListSnapshots API.
2657
+ */
2297
2658
  listSnapshots(listSnapshotsRequest) {
2298
2659
  return __awaiter(this, void 0, void 0, function* () {
2299
2660
  if (this.logger)
@@ -2306,6 +2667,8 @@ class FileStorageClient {
2306
2667
  "page": listSnapshotsRequest.page,
2307
2668
  "lifecycleState": listSnapshotsRequest.lifecycleState,
2308
2669
  "id": listSnapshotsRequest.id,
2670
+ "filesystemSnapshotPolicyId": listSnapshotsRequest.filesystemSnapshotPolicyId,
2671
+ "compartmentId": listSnapshotsRequest.compartmentId,
2309
2672
  "fileSystemId": listSnapshotsRequest.fileSystemId,
2310
2673
  "sortOrder": listSnapshotsRequest.sortOrder
2311
2674
  };
@@ -2394,13 +2757,152 @@ class FileStorageClient {
2394
2757
  listSnapshotsResponseIterator(request) {
2395
2758
  return oci_common_1.paginateResponses(request, req => this.listSnapshots(req));
2396
2759
  }
2760
+ /**
2761
+ * This operation pauses the scheduled snapshot creation and snapshot deletion of the policy and updates the lifecycle state of the file system
2762
+ * snapshot policy from ACTIVE to INACTIVE. When a file system snapshot policy is paused, file systems that are associated with the
2763
+ * policy will not have scheduled snapshots created or deleted.
2764
+ * <p>
2765
+ If the policy is already paused, or in the INACTIVE state, you cannot pause it again. You can't pause a policy
2766
+ * that is in a DELETING, DELETED, FAILED, CREATING or INACTIVE state; attempts to pause a policy in these states result in a 409 conflict error.
2767
+ *
2768
+ * This operation does not retry by default if the user has not defined a retry configuration.
2769
+ * @param PauseFilesystemSnapshotPolicyRequest
2770
+ * @return PauseFilesystemSnapshotPolicyResponse
2771
+ * @throws OciError when an error occurs
2772
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/PauseFilesystemSnapshotPolicy.ts.html |here} to see how to use PauseFilesystemSnapshotPolicy API.
2773
+ */
2774
+ pauseFilesystemSnapshotPolicy(pauseFilesystemSnapshotPolicyRequest) {
2775
+ return __awaiter(this, void 0, void 0, function* () {
2776
+ if (this.logger)
2777
+ this.logger.debug("Calling operation FileStorageClient#pauseFilesystemSnapshotPolicy.");
2778
+ const operationName = "pauseFilesystemSnapshotPolicy";
2779
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicy/PauseFilesystemSnapshotPolicy";
2780
+ const pathParams = {
2781
+ "{filesystemSnapshotPolicyId}": pauseFilesystemSnapshotPolicyRequest.filesystemSnapshotPolicyId
2782
+ };
2783
+ const queryParams = {};
2784
+ let headerParams = {
2785
+ "Content-Type": common.Constants.APPLICATION_JSON,
2786
+ "if-match": pauseFilesystemSnapshotPolicyRequest.ifMatch,
2787
+ "opc-request-id": pauseFilesystemSnapshotPolicyRequest.opcRequestId
2788
+ };
2789
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2790
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, pauseFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
2791
+ if (this.logger)
2792
+ retrier.logger = this.logger;
2793
+ const request = yield oci_common_2.composeRequest({
2794
+ baseEndpoint: this._endpoint,
2795
+ defaultHeaders: this._defaultHeaders,
2796
+ path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}/actions/pause",
2797
+ method: "POST",
2798
+ pathParams: pathParams,
2799
+ headerParams: headerParams,
2800
+ queryParams: queryParams
2801
+ });
2802
+ try {
2803
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2804
+ const sdkResponse = oci_common_2.composeResponse({
2805
+ responseObject: {},
2806
+ body: yield response.json(),
2807
+ bodyKey: "filesystemSnapshotPolicy",
2808
+ bodyModel: model.FilesystemSnapshotPolicy,
2809
+ type: "model.FilesystemSnapshotPolicy",
2810
+ responseHeaders: [
2811
+ {
2812
+ value: response.headers.get("opc-request-id"),
2813
+ key: "opcRequestId",
2814
+ dataType: "string"
2815
+ },
2816
+ {
2817
+ value: response.headers.get("etag"),
2818
+ key: "etag",
2819
+ dataType: "string"
2820
+ }
2821
+ ]
2822
+ });
2823
+ return sdkResponse;
2824
+ }
2825
+ catch (err) {
2826
+ throw err;
2827
+ }
2828
+ });
2829
+ }
2830
+ /**
2831
+ * This operation unpauses a paused file system snapshot policy and updates the lifecycle state of the file system snapshot policy from
2832
+ * INACTIVE to ACTIVE. By default, file system snapshot policies are in the ACTIVE state. When a file system snapshot policy is not paused, or in the ACTIVE state, file systems that are associated with the
2833
+ * policy will have snapshots created and deleted according to the schedules defined in the policy.
2834
+ * <p>
2835
+ If the policy is already in the ACTIVE state, you cannot unpause it. You can't unpause a policy that is in a DELETING, DELETED, FAILED, CREATING, or ACTIVE state; attempts to unpause a policy in these states result in a 409 conflict error.
2836
+ *
2837
+ * This operation does not retry by default if the user has not defined a retry configuration.
2838
+ * @param UnpauseFilesystemSnapshotPolicyRequest
2839
+ * @return UnpauseFilesystemSnapshotPolicyResponse
2840
+ * @throws OciError when an error occurs
2841
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/UnpauseFilesystemSnapshotPolicy.ts.html |here} to see how to use UnpauseFilesystemSnapshotPolicy API.
2842
+ */
2843
+ unpauseFilesystemSnapshotPolicy(unpauseFilesystemSnapshotPolicyRequest) {
2844
+ return __awaiter(this, void 0, void 0, function* () {
2845
+ if (this.logger)
2846
+ this.logger.debug("Calling operation FileStorageClient#unpauseFilesystemSnapshotPolicy.");
2847
+ const operationName = "unpauseFilesystemSnapshotPolicy";
2848
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicy/UnpauseFilesystemSnapshotPolicy";
2849
+ const pathParams = {
2850
+ "{filesystemSnapshotPolicyId}": unpauseFilesystemSnapshotPolicyRequest.filesystemSnapshotPolicyId
2851
+ };
2852
+ const queryParams = {};
2853
+ let headerParams = {
2854
+ "Content-Type": common.Constants.APPLICATION_JSON,
2855
+ "if-match": unpauseFilesystemSnapshotPolicyRequest.ifMatch,
2856
+ "opc-request-id": unpauseFilesystemSnapshotPolicyRequest.opcRequestId
2857
+ };
2858
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2859
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, unpauseFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
2860
+ if (this.logger)
2861
+ retrier.logger = this.logger;
2862
+ const request = yield oci_common_2.composeRequest({
2863
+ baseEndpoint: this._endpoint,
2864
+ defaultHeaders: this._defaultHeaders,
2865
+ path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}/actions/unpause",
2866
+ method: "POST",
2867
+ pathParams: pathParams,
2868
+ headerParams: headerParams,
2869
+ queryParams: queryParams
2870
+ });
2871
+ try {
2872
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2873
+ const sdkResponse = oci_common_2.composeResponse({
2874
+ responseObject: {},
2875
+ body: yield response.json(),
2876
+ bodyKey: "filesystemSnapshotPolicy",
2877
+ bodyModel: model.FilesystemSnapshotPolicy,
2878
+ type: "model.FilesystemSnapshotPolicy",
2879
+ responseHeaders: [
2880
+ {
2881
+ value: response.headers.get("opc-request-id"),
2882
+ key: "opcRequestId",
2883
+ dataType: "string"
2884
+ },
2885
+ {
2886
+ value: response.headers.get("etag"),
2887
+ key: "etag",
2888
+ dataType: "string"
2889
+ }
2890
+ ]
2891
+ });
2892
+ return sdkResponse;
2893
+ }
2894
+ catch (err) {
2895
+ throw err;
2896
+ }
2897
+ });
2898
+ }
2397
2899
  /**
2398
2900
  * Updates the specified export's information.
2399
2901
  * This operation does not retry by default if the user has not defined a retry configuration.
2400
2902
  * @param UpdateExportRequest
2401
2903
  * @return UpdateExportResponse
2402
2904
  * @throws OciError when an error occurs
2403
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/UpdateExport.ts.html |here} to see how to use UpdateExport API.
2905
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/UpdateExport.ts.html |here} to see how to use UpdateExport API.
2404
2906
  */
2405
2907
  updateExport(updateExportRequest) {
2406
2908
  return __awaiter(this, void 0, void 0, function* () {
@@ -2465,7 +2967,7 @@ class FileStorageClient {
2465
2967
  * @param UpdateExportSetRequest
2466
2968
  * @return UpdateExportSetResponse
2467
2969
  * @throws OciError when an error occurs
2468
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/UpdateExportSet.ts.html |here} to see how to use UpdateExportSet API.
2970
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/UpdateExportSet.ts.html |here} to see how to use UpdateExportSet API.
2469
2971
  */
2470
2972
  updateExportSet(updateExportSetRequest) {
2471
2973
  return __awaiter(this, void 0, void 0, function* () {
@@ -2532,7 +3034,7 @@ class FileStorageClient {
2532
3034
  * @param UpdateFileSystemRequest
2533
3035
  * @return UpdateFileSystemResponse
2534
3036
  * @throws OciError when an error occurs
2535
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/UpdateFileSystem.ts.html |here} to see how to use UpdateFileSystem API.
3037
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/UpdateFileSystem.ts.html |here} to see how to use UpdateFileSystem API.
2536
3038
  */
2537
3039
  updateFileSystem(updateFileSystemRequest) {
2538
3040
  return __awaiter(this, void 0, void 0, function* () {
@@ -2591,13 +3093,78 @@ class FileStorageClient {
2591
3093
  }
2592
3094
  });
2593
3095
  }
3096
+ /**
3097
+ * Updates the specified file system snapshot policy's information.
3098
+ * This operation does not retry by default if the user has not defined a retry configuration.
3099
+ * @param UpdateFilesystemSnapshotPolicyRequest
3100
+ * @return UpdateFilesystemSnapshotPolicyResponse
3101
+ * @throws OciError when an error occurs
3102
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/UpdateFilesystemSnapshotPolicy.ts.html |here} to see how to use UpdateFilesystemSnapshotPolicy API.
3103
+ */
3104
+ updateFilesystemSnapshotPolicy(updateFilesystemSnapshotPolicyRequest) {
3105
+ return __awaiter(this, void 0, void 0, function* () {
3106
+ if (this.logger)
3107
+ this.logger.debug("Calling operation FileStorageClient#updateFilesystemSnapshotPolicy.");
3108
+ const operationName = "updateFilesystemSnapshotPolicy";
3109
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicy/UpdateFilesystemSnapshotPolicy";
3110
+ const pathParams = {
3111
+ "{filesystemSnapshotPolicyId}": updateFilesystemSnapshotPolicyRequest.filesystemSnapshotPolicyId
3112
+ };
3113
+ const queryParams = {};
3114
+ let headerParams = {
3115
+ "Content-Type": common.Constants.APPLICATION_JSON,
3116
+ "if-match": updateFilesystemSnapshotPolicyRequest.ifMatch,
3117
+ "opc-request-id": updateFilesystemSnapshotPolicyRequest.opcRequestId
3118
+ };
3119
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3120
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
3121
+ if (this.logger)
3122
+ retrier.logger = this.logger;
3123
+ const request = yield oci_common_2.composeRequest({
3124
+ baseEndpoint: this._endpoint,
3125
+ defaultHeaders: this._defaultHeaders,
3126
+ path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}",
3127
+ method: "PUT",
3128
+ bodyContent: common.ObjectSerializer.serialize(updateFilesystemSnapshotPolicyRequest.updateFilesystemSnapshotPolicyDetails, "UpdateFilesystemSnapshotPolicyDetails", model.UpdateFilesystemSnapshotPolicyDetails.getJsonObj),
3129
+ pathParams: pathParams,
3130
+ headerParams: headerParams,
3131
+ queryParams: queryParams
3132
+ });
3133
+ try {
3134
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3135
+ const sdkResponse = oci_common_2.composeResponse({
3136
+ responseObject: {},
3137
+ body: yield response.json(),
3138
+ bodyKey: "filesystemSnapshotPolicy",
3139
+ bodyModel: model.FilesystemSnapshotPolicy,
3140
+ type: "model.FilesystemSnapshotPolicy",
3141
+ responseHeaders: [
3142
+ {
3143
+ value: response.headers.get("etag"),
3144
+ key: "etag",
3145
+ dataType: "string"
3146
+ },
3147
+ {
3148
+ value: response.headers.get("opc-request-id"),
3149
+ key: "opcRequestId",
3150
+ dataType: "string"
3151
+ }
3152
+ ]
3153
+ });
3154
+ return sdkResponse;
3155
+ }
3156
+ catch (err) {
3157
+ throw err;
3158
+ }
3159
+ });
3160
+ }
2594
3161
  /**
2595
3162
  * Updates the specified mount target's information.
2596
3163
  * This operation does not retry by default if the user has not defined a retry configuration.
2597
3164
  * @param UpdateMountTargetRequest
2598
3165
  * @return UpdateMountTargetResponse
2599
3166
  * @throws OciError when an error occurs
2600
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/UpdateMountTarget.ts.html |here} to see how to use UpdateMountTarget API.
3167
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/UpdateMountTarget.ts.html |here} to see how to use UpdateMountTarget API.
2601
3168
  */
2602
3169
  updateMountTarget(updateMountTargetRequest) {
2603
3170
  return __awaiter(this, void 0, void 0, function* () {
@@ -2663,7 +3230,7 @@ class FileStorageClient {
2663
3230
  * @param UpdateReplicationRequest
2664
3231
  * @return UpdateReplicationResponse
2665
3232
  * @throws OciError when an error occurs
2666
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/UpdateReplication.ts.html |here} to see how to use UpdateReplication API.
3233
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/UpdateReplication.ts.html |here} to see how to use UpdateReplication API.
2667
3234
  */
2668
3235
  updateReplication(updateReplicationRequest) {
2669
3236
  return __awaiter(this, void 0, void 0, function* () {
@@ -2728,7 +3295,7 @@ class FileStorageClient {
2728
3295
  * @param UpdateSnapshotRequest
2729
3296
  * @return UpdateSnapshotResponse
2730
3297
  * @throws OciError when an error occurs
2731
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.60.0/filestorage/UpdateSnapshot.ts.html |here} to see how to use UpdateSnapshot API.
3298
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.0/filestorage/UpdateSnapshot.ts.html |here} to see how to use UpdateSnapshot API.
2732
3299
  */
2733
3300
  updateSnapshot(updateSnapshotRequest) {
2734
3301
  return __awaiter(this, void 0, void 0, function* () {