oci-filestorage 2.79.1 → 2.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +52 -51
- package/lib/client.js +258 -103
- package/lib/client.js.map +1 -1
- package/lib/model/create-outbound-connector-details.js +4 -2
- package/lib/model/create-outbound-connector-details.js.map +1 -1
- package/lib/model/outbound-connector-summary.js +4 -2
- package/lib/model/outbound-connector-summary.js.map +1 -1
- package/lib/model/outbound-connector.js +4 -2
- package/lib/model/outbound-connector.js.map +1 -1
- package/lib/request/change-file-system-compartment-request.d.ts +1 -1
- package/lib/request/change-filesystem-snapshot-policy-compartment-request.d.ts +1 -1
- package/lib/request/change-mount-target-compartment-request.d.ts +1 -1
- package/lib/request/change-outbound-connector-compartment-request.d.ts +1 -1
- package/lib/request/change-replication-compartment-request.d.ts +1 -1
- package/lib/request/create-export-request.d.ts +1 -1
- package/lib/request/create-file-system-request.d.ts +1 -1
- package/lib/request/create-filesystem-snapshot-policy-request.d.ts +1 -1
- package/lib/request/create-mount-target-request.d.ts +1 -1
- package/lib/request/create-outbound-connector-request.d.ts +1 -1
- package/lib/request/create-replication-request.d.ts +1 -1
- package/lib/request/create-snapshot-request.d.ts +1 -1
- package/lib/request/delete-export-request.d.ts +1 -1
- package/lib/request/delete-file-system-request.d.ts +1 -1
- package/lib/request/delete-filesystem-snapshot-policy-request.d.ts +1 -1
- package/lib/request/delete-mount-target-request.d.ts +1 -1
- package/lib/request/delete-outbound-connector-request.d.ts +1 -1
- package/lib/request/delete-replication-request.d.ts +1 -1
- package/lib/request/delete-replication-target-request.d.ts +1 -1
- package/lib/request/delete-snapshot-request.d.ts +1 -1
- package/lib/request/estimate-replication-request.d.ts +1 -1
- package/lib/request/get-export-request.d.ts +1 -1
- package/lib/request/get-export-set-request.d.ts +1 -1
- package/lib/request/get-file-system-request.d.ts +1 -1
- package/lib/request/get-filesystem-snapshot-policy-request.d.ts +1 -1
- package/lib/request/get-mount-target-request.d.ts +1 -1
- package/lib/request/get-outbound-connector-request.d.ts +1 -1
- package/lib/request/get-replication-request.d.ts +1 -1
- package/lib/request/get-replication-target-request.d.ts +1 -1
- package/lib/request/get-snapshot-request.d.ts +1 -1
- package/lib/request/list-export-sets-request.d.ts +1 -1
- package/lib/request/list-exports-request.d.ts +1 -1
- package/lib/request/list-file-systems-request.d.ts +1 -1
- package/lib/request/list-filesystem-snapshot-policies-request.d.ts +1 -1
- package/lib/request/list-mount-targets-request.d.ts +1 -1
- package/lib/request/list-outbound-connectors-request.d.ts +1 -1
- package/lib/request/list-replication-targets-request.d.ts +1 -1
- package/lib/request/list-replications-request.d.ts +1 -1
- package/lib/request/list-snapshots-request.d.ts +1 -1
- package/lib/request/pause-filesystem-snapshot-policy-request.d.ts +1 -1
- package/lib/request/unpause-filesystem-snapshot-policy-request.d.ts +1 -1
- package/lib/request/update-export-request.d.ts +1 -1
- package/lib/request/update-export-set-request.d.ts +1 -1
- package/lib/request/update-file-system-request.d.ts +1 -1
- package/lib/request/update-filesystem-snapshot-policy-request.d.ts +1 -1
- package/lib/request/update-mount-target-request.d.ts +1 -1
- package/lib/request/update-outbound-connector-request.d.ts +1 -1
- package/lib/request/update-replication-request.d.ts +1 -1
- package/lib/request/update-snapshot-request.d.ts +1 -1
- package/lib/request/validate-key-tabs-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -60,7 +60,7 @@ var FileStorageApiKeys;
|
|
|
60
60
|
*/
|
|
61
61
|
class FileStorageClient {
|
|
62
62
|
constructor(params, clientConfiguration) {
|
|
63
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
63
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
64
64
|
this["_endpoint"] = "";
|
|
65
65
|
this["_defaultHeaders"] = {};
|
|
66
66
|
this._circuitBreaker = null;
|
|
@@ -119,7 +119,11 @@ class FileStorageClient {
|
|
|
119
119
|
set endpoint(endpoint) {
|
|
120
120
|
this._endpoint = endpoint;
|
|
121
121
|
this._endpoint = this._endpoint + "/20171215";
|
|
122
|
-
|
|
122
|
+
if (this.logger)
|
|
123
|
+
this.logger.info(`FileStorageClient endpoint set to ${this._endpoint}`);
|
|
124
|
+
}
|
|
125
|
+
get logger() {
|
|
126
|
+
return common.LOG.logger;
|
|
123
127
|
}
|
|
124
128
|
/**
|
|
125
129
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -128,7 +132,8 @@ class FileStorageClient {
|
|
|
128
132
|
*/
|
|
129
133
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
130
134
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
131
|
-
|
|
135
|
+
if (this.logger)
|
|
136
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
132
137
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
133
138
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(FileStorageClient.serviceEndpointTemplate, this._region, FileStorageClient.endpointServiceName);
|
|
134
139
|
}
|
|
@@ -195,11 +200,12 @@ class FileStorageClient {
|
|
|
195
200
|
* @param ChangeFileSystemCompartmentRequest
|
|
196
201
|
* @return ChangeFileSystemCompartmentResponse
|
|
197
202
|
* @throws OciError when an error occurs
|
|
198
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
203
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/ChangeFileSystemCompartment.ts.html |here} to see how to use ChangeFileSystemCompartment API.
|
|
199
204
|
*/
|
|
200
205
|
changeFileSystemCompartment(changeFileSystemCompartmentRequest) {
|
|
201
206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
202
|
-
|
|
207
|
+
if (this.logger)
|
|
208
|
+
this.logger.debug("Calling operation FileStorageClient#changeFileSystemCompartment.");
|
|
203
209
|
const operationName = "changeFileSystemCompartment";
|
|
204
210
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/ChangeFileSystemCompartment";
|
|
205
211
|
const pathParams = {
|
|
@@ -213,6 +219,8 @@ class FileStorageClient {
|
|
|
213
219
|
};
|
|
214
220
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
215
221
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFileSystemCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
222
|
+
if (this.logger)
|
|
223
|
+
retrier.logger = this.logger;
|
|
216
224
|
const request = yield oci_common_2.composeRequest({
|
|
217
225
|
baseEndpoint: this._endpoint,
|
|
218
226
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -249,11 +257,12 @@ class FileStorageClient {
|
|
|
249
257
|
* @param ChangeFilesystemSnapshotPolicyCompartmentRequest
|
|
250
258
|
* @return ChangeFilesystemSnapshotPolicyCompartmentResponse
|
|
251
259
|
* @throws OciError when an error occurs
|
|
252
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
260
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/ChangeFilesystemSnapshotPolicyCompartment.ts.html |here} to see how to use ChangeFilesystemSnapshotPolicyCompartment API.
|
|
253
261
|
*/
|
|
254
262
|
changeFilesystemSnapshotPolicyCompartment(changeFilesystemSnapshotPolicyCompartmentRequest) {
|
|
255
263
|
return __awaiter(this, void 0, void 0, function* () {
|
|
256
|
-
|
|
264
|
+
if (this.logger)
|
|
265
|
+
this.logger.debug("Calling operation FileStorageClient#changeFilesystemSnapshotPolicyCompartment.");
|
|
257
266
|
const operationName = "changeFilesystemSnapshotPolicyCompartment";
|
|
258
267
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicy/ChangeFilesystemSnapshotPolicyCompartment";
|
|
259
268
|
const pathParams = {
|
|
@@ -267,6 +276,8 @@ class FileStorageClient {
|
|
|
267
276
|
};
|
|
268
277
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
269
278
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFilesystemSnapshotPolicyCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
279
|
+
if (this.logger)
|
|
280
|
+
retrier.logger = this.logger;
|
|
270
281
|
const request = yield oci_common_2.composeRequest({
|
|
271
282
|
baseEndpoint: this._endpoint,
|
|
272
283
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -303,11 +314,12 @@ class FileStorageClient {
|
|
|
303
314
|
* @param ChangeMountTargetCompartmentRequest
|
|
304
315
|
* @return ChangeMountTargetCompartmentResponse
|
|
305
316
|
* @throws OciError when an error occurs
|
|
306
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
317
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/ChangeMountTargetCompartment.ts.html |here} to see how to use ChangeMountTargetCompartment API.
|
|
307
318
|
*/
|
|
308
319
|
changeMountTargetCompartment(changeMountTargetCompartmentRequest) {
|
|
309
320
|
return __awaiter(this, void 0, void 0, function* () {
|
|
310
|
-
|
|
321
|
+
if (this.logger)
|
|
322
|
+
this.logger.debug("Calling operation FileStorageClient#changeMountTargetCompartment.");
|
|
311
323
|
const operationName = "changeMountTargetCompartment";
|
|
312
324
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/MountTarget/ChangeMountTargetCompartment";
|
|
313
325
|
const pathParams = {
|
|
@@ -321,6 +333,8 @@ class FileStorageClient {
|
|
|
321
333
|
};
|
|
322
334
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
323
335
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeMountTargetCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
336
|
+
if (this.logger)
|
|
337
|
+
retrier.logger = this.logger;
|
|
324
338
|
const request = yield oci_common_2.composeRequest({
|
|
325
339
|
baseEndpoint: this._endpoint,
|
|
326
340
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -359,11 +373,12 @@ class FileStorageClient {
|
|
|
359
373
|
* @param ChangeOutboundConnectorCompartmentRequest
|
|
360
374
|
* @return ChangeOutboundConnectorCompartmentResponse
|
|
361
375
|
* @throws OciError when an error occurs
|
|
362
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
376
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/ChangeOutboundConnectorCompartment.ts.html |here} to see how to use ChangeOutboundConnectorCompartment API.
|
|
363
377
|
*/
|
|
364
378
|
changeOutboundConnectorCompartment(changeOutboundConnectorCompartmentRequest) {
|
|
365
379
|
return __awaiter(this, void 0, void 0, function* () {
|
|
366
|
-
|
|
380
|
+
if (this.logger)
|
|
381
|
+
this.logger.debug("Calling operation FileStorageClient#changeOutboundConnectorCompartment.");
|
|
367
382
|
const operationName = "changeOutboundConnectorCompartment";
|
|
368
383
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/OutboundConnector/ChangeOutboundConnectorCompartment";
|
|
369
384
|
const pathParams = {
|
|
@@ -377,6 +392,8 @@ class FileStorageClient {
|
|
|
377
392
|
};
|
|
378
393
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
379
394
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOutboundConnectorCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
395
|
+
if (this.logger)
|
|
396
|
+
retrier.logger = this.logger;
|
|
380
397
|
const request = yield oci_common_2.composeRequest({
|
|
381
398
|
baseEndpoint: this._endpoint,
|
|
382
399
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -414,11 +431,12 @@ class FileStorageClient {
|
|
|
414
431
|
* @param ChangeReplicationCompartmentRequest
|
|
415
432
|
* @return ChangeReplicationCompartmentResponse
|
|
416
433
|
* @throws OciError when an error occurs
|
|
417
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
434
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/ChangeReplicationCompartment.ts.html |here} to see how to use ChangeReplicationCompartment API.
|
|
418
435
|
*/
|
|
419
436
|
changeReplicationCompartment(changeReplicationCompartmentRequest) {
|
|
420
437
|
return __awaiter(this, void 0, void 0, function* () {
|
|
421
|
-
|
|
438
|
+
if (this.logger)
|
|
439
|
+
this.logger.debug("Calling operation FileStorageClient#changeReplicationCompartment.");
|
|
422
440
|
const operationName = "changeReplicationCompartment";
|
|
423
441
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Replication/ChangeReplicationCompartment";
|
|
424
442
|
const pathParams = {
|
|
@@ -432,6 +450,8 @@ class FileStorageClient {
|
|
|
432
450
|
};
|
|
433
451
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
434
452
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeReplicationCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
453
|
+
if (this.logger)
|
|
454
|
+
retrier.logger = this.logger;
|
|
435
455
|
const request = yield oci_common_2.composeRequest({
|
|
436
456
|
baseEndpoint: this._endpoint,
|
|
437
457
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -469,11 +489,12 @@ class FileStorageClient {
|
|
|
469
489
|
* @param CreateExportRequest
|
|
470
490
|
* @return CreateExportResponse
|
|
471
491
|
* @throws OciError when an error occurs
|
|
472
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
492
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/CreateExport.ts.html |here} to see how to use CreateExport API.
|
|
473
493
|
*/
|
|
474
494
|
createExport(createExportRequest) {
|
|
475
495
|
return __awaiter(this, void 0, void 0, function* () {
|
|
476
|
-
|
|
496
|
+
if (this.logger)
|
|
497
|
+
this.logger.debug("Calling operation FileStorageClient#createExport.");
|
|
477
498
|
const operationName = "createExport";
|
|
478
499
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Export/CreateExport";
|
|
479
500
|
const pathParams = {};
|
|
@@ -485,6 +506,8 @@ class FileStorageClient {
|
|
|
485
506
|
};
|
|
486
507
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
487
508
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createExportRequest.retryConfiguration, specRetryConfiguration);
|
|
509
|
+
if (this.logger)
|
|
510
|
+
retrier.logger = this.logger;
|
|
488
511
|
const request = yield oci_common_2.composeRequest({
|
|
489
512
|
baseEndpoint: this._endpoint,
|
|
490
513
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -558,11 +581,12 @@ class FileStorageClient {
|
|
|
558
581
|
* @param CreateFileSystemRequest
|
|
559
582
|
* @return CreateFileSystemResponse
|
|
560
583
|
* @throws OciError when an error occurs
|
|
561
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
584
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/CreateFileSystem.ts.html |here} to see how to use CreateFileSystem API.
|
|
562
585
|
*/
|
|
563
586
|
createFileSystem(createFileSystemRequest) {
|
|
564
587
|
return __awaiter(this, void 0, void 0, function* () {
|
|
565
|
-
|
|
588
|
+
if (this.logger)
|
|
589
|
+
this.logger.debug("Calling operation FileStorageClient#createFileSystem.");
|
|
566
590
|
const operationName = "createFileSystem";
|
|
567
591
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/CreateFileSystem";
|
|
568
592
|
const pathParams = {};
|
|
@@ -574,6 +598,8 @@ class FileStorageClient {
|
|
|
574
598
|
};
|
|
575
599
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
576
600
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFileSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
601
|
+
if (this.logger)
|
|
602
|
+
retrier.logger = this.logger;
|
|
577
603
|
const request = yield oci_common_2.composeRequest({
|
|
578
604
|
baseEndpoint: this._endpoint,
|
|
579
605
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -623,11 +649,12 @@ class FileStorageClient {
|
|
|
623
649
|
* @param CreateFilesystemSnapshotPolicyRequest
|
|
624
650
|
* @return CreateFilesystemSnapshotPolicyResponse
|
|
625
651
|
* @throws OciError when an error occurs
|
|
626
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
652
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/CreateFilesystemSnapshotPolicy.ts.html |here} to see how to use CreateFilesystemSnapshotPolicy API.
|
|
627
653
|
*/
|
|
628
654
|
createFilesystemSnapshotPolicy(createFilesystemSnapshotPolicyRequest) {
|
|
629
655
|
return __awaiter(this, void 0, void 0, function* () {
|
|
630
|
-
|
|
656
|
+
if (this.logger)
|
|
657
|
+
this.logger.debug("Calling operation FileStorageClient#createFilesystemSnapshotPolicy.");
|
|
631
658
|
const operationName = "createFilesystemSnapshotPolicy";
|
|
632
659
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicy/CreateFilesystemSnapshotPolicy";
|
|
633
660
|
const pathParams = {};
|
|
@@ -639,6 +666,8 @@ class FileStorageClient {
|
|
|
639
666
|
};
|
|
640
667
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
641
668
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
669
|
+
if (this.logger)
|
|
670
|
+
retrier.logger = this.logger;
|
|
642
671
|
const request = yield oci_common_2.composeRequest({
|
|
643
672
|
baseEndpoint: this._endpoint,
|
|
644
673
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -715,11 +744,12 @@ class FileStorageClient {
|
|
|
715
744
|
* @param CreateMountTargetRequest
|
|
716
745
|
* @return CreateMountTargetResponse
|
|
717
746
|
* @throws OciError when an error occurs
|
|
718
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
747
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/CreateMountTarget.ts.html |here} to see how to use CreateMountTarget API.
|
|
719
748
|
*/
|
|
720
749
|
createMountTarget(createMountTargetRequest) {
|
|
721
750
|
return __awaiter(this, void 0, void 0, function* () {
|
|
722
|
-
|
|
751
|
+
if (this.logger)
|
|
752
|
+
this.logger.debug("Calling operation FileStorageClient#createMountTarget.");
|
|
723
753
|
const operationName = "createMountTarget";
|
|
724
754
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/MountTarget/CreateMountTarget";
|
|
725
755
|
const pathParams = {};
|
|
@@ -731,6 +761,8 @@ class FileStorageClient {
|
|
|
731
761
|
};
|
|
732
762
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
733
763
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMountTargetRequest.retryConfiguration, specRetryConfiguration);
|
|
764
|
+
if (this.logger)
|
|
765
|
+
retrier.logger = this.logger;
|
|
734
766
|
const request = yield oci_common_2.composeRequest({
|
|
735
767
|
baseEndpoint: this._endpoint,
|
|
736
768
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -795,11 +827,12 @@ class FileStorageClient {
|
|
|
795
827
|
* @param CreateOutboundConnectorRequest
|
|
796
828
|
* @return CreateOutboundConnectorResponse
|
|
797
829
|
* @throws OciError when an error occurs
|
|
798
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
830
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/CreateOutboundConnector.ts.html |here} to see how to use CreateOutboundConnector API.
|
|
799
831
|
*/
|
|
800
832
|
createOutboundConnector(createOutboundConnectorRequest) {
|
|
801
833
|
return __awaiter(this, void 0, void 0, function* () {
|
|
802
|
-
|
|
834
|
+
if (this.logger)
|
|
835
|
+
this.logger.debug("Calling operation FileStorageClient#createOutboundConnector.");
|
|
803
836
|
const operationName = "createOutboundConnector";
|
|
804
837
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/OutboundConnector/CreateOutboundConnector";
|
|
805
838
|
const pathParams = {};
|
|
@@ -811,6 +844,8 @@ class FileStorageClient {
|
|
|
811
844
|
};
|
|
812
845
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
813
846
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOutboundConnectorRequest.retryConfiguration, specRetryConfiguration);
|
|
847
|
+
if (this.logger)
|
|
848
|
+
retrier.logger = this.logger;
|
|
814
849
|
const request = yield oci_common_2.composeRequest({
|
|
815
850
|
baseEndpoint: this._endpoint,
|
|
816
851
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -882,11 +917,12 @@ class FileStorageClient {
|
|
|
882
917
|
* @param CreateReplicationRequest
|
|
883
918
|
* @return CreateReplicationResponse
|
|
884
919
|
* @throws OciError when an error occurs
|
|
885
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
920
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/CreateReplication.ts.html |here} to see how to use CreateReplication API.
|
|
886
921
|
*/
|
|
887
922
|
createReplication(createReplicationRequest) {
|
|
888
923
|
return __awaiter(this, void 0, void 0, function* () {
|
|
889
|
-
|
|
924
|
+
if (this.logger)
|
|
925
|
+
this.logger.debug("Calling operation FileStorageClient#createReplication.");
|
|
890
926
|
const operationName = "createReplication";
|
|
891
927
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Replication/CreateReplication";
|
|
892
928
|
const pathParams = {};
|
|
@@ -898,6 +934,8 @@ class FileStorageClient {
|
|
|
898
934
|
};
|
|
899
935
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
900
936
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createReplicationRequest.retryConfiguration, specRetryConfiguration);
|
|
937
|
+
if (this.logger)
|
|
938
|
+
retrier.logger = this.logger;
|
|
901
939
|
const request = yield oci_common_2.composeRequest({
|
|
902
940
|
baseEndpoint: this._endpoint,
|
|
903
941
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -944,11 +982,12 @@ class FileStorageClient {
|
|
|
944
982
|
* @param CreateSnapshotRequest
|
|
945
983
|
* @return CreateSnapshotResponse
|
|
946
984
|
* @throws OciError when an error occurs
|
|
947
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
985
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/CreateSnapshot.ts.html |here} to see how to use CreateSnapshot API.
|
|
948
986
|
*/
|
|
949
987
|
createSnapshot(createSnapshotRequest) {
|
|
950
988
|
return __awaiter(this, void 0, void 0, function* () {
|
|
951
|
-
|
|
989
|
+
if (this.logger)
|
|
990
|
+
this.logger.debug("Calling operation FileStorageClient#createSnapshot.");
|
|
952
991
|
const operationName = "createSnapshot";
|
|
953
992
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Snapshot/CreateSnapshot";
|
|
954
993
|
const pathParams = {};
|
|
@@ -960,6 +999,8 @@ class FileStorageClient {
|
|
|
960
999
|
};
|
|
961
1000
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
962
1001
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSnapshotRequest.retryConfiguration, specRetryConfiguration);
|
|
1002
|
+
if (this.logger)
|
|
1003
|
+
retrier.logger = this.logger;
|
|
963
1004
|
const request = yield oci_common_2.composeRequest({
|
|
964
1005
|
baseEndpoint: this._endpoint,
|
|
965
1006
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1005,11 +1046,12 @@ class FileStorageClient {
|
|
|
1005
1046
|
* @param DeleteExportRequest
|
|
1006
1047
|
* @return DeleteExportResponse
|
|
1007
1048
|
* @throws OciError when an error occurs
|
|
1008
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1049
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/DeleteExport.ts.html |here} to see how to use DeleteExport API.
|
|
1009
1050
|
*/
|
|
1010
1051
|
deleteExport(deleteExportRequest) {
|
|
1011
1052
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1012
|
-
|
|
1053
|
+
if (this.logger)
|
|
1054
|
+
this.logger.debug("Calling operation FileStorageClient#deleteExport.");
|
|
1013
1055
|
const operationName = "deleteExport";
|
|
1014
1056
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Export/DeleteExport";
|
|
1015
1057
|
const pathParams = {
|
|
@@ -1023,6 +1065,8 @@ class FileStorageClient {
|
|
|
1023
1065
|
};
|
|
1024
1066
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1025
1067
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteExportRequest.retryConfiguration, specRetryConfiguration);
|
|
1068
|
+
if (this.logger)
|
|
1069
|
+
retrier.logger = this.logger;
|
|
1026
1070
|
const request = yield oci_common_2.composeRequest({
|
|
1027
1071
|
baseEndpoint: this._endpoint,
|
|
1028
1072
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1060,11 +1104,12 @@ class FileStorageClient {
|
|
|
1060
1104
|
* @param DeleteFileSystemRequest
|
|
1061
1105
|
* @return DeleteFileSystemResponse
|
|
1062
1106
|
* @throws OciError when an error occurs
|
|
1063
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1107
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/DeleteFileSystem.ts.html |here} to see how to use DeleteFileSystem API.
|
|
1064
1108
|
*/
|
|
1065
1109
|
deleteFileSystem(deleteFileSystemRequest) {
|
|
1066
1110
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1067
|
-
|
|
1111
|
+
if (this.logger)
|
|
1112
|
+
this.logger.debug("Calling operation FileStorageClient#deleteFileSystem.");
|
|
1068
1113
|
const operationName = "deleteFileSystem";
|
|
1069
1114
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/DeleteFileSystem";
|
|
1070
1115
|
const pathParams = {
|
|
@@ -1078,6 +1123,8 @@ class FileStorageClient {
|
|
|
1078
1123
|
};
|
|
1079
1124
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1080
1125
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFileSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1126
|
+
if (this.logger)
|
|
1127
|
+
retrier.logger = this.logger;
|
|
1081
1128
|
const request = yield oci_common_2.composeRequest({
|
|
1082
1129
|
baseEndpoint: this._endpoint,
|
|
1083
1130
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1113,11 +1160,12 @@ class FileStorageClient {
|
|
|
1113
1160
|
* @param DeleteFilesystemSnapshotPolicyRequest
|
|
1114
1161
|
* @return DeleteFilesystemSnapshotPolicyResponse
|
|
1115
1162
|
* @throws OciError when an error occurs
|
|
1116
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1163
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/DeleteFilesystemSnapshotPolicy.ts.html |here} to see how to use DeleteFilesystemSnapshotPolicy API.
|
|
1117
1164
|
*/
|
|
1118
1165
|
deleteFilesystemSnapshotPolicy(deleteFilesystemSnapshotPolicyRequest) {
|
|
1119
1166
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1120
|
-
|
|
1167
|
+
if (this.logger)
|
|
1168
|
+
this.logger.debug("Calling operation FileStorageClient#deleteFilesystemSnapshotPolicy.");
|
|
1121
1169
|
const operationName = "deleteFilesystemSnapshotPolicy";
|
|
1122
1170
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicy/DeleteFilesystemSnapshotPolicy";
|
|
1123
1171
|
const pathParams = {
|
|
@@ -1131,6 +1179,8 @@ class FileStorageClient {
|
|
|
1131
1179
|
};
|
|
1132
1180
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1133
1181
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1182
|
+
if (this.logger)
|
|
1183
|
+
retrier.logger = this.logger;
|
|
1134
1184
|
const request = yield oci_common_2.composeRequest({
|
|
1135
1185
|
baseEndpoint: this._endpoint,
|
|
1136
1186
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1167,11 +1217,12 @@ class FileStorageClient {
|
|
|
1167
1217
|
* @param DeleteMountTargetRequest
|
|
1168
1218
|
* @return DeleteMountTargetResponse
|
|
1169
1219
|
* @throws OciError when an error occurs
|
|
1170
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1220
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/DeleteMountTarget.ts.html |here} to see how to use DeleteMountTarget API.
|
|
1171
1221
|
*/
|
|
1172
1222
|
deleteMountTarget(deleteMountTargetRequest) {
|
|
1173
1223
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1174
|
-
|
|
1224
|
+
if (this.logger)
|
|
1225
|
+
this.logger.debug("Calling operation FileStorageClient#deleteMountTarget.");
|
|
1175
1226
|
const operationName = "deleteMountTarget";
|
|
1176
1227
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/MountTarget/DeleteMountTarget";
|
|
1177
1228
|
const pathParams = {
|
|
@@ -1185,6 +1236,8 @@ class FileStorageClient {
|
|
|
1185
1236
|
};
|
|
1186
1237
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1187
1238
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMountTargetRequest.retryConfiguration, specRetryConfiguration);
|
|
1239
|
+
if (this.logger)
|
|
1240
|
+
retrier.logger = this.logger;
|
|
1188
1241
|
const request = yield oci_common_2.composeRequest({
|
|
1189
1242
|
baseEndpoint: this._endpoint,
|
|
1190
1243
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1220,11 +1273,12 @@ class FileStorageClient {
|
|
|
1220
1273
|
* @param DeleteOutboundConnectorRequest
|
|
1221
1274
|
* @return DeleteOutboundConnectorResponse
|
|
1222
1275
|
* @throws OciError when an error occurs
|
|
1223
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1276
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/DeleteOutboundConnector.ts.html |here} to see how to use DeleteOutboundConnector API.
|
|
1224
1277
|
*/
|
|
1225
1278
|
deleteOutboundConnector(deleteOutboundConnectorRequest) {
|
|
1226
1279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1227
|
-
|
|
1280
|
+
if (this.logger)
|
|
1281
|
+
this.logger.debug("Calling operation FileStorageClient#deleteOutboundConnector.");
|
|
1228
1282
|
const operationName = "deleteOutboundConnector";
|
|
1229
1283
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/OutboundConnector/DeleteOutboundConnector";
|
|
1230
1284
|
const pathParams = {
|
|
@@ -1238,6 +1292,8 @@ class FileStorageClient {
|
|
|
1238
1292
|
};
|
|
1239
1293
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1240
1294
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOutboundConnectorRequest.retryConfiguration, specRetryConfiguration);
|
|
1295
|
+
if (this.logger)
|
|
1296
|
+
retrier.logger = this.logger;
|
|
1241
1297
|
const request = yield oci_common_2.composeRequest({
|
|
1242
1298
|
baseEndpoint: this._endpoint,
|
|
1243
1299
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1273,11 +1329,12 @@ class FileStorageClient {
|
|
|
1273
1329
|
* @param DeleteReplicationRequest
|
|
1274
1330
|
* @return DeleteReplicationResponse
|
|
1275
1331
|
* @throws OciError when an error occurs
|
|
1276
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1332
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/DeleteReplication.ts.html |here} to see how to use DeleteReplication API.
|
|
1277
1333
|
*/
|
|
1278
1334
|
deleteReplication(deleteReplicationRequest) {
|
|
1279
1335
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1280
|
-
|
|
1336
|
+
if (this.logger)
|
|
1337
|
+
this.logger.debug("Calling operation FileStorageClient#deleteReplication.");
|
|
1281
1338
|
const operationName = "deleteReplication";
|
|
1282
1339
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Replication/DeleteReplication";
|
|
1283
1340
|
const pathParams = {
|
|
@@ -1293,6 +1350,8 @@ class FileStorageClient {
|
|
|
1293
1350
|
};
|
|
1294
1351
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1295
1352
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteReplicationRequest.retryConfiguration, specRetryConfiguration);
|
|
1353
|
+
if (this.logger)
|
|
1354
|
+
retrier.logger = this.logger;
|
|
1296
1355
|
const request = yield oci_common_2.composeRequest({
|
|
1297
1356
|
baseEndpoint: this._endpoint,
|
|
1298
1357
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1331,11 +1390,12 @@ class FileStorageClient {
|
|
|
1331
1390
|
* @param DeleteReplicationTargetRequest
|
|
1332
1391
|
* @return DeleteReplicationTargetResponse
|
|
1333
1392
|
* @throws OciError when an error occurs
|
|
1334
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1393
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/DeleteReplicationTarget.ts.html |here} to see how to use DeleteReplicationTarget API.
|
|
1335
1394
|
*/
|
|
1336
1395
|
deleteReplicationTarget(deleteReplicationTargetRequest) {
|
|
1337
1396
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1338
|
-
|
|
1397
|
+
if (this.logger)
|
|
1398
|
+
this.logger.debug("Calling operation FileStorageClient#deleteReplicationTarget.");
|
|
1339
1399
|
const operationName = "deleteReplicationTarget";
|
|
1340
1400
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/ReplicationTarget/DeleteReplicationTarget";
|
|
1341
1401
|
const pathParams = {
|
|
@@ -1349,6 +1409,8 @@ class FileStorageClient {
|
|
|
1349
1409
|
};
|
|
1350
1410
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1351
1411
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteReplicationTargetRequest.retryConfiguration, specRetryConfiguration);
|
|
1412
|
+
if (this.logger)
|
|
1413
|
+
retrier.logger = this.logger;
|
|
1352
1414
|
const request = yield oci_common_2.composeRequest({
|
|
1353
1415
|
baseEndpoint: this._endpoint,
|
|
1354
1416
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1384,11 +1446,12 @@ class FileStorageClient {
|
|
|
1384
1446
|
* @param DeleteSnapshotRequest
|
|
1385
1447
|
* @return DeleteSnapshotResponse
|
|
1386
1448
|
* @throws OciError when an error occurs
|
|
1387
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1449
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/DeleteSnapshot.ts.html |here} to see how to use DeleteSnapshot API.
|
|
1388
1450
|
*/
|
|
1389
1451
|
deleteSnapshot(deleteSnapshotRequest) {
|
|
1390
1452
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1391
|
-
|
|
1453
|
+
if (this.logger)
|
|
1454
|
+
this.logger.debug("Calling operation FileStorageClient#deleteSnapshot.");
|
|
1392
1455
|
const operationName = "deleteSnapshot";
|
|
1393
1456
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Snapshot/DeleteSnapshot";
|
|
1394
1457
|
const pathParams = {
|
|
@@ -1402,6 +1465,8 @@ class FileStorageClient {
|
|
|
1402
1465
|
};
|
|
1403
1466
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1404
1467
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSnapshotRequest.retryConfiguration, specRetryConfiguration);
|
|
1468
|
+
if (this.logger)
|
|
1469
|
+
retrier.logger = this.logger;
|
|
1405
1470
|
const request = yield oci_common_2.composeRequest({
|
|
1406
1471
|
baseEndpoint: this._endpoint,
|
|
1407
1472
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1437,11 +1502,12 @@ class FileStorageClient {
|
|
|
1437
1502
|
* @param EstimateReplicationRequest
|
|
1438
1503
|
* @return EstimateReplicationResponse
|
|
1439
1504
|
* @throws OciError when an error occurs
|
|
1440
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1505
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/EstimateReplication.ts.html |here} to see how to use EstimateReplication API.
|
|
1441
1506
|
*/
|
|
1442
1507
|
estimateReplication(estimateReplicationRequest) {
|
|
1443
1508
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1444
|
-
|
|
1509
|
+
if (this.logger)
|
|
1510
|
+
this.logger.debug("Calling operation FileStorageClient#estimateReplication.");
|
|
1445
1511
|
const operationName = "estimateReplication";
|
|
1446
1512
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/EstimateReplication";
|
|
1447
1513
|
const pathParams = {
|
|
@@ -1457,6 +1523,8 @@ class FileStorageClient {
|
|
|
1457
1523
|
};
|
|
1458
1524
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1459
1525
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, estimateReplicationRequest.retryConfiguration, specRetryConfiguration);
|
|
1526
|
+
if (this.logger)
|
|
1527
|
+
retrier.logger = this.logger;
|
|
1460
1528
|
const request = yield oci_common_2.composeRequest({
|
|
1461
1529
|
baseEndpoint: this._endpoint,
|
|
1462
1530
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1500,11 +1568,12 @@ class FileStorageClient {
|
|
|
1500
1568
|
* @param GetExportRequest
|
|
1501
1569
|
* @return GetExportResponse
|
|
1502
1570
|
* @throws OciError when an error occurs
|
|
1503
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1571
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/GetExport.ts.html |here} to see how to use GetExport API.
|
|
1504
1572
|
*/
|
|
1505
1573
|
getExport(getExportRequest) {
|
|
1506
1574
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1507
|
-
|
|
1575
|
+
if (this.logger)
|
|
1576
|
+
this.logger.debug("Calling operation FileStorageClient#getExport.");
|
|
1508
1577
|
const operationName = "getExport";
|
|
1509
1578
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Export/GetExport";
|
|
1510
1579
|
const pathParams = {
|
|
@@ -1517,6 +1586,8 @@ class FileStorageClient {
|
|
|
1517
1586
|
};
|
|
1518
1587
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1519
1588
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getExportRequest.retryConfiguration, specRetryConfiguration);
|
|
1589
|
+
if (this.logger)
|
|
1590
|
+
retrier.logger = this.logger;
|
|
1520
1591
|
const request = yield oci_common_2.composeRequest({
|
|
1521
1592
|
baseEndpoint: this._endpoint,
|
|
1522
1593
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1560,11 +1631,12 @@ class FileStorageClient {
|
|
|
1560
1631
|
* @param GetExportSetRequest
|
|
1561
1632
|
* @return GetExportSetResponse
|
|
1562
1633
|
* @throws OciError when an error occurs
|
|
1563
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1634
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/GetExportSet.ts.html |here} to see how to use GetExportSet API.
|
|
1564
1635
|
*/
|
|
1565
1636
|
getExportSet(getExportSetRequest) {
|
|
1566
1637
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1567
|
-
|
|
1638
|
+
if (this.logger)
|
|
1639
|
+
this.logger.debug("Calling operation FileStorageClient#getExportSet.");
|
|
1568
1640
|
const operationName = "getExportSet";
|
|
1569
1641
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/ExportSet/GetExportSet";
|
|
1570
1642
|
const pathParams = {
|
|
@@ -1577,6 +1649,8 @@ class FileStorageClient {
|
|
|
1577
1649
|
};
|
|
1578
1650
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1579
1651
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getExportSetRequest.retryConfiguration, specRetryConfiguration);
|
|
1652
|
+
if (this.logger)
|
|
1653
|
+
retrier.logger = this.logger;
|
|
1580
1654
|
const request = yield oci_common_2.composeRequest({
|
|
1581
1655
|
baseEndpoint: this._endpoint,
|
|
1582
1656
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1620,11 +1694,12 @@ class FileStorageClient {
|
|
|
1620
1694
|
* @param GetFileSystemRequest
|
|
1621
1695
|
* @return GetFileSystemResponse
|
|
1622
1696
|
* @throws OciError when an error occurs
|
|
1623
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1697
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/GetFileSystem.ts.html |here} to see how to use GetFileSystem API.
|
|
1624
1698
|
*/
|
|
1625
1699
|
getFileSystem(getFileSystemRequest) {
|
|
1626
1700
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1627
|
-
|
|
1701
|
+
if (this.logger)
|
|
1702
|
+
this.logger.debug("Calling operation FileStorageClient#getFileSystem.");
|
|
1628
1703
|
const operationName = "getFileSystem";
|
|
1629
1704
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/GetFileSystem";
|
|
1630
1705
|
const pathParams = {
|
|
@@ -1637,6 +1712,8 @@ class FileStorageClient {
|
|
|
1637
1712
|
};
|
|
1638
1713
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1639
1714
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFileSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1715
|
+
if (this.logger)
|
|
1716
|
+
retrier.logger = this.logger;
|
|
1640
1717
|
const request = yield oci_common_2.composeRequest({
|
|
1641
1718
|
baseEndpoint: this._endpoint,
|
|
1642
1719
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1680,11 +1757,12 @@ class FileStorageClient {
|
|
|
1680
1757
|
* @param GetFilesystemSnapshotPolicyRequest
|
|
1681
1758
|
* @return GetFilesystemSnapshotPolicyResponse
|
|
1682
1759
|
* @throws OciError when an error occurs
|
|
1683
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1760
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/GetFilesystemSnapshotPolicy.ts.html |here} to see how to use GetFilesystemSnapshotPolicy API.
|
|
1684
1761
|
*/
|
|
1685
1762
|
getFilesystemSnapshotPolicy(getFilesystemSnapshotPolicyRequest) {
|
|
1686
1763
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1687
|
-
|
|
1764
|
+
if (this.logger)
|
|
1765
|
+
this.logger.debug("Calling operation FileStorageClient#getFilesystemSnapshotPolicy.");
|
|
1688
1766
|
const operationName = "getFilesystemSnapshotPolicy";
|
|
1689
1767
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicy/GetFilesystemSnapshotPolicy";
|
|
1690
1768
|
const pathParams = {
|
|
@@ -1697,6 +1775,8 @@ class FileStorageClient {
|
|
|
1697
1775
|
};
|
|
1698
1776
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1699
1777
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1778
|
+
if (this.logger)
|
|
1779
|
+
retrier.logger = this.logger;
|
|
1700
1780
|
const request = yield oci_common_2.composeRequest({
|
|
1701
1781
|
baseEndpoint: this._endpoint,
|
|
1702
1782
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1740,11 +1820,12 @@ class FileStorageClient {
|
|
|
1740
1820
|
* @param GetMountTargetRequest
|
|
1741
1821
|
* @return GetMountTargetResponse
|
|
1742
1822
|
* @throws OciError when an error occurs
|
|
1743
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1823
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/GetMountTarget.ts.html |here} to see how to use GetMountTarget API.
|
|
1744
1824
|
*/
|
|
1745
1825
|
getMountTarget(getMountTargetRequest) {
|
|
1746
1826
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1747
|
-
|
|
1827
|
+
if (this.logger)
|
|
1828
|
+
this.logger.debug("Calling operation FileStorageClient#getMountTarget.");
|
|
1748
1829
|
const operationName = "getMountTarget";
|
|
1749
1830
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/MountTarget/GetMountTarget";
|
|
1750
1831
|
const pathParams = {
|
|
@@ -1757,6 +1838,8 @@ class FileStorageClient {
|
|
|
1757
1838
|
};
|
|
1758
1839
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1759
1840
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMountTargetRequest.retryConfiguration, specRetryConfiguration);
|
|
1841
|
+
if (this.logger)
|
|
1842
|
+
retrier.logger = this.logger;
|
|
1760
1843
|
const request = yield oci_common_2.composeRequest({
|
|
1761
1844
|
baseEndpoint: this._endpoint,
|
|
1762
1845
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1800,11 +1883,12 @@ class FileStorageClient {
|
|
|
1800
1883
|
* @param GetOutboundConnectorRequest
|
|
1801
1884
|
* @return GetOutboundConnectorResponse
|
|
1802
1885
|
* @throws OciError when an error occurs
|
|
1803
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1886
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/GetOutboundConnector.ts.html |here} to see how to use GetOutboundConnector API.
|
|
1804
1887
|
*/
|
|
1805
1888
|
getOutboundConnector(getOutboundConnectorRequest) {
|
|
1806
1889
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1807
|
-
|
|
1890
|
+
if (this.logger)
|
|
1891
|
+
this.logger.debug("Calling operation FileStorageClient#getOutboundConnector.");
|
|
1808
1892
|
const operationName = "getOutboundConnector";
|
|
1809
1893
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/OutboundConnector/GetOutboundConnector";
|
|
1810
1894
|
const pathParams = {
|
|
@@ -1817,6 +1901,8 @@ class FileStorageClient {
|
|
|
1817
1901
|
};
|
|
1818
1902
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1819
1903
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOutboundConnectorRequest.retryConfiguration, specRetryConfiguration);
|
|
1904
|
+
if (this.logger)
|
|
1905
|
+
retrier.logger = this.logger;
|
|
1820
1906
|
const request = yield oci_common_2.composeRequest({
|
|
1821
1907
|
baseEndpoint: this._endpoint,
|
|
1822
1908
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1860,11 +1946,12 @@ class FileStorageClient {
|
|
|
1860
1946
|
* @param GetReplicationRequest
|
|
1861
1947
|
* @return GetReplicationResponse
|
|
1862
1948
|
* @throws OciError when an error occurs
|
|
1863
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1949
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/GetReplication.ts.html |here} to see how to use GetReplication API.
|
|
1864
1950
|
*/
|
|
1865
1951
|
getReplication(getReplicationRequest) {
|
|
1866
1952
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1867
|
-
|
|
1953
|
+
if (this.logger)
|
|
1954
|
+
this.logger.debug("Calling operation FileStorageClient#getReplication.");
|
|
1868
1955
|
const operationName = "getReplication";
|
|
1869
1956
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Replication/GetReplication";
|
|
1870
1957
|
const pathParams = {
|
|
@@ -1877,6 +1964,8 @@ class FileStorageClient {
|
|
|
1877
1964
|
};
|
|
1878
1965
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1879
1966
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getReplicationRequest.retryConfiguration, specRetryConfiguration);
|
|
1967
|
+
if (this.logger)
|
|
1968
|
+
retrier.logger = this.logger;
|
|
1880
1969
|
const request = yield oci_common_2.composeRequest({
|
|
1881
1970
|
baseEndpoint: this._endpoint,
|
|
1882
1971
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1920,11 +2009,12 @@ class FileStorageClient {
|
|
|
1920
2009
|
* @param GetReplicationTargetRequest
|
|
1921
2010
|
* @return GetReplicationTargetResponse
|
|
1922
2011
|
* @throws OciError when an error occurs
|
|
1923
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2012
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/GetReplicationTarget.ts.html |here} to see how to use GetReplicationTarget API.
|
|
1924
2013
|
*/
|
|
1925
2014
|
getReplicationTarget(getReplicationTargetRequest) {
|
|
1926
2015
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1927
|
-
|
|
2016
|
+
if (this.logger)
|
|
2017
|
+
this.logger.debug("Calling operation FileStorageClient#getReplicationTarget.");
|
|
1928
2018
|
const operationName = "getReplicationTarget";
|
|
1929
2019
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/ReplicationTarget/GetReplicationTarget";
|
|
1930
2020
|
const pathParams = {
|
|
@@ -1937,6 +2027,8 @@ class FileStorageClient {
|
|
|
1937
2027
|
};
|
|
1938
2028
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1939
2029
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getReplicationTargetRequest.retryConfiguration, specRetryConfiguration);
|
|
2030
|
+
if (this.logger)
|
|
2031
|
+
retrier.logger = this.logger;
|
|
1940
2032
|
const request = yield oci_common_2.composeRequest({
|
|
1941
2033
|
baseEndpoint: this._endpoint,
|
|
1942
2034
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1980,11 +2072,12 @@ class FileStorageClient {
|
|
|
1980
2072
|
* @param GetSnapshotRequest
|
|
1981
2073
|
* @return GetSnapshotResponse
|
|
1982
2074
|
* @throws OciError when an error occurs
|
|
1983
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2075
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/GetSnapshot.ts.html |here} to see how to use GetSnapshot API.
|
|
1984
2076
|
*/
|
|
1985
2077
|
getSnapshot(getSnapshotRequest) {
|
|
1986
2078
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1987
|
-
|
|
2079
|
+
if (this.logger)
|
|
2080
|
+
this.logger.debug("Calling operation FileStorageClient#getSnapshot.");
|
|
1988
2081
|
const operationName = "getSnapshot";
|
|
1989
2082
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Snapshot/GetSnapshot";
|
|
1990
2083
|
const pathParams = {
|
|
@@ -1997,6 +2090,8 @@ class FileStorageClient {
|
|
|
1997
2090
|
};
|
|
1998
2091
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1999
2092
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSnapshotRequest.retryConfiguration, specRetryConfiguration);
|
|
2093
|
+
if (this.logger)
|
|
2094
|
+
retrier.logger = this.logger;
|
|
2000
2095
|
const request = yield oci_common_2.composeRequest({
|
|
2001
2096
|
baseEndpoint: this._endpoint,
|
|
2002
2097
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2041,11 +2136,12 @@ class FileStorageClient {
|
|
|
2041
2136
|
* @param ListExportSetsRequest
|
|
2042
2137
|
* @return ListExportSetsResponse
|
|
2043
2138
|
* @throws OciError when an error occurs
|
|
2044
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2139
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/ListExportSets.ts.html |here} to see how to use ListExportSets API.
|
|
2045
2140
|
*/
|
|
2046
2141
|
listExportSets(listExportSetsRequest) {
|
|
2047
2142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2048
|
-
|
|
2143
|
+
if (this.logger)
|
|
2144
|
+
this.logger.debug("Calling operation FileStorageClient#listExportSets.");
|
|
2049
2145
|
const operationName = "listExportSets";
|
|
2050
2146
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/ExportSetSummary/ListExportSets";
|
|
2051
2147
|
const pathParams = {};
|
|
@@ -2066,6 +2162,8 @@ class FileStorageClient {
|
|
|
2066
2162
|
};
|
|
2067
2163
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2068
2164
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listExportSetsRequest.retryConfiguration, specRetryConfiguration);
|
|
2165
|
+
if (this.logger)
|
|
2166
|
+
retrier.logger = this.logger;
|
|
2069
2167
|
const request = yield oci_common_2.composeRequest({
|
|
2070
2168
|
baseEndpoint: this._endpoint,
|
|
2071
2169
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2152,11 +2250,12 @@ class FileStorageClient {
|
|
|
2152
2250
|
* @param ListExportsRequest
|
|
2153
2251
|
* @return ListExportsResponse
|
|
2154
2252
|
* @throws OciError when an error occurs
|
|
2155
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2253
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/ListExports.ts.html |here} to see how to use ListExports API.
|
|
2156
2254
|
*/
|
|
2157
2255
|
listExports(listExportsRequest) {
|
|
2158
2256
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2159
|
-
|
|
2257
|
+
if (this.logger)
|
|
2258
|
+
this.logger.debug("Calling operation FileStorageClient#listExports.");
|
|
2160
2259
|
const operationName = "listExports";
|
|
2161
2260
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/ExportSummary/ListExports";
|
|
2162
2261
|
const pathParams = {};
|
|
@@ -2177,6 +2276,8 @@ class FileStorageClient {
|
|
|
2177
2276
|
};
|
|
2178
2277
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2179
2278
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listExportsRequest.retryConfiguration, specRetryConfiguration);
|
|
2279
|
+
if (this.logger)
|
|
2280
|
+
retrier.logger = this.logger;
|
|
2180
2281
|
const request = yield oci_common_2.composeRequest({
|
|
2181
2282
|
baseEndpoint: this._endpoint,
|
|
2182
2283
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2262,11 +2363,12 @@ class FileStorageClient {
|
|
|
2262
2363
|
* @param ListFileSystemsRequest
|
|
2263
2364
|
* @return ListFileSystemsResponse
|
|
2264
2365
|
* @throws OciError when an error occurs
|
|
2265
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2366
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/ListFileSystems.ts.html |here} to see how to use ListFileSystems API.
|
|
2266
2367
|
*/
|
|
2267
2368
|
listFileSystems(listFileSystemsRequest) {
|
|
2268
2369
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2269
|
-
|
|
2370
|
+
if (this.logger)
|
|
2371
|
+
this.logger.debug("Calling operation FileStorageClient#listFileSystems.");
|
|
2270
2372
|
const operationName = "listFileSystems";
|
|
2271
2373
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystemSummary/ListFileSystems";
|
|
2272
2374
|
const pathParams = {};
|
|
@@ -2290,6 +2392,8 @@ class FileStorageClient {
|
|
|
2290
2392
|
};
|
|
2291
2393
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2292
2394
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFileSystemsRequest.retryConfiguration, specRetryConfiguration);
|
|
2395
|
+
if (this.logger)
|
|
2396
|
+
retrier.logger = this.logger;
|
|
2293
2397
|
const request = yield oci_common_2.composeRequest({
|
|
2294
2398
|
baseEndpoint: this._endpoint,
|
|
2295
2399
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2374,11 +2478,12 @@ class FileStorageClient {
|
|
|
2374
2478
|
* @param ListFilesystemSnapshotPoliciesRequest
|
|
2375
2479
|
* @return ListFilesystemSnapshotPoliciesResponse
|
|
2376
2480
|
* @throws OciError when an error occurs
|
|
2377
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2481
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/ListFilesystemSnapshotPolicies.ts.html |here} to see how to use ListFilesystemSnapshotPolicies API.
|
|
2378
2482
|
*/
|
|
2379
2483
|
listFilesystemSnapshotPolicies(listFilesystemSnapshotPoliciesRequest) {
|
|
2380
2484
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2381
|
-
|
|
2485
|
+
if (this.logger)
|
|
2486
|
+
this.logger.debug("Calling operation FileStorageClient#listFilesystemSnapshotPolicies.");
|
|
2382
2487
|
const operationName = "listFilesystemSnapshotPolicies";
|
|
2383
2488
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicySummary/ListFilesystemSnapshotPolicies";
|
|
2384
2489
|
const pathParams = {};
|
|
@@ -2399,6 +2504,8 @@ class FileStorageClient {
|
|
|
2399
2504
|
};
|
|
2400
2505
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2401
2506
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFilesystemSnapshotPoliciesRequest.retryConfiguration, specRetryConfiguration);
|
|
2507
|
+
if (this.logger)
|
|
2508
|
+
retrier.logger = this.logger;
|
|
2402
2509
|
const request = yield oci_common_2.composeRequest({
|
|
2403
2510
|
baseEndpoint: this._endpoint,
|
|
2404
2511
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2483,11 +2590,12 @@ class FileStorageClient {
|
|
|
2483
2590
|
* @param ListMountTargetsRequest
|
|
2484
2591
|
* @return ListMountTargetsResponse
|
|
2485
2592
|
* @throws OciError when an error occurs
|
|
2486
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2593
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/ListMountTargets.ts.html |here} to see how to use ListMountTargets API.
|
|
2487
2594
|
*/
|
|
2488
2595
|
listMountTargets(listMountTargetsRequest) {
|
|
2489
2596
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2490
|
-
|
|
2597
|
+
if (this.logger)
|
|
2598
|
+
this.logger.debug("Calling operation FileStorageClient#listMountTargets.");
|
|
2491
2599
|
const operationName = "listMountTargets";
|
|
2492
2600
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/MountTargetSummary/ListMountTargets";
|
|
2493
2601
|
const pathParams = {};
|
|
@@ -2509,6 +2617,8 @@ class FileStorageClient {
|
|
|
2509
2617
|
};
|
|
2510
2618
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2511
2619
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMountTargetsRequest.retryConfiguration, specRetryConfiguration);
|
|
2620
|
+
if (this.logger)
|
|
2621
|
+
retrier.logger = this.logger;
|
|
2512
2622
|
const request = yield oci_common_2.composeRequest({
|
|
2513
2623
|
baseEndpoint: this._endpoint,
|
|
2514
2624
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2593,11 +2703,12 @@ class FileStorageClient {
|
|
|
2593
2703
|
* @param ListOutboundConnectorsRequest
|
|
2594
2704
|
* @return ListOutboundConnectorsResponse
|
|
2595
2705
|
* @throws OciError when an error occurs
|
|
2596
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2706
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/ListOutboundConnectors.ts.html |here} to see how to use ListOutboundConnectors API.
|
|
2597
2707
|
*/
|
|
2598
2708
|
listOutboundConnectors(listOutboundConnectorsRequest) {
|
|
2599
2709
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2600
|
-
|
|
2710
|
+
if (this.logger)
|
|
2711
|
+
this.logger.debug("Calling operation FileStorageClient#listOutboundConnectors.");
|
|
2601
2712
|
const operationName = "listOutboundConnectors";
|
|
2602
2713
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/OutboundConnectorSummary/ListOutboundConnectors";
|
|
2603
2714
|
const pathParams = {};
|
|
@@ -2618,6 +2729,8 @@ class FileStorageClient {
|
|
|
2618
2729
|
};
|
|
2619
2730
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2620
2731
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOutboundConnectorsRequest.retryConfiguration, specRetryConfiguration);
|
|
2732
|
+
if (this.logger)
|
|
2733
|
+
retrier.logger = this.logger;
|
|
2621
2734
|
const request = yield oci_common_2.composeRequest({
|
|
2622
2735
|
baseEndpoint: this._endpoint,
|
|
2623
2736
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2702,11 +2815,12 @@ class FileStorageClient {
|
|
|
2702
2815
|
* @param ListReplicationTargetsRequest
|
|
2703
2816
|
* @return ListReplicationTargetsResponse
|
|
2704
2817
|
* @throws OciError when an error occurs
|
|
2705
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2818
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/ListReplicationTargets.ts.html |here} to see how to use ListReplicationTargets API.
|
|
2706
2819
|
*/
|
|
2707
2820
|
listReplicationTargets(listReplicationTargetsRequest) {
|
|
2708
2821
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2709
|
-
|
|
2822
|
+
if (this.logger)
|
|
2823
|
+
this.logger.debug("Calling operation FileStorageClient#listReplicationTargets.");
|
|
2710
2824
|
const operationName = "listReplicationTargets";
|
|
2711
2825
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/ReplicationTargetSummary/ListReplicationTargets";
|
|
2712
2826
|
const pathParams = {};
|
|
@@ -2727,6 +2841,8 @@ class FileStorageClient {
|
|
|
2727
2841
|
};
|
|
2728
2842
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2729
2843
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listReplicationTargetsRequest.retryConfiguration, specRetryConfiguration);
|
|
2844
|
+
if (this.logger)
|
|
2845
|
+
retrier.logger = this.logger;
|
|
2730
2846
|
const request = yield oci_common_2.composeRequest({
|
|
2731
2847
|
baseEndpoint: this._endpoint,
|
|
2732
2848
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2811,11 +2927,12 @@ class FileStorageClient {
|
|
|
2811
2927
|
* @param ListReplicationsRequest
|
|
2812
2928
|
* @return ListReplicationsResponse
|
|
2813
2929
|
* @throws OciError when an error occurs
|
|
2814
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2930
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/ListReplications.ts.html |here} to see how to use ListReplications API.
|
|
2815
2931
|
*/
|
|
2816
2932
|
listReplications(listReplicationsRequest) {
|
|
2817
2933
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2818
|
-
|
|
2934
|
+
if (this.logger)
|
|
2935
|
+
this.logger.debug("Calling operation FileStorageClient#listReplications.");
|
|
2819
2936
|
const operationName = "listReplications";
|
|
2820
2937
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/ReplicationSummary/ListReplications";
|
|
2821
2938
|
const pathParams = {};
|
|
@@ -2837,6 +2954,8 @@ class FileStorageClient {
|
|
|
2837
2954
|
};
|
|
2838
2955
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2839
2956
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listReplicationsRequest.retryConfiguration, specRetryConfiguration);
|
|
2957
|
+
if (this.logger)
|
|
2958
|
+
retrier.logger = this.logger;
|
|
2840
2959
|
const request = yield oci_common_2.composeRequest({
|
|
2841
2960
|
baseEndpoint: this._endpoint,
|
|
2842
2961
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2927,11 +3046,12 @@ class FileStorageClient {
|
|
|
2927
3046
|
* @param ListSnapshotsRequest
|
|
2928
3047
|
* @return ListSnapshotsResponse
|
|
2929
3048
|
* @throws OciError when an error occurs
|
|
2930
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3049
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/ListSnapshots.ts.html |here} to see how to use ListSnapshots API.
|
|
2931
3050
|
*/
|
|
2932
3051
|
listSnapshots(listSnapshotsRequest) {
|
|
2933
3052
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2934
|
-
|
|
3053
|
+
if (this.logger)
|
|
3054
|
+
this.logger.debug("Calling operation FileStorageClient#listSnapshots.");
|
|
2935
3055
|
const operationName = "listSnapshots";
|
|
2936
3056
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/SnapshotSummary/ListSnapshots";
|
|
2937
3057
|
const pathParams = {};
|
|
@@ -2951,6 +3071,8 @@ class FileStorageClient {
|
|
|
2951
3071
|
};
|
|
2952
3072
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2953
3073
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSnapshotsRequest.retryConfiguration, specRetryConfiguration);
|
|
3074
|
+
if (this.logger)
|
|
3075
|
+
retrier.logger = this.logger;
|
|
2954
3076
|
const request = yield oci_common_2.composeRequest({
|
|
2955
3077
|
baseEndpoint: this._endpoint,
|
|
2956
3078
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3040,11 +3162,12 @@ class FileStorageClient {
|
|
|
3040
3162
|
* @param PauseFilesystemSnapshotPolicyRequest
|
|
3041
3163
|
* @return PauseFilesystemSnapshotPolicyResponse
|
|
3042
3164
|
* @throws OciError when an error occurs
|
|
3043
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3165
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/PauseFilesystemSnapshotPolicy.ts.html |here} to see how to use PauseFilesystemSnapshotPolicy API.
|
|
3044
3166
|
*/
|
|
3045
3167
|
pauseFilesystemSnapshotPolicy(pauseFilesystemSnapshotPolicyRequest) {
|
|
3046
3168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3047
|
-
|
|
3169
|
+
if (this.logger)
|
|
3170
|
+
this.logger.debug("Calling operation FileStorageClient#pauseFilesystemSnapshotPolicy.");
|
|
3048
3171
|
const operationName = "pauseFilesystemSnapshotPolicy";
|
|
3049
3172
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicy/PauseFilesystemSnapshotPolicy";
|
|
3050
3173
|
const pathParams = {
|
|
@@ -3058,6 +3181,8 @@ class FileStorageClient {
|
|
|
3058
3181
|
};
|
|
3059
3182
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3060
3183
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, pauseFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
3184
|
+
if (this.logger)
|
|
3185
|
+
retrier.logger = this.logger;
|
|
3061
3186
|
const request = yield oci_common_2.composeRequest({
|
|
3062
3187
|
baseEndpoint: this._endpoint,
|
|
3063
3188
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3106,11 +3231,12 @@ class FileStorageClient {
|
|
|
3106
3231
|
* @param UnpauseFilesystemSnapshotPolicyRequest
|
|
3107
3232
|
* @return UnpauseFilesystemSnapshotPolicyResponse
|
|
3108
3233
|
* @throws OciError when an error occurs
|
|
3109
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3234
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/UnpauseFilesystemSnapshotPolicy.ts.html |here} to see how to use UnpauseFilesystemSnapshotPolicy API.
|
|
3110
3235
|
*/
|
|
3111
3236
|
unpauseFilesystemSnapshotPolicy(unpauseFilesystemSnapshotPolicyRequest) {
|
|
3112
3237
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3113
|
-
|
|
3238
|
+
if (this.logger)
|
|
3239
|
+
this.logger.debug("Calling operation FileStorageClient#unpauseFilesystemSnapshotPolicy.");
|
|
3114
3240
|
const operationName = "unpauseFilesystemSnapshotPolicy";
|
|
3115
3241
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicy/UnpauseFilesystemSnapshotPolicy";
|
|
3116
3242
|
const pathParams = {
|
|
@@ -3124,6 +3250,8 @@ class FileStorageClient {
|
|
|
3124
3250
|
};
|
|
3125
3251
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3126
3252
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, unpauseFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
3253
|
+
if (this.logger)
|
|
3254
|
+
retrier.logger = this.logger;
|
|
3127
3255
|
const request = yield oci_common_2.composeRequest({
|
|
3128
3256
|
baseEndpoint: this._endpoint,
|
|
3129
3257
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3167,11 +3295,12 @@ class FileStorageClient {
|
|
|
3167
3295
|
* @param UpdateExportRequest
|
|
3168
3296
|
* @return UpdateExportResponse
|
|
3169
3297
|
* @throws OciError when an error occurs
|
|
3170
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3298
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/UpdateExport.ts.html |here} to see how to use UpdateExport API.
|
|
3171
3299
|
*/
|
|
3172
3300
|
updateExport(updateExportRequest) {
|
|
3173
3301
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3174
|
-
|
|
3302
|
+
if (this.logger)
|
|
3303
|
+
this.logger.debug("Calling operation FileStorageClient#updateExport.");
|
|
3175
3304
|
const operationName = "updateExport";
|
|
3176
3305
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Export/UpdateExport";
|
|
3177
3306
|
const pathParams = {
|
|
@@ -3185,6 +3314,8 @@ class FileStorageClient {
|
|
|
3185
3314
|
};
|
|
3186
3315
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3187
3316
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateExportRequest.retryConfiguration, specRetryConfiguration);
|
|
3317
|
+
if (this.logger)
|
|
3318
|
+
retrier.logger = this.logger;
|
|
3188
3319
|
const request = yield oci_common_2.composeRequest({
|
|
3189
3320
|
baseEndpoint: this._endpoint,
|
|
3190
3321
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3229,11 +3360,12 @@ class FileStorageClient {
|
|
|
3229
3360
|
* @param UpdateExportSetRequest
|
|
3230
3361
|
* @return UpdateExportSetResponse
|
|
3231
3362
|
* @throws OciError when an error occurs
|
|
3232
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3363
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/UpdateExportSet.ts.html |here} to see how to use UpdateExportSet API.
|
|
3233
3364
|
*/
|
|
3234
3365
|
updateExportSet(updateExportSetRequest) {
|
|
3235
3366
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3236
|
-
|
|
3367
|
+
if (this.logger)
|
|
3368
|
+
this.logger.debug("Calling operation FileStorageClient#updateExportSet.");
|
|
3237
3369
|
const operationName = "updateExportSet";
|
|
3238
3370
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/ExportSet/UpdateExportSet";
|
|
3239
3371
|
const pathParams = {
|
|
@@ -3247,6 +3379,8 @@ class FileStorageClient {
|
|
|
3247
3379
|
};
|
|
3248
3380
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3249
3381
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateExportSetRequest.retryConfiguration, specRetryConfiguration);
|
|
3382
|
+
if (this.logger)
|
|
3383
|
+
retrier.logger = this.logger;
|
|
3250
3384
|
const request = yield oci_common_2.composeRequest({
|
|
3251
3385
|
baseEndpoint: this._endpoint,
|
|
3252
3386
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3293,11 +3427,12 @@ class FileStorageClient {
|
|
|
3293
3427
|
* @param UpdateFileSystemRequest
|
|
3294
3428
|
* @return UpdateFileSystemResponse
|
|
3295
3429
|
* @throws OciError when an error occurs
|
|
3296
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3430
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/UpdateFileSystem.ts.html |here} to see how to use UpdateFileSystem API.
|
|
3297
3431
|
*/
|
|
3298
3432
|
updateFileSystem(updateFileSystemRequest) {
|
|
3299
3433
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3300
|
-
|
|
3434
|
+
if (this.logger)
|
|
3435
|
+
this.logger.debug("Calling operation FileStorageClient#updateFileSystem.");
|
|
3301
3436
|
const operationName = "updateFileSystem";
|
|
3302
3437
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/UpdateFileSystem";
|
|
3303
3438
|
const pathParams = {
|
|
@@ -3311,6 +3446,8 @@ class FileStorageClient {
|
|
|
3311
3446
|
};
|
|
3312
3447
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3313
3448
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFileSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
3449
|
+
if (this.logger)
|
|
3450
|
+
retrier.logger = this.logger;
|
|
3314
3451
|
const request = yield oci_common_2.composeRequest({
|
|
3315
3452
|
baseEndpoint: this._endpoint,
|
|
3316
3453
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3355,11 +3492,12 @@ class FileStorageClient {
|
|
|
3355
3492
|
* @param UpdateFilesystemSnapshotPolicyRequest
|
|
3356
3493
|
* @return UpdateFilesystemSnapshotPolicyResponse
|
|
3357
3494
|
* @throws OciError when an error occurs
|
|
3358
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3495
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/UpdateFilesystemSnapshotPolicy.ts.html |here} to see how to use UpdateFilesystemSnapshotPolicy API.
|
|
3359
3496
|
*/
|
|
3360
3497
|
updateFilesystemSnapshotPolicy(updateFilesystemSnapshotPolicyRequest) {
|
|
3361
3498
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3362
|
-
|
|
3499
|
+
if (this.logger)
|
|
3500
|
+
this.logger.debug("Calling operation FileStorageClient#updateFilesystemSnapshotPolicy.");
|
|
3363
3501
|
const operationName = "updateFilesystemSnapshotPolicy";
|
|
3364
3502
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FilesystemSnapshotPolicy/UpdateFilesystemSnapshotPolicy";
|
|
3365
3503
|
const pathParams = {
|
|
@@ -3373,6 +3511,8 @@ class FileStorageClient {
|
|
|
3373
3511
|
};
|
|
3374
3512
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3375
3513
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
3514
|
+
if (this.logger)
|
|
3515
|
+
retrier.logger = this.logger;
|
|
3376
3516
|
const request = yield oci_common_2.composeRequest({
|
|
3377
3517
|
baseEndpoint: this._endpoint,
|
|
3378
3518
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3417,11 +3557,12 @@ class FileStorageClient {
|
|
|
3417
3557
|
* @param UpdateMountTargetRequest
|
|
3418
3558
|
* @return UpdateMountTargetResponse
|
|
3419
3559
|
* @throws OciError when an error occurs
|
|
3420
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3560
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/UpdateMountTarget.ts.html |here} to see how to use UpdateMountTarget API.
|
|
3421
3561
|
*/
|
|
3422
3562
|
updateMountTarget(updateMountTargetRequest) {
|
|
3423
3563
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3424
|
-
|
|
3564
|
+
if (this.logger)
|
|
3565
|
+
this.logger.debug("Calling operation FileStorageClient#updateMountTarget.");
|
|
3425
3566
|
const operationName = "updateMountTarget";
|
|
3426
3567
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/MountTarget/UpdateMountTarget";
|
|
3427
3568
|
const pathParams = {
|
|
@@ -3435,6 +3576,8 @@ class FileStorageClient {
|
|
|
3435
3576
|
};
|
|
3436
3577
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3437
3578
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateMountTargetRequest.retryConfiguration, specRetryConfiguration);
|
|
3579
|
+
if (this.logger)
|
|
3580
|
+
retrier.logger = this.logger;
|
|
3438
3581
|
const request = yield oci_common_2.composeRequest({
|
|
3439
3582
|
baseEndpoint: this._endpoint,
|
|
3440
3583
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3479,11 +3622,12 @@ class FileStorageClient {
|
|
|
3479
3622
|
* @param UpdateOutboundConnectorRequest
|
|
3480
3623
|
* @return UpdateOutboundConnectorResponse
|
|
3481
3624
|
* @throws OciError when an error occurs
|
|
3482
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3625
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/UpdateOutboundConnector.ts.html |here} to see how to use UpdateOutboundConnector API.
|
|
3483
3626
|
*/
|
|
3484
3627
|
updateOutboundConnector(updateOutboundConnectorRequest) {
|
|
3485
3628
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3486
|
-
|
|
3629
|
+
if (this.logger)
|
|
3630
|
+
this.logger.debug("Calling operation FileStorageClient#updateOutboundConnector.");
|
|
3487
3631
|
const operationName = "updateOutboundConnector";
|
|
3488
3632
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/OutboundConnector/UpdateOutboundConnector";
|
|
3489
3633
|
const pathParams = {
|
|
@@ -3497,6 +3641,8 @@ class FileStorageClient {
|
|
|
3497
3641
|
};
|
|
3498
3642
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3499
3643
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOutboundConnectorRequest.retryConfiguration, specRetryConfiguration);
|
|
3644
|
+
if (this.logger)
|
|
3645
|
+
retrier.logger = this.logger;
|
|
3500
3646
|
const request = yield oci_common_2.composeRequest({
|
|
3501
3647
|
baseEndpoint: this._endpoint,
|
|
3502
3648
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3542,11 +3688,12 @@ class FileStorageClient {
|
|
|
3542
3688
|
* @param UpdateReplicationRequest
|
|
3543
3689
|
* @return UpdateReplicationResponse
|
|
3544
3690
|
* @throws OciError when an error occurs
|
|
3545
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3691
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/UpdateReplication.ts.html |here} to see how to use UpdateReplication API.
|
|
3546
3692
|
*/
|
|
3547
3693
|
updateReplication(updateReplicationRequest) {
|
|
3548
3694
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3549
|
-
|
|
3695
|
+
if (this.logger)
|
|
3696
|
+
this.logger.debug("Calling operation FileStorageClient#updateReplication.");
|
|
3550
3697
|
const operationName = "updateReplication";
|
|
3551
3698
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Replication/UpdateReplication";
|
|
3552
3699
|
const pathParams = {
|
|
@@ -3560,6 +3707,8 @@ class FileStorageClient {
|
|
|
3560
3707
|
};
|
|
3561
3708
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3562
3709
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateReplicationRequest.retryConfiguration, specRetryConfiguration);
|
|
3710
|
+
if (this.logger)
|
|
3711
|
+
retrier.logger = this.logger;
|
|
3563
3712
|
const request = yield oci_common_2.composeRequest({
|
|
3564
3713
|
baseEndpoint: this._endpoint,
|
|
3565
3714
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3604,11 +3753,12 @@ class FileStorageClient {
|
|
|
3604
3753
|
* @param UpdateSnapshotRequest
|
|
3605
3754
|
* @return UpdateSnapshotResponse
|
|
3606
3755
|
* @throws OciError when an error occurs
|
|
3607
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3756
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/UpdateSnapshot.ts.html |here} to see how to use UpdateSnapshot API.
|
|
3608
3757
|
*/
|
|
3609
3758
|
updateSnapshot(updateSnapshotRequest) {
|
|
3610
3759
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3611
|
-
|
|
3760
|
+
if (this.logger)
|
|
3761
|
+
this.logger.debug("Calling operation FileStorageClient#updateSnapshot.");
|
|
3612
3762
|
const operationName = "updateSnapshot";
|
|
3613
3763
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Snapshot/UpdateSnapshot";
|
|
3614
3764
|
const pathParams = {
|
|
@@ -3622,6 +3772,8 @@ class FileStorageClient {
|
|
|
3622
3772
|
};
|
|
3623
3773
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3624
3774
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSnapshotRequest.retryConfiguration, specRetryConfiguration);
|
|
3775
|
+
if (this.logger)
|
|
3776
|
+
retrier.logger = this.logger;
|
|
3625
3777
|
const request = yield oci_common_2.composeRequest({
|
|
3626
3778
|
baseEndpoint: this._endpoint,
|
|
3627
3779
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3669,11 +3821,12 @@ class FileStorageClient {
|
|
|
3669
3821
|
* @param ValidateKeyTabsRequest
|
|
3670
3822
|
* @return ValidateKeyTabsResponse
|
|
3671
3823
|
* @throws OciError when an error occurs
|
|
3672
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3824
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/filestorage/ValidateKeyTabs.ts.html |here} to see how to use ValidateKeyTabs API.
|
|
3673
3825
|
*/
|
|
3674
3826
|
validateKeyTabs(validateKeyTabsRequest) {
|
|
3675
3827
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3676
|
-
|
|
3828
|
+
if (this.logger)
|
|
3829
|
+
this.logger.debug("Calling operation FileStorageClient#validateKeyTabs.");
|
|
3677
3830
|
const operationName = "validateKeyTabs";
|
|
3678
3831
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/MountTarget/ValidateKeyTabs";
|
|
3679
3832
|
const pathParams = {};
|
|
@@ -3684,6 +3837,8 @@ class FileStorageClient {
|
|
|
3684
3837
|
};
|
|
3685
3838
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3686
3839
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, validateKeyTabsRequest.retryConfiguration, specRetryConfiguration);
|
|
3840
|
+
if (this.logger)
|
|
3841
|
+
retrier.logger = this.logger;
|
|
3687
3842
|
const request = yield oci_common_2.composeRequest({
|
|
3688
3843
|
baseEndpoint: this._endpoint,
|
|
3689
3844
|
defaultHeaders: this._defaultHeaders,
|