oci-filestorage 2.64.0 → 2.66.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 (177) hide show
  1. package/lib/client.d.ts +170 -44
  2. package/lib/client.js +545 -44
  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-outbound-connector-compartment-details.d.ts +29 -0
  8. package/lib/model/change-outbound-connector-compartment-details.js +31 -0
  9. package/lib/model/change-outbound-connector-compartment-details.js.map +1 -0
  10. package/lib/model/client-options.d.ts +21 -0
  11. package/lib/model/client-options.js +12 -0
  12. package/lib/model/client-options.js.map +1 -1
  13. package/lib/model/create-export-details.d.ts +4 -0
  14. package/lib/model/create-export-details.js.map +1 -1
  15. package/lib/model/create-kerberos-details.d.ts +44 -0
  16. package/lib/model/create-kerberos-details.js +31 -0
  17. package/lib/model/create-kerberos-details.js.map +1 -0
  18. package/lib/model/create-ldap-bind-account-details.d.ts +45 -0
  19. package/lib/model/create-ldap-bind-account-details.js +68 -0
  20. package/lib/model/create-ldap-bind-account-details.js.map +1 -0
  21. package/lib/model/create-ldap-idmap-details.d.ts +65 -0
  22. package/lib/model/create-ldap-idmap-details.js +35 -0
  23. package/lib/model/create-ldap-idmap-details.js.map +1 -0
  24. package/lib/model/create-mount-target-details.d.ts +7 -0
  25. package/lib/model/create-mount-target-details.js +34 -2
  26. package/lib/model/create-mount-target-details.js.map +1 -1
  27. package/lib/model/create-outbound-connector-details.d.ts +65 -0
  28. package/lib/model/create-outbound-connector-details.js +70 -0
  29. package/lib/model/create-outbound-connector-details.js.map +1 -0
  30. package/lib/model/endpoint.d.ts +32 -0
  31. package/lib/model/endpoint.js +31 -0
  32. package/lib/model/endpoint.js.map +1 -0
  33. package/lib/model/export-summary.d.ts +4 -0
  34. package/lib/model/export-summary.js.map +1 -1
  35. package/lib/model/export.d.ts +4 -0
  36. package/lib/model/export.js.map +1 -1
  37. package/lib/model/file-system.d.ts +1 -1
  38. package/lib/model/index.d.ts +38 -0
  39. package/lib/model/index.js +40 -1
  40. package/lib/model/index.js.map +1 -1
  41. package/lib/model/kerberos-keytab-entry.d.ts +52 -0
  42. package/lib/model/kerberos-keytab-entry.js +43 -0
  43. package/lib/model/kerberos-keytab-entry.js.map +1 -0
  44. package/lib/model/kerberos.d.ts +44 -0
  45. package/lib/model/kerberos.js +31 -0
  46. package/lib/model/kerberos.js.map +1 -0
  47. package/lib/model/key-tab-secret-details.d.ts +35 -0
  48. package/lib/model/key-tab-secret-details.js +31 -0
  49. package/lib/model/key-tab-secret-details.js.map +1 -0
  50. package/lib/model/ldap-bind-account-summary.d.ts +36 -0
  51. package/lib/model/ldap-bind-account-summary.js +68 -0
  52. package/lib/model/ldap-bind-account-summary.js.map +1 -0
  53. package/lib/model/ldap-bind-account.d.ts +44 -0
  54. package/lib/model/ldap-bind-account.js +66 -0
  55. package/lib/model/ldap-bind-account.js.map +1 -0
  56. package/lib/model/ldap-idmap.d.ts +70 -0
  57. package/lib/model/ldap-idmap.js +40 -0
  58. package/lib/model/ldap-idmap.js.map +1 -0
  59. package/lib/model/mount-target.d.ts +16 -0
  60. package/lib/model/mount-target.js +40 -2
  61. package/lib/model/mount-target.js.map +1 -1
  62. package/lib/model/outbound-connector-summary.d.ts +92 -0
  63. package/lib/model/outbound-connector-summary.js +82 -0
  64. package/lib/model/outbound-connector-summary.js.map +1 -0
  65. package/lib/model/outbound-connector.d.ts +94 -0
  66. package/lib/model/outbound-connector.js +82 -0
  67. package/lib/model/outbound-connector.js.map +1 -0
  68. package/lib/model/update-export-details.d.ts +4 -0
  69. package/lib/model/update-export-details.js.map +1 -1
  70. package/lib/model/update-kerberos-details.d.ts +44 -0
  71. package/lib/model/update-kerberos-details.js +31 -0
  72. package/lib/model/update-kerberos-details.js.map +1 -0
  73. package/lib/model/update-ldap-idmap-details.d.ts +65 -0
  74. package/lib/model/update-ldap-idmap-details.js +35 -0
  75. package/lib/model/update-ldap-idmap-details.js.map +1 -0
  76. package/lib/model/update-mount-target-details.d.ts +7 -0
  77. package/lib/model/update-mount-target-details.js +34 -2
  78. package/lib/model/update-mount-target-details.js.map +1 -1
  79. package/lib/model/update-outbound-connector-details.d.ts +52 -0
  80. package/lib/model/update-outbound-connector-details.js +31 -0
  81. package/lib/model/update-outbound-connector-details.js.map +1 -0
  82. package/lib/model/validate-key-tabs-details.d.ts +29 -0
  83. package/lib/model/validate-key-tabs-details.js +59 -0
  84. package/lib/model/validate-key-tabs-details.js.map +1 -0
  85. package/lib/model/validate-key-tabs-response-details.d.ts +32 -0
  86. package/lib/model/validate-key-tabs-response-details.js +73 -0
  87. package/lib/model/validate-key-tabs-response-details.js.map +1 -0
  88. package/lib/request/change-file-system-compartment-request.d.ts +1 -1
  89. package/lib/request/change-filesystem-snapshot-policy-compartment-request.d.ts +1 -1
  90. package/lib/request/change-mount-target-compartment-request.d.ts +1 -1
  91. package/lib/request/change-outbound-connector-compartment-request.d.ts +42 -0
  92. package/lib/request/change-outbound-connector-compartment-request.js +15 -0
  93. package/lib/request/change-outbound-connector-compartment-request.js.map +1 -0
  94. package/lib/request/change-replication-compartment-request.d.ts +1 -1
  95. package/lib/request/create-export-request.d.ts +1 -1
  96. package/lib/request/create-file-system-request.d.ts +1 -1
  97. package/lib/request/create-filesystem-snapshot-policy-request.d.ts +1 -1
  98. package/lib/request/create-mount-target-request.d.ts +1 -1
  99. package/lib/request/create-outbound-connector-request.d.ts +38 -0
  100. package/lib/request/create-outbound-connector-request.js +15 -0
  101. package/lib/request/create-outbound-connector-request.js.map +1 -0
  102. package/lib/request/create-replication-request.d.ts +1 -1
  103. package/lib/request/create-snapshot-request.d.ts +1 -1
  104. package/lib/request/delete-export-request.d.ts +1 -1
  105. package/lib/request/delete-file-system-request.d.ts +1 -1
  106. package/lib/request/delete-filesystem-snapshot-policy-request.d.ts +1 -1
  107. package/lib/request/delete-mount-target-request.d.ts +1 -1
  108. package/lib/request/delete-outbound-connector-request.d.ts +37 -0
  109. package/lib/request/delete-outbound-connector-request.js +15 -0
  110. package/lib/request/delete-outbound-connector-request.js.map +1 -0
  111. package/lib/request/delete-replication-request.d.ts +1 -1
  112. package/lib/request/delete-replication-target-request.d.ts +1 -1
  113. package/lib/request/delete-snapshot-request.d.ts +1 -1
  114. package/lib/request/estimate-replication-request.d.ts +1 -1
  115. package/lib/request/get-export-request.d.ts +1 -1
  116. package/lib/request/get-export-set-request.d.ts +1 -1
  117. package/lib/request/get-file-system-request.d.ts +1 -1
  118. package/lib/request/get-filesystem-snapshot-policy-request.d.ts +1 -1
  119. package/lib/request/get-mount-target-request.d.ts +1 -1
  120. package/lib/request/get-outbound-connector-request.d.ts +28 -0
  121. package/lib/request/get-outbound-connector-request.js +15 -0
  122. package/lib/request/get-outbound-connector-request.js.map +1 -0
  123. package/lib/request/get-replication-request.d.ts +1 -1
  124. package/lib/request/get-replication-target-request.d.ts +1 -1
  125. package/lib/request/get-snapshot-request.d.ts +1 -1
  126. package/lib/request/index.d.ts +14 -0
  127. package/lib/request/index.js +3 -1
  128. package/lib/request/index.js.map +1 -1
  129. package/lib/request/list-export-sets-request.d.ts +1 -1
  130. package/lib/request/list-exports-request.d.ts +1 -1
  131. package/lib/request/list-file-systems-request.d.ts +1 -1
  132. package/lib/request/list-filesystem-snapshot-policies-request.d.ts +1 -1
  133. package/lib/request/list-mount-targets-request.d.ts +1 -1
  134. package/lib/request/list-outbound-connectors-request.d.ts +107 -0
  135. package/lib/request/list-outbound-connectors-request.js +37 -0
  136. package/lib/request/list-outbound-connectors-request.js.map +1 -0
  137. package/lib/request/list-replication-targets-request.d.ts +1 -1
  138. package/lib/request/list-replications-request.d.ts +1 -1
  139. package/lib/request/list-snapshots-request.d.ts +1 -1
  140. package/lib/request/pause-filesystem-snapshot-policy-request.d.ts +1 -1
  141. package/lib/request/unpause-filesystem-snapshot-policy-request.d.ts +1 -1
  142. package/lib/request/update-export-request.d.ts +1 -1
  143. package/lib/request/update-export-set-request.d.ts +1 -1
  144. package/lib/request/update-file-system-request.d.ts +1 -1
  145. package/lib/request/update-filesystem-snapshot-policy-request.d.ts +1 -1
  146. package/lib/request/update-mount-target-request.d.ts +1 -1
  147. package/lib/request/update-outbound-connector-request.d.ts +42 -0
  148. package/lib/request/update-outbound-connector-request.js +15 -0
  149. package/lib/request/update-outbound-connector-request.js.map +1 -0
  150. package/lib/request/update-replication-request.d.ts +1 -1
  151. package/lib/request/update-snapshot-request.d.ts +1 -1
  152. package/lib/request/validate-key-tabs-request.d.ts +29 -0
  153. package/lib/request/validate-key-tabs-request.js +15 -0
  154. package/lib/request/validate-key-tabs-request.js.map +1 -0
  155. package/lib/response/change-outbound-connector-compartment-response.d.ts +18 -0
  156. package/lib/response/change-outbound-connector-compartment-response.js +15 -0
  157. package/lib/response/change-outbound-connector-compartment-response.js.map +1 -0
  158. package/lib/response/create-outbound-connector-response.d.ts +30 -0
  159. package/lib/response/create-outbound-connector-response.js +15 -0
  160. package/lib/response/create-outbound-connector-response.js.map +1 -0
  161. package/lib/response/delete-outbound-connector-response.d.ts +21 -0
  162. package/lib/response/delete-outbound-connector-response.js +15 -0
  163. package/lib/response/delete-outbound-connector-response.js.map +1 -0
  164. package/lib/response/get-outbound-connector-response.d.ts +30 -0
  165. package/lib/response/get-outbound-connector-response.js +15 -0
  166. package/lib/response/get-outbound-connector-response.js.map +1 -0
  167. package/lib/response/index.d.ts +14 -0
  168. package/lib/response/list-outbound-connectors-response.d.ts +35 -0
  169. package/lib/response/list-outbound-connectors-response.js +15 -0
  170. package/lib/response/list-outbound-connectors-response.js.map +1 -0
  171. package/lib/response/update-outbound-connector-response.d.ts +30 -0
  172. package/lib/response/update-outbound-connector-response.js +15 -0
  173. package/lib/response/update-outbound-connector-response.js.map +1 -0
  174. package/lib/response/validate-key-tabs-response.d.ts +23 -0
  175. package/lib/response/validate-key-tabs-response.js +15 -0
  176. package/lib/response/validate-key-tabs-response.js.map +1 -0
  177. 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.64.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.66.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* () {
@@ -240,7 +240,7 @@ class FileStorageClient {
240
240
  * @param ChangeFilesystemSnapshotPolicyCompartmentRequest
241
241
  * @return ChangeFilesystemSnapshotPolicyCompartmentResponse
242
242
  * @throws OciError when an error occurs
243
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/ChangeFilesystemSnapshotPolicyCompartment.ts.html |here} to see how to use ChangeFilesystemSnapshotPolicyCompartment API.
243
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/ChangeFilesystemSnapshotPolicyCompartment.ts.html |here} to see how to use ChangeFilesystemSnapshotPolicyCompartment API.
244
244
  */
245
245
  changeFilesystemSnapshotPolicyCompartment(changeFilesystemSnapshotPolicyCompartmentRequest) {
246
246
  return __awaiter(this, void 0, void 0, function* () {
@@ -291,13 +291,13 @@ class FileStorageClient {
291
291
  });
292
292
  }
293
293
  /**
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)
294
+ * Moves a mount target and its associated export set or share 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)
295
295
  *
296
296
  * This operation does not retry by default if the user has not defined a retry configuration.
297
297
  * @param ChangeMountTargetCompartmentRequest
298
298
  * @return ChangeMountTargetCompartmentResponse
299
299
  * @throws OciError when an error occurs
300
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.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.66.0/filestorage/ChangeMountTargetCompartment.ts.html |here} to see how to use ChangeMountTargetCompartment API.
301
301
  */
302
302
  changeMountTargetCompartment(changeMountTargetCompartmentRequest) {
303
303
  return __awaiter(this, void 0, void 0, function* () {
@@ -347,6 +347,65 @@ class FileStorageClient {
347
347
  }
348
348
  });
349
349
  }
350
+ /**
351
+ * Moves an outbound connector into a different compartment within the same tenancy.
352
+ * For information about moving resources between compartments, see
353
+ * [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes)
354
+ *
355
+ * This operation does not retry by default if the user has not defined a retry configuration.
356
+ * @param ChangeOutboundConnectorCompartmentRequest
357
+ * @return ChangeOutboundConnectorCompartmentResponse
358
+ * @throws OciError when an error occurs
359
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/ChangeOutboundConnectorCompartment.ts.html |here} to see how to use ChangeOutboundConnectorCompartment API.
360
+ */
361
+ changeOutboundConnectorCompartment(changeOutboundConnectorCompartmentRequest) {
362
+ return __awaiter(this, void 0, void 0, function* () {
363
+ if (this.logger)
364
+ this.logger.debug("Calling operation FileStorageClient#changeOutboundConnectorCompartment.");
365
+ const operationName = "changeOutboundConnectorCompartment";
366
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/OutboundConnector/ChangeOutboundConnectorCompartment";
367
+ const pathParams = {
368
+ "{outboundConnectorId}": changeOutboundConnectorCompartmentRequest.outboundConnectorId
369
+ };
370
+ const queryParams = {};
371
+ let headerParams = {
372
+ "Content-Type": common.Constants.APPLICATION_JSON,
373
+ "if-match": changeOutboundConnectorCompartmentRequest.ifMatch,
374
+ "opc-request-id": changeOutboundConnectorCompartmentRequest.opcRequestId
375
+ };
376
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
377
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOutboundConnectorCompartmentRequest.retryConfiguration, specRetryConfiguration);
378
+ if (this.logger)
379
+ retrier.logger = this.logger;
380
+ const request = yield oci_common_2.composeRequest({
381
+ baseEndpoint: this._endpoint,
382
+ defaultHeaders: this._defaultHeaders,
383
+ path: "/outboundConnectors/{outboundConnectorId}/actions/changeCompartment",
384
+ method: "POST",
385
+ bodyContent: common.ObjectSerializer.serialize(changeOutboundConnectorCompartmentRequest.changeOutboundConnectorCompartmentDetails, "ChangeOutboundConnectorCompartmentDetails", model.ChangeOutboundConnectorCompartmentDetails.getJsonObj),
386
+ pathParams: pathParams,
387
+ headerParams: headerParams,
388
+ queryParams: queryParams
389
+ });
390
+ try {
391
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
392
+ const sdkResponse = oci_common_2.composeResponse({
393
+ responseObject: {},
394
+ responseHeaders: [
395
+ {
396
+ value: response.headers.get("opc-request-id"),
397
+ key: "opcRequestId",
398
+ dataType: "string"
399
+ }
400
+ ]
401
+ });
402
+ return sdkResponse;
403
+ }
404
+ catch (err) {
405
+ throw err;
406
+ }
407
+ });
408
+ }
350
409
  /**
351
410
  * Moves a replication and its replication target into a different compartment within the same tenancy.
352
411
  * 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).
@@ -355,7 +414,7 @@ class FileStorageClient {
355
414
  * @param ChangeReplicationCompartmentRequest
356
415
  * @return ChangeReplicationCompartmentResponse
357
416
  * @throws OciError when an error occurs
358
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/ChangeReplicationCompartment.ts.html |here} to see how to use ChangeReplicationCompartment API.
417
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/ChangeReplicationCompartment.ts.html |here} to see how to use ChangeReplicationCompartment API.
359
418
  */
360
419
  changeReplicationCompartment(changeReplicationCompartmentRequest) {
361
420
  return __awaiter(this, void 0, void 0, function* () {
@@ -413,7 +472,7 @@ class FileStorageClient {
413
472
  * @param CreateExportRequest
414
473
  * @return CreateExportResponse
415
474
  * @throws OciError when an error occurs
416
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/CreateExport.ts.html |here} to see how to use CreateExport API.
475
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/CreateExport.ts.html |here} to see how to use CreateExport API.
417
476
  */
418
477
  createExport(createExportRequest) {
419
478
  return __awaiter(this, void 0, void 0, function* () {
@@ -505,7 +564,7 @@ class FileStorageClient {
505
564
  * @param CreateFileSystemRequest
506
565
  * @return CreateFileSystemResponse
507
566
  * @throws OciError when an error occurs
508
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/CreateFileSystem.ts.html |here} to see how to use CreateFileSystem API.
567
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/CreateFileSystem.ts.html |here} to see how to use CreateFileSystem API.
509
568
  */
510
569
  createFileSystem(createFileSystemRequest) {
511
570
  return __awaiter(this, void 0, void 0, function* () {
@@ -573,7 +632,7 @@ class FileStorageClient {
573
632
  * @param CreateFilesystemSnapshotPolicyRequest
574
633
  * @return CreateFilesystemSnapshotPolicyResponse
575
634
  * @throws OciError when an error occurs
576
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/CreateFilesystemSnapshotPolicy.ts.html |here} to see how to use CreateFilesystemSnapshotPolicy API.
635
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/CreateFilesystemSnapshotPolicy.ts.html |here} to see how to use CreateFilesystemSnapshotPolicy API.
577
636
  */
578
637
  createFilesystemSnapshotPolicy(createFilesystemSnapshotPolicyRequest) {
579
638
  return __awaiter(this, void 0, void 0, function* () {
@@ -668,7 +727,7 @@ class FileStorageClient {
668
727
  * @param CreateMountTargetRequest
669
728
  * @return CreateMountTargetResponse
670
729
  * @throws OciError when an error occurs
671
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/CreateMountTarget.ts.html |here} to see how to use CreateMountTarget API.
730
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/CreateMountTarget.ts.html |here} to see how to use CreateMountTarget API.
672
731
  */
673
732
  createMountTarget(createMountTargetRequest) {
674
733
  return __awaiter(this, void 0, void 0, function* () {
@@ -725,6 +784,89 @@ class FileStorageClient {
725
784
  }
726
785
  });
727
786
  }
787
+ /**
788
+ * Creates a new outbound connector in the specified compartment.
789
+ * You can associate an outbound connector with a mount target only when
790
+ * they exist in the same availability domain.
791
+ * <p>
792
+ For information about access control and compartments, see
793
+ * [Overview of the IAM
794
+ * Service](https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm).
795
+ * <p>
796
+ For information about availability domains, see [Regions and
797
+ * Availability Domains](https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm).
798
+ * To get a list of availability domains, use the
799
+ * `ListAvailabilityDomains` operation in the Identity and Access
800
+ * Management Service API.
801
+ * <p>
802
+ All Oracle Cloud Infrastructure Services resources, including
803
+ * outbound connectors, get an Oracle-assigned, unique ID called an
804
+ * Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)).
805
+ * When you create a resource, you can find its OCID in the response.
806
+ * You can also retrieve a resource's OCID by using a List API operation on that resource
807
+ * type, or by viewing the resource in the Console.
808
+ *
809
+ * This operation does not retry by default if the user has not defined a retry configuration.
810
+ * @param CreateOutboundConnectorRequest
811
+ * @return CreateOutboundConnectorResponse
812
+ * @throws OciError when an error occurs
813
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/CreateOutboundConnector.ts.html |here} to see how to use CreateOutboundConnector API.
814
+ */
815
+ createOutboundConnector(createOutboundConnectorRequest) {
816
+ return __awaiter(this, void 0, void 0, function* () {
817
+ if (this.logger)
818
+ this.logger.debug("Calling operation FileStorageClient#createOutboundConnector.");
819
+ const operationName = "createOutboundConnector";
820
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/OutboundConnector/CreateOutboundConnector";
821
+ const pathParams = {};
822
+ const queryParams = {};
823
+ let headerParams = {
824
+ "Content-Type": common.Constants.APPLICATION_JSON,
825
+ "opc-retry-token": createOutboundConnectorRequest.opcRetryToken,
826
+ "opc-request-id": createOutboundConnectorRequest.opcRequestId
827
+ };
828
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
829
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOutboundConnectorRequest.retryConfiguration, specRetryConfiguration);
830
+ if (this.logger)
831
+ retrier.logger = this.logger;
832
+ const request = yield oci_common_2.composeRequest({
833
+ baseEndpoint: this._endpoint,
834
+ defaultHeaders: this._defaultHeaders,
835
+ path: "/outboundConnectors",
836
+ method: "POST",
837
+ bodyContent: common.ObjectSerializer.serialize(createOutboundConnectorRequest.createOutboundConnectorDetails, "CreateOutboundConnectorDetails", model.CreateOutboundConnectorDetails.getJsonObj),
838
+ pathParams: pathParams,
839
+ headerParams: headerParams,
840
+ queryParams: queryParams
841
+ });
842
+ try {
843
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
844
+ const sdkResponse = oci_common_2.composeResponse({
845
+ responseObject: {},
846
+ body: yield response.json(),
847
+ bodyKey: "outboundConnector",
848
+ bodyModel: model.OutboundConnector,
849
+ type: "model.OutboundConnector",
850
+ responseHeaders: [
851
+ {
852
+ value: response.headers.get("etag"),
853
+ key: "etag",
854
+ dataType: "string"
855
+ },
856
+ {
857
+ value: response.headers.get("opc-request-id"),
858
+ key: "opcRequestId",
859
+ dataType: "string"
860
+ }
861
+ ]
862
+ });
863
+ return sdkResponse;
864
+ }
865
+ catch (err) {
866
+ throw err;
867
+ }
868
+ });
869
+ }
728
870
  /**
729
871
  * Creates a new replication in the specified compartment.
730
872
  * Replications are the primary resource that governs the policy of cross-region replication between source
@@ -758,7 +900,7 @@ class FileStorageClient {
758
900
  * @param CreateReplicationRequest
759
901
  * @return CreateReplicationResponse
760
902
  * @throws OciError when an error occurs
761
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/CreateReplication.ts.html |here} to see how to use CreateReplication API.
903
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/CreateReplication.ts.html |here} to see how to use CreateReplication API.
762
904
  */
763
905
  createReplication(createReplicationRequest) {
764
906
  return __awaiter(this, void 0, void 0, function* () {
@@ -823,7 +965,7 @@ class FileStorageClient {
823
965
  * @param CreateSnapshotRequest
824
966
  * @return CreateSnapshotResponse
825
967
  * @throws OciError when an error occurs
826
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/CreateSnapshot.ts.html |here} to see how to use CreateSnapshot API.
968
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/CreateSnapshot.ts.html |here} to see how to use CreateSnapshot API.
827
969
  */
828
970
  createSnapshot(createSnapshotRequest) {
829
971
  return __awaiter(this, void 0, void 0, function* () {
@@ -887,7 +1029,7 @@ class FileStorageClient {
887
1029
  * @param DeleteExportRequest
888
1030
  * @return DeleteExportResponse
889
1031
  * @throws OciError when an error occurs
890
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/DeleteExport.ts.html |here} to see how to use DeleteExport API.
1032
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/DeleteExport.ts.html |here} to see how to use DeleteExport API.
891
1033
  */
892
1034
  deleteExport(deleteExportRequest) {
893
1035
  return __awaiter(this, void 0, void 0, function* () {
@@ -945,7 +1087,7 @@ class FileStorageClient {
945
1087
  * @param DeleteFileSystemRequest
946
1088
  * @return DeleteFileSystemResponse
947
1089
  * @throws OciError when an error occurs
948
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/DeleteFileSystem.ts.html |here} to see how to use DeleteFileSystem API.
1090
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/DeleteFileSystem.ts.html |here} to see how to use DeleteFileSystem API.
949
1091
  */
950
1092
  deleteFileSystem(deleteFileSystemRequest) {
951
1093
  return __awaiter(this, void 0, void 0, function* () {
@@ -1001,7 +1143,7 @@ class FileStorageClient {
1001
1143
  * @param DeleteFilesystemSnapshotPolicyRequest
1002
1144
  * @return DeleteFilesystemSnapshotPolicyResponse
1003
1145
  * @throws OciError when an error occurs
1004
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/DeleteFilesystemSnapshotPolicy.ts.html |here} to see how to use DeleteFilesystemSnapshotPolicy API.
1146
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/DeleteFilesystemSnapshotPolicy.ts.html |here} to see how to use DeleteFilesystemSnapshotPolicy API.
1005
1147
  */
1006
1148
  deleteFilesystemSnapshotPolicy(deleteFilesystemSnapshotPolicyRequest) {
1007
1149
  return __awaiter(this, void 0, void 0, function* () {
@@ -1058,7 +1200,7 @@ class FileStorageClient {
1058
1200
  * @param DeleteMountTargetRequest
1059
1201
  * @return DeleteMountTargetResponse
1060
1202
  * @throws OciError when an error occurs
1061
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/DeleteMountTarget.ts.html |here} to see how to use DeleteMountTarget API.
1203
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/DeleteMountTarget.ts.html |here} to see how to use DeleteMountTarget API.
1062
1204
  */
1063
1205
  deleteMountTarget(deleteMountTargetRequest) {
1064
1206
  return __awaiter(this, void 0, void 0, function* () {
@@ -1107,6 +1249,62 @@ class FileStorageClient {
1107
1249
  }
1108
1250
  });
1109
1251
  }
1252
+ /**
1253
+ * Deletes the specified outbound connector.
1254
+ *
1255
+ * This operation does not retry by default if the user has not defined a retry configuration.
1256
+ * @param DeleteOutboundConnectorRequest
1257
+ * @return DeleteOutboundConnectorResponse
1258
+ * @throws OciError when an error occurs
1259
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/DeleteOutboundConnector.ts.html |here} to see how to use DeleteOutboundConnector API.
1260
+ */
1261
+ deleteOutboundConnector(deleteOutboundConnectorRequest) {
1262
+ return __awaiter(this, void 0, void 0, function* () {
1263
+ if (this.logger)
1264
+ this.logger.debug("Calling operation FileStorageClient#deleteOutboundConnector.");
1265
+ const operationName = "deleteOutboundConnector";
1266
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/OutboundConnector/DeleteOutboundConnector";
1267
+ const pathParams = {
1268
+ "{outboundConnectorId}": deleteOutboundConnectorRequest.outboundConnectorId
1269
+ };
1270
+ const queryParams = {};
1271
+ let headerParams = {
1272
+ "Content-Type": common.Constants.APPLICATION_JSON,
1273
+ "if-match": deleteOutboundConnectorRequest.ifMatch,
1274
+ "opc-request-id": deleteOutboundConnectorRequest.opcRequestId
1275
+ };
1276
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1277
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOutboundConnectorRequest.retryConfiguration, specRetryConfiguration);
1278
+ if (this.logger)
1279
+ retrier.logger = this.logger;
1280
+ const request = yield oci_common_2.composeRequest({
1281
+ baseEndpoint: this._endpoint,
1282
+ defaultHeaders: this._defaultHeaders,
1283
+ path: "/outboundConnectors/{outboundConnectorId}",
1284
+ method: "DELETE",
1285
+ pathParams: pathParams,
1286
+ headerParams: headerParams,
1287
+ queryParams: queryParams
1288
+ });
1289
+ try {
1290
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1291
+ const sdkResponse = oci_common_2.composeResponse({
1292
+ responseObject: {},
1293
+ responseHeaders: [
1294
+ {
1295
+ value: response.headers.get("opc-request-id"),
1296
+ key: "opcRequestId",
1297
+ dataType: "string"
1298
+ }
1299
+ ]
1300
+ });
1301
+ return sdkResponse;
1302
+ }
1303
+ catch (err) {
1304
+ throw err;
1305
+ }
1306
+ });
1307
+ }
1110
1308
  /**
1111
1309
  * Deletes the specified replication and the the associated replication target.
1112
1310
  *
@@ -1114,7 +1312,7 @@ class FileStorageClient {
1114
1312
  * @param DeleteReplicationRequest
1115
1313
  * @return DeleteReplicationResponse
1116
1314
  * @throws OciError when an error occurs
1117
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/DeleteReplication.ts.html |here} to see how to use DeleteReplication API.
1315
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/DeleteReplication.ts.html |here} to see how to use DeleteReplication API.
1118
1316
  */
1119
1317
  deleteReplication(deleteReplicationRequest) {
1120
1318
  return __awaiter(this, void 0, void 0, function* () {
@@ -1175,7 +1373,7 @@ class FileStorageClient {
1175
1373
  * @param DeleteReplicationTargetRequest
1176
1374
  * @return DeleteReplicationTargetResponse
1177
1375
  * @throws OciError when an error occurs
1178
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/DeleteReplicationTarget.ts.html |here} to see how to use DeleteReplicationTarget API.
1376
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/DeleteReplicationTarget.ts.html |here} to see how to use DeleteReplicationTarget API.
1179
1377
  */
1180
1378
  deleteReplicationTarget(deleteReplicationTargetRequest) {
1181
1379
  return __awaiter(this, void 0, void 0, function* () {
@@ -1231,7 +1429,7 @@ class FileStorageClient {
1231
1429
  * @param DeleteSnapshotRequest
1232
1430
  * @return DeleteSnapshotResponse
1233
1431
  * @throws OciError when an error occurs
1234
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/DeleteSnapshot.ts.html |here} to see how to use DeleteSnapshot API.
1432
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/DeleteSnapshot.ts.html |here} to see how to use DeleteSnapshot API.
1235
1433
  */
1236
1434
  deleteSnapshot(deleteSnapshotRequest) {
1237
1435
  return __awaiter(this, void 0, void 0, function* () {
@@ -1287,7 +1485,7 @@ class FileStorageClient {
1287
1485
  * @param EstimateReplicationRequest
1288
1486
  * @return EstimateReplicationResponse
1289
1487
  * @throws OciError when an error occurs
1290
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/EstimateReplication.ts.html |here} to see how to use EstimateReplication API.
1488
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/EstimateReplication.ts.html |here} to see how to use EstimateReplication API.
1291
1489
  */
1292
1490
  estimateReplication(estimateReplicationRequest) {
1293
1491
  return __awaiter(this, void 0, void 0, function* () {
@@ -1353,7 +1551,7 @@ class FileStorageClient {
1353
1551
  * @param GetExportRequest
1354
1552
  * @return GetExportResponse
1355
1553
  * @throws OciError when an error occurs
1356
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/GetExport.ts.html |here} to see how to use GetExport API.
1554
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/GetExport.ts.html |here} to see how to use GetExport API.
1357
1555
  */
1358
1556
  getExport(getExportRequest) {
1359
1557
  return __awaiter(this, void 0, void 0, function* () {
@@ -1416,7 +1614,7 @@ class FileStorageClient {
1416
1614
  * @param GetExportSetRequest
1417
1615
  * @return GetExportSetResponse
1418
1616
  * @throws OciError when an error occurs
1419
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/GetExportSet.ts.html |here} to see how to use GetExportSet API.
1617
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/GetExportSet.ts.html |here} to see how to use GetExportSet API.
1420
1618
  */
1421
1619
  getExportSet(getExportSetRequest) {
1422
1620
  return __awaiter(this, void 0, void 0, function* () {
@@ -1479,7 +1677,7 @@ class FileStorageClient {
1479
1677
  * @param GetFileSystemRequest
1480
1678
  * @return GetFileSystemResponse
1481
1679
  * @throws OciError when an error occurs
1482
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/GetFileSystem.ts.html |here} to see how to use GetFileSystem API.
1680
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/GetFileSystem.ts.html |here} to see how to use GetFileSystem API.
1483
1681
  */
1484
1682
  getFileSystem(getFileSystemRequest) {
1485
1683
  return __awaiter(this, void 0, void 0, function* () {
@@ -1542,7 +1740,7 @@ class FileStorageClient {
1542
1740
  * @param GetFilesystemSnapshotPolicyRequest
1543
1741
  * @return GetFilesystemSnapshotPolicyResponse
1544
1742
  * @throws OciError when an error occurs
1545
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/GetFilesystemSnapshotPolicy.ts.html |here} to see how to use GetFilesystemSnapshotPolicy API.
1743
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/GetFilesystemSnapshotPolicy.ts.html |here} to see how to use GetFilesystemSnapshotPolicy API.
1546
1744
  */
1547
1745
  getFilesystemSnapshotPolicy(getFilesystemSnapshotPolicyRequest) {
1548
1746
  return __awaiter(this, void 0, void 0, function* () {
@@ -1605,7 +1803,7 @@ class FileStorageClient {
1605
1803
  * @param GetMountTargetRequest
1606
1804
  * @return GetMountTargetResponse
1607
1805
  * @throws OciError when an error occurs
1608
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/GetMountTarget.ts.html |here} to see how to use GetMountTarget API.
1806
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/GetMountTarget.ts.html |here} to see how to use GetMountTarget API.
1609
1807
  */
1610
1808
  getMountTarget(getMountTargetRequest) {
1611
1809
  return __awaiter(this, void 0, void 0, function* () {
@@ -1662,13 +1860,76 @@ class FileStorageClient {
1662
1860
  }
1663
1861
  });
1664
1862
  }
1863
+ /**
1864
+ * Gets the specified outbound connector's information.
1865
+ * This operation does not retry by default if the user has not defined a retry configuration.
1866
+ * @param GetOutboundConnectorRequest
1867
+ * @return GetOutboundConnectorResponse
1868
+ * @throws OciError when an error occurs
1869
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/GetOutboundConnector.ts.html |here} to see how to use GetOutboundConnector API.
1870
+ */
1871
+ getOutboundConnector(getOutboundConnectorRequest) {
1872
+ return __awaiter(this, void 0, void 0, function* () {
1873
+ if (this.logger)
1874
+ this.logger.debug("Calling operation FileStorageClient#getOutboundConnector.");
1875
+ const operationName = "getOutboundConnector";
1876
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/OutboundConnector/GetOutboundConnector";
1877
+ const pathParams = {
1878
+ "{outboundConnectorId}": getOutboundConnectorRequest.outboundConnectorId
1879
+ };
1880
+ const queryParams = {};
1881
+ let headerParams = {
1882
+ "Content-Type": common.Constants.APPLICATION_JSON,
1883
+ "opc-request-id": getOutboundConnectorRequest.opcRequestId
1884
+ };
1885
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1886
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOutboundConnectorRequest.retryConfiguration, specRetryConfiguration);
1887
+ if (this.logger)
1888
+ retrier.logger = this.logger;
1889
+ const request = yield oci_common_2.composeRequest({
1890
+ baseEndpoint: this._endpoint,
1891
+ defaultHeaders: this._defaultHeaders,
1892
+ path: "/outboundConnectors/{outboundConnectorId}",
1893
+ method: "GET",
1894
+ pathParams: pathParams,
1895
+ headerParams: headerParams,
1896
+ queryParams: queryParams
1897
+ });
1898
+ try {
1899
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1900
+ const sdkResponse = oci_common_2.composeResponse({
1901
+ responseObject: {},
1902
+ body: yield response.json(),
1903
+ bodyKey: "outboundConnector",
1904
+ bodyModel: model.OutboundConnector,
1905
+ type: "model.OutboundConnector",
1906
+ responseHeaders: [
1907
+ {
1908
+ value: response.headers.get("etag"),
1909
+ key: "etag",
1910
+ dataType: "string"
1911
+ },
1912
+ {
1913
+ value: response.headers.get("opc-request-id"),
1914
+ key: "opcRequestId",
1915
+ dataType: "string"
1916
+ }
1917
+ ]
1918
+ });
1919
+ return sdkResponse;
1920
+ }
1921
+ catch (err) {
1922
+ throw err;
1923
+ }
1924
+ });
1925
+ }
1665
1926
  /**
1666
1927
  * Gets the specified replication's information.
1667
1928
  * This operation does not retry by default if the user has not defined a retry configuration.
1668
1929
  * @param GetReplicationRequest
1669
1930
  * @return GetReplicationResponse
1670
1931
  * @throws OciError when an error occurs
1671
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/GetReplication.ts.html |here} to see how to use GetReplication API.
1932
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/GetReplication.ts.html |here} to see how to use GetReplication API.
1672
1933
  */
1673
1934
  getReplication(getReplicationRequest) {
1674
1935
  return __awaiter(this, void 0, void 0, function* () {
@@ -1731,7 +1992,7 @@ class FileStorageClient {
1731
1992
  * @param GetReplicationTargetRequest
1732
1993
  * @return GetReplicationTargetResponse
1733
1994
  * @throws OciError when an error occurs
1734
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/GetReplicationTarget.ts.html |here} to see how to use GetReplicationTarget API.
1995
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/GetReplicationTarget.ts.html |here} to see how to use GetReplicationTarget API.
1735
1996
  */
1736
1997
  getReplicationTarget(getReplicationTargetRequest) {
1737
1998
  return __awaiter(this, void 0, void 0, function* () {
@@ -1794,7 +2055,7 @@ class FileStorageClient {
1794
2055
  * @param GetSnapshotRequest
1795
2056
  * @return GetSnapshotResponse
1796
2057
  * @throws OciError when an error occurs
1797
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/GetSnapshot.ts.html |here} to see how to use GetSnapshot API.
2058
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/GetSnapshot.ts.html |here} to see how to use GetSnapshot API.
1798
2059
  */
1799
2060
  getSnapshot(getSnapshotRequest) {
1800
2061
  return __awaiter(this, void 0, void 0, function* () {
@@ -1858,7 +2119,7 @@ class FileStorageClient {
1858
2119
  * @param ListExportSetsRequest
1859
2120
  * @return ListExportSetsResponse
1860
2121
  * @throws OciError when an error occurs
1861
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/ListExportSets.ts.html |here} to see how to use ListExportSets API.
2122
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/ListExportSets.ts.html |here} to see how to use ListExportSets API.
1862
2123
  */
1863
2124
  listExportSets(listExportSetsRequest) {
1864
2125
  return __awaiter(this, void 0, void 0, function* () {
@@ -1972,7 +2233,7 @@ class FileStorageClient {
1972
2233
  * @param ListExportsRequest
1973
2234
  * @return ListExportsResponse
1974
2235
  * @throws OciError when an error occurs
1975
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/ListExports.ts.html |here} to see how to use ListExports API.
2236
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/ListExports.ts.html |here} to see how to use ListExports API.
1976
2237
  */
1977
2238
  listExports(listExportsRequest) {
1978
2239
  return __awaiter(this, void 0, void 0, function* () {
@@ -2085,7 +2346,7 @@ class FileStorageClient {
2085
2346
  * @param ListFileSystemsRequest
2086
2347
  * @return ListFileSystemsResponse
2087
2348
  * @throws OciError when an error occurs
2088
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/ListFileSystems.ts.html |here} to see how to use ListFileSystems API.
2349
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/ListFileSystems.ts.html |here} to see how to use ListFileSystems API.
2089
2350
  */
2090
2351
  listFileSystems(listFileSystemsRequest) {
2091
2352
  return __awaiter(this, void 0, void 0, function* () {
@@ -2200,7 +2461,7 @@ class FileStorageClient {
2200
2461
  * @param ListFilesystemSnapshotPoliciesRequest
2201
2462
  * @return ListFilesystemSnapshotPoliciesResponse
2202
2463
  * @throws OciError when an error occurs
2203
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/ListFilesystemSnapshotPolicies.ts.html |here} to see how to use ListFilesystemSnapshotPolicies API.
2464
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/ListFilesystemSnapshotPolicies.ts.html |here} to see how to use ListFilesystemSnapshotPolicies API.
2204
2465
  */
2205
2466
  listFilesystemSnapshotPolicies(listFilesystemSnapshotPoliciesRequest) {
2206
2467
  return __awaiter(this, void 0, void 0, function* () {
@@ -2312,7 +2573,7 @@ class FileStorageClient {
2312
2573
  * @param ListMountTargetsRequest
2313
2574
  * @return ListMountTargetsResponse
2314
2575
  * @throws OciError when an error occurs
2315
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/ListMountTargets.ts.html |here} to see how to use ListMountTargets API.
2576
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/ListMountTargets.ts.html |here} to see how to use ListMountTargets API.
2316
2577
  */
2317
2578
  listMountTargets(listMountTargetsRequest) {
2318
2579
  return __awaiter(this, void 0, void 0, function* () {
@@ -2418,6 +2679,118 @@ class FileStorageClient {
2418
2679
  listMountTargetsResponseIterator(request) {
2419
2680
  return oci_common_1.paginateResponses(request, req => this.listMountTargets(req));
2420
2681
  }
2682
+ /**
2683
+ * Lists the outbound connector resources in the specified compartment.
2684
+ *
2685
+ * This operation does not retry by default if the user has not defined a retry configuration.
2686
+ * @param ListOutboundConnectorsRequest
2687
+ * @return ListOutboundConnectorsResponse
2688
+ * @throws OciError when an error occurs
2689
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/ListOutboundConnectors.ts.html |here} to see how to use ListOutboundConnectors API.
2690
+ */
2691
+ listOutboundConnectors(listOutboundConnectorsRequest) {
2692
+ return __awaiter(this, void 0, void 0, function* () {
2693
+ if (this.logger)
2694
+ this.logger.debug("Calling operation FileStorageClient#listOutboundConnectors.");
2695
+ const operationName = "listOutboundConnectors";
2696
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/OutboundConnectorSummary/ListOutboundConnectors";
2697
+ const pathParams = {};
2698
+ const queryParams = {
2699
+ "compartmentId": listOutboundConnectorsRequest.compartmentId,
2700
+ "availabilityDomain": listOutboundConnectorsRequest.availabilityDomain,
2701
+ "limit": listOutboundConnectorsRequest.limit,
2702
+ "page": listOutboundConnectorsRequest.page,
2703
+ "lifecycleState": listOutboundConnectorsRequest.lifecycleState,
2704
+ "displayName": listOutboundConnectorsRequest.displayName,
2705
+ "id": listOutboundConnectorsRequest.id,
2706
+ "sortBy": listOutboundConnectorsRequest.sortBy,
2707
+ "sortOrder": listOutboundConnectorsRequest.sortOrder
2708
+ };
2709
+ let headerParams = {
2710
+ "Content-Type": common.Constants.APPLICATION_JSON,
2711
+ "opc-request-id": listOutboundConnectorsRequest.opcRequestId
2712
+ };
2713
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2714
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOutboundConnectorsRequest.retryConfiguration, specRetryConfiguration);
2715
+ if (this.logger)
2716
+ retrier.logger = this.logger;
2717
+ const request = yield oci_common_2.composeRequest({
2718
+ baseEndpoint: this._endpoint,
2719
+ defaultHeaders: this._defaultHeaders,
2720
+ path: "/outboundConnectors",
2721
+ method: "GET",
2722
+ pathParams: pathParams,
2723
+ headerParams: headerParams,
2724
+ queryParams: queryParams
2725
+ });
2726
+ try {
2727
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2728
+ const sdkResponse = oci_common_2.composeResponse({
2729
+ responseObject: {},
2730
+ body: yield response.json(),
2731
+ bodyKey: "items",
2732
+ bodyModel: model.OutboundConnectorSummary,
2733
+ type: "Array<model.OutboundConnectorSummary>",
2734
+ responseHeaders: [
2735
+ {
2736
+ value: response.headers.get("opc-next-page"),
2737
+ key: "opcNextPage",
2738
+ dataType: "string"
2739
+ },
2740
+ {
2741
+ value: response.headers.get("opc-request-id"),
2742
+ key: "opcRequestId",
2743
+ dataType: "string"
2744
+ }
2745
+ ]
2746
+ });
2747
+ return sdkResponse;
2748
+ }
2749
+ catch (err) {
2750
+ throw err;
2751
+ }
2752
+ });
2753
+ }
2754
+ /**
2755
+ * NOTE: This function is deprecated in favor of listOutboundConnectorsRecordIterator function.
2756
+ * Creates a new async iterator which will iterate over the models.OutboundConnectorSummary objects
2757
+ * contained in responses from the listOutboundConnectors operation. This iterator will fetch more data from the
2758
+ * server as needed.
2759
+ *
2760
+ * @param request a request which can be sent to the service operation
2761
+ */
2762
+ listAllOutboundConnectors(request) {
2763
+ return oci_common_1.paginateRecords(request, req => this.listOutboundConnectors(req));
2764
+ }
2765
+ /**
2766
+ * NOTE: This function is deprecated in favor of listOutboundConnectorsResponseIterator function.
2767
+ * Creates a new async iterator which will iterate over the responses received from the listOutboundConnectors operation. This iterator
2768
+ * will fetch more data from the server as needed.
2769
+ *
2770
+ * @param request a request which can be sent to the service operation
2771
+ */
2772
+ listAllOutboundConnectorsResponses(request) {
2773
+ return oci_common_1.paginateResponses(request, req => this.listOutboundConnectors(req));
2774
+ }
2775
+ /**
2776
+ * Creates a new async iterator which will iterate over the models.OutboundConnectorSummary objects
2777
+ * contained in responses from the listOutboundConnectors operation. This iterator will fetch more data from the
2778
+ * server as needed.
2779
+ *
2780
+ * @param request a request which can be sent to the service operation
2781
+ */
2782
+ listOutboundConnectorsRecordIterator(request) {
2783
+ return oci_common_1.paginateRecords(request, req => this.listOutboundConnectors(req));
2784
+ }
2785
+ /**
2786
+ * Creates a new async iterator which will iterate over the responses received from the listOutboundConnectors operation. This iterator
2787
+ * will fetch more data from the server as needed.
2788
+ *
2789
+ * @param request a request which can be sent to the service operation
2790
+ */
2791
+ listOutboundConnectorsResponseIterator(request) {
2792
+ return oci_common_1.paginateResponses(request, req => this.listOutboundConnectors(req));
2793
+ }
2421
2794
  /**
2422
2795
  * Lists the replication target resources in the specified compartment.
2423
2796
  *
@@ -2425,7 +2798,7 @@ class FileStorageClient {
2425
2798
  * @param ListReplicationTargetsRequest
2426
2799
  * @return ListReplicationTargetsResponse
2427
2800
  * @throws OciError when an error occurs
2428
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/ListReplicationTargets.ts.html |here} to see how to use ListReplicationTargets API.
2801
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/ListReplicationTargets.ts.html |here} to see how to use ListReplicationTargets API.
2429
2802
  */
2430
2803
  listReplicationTargets(listReplicationTargetsRequest) {
2431
2804
  return __awaiter(this, void 0, void 0, function* () {
@@ -2537,7 +2910,7 @@ class FileStorageClient {
2537
2910
  * @param ListReplicationsRequest
2538
2911
  * @return ListReplicationsResponse
2539
2912
  * @throws OciError when an error occurs
2540
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/ListReplications.ts.html |here} to see how to use ListReplications API.
2913
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/ListReplications.ts.html |here} to see how to use ListReplications API.
2541
2914
  */
2542
2915
  listReplications(listReplicationsRequest) {
2543
2916
  return __awaiter(this, void 0, void 0, function* () {
@@ -2648,12 +3021,15 @@ class FileStorageClient {
2648
3021
  * or by file system snapshot policy and file system.
2649
3022
  * <p>
2650
3023
  If file system ID is not specified, a file system snapshot policy ID and compartment ID must be specified.
3024
+ * <p>
3025
+ Users can only sort by time created when listing snapshots by file system snapshot policy ID and compartment ID
3026
+ * (sort by name is NOT supported for listing snapshots by policy and compartment).
2651
3027
  *
2652
3028
  * This operation does not retry by default if the user has not defined a retry configuration.
2653
3029
  * @param ListSnapshotsRequest
2654
3030
  * @return ListSnapshotsResponse
2655
3031
  * @throws OciError when an error occurs
2656
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/ListSnapshots.ts.html |here} to see how to use ListSnapshots API.
3032
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/ListSnapshots.ts.html |here} to see how to use ListSnapshots API.
2657
3033
  */
2658
3034
  listSnapshots(listSnapshotsRequest) {
2659
3035
  return __awaiter(this, void 0, void 0, function* () {
@@ -2769,7 +3145,7 @@ class FileStorageClient {
2769
3145
  * @param PauseFilesystemSnapshotPolicyRequest
2770
3146
  * @return PauseFilesystemSnapshotPolicyResponse
2771
3147
  * @throws OciError when an error occurs
2772
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/PauseFilesystemSnapshotPolicy.ts.html |here} to see how to use PauseFilesystemSnapshotPolicy API.
3148
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/PauseFilesystemSnapshotPolicy.ts.html |here} to see how to use PauseFilesystemSnapshotPolicy API.
2773
3149
  */
2774
3150
  pauseFilesystemSnapshotPolicy(pauseFilesystemSnapshotPolicyRequest) {
2775
3151
  return __awaiter(this, void 0, void 0, function* () {
@@ -2838,7 +3214,7 @@ class FileStorageClient {
2838
3214
  * @param UnpauseFilesystemSnapshotPolicyRequest
2839
3215
  * @return UnpauseFilesystemSnapshotPolicyResponse
2840
3216
  * @throws OciError when an error occurs
2841
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/UnpauseFilesystemSnapshotPolicy.ts.html |here} to see how to use UnpauseFilesystemSnapshotPolicy API.
3217
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/UnpauseFilesystemSnapshotPolicy.ts.html |here} to see how to use UnpauseFilesystemSnapshotPolicy API.
2842
3218
  */
2843
3219
  unpauseFilesystemSnapshotPolicy(unpauseFilesystemSnapshotPolicyRequest) {
2844
3220
  return __awaiter(this, void 0, void 0, function* () {
@@ -2902,7 +3278,7 @@ class FileStorageClient {
2902
3278
  * @param UpdateExportRequest
2903
3279
  * @return UpdateExportResponse
2904
3280
  * @throws OciError when an error occurs
2905
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/UpdateExport.ts.html |here} to see how to use UpdateExport API.
3281
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/UpdateExport.ts.html |here} to see how to use UpdateExport API.
2906
3282
  */
2907
3283
  updateExport(updateExportRequest) {
2908
3284
  return __awaiter(this, void 0, void 0, function* () {
@@ -2967,7 +3343,7 @@ class FileStorageClient {
2967
3343
  * @param UpdateExportSetRequest
2968
3344
  * @return UpdateExportSetResponse
2969
3345
  * @throws OciError when an error occurs
2970
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/UpdateExportSet.ts.html |here} to see how to use UpdateExportSet API.
3346
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/UpdateExportSet.ts.html |here} to see how to use UpdateExportSet API.
2971
3347
  */
2972
3348
  updateExportSet(updateExportSetRequest) {
2973
3349
  return __awaiter(this, void 0, void 0, function* () {
@@ -3034,7 +3410,7 @@ class FileStorageClient {
3034
3410
  * @param UpdateFileSystemRequest
3035
3411
  * @return UpdateFileSystemResponse
3036
3412
  * @throws OciError when an error occurs
3037
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/UpdateFileSystem.ts.html |here} to see how to use UpdateFileSystem API.
3413
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/UpdateFileSystem.ts.html |here} to see how to use UpdateFileSystem API.
3038
3414
  */
3039
3415
  updateFileSystem(updateFileSystemRequest) {
3040
3416
  return __awaiter(this, void 0, void 0, function* () {
@@ -3099,7 +3475,7 @@ class FileStorageClient {
3099
3475
  * @param UpdateFilesystemSnapshotPolicyRequest
3100
3476
  * @return UpdateFilesystemSnapshotPolicyResponse
3101
3477
  * @throws OciError when an error occurs
3102
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/UpdateFilesystemSnapshotPolicy.ts.html |here} to see how to use UpdateFilesystemSnapshotPolicy API.
3478
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/UpdateFilesystemSnapshotPolicy.ts.html |here} to see how to use UpdateFilesystemSnapshotPolicy API.
3103
3479
  */
3104
3480
  updateFilesystemSnapshotPolicy(updateFilesystemSnapshotPolicyRequest) {
3105
3481
  return __awaiter(this, void 0, void 0, function* () {
@@ -3164,7 +3540,7 @@ class FileStorageClient {
3164
3540
  * @param UpdateMountTargetRequest
3165
3541
  * @return UpdateMountTargetResponse
3166
3542
  * @throws OciError when an error occurs
3167
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/UpdateMountTarget.ts.html |here} to see how to use UpdateMountTarget API.
3543
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/UpdateMountTarget.ts.html |here} to see how to use UpdateMountTarget API.
3168
3544
  */
3169
3545
  updateMountTarget(updateMountTargetRequest) {
3170
3546
  return __awaiter(this, void 0, void 0, function* () {
@@ -3223,6 +3599,71 @@ class FileStorageClient {
3223
3599
  }
3224
3600
  });
3225
3601
  }
3602
+ /**
3603
+ * Updates the specified outbound connector's information.
3604
+ * This operation does not retry by default if the user has not defined a retry configuration.
3605
+ * @param UpdateOutboundConnectorRequest
3606
+ * @return UpdateOutboundConnectorResponse
3607
+ * @throws OciError when an error occurs
3608
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/UpdateOutboundConnector.ts.html |here} to see how to use UpdateOutboundConnector API.
3609
+ */
3610
+ updateOutboundConnector(updateOutboundConnectorRequest) {
3611
+ return __awaiter(this, void 0, void 0, function* () {
3612
+ if (this.logger)
3613
+ this.logger.debug("Calling operation FileStorageClient#updateOutboundConnector.");
3614
+ const operationName = "updateOutboundConnector";
3615
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/OutboundConnector/UpdateOutboundConnector";
3616
+ const pathParams = {
3617
+ "{outboundConnectorId}": updateOutboundConnectorRequest.outboundConnectorId
3618
+ };
3619
+ const queryParams = {};
3620
+ let headerParams = {
3621
+ "Content-Type": common.Constants.APPLICATION_JSON,
3622
+ "if-match": updateOutboundConnectorRequest.ifMatch,
3623
+ "opc-request-id": updateOutboundConnectorRequest.opcRequestId
3624
+ };
3625
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3626
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOutboundConnectorRequest.retryConfiguration, specRetryConfiguration);
3627
+ if (this.logger)
3628
+ retrier.logger = this.logger;
3629
+ const request = yield oci_common_2.composeRequest({
3630
+ baseEndpoint: this._endpoint,
3631
+ defaultHeaders: this._defaultHeaders,
3632
+ path: "/outboundConnectors/{outboundConnectorId}",
3633
+ method: "PUT",
3634
+ bodyContent: common.ObjectSerializer.serialize(updateOutboundConnectorRequest.updateOutboundConnectorDetails, "UpdateOutboundConnectorDetails", model.UpdateOutboundConnectorDetails.getJsonObj),
3635
+ pathParams: pathParams,
3636
+ headerParams: headerParams,
3637
+ queryParams: queryParams
3638
+ });
3639
+ try {
3640
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3641
+ const sdkResponse = oci_common_2.composeResponse({
3642
+ responseObject: {},
3643
+ body: yield response.json(),
3644
+ bodyKey: "outboundConnector",
3645
+ bodyModel: model.OutboundConnector,
3646
+ type: "model.OutboundConnector",
3647
+ responseHeaders: [
3648
+ {
3649
+ value: response.headers.get("etag"),
3650
+ key: "etag",
3651
+ dataType: "string"
3652
+ },
3653
+ {
3654
+ value: response.headers.get("opc-request-id"),
3655
+ key: "opcRequestId",
3656
+ dataType: "string"
3657
+ }
3658
+ ]
3659
+ });
3660
+ return sdkResponse;
3661
+ }
3662
+ catch (err) {
3663
+ throw err;
3664
+ }
3665
+ });
3666
+ }
3226
3667
  /**
3227
3668
  * Updates the information for the specified replication and its associated replication target.
3228
3669
  *
@@ -3230,7 +3671,7 @@ class FileStorageClient {
3230
3671
  * @param UpdateReplicationRequest
3231
3672
  * @return UpdateReplicationResponse
3232
3673
  * @throws OciError when an error occurs
3233
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/UpdateReplication.ts.html |here} to see how to use UpdateReplication API.
3674
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/UpdateReplication.ts.html |here} to see how to use UpdateReplication API.
3234
3675
  */
3235
3676
  updateReplication(updateReplicationRequest) {
3236
3677
  return __awaiter(this, void 0, void 0, function* () {
@@ -3295,7 +3736,7 @@ class FileStorageClient {
3295
3736
  * @param UpdateSnapshotRequest
3296
3737
  * @return UpdateSnapshotResponse
3297
3738
  * @throws OciError when an error occurs
3298
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/filestorage/UpdateSnapshot.ts.html |here} to see how to use UpdateSnapshot API.
3739
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/UpdateSnapshot.ts.html |here} to see how to use UpdateSnapshot API.
3299
3740
  */
3300
3741
  updateSnapshot(updateSnapshotRequest) {
3301
3742
  return __awaiter(this, void 0, void 0, function* () {
@@ -3354,6 +3795,66 @@ class FileStorageClient {
3354
3795
  }
3355
3796
  });
3356
3797
  }
3798
+ /**
3799
+ * Validates keytab contents for the secret details passed on the request or validte keytab contents associated with
3800
+ * the mount target passed in the request. The keytabs are deserialized, the contents are validated for compatibility
3801
+ * and the principal, key version number and encryption type of each entry is provided as part of the response.
3802
+ *
3803
+ * This operation does not retry by default if the user has not defined a retry configuration.
3804
+ * @param ValidateKeyTabsRequest
3805
+ * @return ValidateKeyTabsResponse
3806
+ * @throws OciError when an error occurs
3807
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/filestorage/ValidateKeyTabs.ts.html |here} to see how to use ValidateKeyTabs API.
3808
+ */
3809
+ validateKeyTabs(validateKeyTabsRequest) {
3810
+ return __awaiter(this, void 0, void 0, function* () {
3811
+ if (this.logger)
3812
+ this.logger.debug("Calling operation FileStorageClient#validateKeyTabs.");
3813
+ const operationName = "validateKeyTabs";
3814
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/MountTarget/ValidateKeyTabs";
3815
+ const pathParams = {};
3816
+ const queryParams = {};
3817
+ let headerParams = {
3818
+ "Content-Type": common.Constants.APPLICATION_JSON,
3819
+ "opc-request-id": validateKeyTabsRequest.opcRequestId
3820
+ };
3821
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3822
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, validateKeyTabsRequest.retryConfiguration, specRetryConfiguration);
3823
+ if (this.logger)
3824
+ retrier.logger = this.logger;
3825
+ const request = yield oci_common_2.composeRequest({
3826
+ baseEndpoint: this._endpoint,
3827
+ defaultHeaders: this._defaultHeaders,
3828
+ path: "/mountTargets/actions/validateKeyTabs",
3829
+ method: "POST",
3830
+ bodyContent: common.ObjectSerializer.serialize(validateKeyTabsRequest.validateKeyTabsDetails, "ValidateKeyTabsDetails", model.ValidateKeyTabsDetails.getJsonObj),
3831
+ pathParams: pathParams,
3832
+ headerParams: headerParams,
3833
+ queryParams: queryParams
3834
+ });
3835
+ try {
3836
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3837
+ const sdkResponse = oci_common_2.composeResponse({
3838
+ responseObject: {},
3839
+ body: yield response.json(),
3840
+ bodyKey: "validateKeyTabsResponseDetails",
3841
+ bodyModel: model.ValidateKeyTabsResponseDetails,
3842
+ type: "model.ValidateKeyTabsResponseDetails",
3843
+ responseHeaders: [
3844
+ {
3845
+ value: response.headers.get("opc-request-id"),
3846
+ key: "opcRequestId",
3847
+ dataType: "string"
3848
+ }
3849
+ ]
3850
+ });
3851
+ return sdkResponse;
3852
+ }
3853
+ catch (err) {
3854
+ throw err;
3855
+ }
3856
+ });
3857
+ }
3357
3858
  }
3358
3859
  exports.FileStorageClient = FileStorageClient;
3359
3860
  FileStorageClient.serviceEndpointTemplate = "https://filestorage.{region}.{secondLevelDomain}";