oci-filestorage 2.102.2 → 2.104.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/lib/client.d.ts +183 -88
- package/lib/client.js +518 -88
- package/lib/client.js.map +1 -1
- package/lib/filestorage-waiter.d.ts +1 -1
- package/lib/filestorage-waiter.js +1 -1
- package/lib/model/change-file-system-compartment-details.d.ts +2 -2
- package/lib/model/change-file-system-compartment-details.js +1 -1
- package/lib/model/change-filesystem-snapshot-policy-compartment-details.d.ts +2 -2
- package/lib/model/change-filesystem-snapshot-policy-compartment-details.js +1 -1
- package/lib/model/change-mount-target-compartment-details.d.ts +2 -2
- package/lib/model/change-mount-target-compartment-details.js +1 -1
- package/lib/model/change-outbound-connector-compartment-details.d.ts +2 -2
- package/lib/model/change-outbound-connector-compartment-details.js +1 -1
- package/lib/model/change-replication-compartment-details.d.ts +2 -2
- package/lib/model/change-replication-compartment-details.js +1 -1
- package/lib/model/client-options.d.ts +1 -1
- package/lib/model/client-options.js +1 -1
- package/lib/model/create-export-details.d.ts +3 -3
- package/lib/model/create-export-details.js +1 -1
- package/lib/model/create-file-system-details.d.ts +12 -8
- package/lib/model/create-file-system-details.js +1 -1
- package/lib/model/create-file-system-details.js.map +1 -1
- package/lib/model/create-filesystem-snapshot-policy-details.d.ts +4 -4
- package/lib/model/create-filesystem-snapshot-policy-details.js +1 -1
- package/lib/model/create-kerberos-details.d.ts +2 -2
- package/lib/model/create-kerberos-details.js +1 -1
- package/lib/model/create-ldap-bind-account-details.d.ts +2 -2
- package/lib/model/create-ldap-bind-account-details.js +1 -1
- package/lib/model/create-ldap-idmap-details.d.ts +3 -3
- package/lib/model/create-ldap-idmap-details.js +1 -1
- package/lib/model/create-mount-target-details.d.ts +11 -11
- package/lib/model/create-mount-target-details.js +1 -1
- package/lib/model/create-outbound-connector-details.d.ts +4 -4
- package/lib/model/create-outbound-connector-details.js +1 -1
- package/lib/model/create-quota-rule-details.d.ts +61 -0
- package/lib/model/create-quota-rule-details.js +39 -0
- package/lib/model/create-quota-rule-details.js.map +1 -0
- package/lib/model/create-replication-details.d.ts +6 -6
- package/lib/model/create-replication-details.js +1 -1
- package/lib/model/create-snapshot-details.d.ts +4 -4
- package/lib/model/create-snapshot-details.js +1 -1
- package/lib/model/endpoint.d.ts +1 -1
- package/lib/model/endpoint.js +1 -1
- package/lib/model/export-set-summary.d.ts +4 -4
- package/lib/model/export-set-summary.js +1 -1
- package/lib/model/export-set.d.ts +4 -4
- package/lib/model/export-set.js +1 -1
- package/lib/model/export-summary.d.ts +4 -4
- package/lib/model/export-summary.js +1 -1
- package/lib/model/export.d.ts +5 -5
- package/lib/model/export.js +1 -1
- package/lib/model/file-system-summary.d.ts +29 -8
- package/lib/model/file-system-summary.js +15 -1
- package/lib/model/file-system-summary.js.map +1 -1
- package/lib/model/file-system.d.ts +38 -13
- package/lib/model/file-system.js +15 -1
- package/lib/model/file-system.js.map +1 -1
- package/lib/model/filesystem-snapshot-policy-summary.d.ts +5 -5
- package/lib/model/filesystem-snapshot-policy-summary.js +1 -1
- package/lib/model/filesystem-snapshot-policy.d.ts +7 -7
- package/lib/model/filesystem-snapshot-policy.js +1 -1
- package/lib/model/index.d.ts +11 -1
- package/lib/model/index.js +13 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/kerberos-keytab-entry.d.ts +1 -1
- package/lib/model/kerberos-keytab-entry.js +1 -1
- package/lib/model/kerberos.d.ts +2 -2
- package/lib/model/kerberos.js +1 -1
- package/lib/model/key-tab-secret-details.d.ts +2 -2
- package/lib/model/key-tab-secret-details.js +1 -1
- package/lib/model/ldap-bind-account-summary.d.ts +1 -1
- package/lib/model/ldap-bind-account-summary.js +1 -1
- package/lib/model/ldap-bind-account.d.ts +2 -2
- package/lib/model/ldap-bind-account.js +1 -1
- package/lib/model/ldap-idmap.d.ts +3 -3
- package/lib/model/ldap-idmap.js +1 -1
- package/lib/model/mount-target-summary.d.ts +9 -9
- package/lib/model/mount-target-summary.js +1 -1
- package/lib/model/mount-target.d.ts +9 -9
- package/lib/model/mount-target.js +1 -1
- package/lib/model/outbound-connector-summary.d.ts +5 -5
- package/lib/model/outbound-connector-summary.js +1 -1
- package/lib/model/outbound-connector.d.ts +5 -5
- package/lib/model/outbound-connector.js +1 -1
- package/lib/model/quota-rule-summary.d.ts +104 -0
- package/lib/model/quota-rule-summary.js +44 -0
- package/lib/model/quota-rule-summary.js.map +1 -0
- package/lib/model/quota-rule.d.ts +91 -0
- package/lib/model/quota-rule.js +44 -0
- package/lib/model/quota-rule.js.map +1 -0
- package/lib/model/replication-estimate.d.ts +1 -1
- package/lib/model/replication-estimate.js +1 -1
- package/lib/model/replication-summary.d.ts +5 -5
- package/lib/model/replication-summary.js +1 -1
- package/lib/model/replication-target-summary.d.ts +5 -5
- package/lib/model/replication-target-summary.js +1 -1
- package/lib/model/replication-target.d.ts +10 -10
- package/lib/model/replication-target.js +1 -1
- package/lib/model/replication.d.ts +10 -10
- package/lib/model/replication.js +1 -1
- package/lib/model/resource-lock.d.ts +1 -1
- package/lib/model/resource-lock.js +1 -1
- package/lib/model/schedule-downgrade-shape-mount-target-details.d.ts +1 -1
- package/lib/model/schedule-downgrade-shape-mount-target-details.js +1 -1
- package/lib/model/snapshot-schedule.d.ts +1 -1
- package/lib/model/snapshot-schedule.js +1 -1
- package/lib/model/snapshot-summary.d.ts +8 -8
- package/lib/model/snapshot-summary.js +1 -1
- package/lib/model/snapshot.d.ts +9 -9
- package/lib/model/snapshot.js +1 -1
- package/lib/model/source-details.d.ts +5 -5
- package/lib/model/source-details.js +1 -1
- package/lib/model/toggle-quota-rules-details.d.ts +27 -0
- package/lib/model/toggle-quota-rules-details.js +31 -0
- package/lib/model/toggle-quota-rules-details.js.map +1 -0
- package/lib/model/update-export-details.d.ts +1 -1
- package/lib/model/update-export-details.js +1 -1
- package/lib/model/update-export-set-details.d.ts +1 -1
- package/lib/model/update-export-set-details.js +1 -1
- package/lib/model/update-file-system-details.d.ts +6 -6
- package/lib/model/update-file-system-details.js +1 -1
- package/lib/model/update-filesystem-snapshot-policy-details.d.ts +3 -3
- package/lib/model/update-filesystem-snapshot-policy-details.js +1 -1
- package/lib/model/update-kerberos-details.d.ts +2 -2
- package/lib/model/update-kerberos-details.js +1 -1
- package/lib/model/update-ldap-idmap-details.d.ts +3 -3
- package/lib/model/update-ldap-idmap-details.js +1 -1
- package/lib/model/update-mount-target-details.d.ts +5 -5
- package/lib/model/update-mount-target-details.js +1 -1
- package/lib/model/update-outbound-connector-details.d.ts +3 -3
- package/lib/model/update-outbound-connector-details.js +1 -1
- package/lib/model/update-quota-rule-details.d.ts +35 -0
- package/lib/model/update-quota-rule-details.js +31 -0
- package/lib/model/update-quota-rule-details.js.map +1 -0
- package/lib/model/update-replication-details.d.ts +3 -3
- package/lib/model/update-replication-details.js +1 -1
- package/lib/model/update-snapshot-details.d.ts +3 -3
- package/lib/model/update-snapshot-details.js +1 -1
- package/lib/model/upgrade-shape-mount-target-details.d.ts +1 -1
- package/lib/model/upgrade-shape-mount-target-details.js +1 -1
- package/lib/model/validate-key-tabs-details.d.ts +2 -2
- package/lib/model/validate-key-tabs-details.js +1 -1
- package/lib/model/validate-key-tabs-response-details.d.ts +1 -1
- package/lib/model/validate-key-tabs-response-details.js +1 -1
- package/lib/request/add-export-lock-request.d.ts +2 -2
- package/lib/request/add-file-system-lock-request.d.ts +2 -2
- package/lib/request/add-filesystem-snapshot-policy-lock-request.d.ts +2 -2
- package/lib/request/add-mount-target-lock-request.d.ts +2 -2
- package/lib/request/add-outbound-connector-lock-request.d.ts +2 -2
- package/lib/request/add-replication-lock-request.d.ts +2 -2
- package/lib/request/add-snapshot-lock-request.d.ts +2 -2
- package/lib/request/cancel-downgrade-shape-mount-target-request.d.ts +2 -2
- package/lib/request/change-file-system-compartment-request.d.ts +2 -2
- package/lib/request/change-filesystem-snapshot-policy-compartment-request.d.ts +2 -2
- package/lib/request/change-mount-target-compartment-request.d.ts +2 -2
- package/lib/request/change-outbound-connector-compartment-request.d.ts +2 -2
- package/lib/request/change-replication-compartment-request.d.ts +2 -2
- 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-quota-rule-request.d.ts +51 -0
- package/lib/request/create-quota-rule-request.js +15 -0
- package/lib/request/create-quota-rule-request.js.map +1 -0
- 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 +2 -2
- package/lib/request/delete-file-system-request.d.ts +2 -2
- package/lib/request/delete-filesystem-snapshot-policy-request.d.ts +2 -2
- package/lib/request/delete-mount-target-request.d.ts +2 -2
- package/lib/request/delete-outbound-connector-request.d.ts +2 -2
- package/lib/request/delete-quota-rule-request.d.ts +41 -0
- package/lib/request/delete-quota-rule-request.js +15 -0
- package/lib/request/delete-quota-rule-request.js.map +1 -0
- package/lib/request/delete-replication-request.d.ts +2 -2
- package/lib/request/delete-replication-target-request.d.ts +2 -2
- package/lib/request/delete-snapshot-request.d.ts +2 -2
- package/lib/request/detach-clone-request.d.ts +2 -2
- package/lib/request/estimate-replication-request.d.ts +2 -2
- package/lib/request/get-export-request.d.ts +2 -2
- package/lib/request/get-export-set-request.d.ts +2 -2
- package/lib/request/get-file-system-request.d.ts +2 -2
- package/lib/request/get-filesystem-snapshot-policy-request.d.ts +2 -2
- package/lib/request/get-mount-target-request.d.ts +2 -2
- package/lib/request/get-outbound-connector-request.d.ts +2 -2
- package/lib/request/get-quota-rule-request.d.ts +41 -0
- package/lib/request/get-quota-rule-request.js +15 -0
- package/lib/request/get-quota-rule-request.js.map +1 -0
- package/lib/request/get-replication-request.d.ts +2 -2
- package/lib/request/get-replication-target-request.d.ts +2 -2
- package/lib/request/get-snapshot-request.d.ts +2 -2
- package/lib/request/index.d.ts +13 -1
- package/lib/request/index.js +4 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-export-sets-request.d.ts +5 -5
- package/lib/request/list-exports-request.d.ts +7 -7
- package/lib/request/list-file-systems-request.d.ts +8 -8
- package/lib/request/list-filesystem-snapshot-policies-request.d.ts +5 -5
- package/lib/request/list-mount-targets-request.d.ts +6 -6
- package/lib/request/list-outbound-connectors-request.d.ts +5 -5
- package/lib/request/list-quota-rules-request.d.ts +97 -0
- package/lib/request/list-quota-rules-request.js +32 -0
- package/lib/request/list-quota-rules-request.js.map +1 -0
- package/lib/request/list-replication-targets-request.d.ts +5 -5
- package/lib/request/list-replications-request.d.ts +6 -6
- package/lib/request/list-snapshots-request.d.ts +7 -7
- package/lib/request/pause-filesystem-snapshot-policy-request.d.ts +2 -2
- package/lib/request/remove-export-lock-request.d.ts +2 -2
- package/lib/request/remove-file-system-lock-request.d.ts +2 -2
- package/lib/request/remove-filesystem-snapshot-policy-lock-request.d.ts +2 -2
- package/lib/request/remove-mount-target-lock-request.d.ts +2 -2
- package/lib/request/remove-outbound-connector-lock-request.d.ts +2 -2
- package/lib/request/remove-replication-lock-request.d.ts +2 -2
- package/lib/request/remove-snapshot-lock-request.d.ts +2 -2
- package/lib/request/schedule-downgrade-shape-mount-target-request.d.ts +2 -2
- package/lib/request/toggle-quota-rules-request.d.ts +51 -0
- package/lib/request/toggle-quota-rules-request.js +15 -0
- package/lib/request/toggle-quota-rules-request.js.map +1 -0
- package/lib/request/unpause-filesystem-snapshot-policy-request.d.ts +2 -2
- package/lib/request/update-export-request.d.ts +2 -2
- package/lib/request/update-export-set-request.d.ts +2 -2
- package/lib/request/update-file-system-request.d.ts +2 -2
- package/lib/request/update-filesystem-snapshot-policy-request.d.ts +2 -2
- package/lib/request/update-mount-target-request.d.ts +2 -2
- package/lib/request/update-outbound-connector-request.d.ts +2 -2
- package/lib/request/update-quota-rule-request.d.ts +46 -0
- package/lib/request/update-quota-rule-request.js +15 -0
- package/lib/request/update-quota-rule-request.js.map +1 -0
- package/lib/request/update-replication-request.d.ts +2 -2
- package/lib/request/update-snapshot-request.d.ts +2 -2
- package/lib/request/upgrade-shape-mount-target-request.d.ts +2 -2
- package/lib/request/validate-key-tabs-request.d.ts +1 -1
- package/lib/response/create-quota-rule-response.d.ts +30 -0
- package/lib/response/create-quota-rule-response.js +15 -0
- package/lib/response/create-quota-rule-response.js.map +1 -0
- package/lib/response/delete-quota-rule-response.d.ts +21 -0
- package/lib/response/delete-quota-rule-response.js +15 -0
- package/lib/response/delete-quota-rule-response.js.map +1 -0
- package/lib/response/get-quota-rule-response.d.ts +30 -0
- package/lib/response/get-quota-rule-response.js +15 -0
- package/lib/response/get-quota-rule-response.js.map +1 -0
- package/lib/response/index.d.ts +13 -1
- package/lib/response/index.js +1 -1
- package/lib/response/list-export-sets-response.d.ts +1 -1
- package/lib/response/list-exports-response.d.ts +1 -1
- package/lib/response/list-file-systems-response.d.ts +1 -1
- package/lib/response/list-filesystem-snapshot-policies-response.d.ts +1 -1
- package/lib/response/list-mount-targets-response.d.ts +1 -1
- package/lib/response/list-outbound-connectors-response.d.ts +1 -1
- package/lib/response/list-quota-rules-response.d.ts +35 -0
- package/lib/response/list-quota-rules-response.js +15 -0
- package/lib/response/list-quota-rules-response.js.map +1 -0
- package/lib/response/list-replication-targets-response.d.ts +1 -1
- package/lib/response/list-replications-response.d.ts +1 -1
- package/lib/response/list-snapshots-response.d.ts +1 -1
- package/lib/response/toggle-quota-rules-response.d.ts +21 -0
- package/lib/response/toggle-quota-rules-response.js +15 -0
- package/lib/response/toggle-quota-rules-response.js.map +1 -0
- package/lib/response/update-quota-rule-response.d.ts +30 -0
- package/lib/response/update-quota-rule-response.js +15 -0
- package/lib/response/update-quota-rule-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* File Storage API
|
|
4
4
|
* Use the File Storage service API to manage file systems, mount targets, and snapshots.
|
|
5
|
-
For more information, see [Overview of File Storage](/iaas/Content/File/Concepts/filestorageoverview.htm).
|
|
5
|
+
For more information, see [Overview of File Storage](https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm).
|
|
6
6
|
|
|
7
7
|
* OpenAPI spec version: 20171215
|
|
8
8
|
*
|
|
@@ -216,7 +216,7 @@ class FileStorageClient {
|
|
|
216
216
|
* @param AddExportLockRequest
|
|
217
217
|
* @return AddExportLockResponse
|
|
218
218
|
* @throws OciError when an error occurs
|
|
219
|
-
* @example Click {@link https://docs.
|
|
219
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/AddExportLock.ts.html |here} to see how to use AddExportLock API.
|
|
220
220
|
*/
|
|
221
221
|
addExportLock(addExportLockRequest) {
|
|
222
222
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -281,7 +281,7 @@ class FileStorageClient {
|
|
|
281
281
|
* @param AddFileSystemLockRequest
|
|
282
282
|
* @return AddFileSystemLockResponse
|
|
283
283
|
* @throws OciError when an error occurs
|
|
284
|
-
* @example Click {@link https://docs.
|
|
284
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/AddFileSystemLock.ts.html |here} to see how to use AddFileSystemLock API.
|
|
285
285
|
*/
|
|
286
286
|
addFileSystemLock(addFileSystemLockRequest) {
|
|
287
287
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -346,7 +346,7 @@ class FileStorageClient {
|
|
|
346
346
|
* @param AddFilesystemSnapshotPolicyLockRequest
|
|
347
347
|
* @return AddFilesystemSnapshotPolicyLockResponse
|
|
348
348
|
* @throws OciError when an error occurs
|
|
349
|
-
* @example Click {@link https://docs.
|
|
349
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/AddFilesystemSnapshotPolicyLock.ts.html |here} to see how to use AddFilesystemSnapshotPolicyLock API.
|
|
350
350
|
*/
|
|
351
351
|
addFilesystemSnapshotPolicyLock(addFilesystemSnapshotPolicyLockRequest) {
|
|
352
352
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -411,7 +411,7 @@ class FileStorageClient {
|
|
|
411
411
|
* @param AddMountTargetLockRequest
|
|
412
412
|
* @return AddMountTargetLockResponse
|
|
413
413
|
* @throws OciError when an error occurs
|
|
414
|
-
* @example Click {@link https://docs.
|
|
414
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/AddMountTargetLock.ts.html |here} to see how to use AddMountTargetLock API.
|
|
415
415
|
*/
|
|
416
416
|
addMountTargetLock(addMountTargetLockRequest) {
|
|
417
417
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -476,7 +476,7 @@ class FileStorageClient {
|
|
|
476
476
|
* @param AddOutboundConnectorLockRequest
|
|
477
477
|
* @return AddOutboundConnectorLockResponse
|
|
478
478
|
* @throws OciError when an error occurs
|
|
479
|
-
* @example Click {@link https://docs.
|
|
479
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/AddOutboundConnectorLock.ts.html |here} to see how to use AddOutboundConnectorLock API.
|
|
480
480
|
*/
|
|
481
481
|
addOutboundConnectorLock(addOutboundConnectorLockRequest) {
|
|
482
482
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -541,7 +541,7 @@ class FileStorageClient {
|
|
|
541
541
|
* @param AddReplicationLockRequest
|
|
542
542
|
* @return AddReplicationLockResponse
|
|
543
543
|
* @throws OciError when an error occurs
|
|
544
|
-
* @example Click {@link https://docs.
|
|
544
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/AddReplicationLock.ts.html |here} to see how to use AddReplicationLock API.
|
|
545
545
|
*/
|
|
546
546
|
addReplicationLock(addReplicationLockRequest) {
|
|
547
547
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -606,7 +606,7 @@ class FileStorageClient {
|
|
|
606
606
|
* @param AddSnapshotLockRequest
|
|
607
607
|
* @return AddSnapshotLockResponse
|
|
608
608
|
* @throws OciError when an error occurs
|
|
609
|
-
* @example Click {@link https://docs.
|
|
609
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/AddSnapshotLock.ts.html |here} to see how to use AddSnapshotLock API.
|
|
610
610
|
*/
|
|
611
611
|
addSnapshotLock(addSnapshotLockRequest) {
|
|
612
612
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -672,7 +672,7 @@ class FileStorageClient {
|
|
|
672
672
|
* @param CancelDowngradeShapeMountTargetRequest
|
|
673
673
|
* @return CancelDowngradeShapeMountTargetResponse
|
|
674
674
|
* @throws OciError when an error occurs
|
|
675
|
-
* @example Click {@link https://docs.
|
|
675
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/CancelDowngradeShapeMountTarget.ts.html |here} to see how to use CancelDowngradeShapeMountTarget API.
|
|
676
676
|
*/
|
|
677
677
|
cancelDowngradeShapeMountTarget(cancelDowngradeShapeMountTargetRequest) {
|
|
678
678
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -731,13 +731,13 @@ class FileStorageClient {
|
|
|
731
731
|
});
|
|
732
732
|
}
|
|
733
733
|
/**
|
|
734
|
-
* Moves a file system and its associated snapshots into a different compartment within the same tenancy. For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.
|
|
734
|
+
* Moves a file system and its associated snapshots into a different compartment within the same tenancy. For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes)
|
|
735
735
|
*
|
|
736
736
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
737
737
|
* @param ChangeFileSystemCompartmentRequest
|
|
738
738
|
* @return ChangeFileSystemCompartmentResponse
|
|
739
739
|
* @throws OciError when an error occurs
|
|
740
|
-
* @example Click {@link https://docs.
|
|
740
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ChangeFileSystemCompartment.ts.html |here} to see how to use ChangeFileSystemCompartment API.
|
|
741
741
|
*/
|
|
742
742
|
changeFileSystemCompartment(changeFileSystemCompartmentRequest) {
|
|
743
743
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -790,13 +790,13 @@ class FileStorageClient {
|
|
|
790
790
|
});
|
|
791
791
|
}
|
|
792
792
|
/**
|
|
793
|
-
* Moves a file system snapshot policy into a different compartment within the same tenancy. For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.
|
|
793
|
+
* Moves a file system snapshot policy into a different compartment within the same tenancy. For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
794
794
|
*
|
|
795
795
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
796
796
|
* @param ChangeFilesystemSnapshotPolicyCompartmentRequest
|
|
797
797
|
* @return ChangeFilesystemSnapshotPolicyCompartmentResponse
|
|
798
798
|
* @throws OciError when an error occurs
|
|
799
|
-
* @example Click {@link https://docs.
|
|
799
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ChangeFilesystemSnapshotPolicyCompartment.ts.html |here} to see how to use ChangeFilesystemSnapshotPolicyCompartment API.
|
|
800
800
|
*/
|
|
801
801
|
changeFilesystemSnapshotPolicyCompartment(changeFilesystemSnapshotPolicyCompartmentRequest) {
|
|
802
802
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -849,13 +849,13 @@ class FileStorageClient {
|
|
|
849
849
|
});
|
|
850
850
|
}
|
|
851
851
|
/**
|
|
852
|
-
* 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.
|
|
852
|
+
* 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.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes)
|
|
853
853
|
*
|
|
854
854
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
855
855
|
* @param ChangeMountTargetCompartmentRequest
|
|
856
856
|
* @return ChangeMountTargetCompartmentResponse
|
|
857
857
|
* @throws OciError when an error occurs
|
|
858
|
-
* @example Click {@link https://docs.
|
|
858
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ChangeMountTargetCompartment.ts.html |here} to see how to use ChangeMountTargetCompartment API.
|
|
859
859
|
*/
|
|
860
860
|
changeMountTargetCompartment(changeMountTargetCompartmentRequest) {
|
|
861
861
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -910,13 +910,13 @@ class FileStorageClient {
|
|
|
910
910
|
/**
|
|
911
911
|
* Moves an outbound connector into a different compartment within the same tenancy.
|
|
912
912
|
* For information about moving resources between compartments, see
|
|
913
|
-
* [Moving Resources to a Different Compartment](https://docs.
|
|
913
|
+
* [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes)
|
|
914
914
|
*
|
|
915
915
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
916
916
|
* @param ChangeOutboundConnectorCompartmentRequest
|
|
917
917
|
* @return ChangeOutboundConnectorCompartmentResponse
|
|
918
918
|
* @throws OciError when an error occurs
|
|
919
|
-
* @example Click {@link https://docs.
|
|
919
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ChangeOutboundConnectorCompartment.ts.html |here} to see how to use ChangeOutboundConnectorCompartment API.
|
|
920
920
|
*/
|
|
921
921
|
changeOutboundConnectorCompartment(changeOutboundConnectorCompartmentRequest) {
|
|
922
922
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -970,13 +970,13 @@ class FileStorageClient {
|
|
|
970
970
|
}
|
|
971
971
|
/**
|
|
972
972
|
* Moves a replication and its replication target into a different compartment within the same tenancy.
|
|
973
|
-
* For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.
|
|
973
|
+
* For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
974
974
|
*
|
|
975
975
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
976
976
|
* @param ChangeReplicationCompartmentRequest
|
|
977
977
|
* @return ChangeReplicationCompartmentResponse
|
|
978
978
|
* @throws OciError when an error occurs
|
|
979
|
-
* @example Click {@link https://docs.
|
|
979
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ChangeReplicationCompartment.ts.html |here} to see how to use ChangeReplicationCompartment API.
|
|
980
980
|
*/
|
|
981
981
|
changeReplicationCompartment(changeReplicationCompartmentRequest) {
|
|
982
982
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1036,7 +1036,7 @@ class FileStorageClient {
|
|
|
1036
1036
|
* @param CreateExportRequest
|
|
1037
1037
|
* @return CreateExportResponse
|
|
1038
1038
|
* @throws OciError when an error occurs
|
|
1039
|
-
* @example Click {@link https://docs.
|
|
1039
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/CreateExport.ts.html |here} to see how to use CreateExport API.
|
|
1040
1040
|
*/
|
|
1041
1041
|
createExport(createExportRequest) {
|
|
1042
1042
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1106,20 +1106,20 @@ class FileStorageClient {
|
|
|
1106
1106
|
* more than one mount target at a time.
|
|
1107
1107
|
* <p>
|
|
1108
1108
|
For information about access control and compartments, see
|
|
1109
|
-
* [Overview of the IAM Service](https://docs.
|
|
1109
|
+
* [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
|
|
1110
1110
|
* <p>
|
|
1111
1111
|
For information about Network Security Groups access control, see
|
|
1112
|
-
* [Network Security Groups](https://docs.
|
|
1112
|
+
* [Network Security Groups](https://docs.oracle.com/iaas/Content/Network/Concepts/networksecuritygroups.htm).
|
|
1113
1113
|
* <p>
|
|
1114
1114
|
For information about availability domains, see [Regions and
|
|
1115
|
-
* Availability Domains](https://docs.
|
|
1115
|
+
* Availability Domains](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm).
|
|
1116
1116
|
* To get a list of availability domains, use the
|
|
1117
1117
|
* `ListAvailabilityDomains` operation in the Identity and Access
|
|
1118
1118
|
* Management Service API.
|
|
1119
1119
|
* <p>
|
|
1120
1120
|
All Oracle Cloud Infrastructure resources, including
|
|
1121
1121
|
* file systems, get an Oracle-assigned, unique ID called an Oracle
|
|
1122
|
-
* Cloud Identifier ([OCID](https://docs.
|
|
1122
|
+
* Cloud Identifier ([OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
|
|
1123
1123
|
* When you create a resource, you can find its OCID in the response.
|
|
1124
1124
|
* You can also retrieve a resource's OCID by using a List API operation on that resource
|
|
1125
1125
|
* type or by viewing the resource in the Console.
|
|
@@ -1128,7 +1128,7 @@ class FileStorageClient {
|
|
|
1128
1128
|
* @param CreateFileSystemRequest
|
|
1129
1129
|
* @return CreateFileSystemResponse
|
|
1130
1130
|
* @throws OciError when an error occurs
|
|
1131
|
-
* @example Click {@link https://docs.
|
|
1131
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/CreateFileSystem.ts.html |here} to see how to use CreateFileSystem API.
|
|
1132
1132
|
*/
|
|
1133
1133
|
createFileSystem(createFileSystemRequest) {
|
|
1134
1134
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1196,7 +1196,7 @@ class FileStorageClient {
|
|
|
1196
1196
|
* @param CreateFilesystemSnapshotPolicyRequest
|
|
1197
1197
|
* @return CreateFilesystemSnapshotPolicyResponse
|
|
1198
1198
|
* @throws OciError when an error occurs
|
|
1199
|
-
* @example Click {@link https://docs.
|
|
1199
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/CreateFilesystemSnapshotPolicy.ts.html |here} to see how to use CreateFilesystemSnapshotPolicy API.
|
|
1200
1200
|
*/
|
|
1201
1201
|
createFilesystemSnapshotPolicy(createFilesystemSnapshotPolicyRequest) {
|
|
1202
1202
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1272,17 +1272,17 @@ class FileStorageClient {
|
|
|
1272
1272
|
* <p>
|
|
1273
1273
|
For information about access control and compartments, see
|
|
1274
1274
|
* [Overview of the IAM
|
|
1275
|
-
* Service](https://docs.
|
|
1275
|
+
* Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
|
|
1276
1276
|
* <p>
|
|
1277
1277
|
For information about availability domains, see [Regions and
|
|
1278
|
-
* Availability Domains](https://docs.
|
|
1278
|
+
* Availability Domains](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm).
|
|
1279
1279
|
* To get a list of availability domains, use the
|
|
1280
1280
|
* `ListAvailabilityDomains` operation in the Identity and Access
|
|
1281
1281
|
* Management Service API.
|
|
1282
1282
|
* <p>
|
|
1283
1283
|
All Oracle Cloud Infrastructure Services resources, including
|
|
1284
1284
|
* mount targets, get an Oracle-assigned, unique ID called an
|
|
1285
|
-
* Oracle Cloud Identifier ([OCID](https://docs.
|
|
1285
|
+
* Oracle Cloud Identifier ([OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
|
|
1286
1286
|
* When you create a resource, you can find its OCID in the response.
|
|
1287
1287
|
* You can also retrieve a resource's OCID by using a List API operation on that resource
|
|
1288
1288
|
* type, or by viewing the resource in the Console.
|
|
@@ -1291,7 +1291,7 @@ class FileStorageClient {
|
|
|
1291
1291
|
* @param CreateMountTargetRequest
|
|
1292
1292
|
* @return CreateMountTargetResponse
|
|
1293
1293
|
* @throws OciError when an error occurs
|
|
1294
|
-
* @example Click {@link https://docs.
|
|
1294
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/CreateMountTarget.ts.html |here} to see how to use CreateMountTarget API.
|
|
1295
1295
|
*/
|
|
1296
1296
|
createMountTarget(createMountTargetRequest) {
|
|
1297
1297
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1357,17 +1357,17 @@ class FileStorageClient {
|
|
|
1357
1357
|
* <p>
|
|
1358
1358
|
For information about access control and compartments, see
|
|
1359
1359
|
* [Overview of the IAM
|
|
1360
|
-
* Service](https://docs.
|
|
1360
|
+
* Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
|
|
1361
1361
|
* <p>
|
|
1362
1362
|
For information about availability domains, see [Regions and
|
|
1363
|
-
* Availability Domains](https://docs.
|
|
1363
|
+
* Availability Domains](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm).
|
|
1364
1364
|
* To get a list of availability domains, use the
|
|
1365
1365
|
* `ListAvailabilityDomains` operation in the Identity and Access
|
|
1366
1366
|
* Management Service API.
|
|
1367
1367
|
* <p>
|
|
1368
1368
|
All Oracle Cloud Infrastructure Services resources, including
|
|
1369
1369
|
* outbound connectors, get an Oracle-assigned, unique ID called an
|
|
1370
|
-
* Oracle Cloud Identifier ([OCID](https://docs.
|
|
1370
|
+
* Oracle Cloud Identifier ([OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
|
|
1371
1371
|
* When you create a resource, you can find its OCID in the response.
|
|
1372
1372
|
* You can also retrieve a resource's OCID by using a List API operation on that resource
|
|
1373
1373
|
* type, or by viewing the resource in the Console.
|
|
@@ -1376,7 +1376,7 @@ class FileStorageClient {
|
|
|
1376
1376
|
* @param CreateOutboundConnectorRequest
|
|
1377
1377
|
* @return CreateOutboundConnectorResponse
|
|
1378
1378
|
* @throws OciError when an error occurs
|
|
1379
|
-
* @example Click {@link https://docs.
|
|
1379
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/CreateOutboundConnector.ts.html |here} to see how to use CreateOutboundConnector API.
|
|
1380
1380
|
*/
|
|
1381
1381
|
createOutboundConnector(createOutboundConnectorRequest) {
|
|
1382
1382
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1433,6 +1433,74 @@ class FileStorageClient {
|
|
|
1433
1433
|
}
|
|
1434
1434
|
});
|
|
1435
1435
|
}
|
|
1436
|
+
/**
|
|
1437
|
+
* Create a file system, user, or group quota rule given the `fileSystemId`, `principalId`, `principalType` and
|
|
1438
|
+
* `isHardQuota` parameters.
|
|
1439
|
+
*
|
|
1440
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1441
|
+
* @param CreateQuotaRuleRequest
|
|
1442
|
+
* @return CreateQuotaRuleResponse
|
|
1443
|
+
* @throws OciError when an error occurs
|
|
1444
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/CreateQuotaRule.ts.html |here} to see how to use CreateQuotaRule API.
|
|
1445
|
+
*/
|
|
1446
|
+
createQuotaRule(createQuotaRuleRequest) {
|
|
1447
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1448
|
+
if (this.logger)
|
|
1449
|
+
this.logger.debug("Calling operation FileStorageClient#createQuotaRule.");
|
|
1450
|
+
const operationName = "createQuotaRule";
|
|
1451
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/CreateQuotaRule";
|
|
1452
|
+
const pathParams = {
|
|
1453
|
+
"{fileSystemId}": createQuotaRuleRequest.fileSystemId
|
|
1454
|
+
};
|
|
1455
|
+
const queryParams = {};
|
|
1456
|
+
let headerParams = {
|
|
1457
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1458
|
+
"if-match": createQuotaRuleRequest.ifMatch,
|
|
1459
|
+
"opc-request-id": createQuotaRuleRequest.opcRequestId,
|
|
1460
|
+
"opc-retry-token": createQuotaRuleRequest.opcRetryToken
|
|
1461
|
+
};
|
|
1462
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1463
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createQuotaRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1464
|
+
if (this.logger)
|
|
1465
|
+
retrier.logger = this.logger;
|
|
1466
|
+
const request = yield oci_common_2.composeRequest({
|
|
1467
|
+
baseEndpoint: this._endpoint,
|
|
1468
|
+
defaultHeaders: this._defaultHeaders,
|
|
1469
|
+
path: "/fileSystems/{fileSystemId}/quotaRules",
|
|
1470
|
+
method: "POST",
|
|
1471
|
+
bodyContent: common.ObjectSerializer.serialize(createQuotaRuleRequest.createQuotaRuleDetails, "CreateQuotaRuleDetails", model.CreateQuotaRuleDetails.getJsonObj),
|
|
1472
|
+
pathParams: pathParams,
|
|
1473
|
+
headerParams: headerParams,
|
|
1474
|
+
queryParams: queryParams
|
|
1475
|
+
});
|
|
1476
|
+
try {
|
|
1477
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1478
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1479
|
+
responseObject: {},
|
|
1480
|
+
body: yield response.json(),
|
|
1481
|
+
bodyKey: "quotaRule",
|
|
1482
|
+
bodyModel: model.QuotaRule,
|
|
1483
|
+
type: "model.QuotaRule",
|
|
1484
|
+
responseHeaders: [
|
|
1485
|
+
{
|
|
1486
|
+
value: response.headers.get("etag"),
|
|
1487
|
+
key: "etag",
|
|
1488
|
+
dataType: "string"
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
value: response.headers.get("opc-request-id"),
|
|
1492
|
+
key: "opcRequestId",
|
|
1493
|
+
dataType: "string"
|
|
1494
|
+
}
|
|
1495
|
+
]
|
|
1496
|
+
});
|
|
1497
|
+
return sdkResponse;
|
|
1498
|
+
}
|
|
1499
|
+
catch (err) {
|
|
1500
|
+
throw err;
|
|
1501
|
+
}
|
|
1502
|
+
});
|
|
1503
|
+
}
|
|
1436
1504
|
/**
|
|
1437
1505
|
* Creates a new replication in the specified compartment.
|
|
1438
1506
|
* Replications are the primary resource that governs the policy of cross-region replication between source
|
|
@@ -1443,21 +1511,21 @@ class FileStorageClient {
|
|
|
1443
1511
|
* and sends it to the associated `ReplicationTarget`, which retrieves the delta and applies it to the target
|
|
1444
1512
|
* file system.
|
|
1445
1513
|
* Only unexported file systems can be used as target file systems.
|
|
1446
|
-
* For more information, see [Using Replication](https://docs.
|
|
1514
|
+
* For more information, see [Using Replication](https://docs.oracle.com/iaas/Content/File/Tasks/FSreplication.htm).
|
|
1447
1515
|
* <p>
|
|
1448
1516
|
For information about access control and compartments, see
|
|
1449
1517
|
* [Overview of the IAM
|
|
1450
|
-
* Service](https://docs.
|
|
1518
|
+
* Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
|
|
1451
1519
|
* <p>
|
|
1452
1520
|
For information about availability domains, see [Regions and
|
|
1453
|
-
* Availability Domains](https://docs.
|
|
1521
|
+
* Availability Domains](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm).
|
|
1454
1522
|
* To get a list of availability domains, use the
|
|
1455
1523
|
* `ListAvailabilityDomains` operation in the Identity and Access
|
|
1456
1524
|
* Management Service API.
|
|
1457
1525
|
* <p>
|
|
1458
1526
|
All Oracle Cloud Infrastructure Services resources, including
|
|
1459
1527
|
* replications, get an Oracle-assigned, unique ID called an
|
|
1460
|
-
* Oracle Cloud Identifier ([OCID](https://docs.
|
|
1528
|
+
* Oracle Cloud Identifier ([OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
|
|
1461
1529
|
* When you create a resource, you can find its OCID in the response.
|
|
1462
1530
|
* You can also retrieve a resource's OCID by using a List API operation on that resource
|
|
1463
1531
|
* type, or by viewing the resource in the Console.
|
|
@@ -1466,7 +1534,7 @@ class FileStorageClient {
|
|
|
1466
1534
|
* @param CreateReplicationRequest
|
|
1467
1535
|
* @return CreateReplicationResponse
|
|
1468
1536
|
* @throws OciError when an error occurs
|
|
1469
|
-
* @example Click {@link https://docs.
|
|
1537
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/CreateReplication.ts.html |here} to see how to use CreateReplication API.
|
|
1470
1538
|
*/
|
|
1471
1539
|
createReplication(createReplicationRequest) {
|
|
1472
1540
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1531,7 +1599,7 @@ class FileStorageClient {
|
|
|
1531
1599
|
* @param CreateSnapshotRequest
|
|
1532
1600
|
* @return CreateSnapshotResponse
|
|
1533
1601
|
* @throws OciError when an error occurs
|
|
1534
|
-
* @example Click {@link https://docs.
|
|
1602
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/CreateSnapshot.ts.html |here} to see how to use CreateSnapshot API.
|
|
1535
1603
|
*/
|
|
1536
1604
|
createSnapshot(createSnapshotRequest) {
|
|
1537
1605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1595,7 +1663,7 @@ class FileStorageClient {
|
|
|
1595
1663
|
* @param DeleteExportRequest
|
|
1596
1664
|
* @return DeleteExportResponse
|
|
1597
1665
|
* @throws OciError when an error occurs
|
|
1598
|
-
* @example Click {@link https://docs.
|
|
1666
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/DeleteExport.ts.html |here} to see how to use DeleteExport API.
|
|
1599
1667
|
*/
|
|
1600
1668
|
deleteExport(deleteExportRequest) {
|
|
1601
1669
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1655,7 +1723,7 @@ class FileStorageClient {
|
|
|
1655
1723
|
* @param DeleteFileSystemRequest
|
|
1656
1724
|
* @return DeleteFileSystemResponse
|
|
1657
1725
|
* @throws OciError when an error occurs
|
|
1658
|
-
* @example Click {@link https://docs.
|
|
1726
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/DeleteFileSystem.ts.html |here} to see how to use DeleteFileSystem API.
|
|
1659
1727
|
*/
|
|
1660
1728
|
deleteFileSystem(deleteFileSystemRequest) {
|
|
1661
1729
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1714,7 +1782,7 @@ class FileStorageClient {
|
|
|
1714
1782
|
* @param DeleteFilesystemSnapshotPolicyRequest
|
|
1715
1783
|
* @return DeleteFilesystemSnapshotPolicyResponse
|
|
1716
1784
|
* @throws OciError when an error occurs
|
|
1717
|
-
* @example Click {@link https://docs.
|
|
1785
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/DeleteFilesystemSnapshotPolicy.ts.html |here} to see how to use DeleteFilesystemSnapshotPolicy API.
|
|
1718
1786
|
*/
|
|
1719
1787
|
deleteFilesystemSnapshotPolicy(deleteFilesystemSnapshotPolicyRequest) {
|
|
1720
1788
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1773,7 +1841,7 @@ class FileStorageClient {
|
|
|
1773
1841
|
* @param DeleteMountTargetRequest
|
|
1774
1842
|
* @return DeleteMountTargetResponse
|
|
1775
1843
|
* @throws OciError when an error occurs
|
|
1776
|
-
* @example Click {@link https://docs.
|
|
1844
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/DeleteMountTarget.ts.html |here} to see how to use DeleteMountTarget API.
|
|
1777
1845
|
*/
|
|
1778
1846
|
deleteMountTarget(deleteMountTargetRequest) {
|
|
1779
1847
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1831,7 +1899,7 @@ class FileStorageClient {
|
|
|
1831
1899
|
* @param DeleteOutboundConnectorRequest
|
|
1832
1900
|
* @return DeleteOutboundConnectorResponse
|
|
1833
1901
|
* @throws OciError when an error occurs
|
|
1834
|
-
* @example Click {@link https://docs.
|
|
1902
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/DeleteOutboundConnector.ts.html |here} to see how to use DeleteOutboundConnector API.
|
|
1835
1903
|
*/
|
|
1836
1904
|
deleteOutboundConnector(deleteOutboundConnectorRequest) {
|
|
1837
1905
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1882,6 +1950,63 @@ class FileStorageClient {
|
|
|
1882
1950
|
}
|
|
1883
1951
|
});
|
|
1884
1952
|
}
|
|
1953
|
+
/**
|
|
1954
|
+
* Remove a file system, user, or group quota rule given the `fileSystemId` and `quotaRuleId` parameters.
|
|
1955
|
+
*
|
|
1956
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1957
|
+
* @param DeleteQuotaRuleRequest
|
|
1958
|
+
* @return DeleteQuotaRuleResponse
|
|
1959
|
+
* @throws OciError when an error occurs
|
|
1960
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/DeleteQuotaRule.ts.html |here} to see how to use DeleteQuotaRule API.
|
|
1961
|
+
*/
|
|
1962
|
+
deleteQuotaRule(deleteQuotaRuleRequest) {
|
|
1963
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1964
|
+
if (this.logger)
|
|
1965
|
+
this.logger.debug("Calling operation FileStorageClient#deleteQuotaRule.");
|
|
1966
|
+
const operationName = "deleteQuotaRule";
|
|
1967
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/DeleteQuotaRule";
|
|
1968
|
+
const pathParams = {
|
|
1969
|
+
"{fileSystemId}": deleteQuotaRuleRequest.fileSystemId,
|
|
1970
|
+
"{quotaRuleId}": deleteQuotaRuleRequest.quotaRuleId
|
|
1971
|
+
};
|
|
1972
|
+
const queryParams = {};
|
|
1973
|
+
let headerParams = {
|
|
1974
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1975
|
+
"if-match": deleteQuotaRuleRequest.ifMatch,
|
|
1976
|
+
"opc-request-id": deleteQuotaRuleRequest.opcRequestId
|
|
1977
|
+
};
|
|
1978
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1979
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteQuotaRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1980
|
+
if (this.logger)
|
|
1981
|
+
retrier.logger = this.logger;
|
|
1982
|
+
const request = yield oci_common_2.composeRequest({
|
|
1983
|
+
baseEndpoint: this._endpoint,
|
|
1984
|
+
defaultHeaders: this._defaultHeaders,
|
|
1985
|
+
path: "/fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}",
|
|
1986
|
+
method: "DELETE",
|
|
1987
|
+
pathParams: pathParams,
|
|
1988
|
+
headerParams: headerParams,
|
|
1989
|
+
queryParams: queryParams
|
|
1990
|
+
});
|
|
1991
|
+
try {
|
|
1992
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1993
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1994
|
+
responseObject: {},
|
|
1995
|
+
responseHeaders: [
|
|
1996
|
+
{
|
|
1997
|
+
value: response.headers.get("opc-request-id"),
|
|
1998
|
+
key: "opcRequestId",
|
|
1999
|
+
dataType: "string"
|
|
2000
|
+
}
|
|
2001
|
+
]
|
|
2002
|
+
});
|
|
2003
|
+
return sdkResponse;
|
|
2004
|
+
}
|
|
2005
|
+
catch (err) {
|
|
2006
|
+
throw err;
|
|
2007
|
+
}
|
|
2008
|
+
});
|
|
2009
|
+
}
|
|
1885
2010
|
/**
|
|
1886
2011
|
* Deletes the specified replication and the the associated replication target.
|
|
1887
2012
|
*
|
|
@@ -1889,7 +2014,7 @@ class FileStorageClient {
|
|
|
1889
2014
|
* @param DeleteReplicationRequest
|
|
1890
2015
|
* @return DeleteReplicationResponse
|
|
1891
2016
|
* @throws OciError when an error occurs
|
|
1892
|
-
* @example Click {@link https://docs.
|
|
2017
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/DeleteReplication.ts.html |here} to see how to use DeleteReplication API.
|
|
1893
2018
|
*/
|
|
1894
2019
|
deleteReplication(deleteReplicationRequest) {
|
|
1895
2020
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1951,7 +2076,7 @@ class FileStorageClient {
|
|
|
1951
2076
|
* @param DeleteReplicationTargetRequest
|
|
1952
2077
|
* @return DeleteReplicationTargetResponse
|
|
1953
2078
|
* @throws OciError when an error occurs
|
|
1954
|
-
* @example Click {@link https://docs.
|
|
2079
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/DeleteReplicationTarget.ts.html |here} to see how to use DeleteReplicationTarget API.
|
|
1955
2080
|
*/
|
|
1956
2081
|
deleteReplicationTarget(deleteReplicationTargetRequest) {
|
|
1957
2082
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2009,7 +2134,7 @@ class FileStorageClient {
|
|
|
2009
2134
|
* @param DeleteSnapshotRequest
|
|
2010
2135
|
* @return DeleteSnapshotResponse
|
|
2011
2136
|
* @throws OciError when an error occurs
|
|
2012
|
-
* @example Click {@link https://docs.
|
|
2137
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/DeleteSnapshot.ts.html |here} to see how to use DeleteSnapshot API.
|
|
2013
2138
|
*/
|
|
2014
2139
|
deleteSnapshot(deleteSnapshotRequest) {
|
|
2015
2140
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2067,7 +2192,7 @@ class FileStorageClient {
|
|
|
2067
2192
|
* @param DetachCloneRequest
|
|
2068
2193
|
* @return DetachCloneResponse
|
|
2069
2194
|
* @throws OciError when an error occurs
|
|
2070
|
-
* @example Click {@link https://docs.
|
|
2195
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/DetachClone.ts.html |here} to see how to use DetachClone API.
|
|
2071
2196
|
*/
|
|
2072
2197
|
detachClone(detachCloneRequest) {
|
|
2073
2198
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2123,7 +2248,7 @@ class FileStorageClient {
|
|
|
2123
2248
|
* @param EstimateReplicationRequest
|
|
2124
2249
|
* @return EstimateReplicationResponse
|
|
2125
2250
|
* @throws OciError when an error occurs
|
|
2126
|
-
* @example Click {@link https://docs.
|
|
2251
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/EstimateReplication.ts.html |here} to see how to use EstimateReplication API.
|
|
2127
2252
|
*/
|
|
2128
2253
|
estimateReplication(estimateReplicationRequest) {
|
|
2129
2254
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2189,7 +2314,7 @@ class FileStorageClient {
|
|
|
2189
2314
|
* @param GetExportRequest
|
|
2190
2315
|
* @return GetExportResponse
|
|
2191
2316
|
* @throws OciError when an error occurs
|
|
2192
|
-
* @example Click {@link https://docs.
|
|
2317
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/GetExport.ts.html |here} to see how to use GetExport API.
|
|
2193
2318
|
*/
|
|
2194
2319
|
getExport(getExportRequest) {
|
|
2195
2320
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2252,7 +2377,7 @@ class FileStorageClient {
|
|
|
2252
2377
|
* @param GetExportSetRequest
|
|
2253
2378
|
* @return GetExportSetResponse
|
|
2254
2379
|
* @throws OciError when an error occurs
|
|
2255
|
-
* @example Click {@link https://docs.
|
|
2380
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/GetExportSet.ts.html |here} to see how to use GetExportSet API.
|
|
2256
2381
|
*/
|
|
2257
2382
|
getExportSet(getExportSetRequest) {
|
|
2258
2383
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2315,7 +2440,7 @@ class FileStorageClient {
|
|
|
2315
2440
|
* @param GetFileSystemRequest
|
|
2316
2441
|
* @return GetFileSystemResponse
|
|
2317
2442
|
* @throws OciError when an error occurs
|
|
2318
|
-
* @example Click {@link https://docs.
|
|
2443
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/GetFileSystem.ts.html |here} to see how to use GetFileSystem API.
|
|
2319
2444
|
*/
|
|
2320
2445
|
getFileSystem(getFileSystemRequest) {
|
|
2321
2446
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2378,7 +2503,7 @@ class FileStorageClient {
|
|
|
2378
2503
|
* @param GetFilesystemSnapshotPolicyRequest
|
|
2379
2504
|
* @return GetFilesystemSnapshotPolicyResponse
|
|
2380
2505
|
* @throws OciError when an error occurs
|
|
2381
|
-
* @example Click {@link https://docs.
|
|
2506
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/GetFilesystemSnapshotPolicy.ts.html |here} to see how to use GetFilesystemSnapshotPolicy API.
|
|
2382
2507
|
*/
|
|
2383
2508
|
getFilesystemSnapshotPolicy(getFilesystemSnapshotPolicyRequest) {
|
|
2384
2509
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2441,7 +2566,7 @@ class FileStorageClient {
|
|
|
2441
2566
|
* @param GetMountTargetRequest
|
|
2442
2567
|
* @return GetMountTargetResponse
|
|
2443
2568
|
* @throws OciError when an error occurs
|
|
2444
|
-
* @example Click {@link https://docs.
|
|
2569
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/GetMountTarget.ts.html |here} to see how to use GetMountTarget API.
|
|
2445
2570
|
*/
|
|
2446
2571
|
getMountTarget(getMountTargetRequest) {
|
|
2447
2572
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2504,7 +2629,7 @@ class FileStorageClient {
|
|
|
2504
2629
|
* @param GetOutboundConnectorRequest
|
|
2505
2630
|
* @return GetOutboundConnectorResponse
|
|
2506
2631
|
* @throws OciError when an error occurs
|
|
2507
|
-
* @example Click {@link https://docs.
|
|
2632
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/GetOutboundConnector.ts.html |here} to see how to use GetOutboundConnector API.
|
|
2508
2633
|
*/
|
|
2509
2634
|
getOutboundConnector(getOutboundConnectorRequest) {
|
|
2510
2635
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2561,13 +2686,79 @@ class FileStorageClient {
|
|
|
2561
2686
|
}
|
|
2562
2687
|
});
|
|
2563
2688
|
}
|
|
2689
|
+
/**
|
|
2690
|
+
* Get a file system, user, or group quota rule given the `fileSystemId` and `quotaRuleId` parameters.
|
|
2691
|
+
*
|
|
2692
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2693
|
+
* @param GetQuotaRuleRequest
|
|
2694
|
+
* @return GetQuotaRuleResponse
|
|
2695
|
+
* @throws OciError when an error occurs
|
|
2696
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/GetQuotaRule.ts.html |here} to see how to use GetQuotaRule API.
|
|
2697
|
+
*/
|
|
2698
|
+
getQuotaRule(getQuotaRuleRequest) {
|
|
2699
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2700
|
+
if (this.logger)
|
|
2701
|
+
this.logger.debug("Calling operation FileStorageClient#getQuotaRule.");
|
|
2702
|
+
const operationName = "getQuotaRule";
|
|
2703
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/GetQuotaRule";
|
|
2704
|
+
const pathParams = {
|
|
2705
|
+
"{fileSystemId}": getQuotaRuleRequest.fileSystemId,
|
|
2706
|
+
"{quotaRuleId}": getQuotaRuleRequest.quotaRuleId
|
|
2707
|
+
};
|
|
2708
|
+
const queryParams = {};
|
|
2709
|
+
let headerParams = {
|
|
2710
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2711
|
+
"if-match": getQuotaRuleRequest.ifMatch,
|
|
2712
|
+
"opc-request-id": getQuotaRuleRequest.opcRequestId
|
|
2713
|
+
};
|
|
2714
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2715
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getQuotaRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
2716
|
+
if (this.logger)
|
|
2717
|
+
retrier.logger = this.logger;
|
|
2718
|
+
const request = yield oci_common_2.composeRequest({
|
|
2719
|
+
baseEndpoint: this._endpoint,
|
|
2720
|
+
defaultHeaders: this._defaultHeaders,
|
|
2721
|
+
path: "/fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}",
|
|
2722
|
+
method: "GET",
|
|
2723
|
+
pathParams: pathParams,
|
|
2724
|
+
headerParams: headerParams,
|
|
2725
|
+
queryParams: queryParams
|
|
2726
|
+
});
|
|
2727
|
+
try {
|
|
2728
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2729
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2730
|
+
responseObject: {},
|
|
2731
|
+
body: yield response.json(),
|
|
2732
|
+
bodyKey: "quotaRule",
|
|
2733
|
+
bodyModel: model.QuotaRule,
|
|
2734
|
+
type: "model.QuotaRule",
|
|
2735
|
+
responseHeaders: [
|
|
2736
|
+
{
|
|
2737
|
+
value: response.headers.get("etag"),
|
|
2738
|
+
key: "etag",
|
|
2739
|
+
dataType: "string"
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
value: response.headers.get("opc-request-id"),
|
|
2743
|
+
key: "opcRequestId",
|
|
2744
|
+
dataType: "string"
|
|
2745
|
+
}
|
|
2746
|
+
]
|
|
2747
|
+
});
|
|
2748
|
+
return sdkResponse;
|
|
2749
|
+
}
|
|
2750
|
+
catch (err) {
|
|
2751
|
+
throw err;
|
|
2752
|
+
}
|
|
2753
|
+
});
|
|
2754
|
+
}
|
|
2564
2755
|
/**
|
|
2565
2756
|
* Gets the specified replication's information.
|
|
2566
2757
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2567
2758
|
* @param GetReplicationRequest
|
|
2568
2759
|
* @return GetReplicationResponse
|
|
2569
2760
|
* @throws OciError when an error occurs
|
|
2570
|
-
* @example Click {@link https://docs.
|
|
2761
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/GetReplication.ts.html |here} to see how to use GetReplication API.
|
|
2571
2762
|
*/
|
|
2572
2763
|
getReplication(getReplicationRequest) {
|
|
2573
2764
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2630,7 +2821,7 @@ class FileStorageClient {
|
|
|
2630
2821
|
* @param GetReplicationTargetRequest
|
|
2631
2822
|
* @return GetReplicationTargetResponse
|
|
2632
2823
|
* @throws OciError when an error occurs
|
|
2633
|
-
* @example Click {@link https://docs.
|
|
2824
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/GetReplicationTarget.ts.html |here} to see how to use GetReplicationTarget API.
|
|
2634
2825
|
*/
|
|
2635
2826
|
getReplicationTarget(getReplicationTargetRequest) {
|
|
2636
2827
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2693,7 +2884,7 @@ class FileStorageClient {
|
|
|
2693
2884
|
* @param GetSnapshotRequest
|
|
2694
2885
|
* @return GetSnapshotResponse
|
|
2695
2886
|
* @throws OciError when an error occurs
|
|
2696
|
-
* @example Click {@link https://docs.
|
|
2887
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/GetSnapshot.ts.html |here} to see how to use GetSnapshot API.
|
|
2697
2888
|
*/
|
|
2698
2889
|
getSnapshot(getSnapshotRequest) {
|
|
2699
2890
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2757,7 +2948,7 @@ class FileStorageClient {
|
|
|
2757
2948
|
* @param ListExportSetsRequest
|
|
2758
2949
|
* @return ListExportSetsResponse
|
|
2759
2950
|
* @throws OciError when an error occurs
|
|
2760
|
-
* @example Click {@link https://docs.
|
|
2951
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ListExportSets.ts.html |here} to see how to use ListExportSets API.
|
|
2761
2952
|
*/
|
|
2762
2953
|
listExportSets(listExportSetsRequest) {
|
|
2763
2954
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2871,7 +3062,7 @@ class FileStorageClient {
|
|
|
2871
3062
|
* @param ListExportsRequest
|
|
2872
3063
|
* @return ListExportsResponse
|
|
2873
3064
|
* @throws OciError when an error occurs
|
|
2874
|
-
* @example Click {@link https://docs.
|
|
3065
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ListExports.ts.html |here} to see how to use ListExports API.
|
|
2875
3066
|
*/
|
|
2876
3067
|
listExports(listExportsRequest) {
|
|
2877
3068
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2984,7 +3175,7 @@ class FileStorageClient {
|
|
|
2984
3175
|
* @param ListFileSystemsRequest
|
|
2985
3176
|
* @return ListFileSystemsResponse
|
|
2986
3177
|
* @throws OciError when an error occurs
|
|
2987
|
-
* @example Click {@link https://docs.
|
|
3178
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ListFileSystems.ts.html |here} to see how to use ListFileSystems API.
|
|
2988
3179
|
*/
|
|
2989
3180
|
listFileSystems(listFileSystemsRequest) {
|
|
2990
3181
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3099,7 +3290,7 @@ class FileStorageClient {
|
|
|
3099
3290
|
* @param ListFilesystemSnapshotPoliciesRequest
|
|
3100
3291
|
* @return ListFilesystemSnapshotPoliciesResponse
|
|
3101
3292
|
* @throws OciError when an error occurs
|
|
3102
|
-
* @example Click {@link https://docs.
|
|
3293
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ListFilesystemSnapshotPolicies.ts.html |here} to see how to use ListFilesystemSnapshotPolicies API.
|
|
3103
3294
|
*/
|
|
3104
3295
|
listFilesystemSnapshotPolicies(listFilesystemSnapshotPoliciesRequest) {
|
|
3105
3296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3211,7 +3402,7 @@ class FileStorageClient {
|
|
|
3211
3402
|
* @param ListMountTargetsRequest
|
|
3212
3403
|
* @return ListMountTargetsResponse
|
|
3213
3404
|
* @throws OciError when an error occurs
|
|
3214
|
-
* @example Click {@link https://docs.
|
|
3405
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ListMountTargets.ts.html |here} to see how to use ListMountTargets API.
|
|
3215
3406
|
*/
|
|
3216
3407
|
listMountTargets(listMountTargetsRequest) {
|
|
3217
3408
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3324,7 +3515,7 @@ class FileStorageClient {
|
|
|
3324
3515
|
* @param ListOutboundConnectorsRequest
|
|
3325
3516
|
* @return ListOutboundConnectorsResponse
|
|
3326
3517
|
* @throws OciError when an error occurs
|
|
3327
|
-
* @example Click {@link https://docs.
|
|
3518
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ListOutboundConnectors.ts.html |here} to see how to use ListOutboundConnectors API.
|
|
3328
3519
|
*/
|
|
3329
3520
|
listOutboundConnectors(listOutboundConnectorsRequest) {
|
|
3330
3521
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3429,6 +3620,118 @@ class FileStorageClient {
|
|
|
3429
3620
|
listOutboundConnectorsResponseIterator(request) {
|
|
3430
3621
|
return oci_common_1.paginateResponses(request, req => this.listOutboundConnectors(req));
|
|
3431
3622
|
}
|
|
3623
|
+
/**
|
|
3624
|
+
* List user or group usages and their quota rules by certain principal type.
|
|
3625
|
+
*
|
|
3626
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3627
|
+
* @param ListQuotaRulesRequest
|
|
3628
|
+
* @return ListQuotaRulesResponse
|
|
3629
|
+
* @throws OciError when an error occurs
|
|
3630
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ListQuotaRules.ts.html |here} to see how to use ListQuotaRules API.
|
|
3631
|
+
*/
|
|
3632
|
+
listQuotaRules(listQuotaRulesRequest) {
|
|
3633
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3634
|
+
if (this.logger)
|
|
3635
|
+
this.logger.debug("Calling operation FileStorageClient#listQuotaRules.");
|
|
3636
|
+
const operationName = "listQuotaRules";
|
|
3637
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/ListQuotaRules";
|
|
3638
|
+
const pathParams = {
|
|
3639
|
+
"{fileSystemId}": listQuotaRulesRequest.fileSystemId
|
|
3640
|
+
};
|
|
3641
|
+
const queryParams = {
|
|
3642
|
+
"limit": listQuotaRulesRequest.limit,
|
|
3643
|
+
"page": listQuotaRulesRequest.page,
|
|
3644
|
+
"principalType": listQuotaRulesRequest.principalType,
|
|
3645
|
+
"principalId": listQuotaRulesRequest.principalId,
|
|
3646
|
+
"areViolatorsOnly": listQuotaRulesRequest.areViolatorsOnly,
|
|
3647
|
+
"sortOrder": listQuotaRulesRequest.sortOrder
|
|
3648
|
+
};
|
|
3649
|
+
let headerParams = {
|
|
3650
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3651
|
+
"if-match": listQuotaRulesRequest.ifMatch,
|
|
3652
|
+
"opc-request-id": listQuotaRulesRequest.opcRequestId
|
|
3653
|
+
};
|
|
3654
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3655
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listQuotaRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
3656
|
+
if (this.logger)
|
|
3657
|
+
retrier.logger = this.logger;
|
|
3658
|
+
const request = yield oci_common_2.composeRequest({
|
|
3659
|
+
baseEndpoint: this._endpoint,
|
|
3660
|
+
defaultHeaders: this._defaultHeaders,
|
|
3661
|
+
path: "/fileSystems/{fileSystemId}/quotaRules",
|
|
3662
|
+
method: "GET",
|
|
3663
|
+
pathParams: pathParams,
|
|
3664
|
+
headerParams: headerParams,
|
|
3665
|
+
queryParams: queryParams
|
|
3666
|
+
});
|
|
3667
|
+
try {
|
|
3668
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3669
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3670
|
+
responseObject: {},
|
|
3671
|
+
body: yield response.json(),
|
|
3672
|
+
bodyKey: "items",
|
|
3673
|
+
bodyModel: model.QuotaRuleSummary,
|
|
3674
|
+
type: "Array<model.QuotaRuleSummary>",
|
|
3675
|
+
responseHeaders: [
|
|
3676
|
+
{
|
|
3677
|
+
value: response.headers.get("opc-next-page"),
|
|
3678
|
+
key: "opcNextPage",
|
|
3679
|
+
dataType: "string"
|
|
3680
|
+
},
|
|
3681
|
+
{
|
|
3682
|
+
value: response.headers.get("opc-request-id"),
|
|
3683
|
+
key: "opcRequestId",
|
|
3684
|
+
dataType: "string"
|
|
3685
|
+
}
|
|
3686
|
+
]
|
|
3687
|
+
});
|
|
3688
|
+
return sdkResponse;
|
|
3689
|
+
}
|
|
3690
|
+
catch (err) {
|
|
3691
|
+
throw err;
|
|
3692
|
+
}
|
|
3693
|
+
});
|
|
3694
|
+
}
|
|
3695
|
+
/**
|
|
3696
|
+
* NOTE: This function is deprecated in favor of listQuotaRulesRecordIterator function.
|
|
3697
|
+
* Creates a new async iterator which will iterate over the models.QuotaRuleSummary objects
|
|
3698
|
+
* contained in responses from the listQuotaRules operation. This iterator will fetch more data from the
|
|
3699
|
+
* server as needed.
|
|
3700
|
+
*
|
|
3701
|
+
* @param request a request which can be sent to the service operation
|
|
3702
|
+
*/
|
|
3703
|
+
listAllQuotaRules(request) {
|
|
3704
|
+
return oci_common_1.paginateRecords(request, req => this.listQuotaRules(req));
|
|
3705
|
+
}
|
|
3706
|
+
/**
|
|
3707
|
+
* NOTE: This function is deprecated in favor of listQuotaRulesResponseIterator function.
|
|
3708
|
+
* Creates a new async iterator which will iterate over the responses received from the listQuotaRules operation. This iterator
|
|
3709
|
+
* will fetch more data from the server as needed.
|
|
3710
|
+
*
|
|
3711
|
+
* @param request a request which can be sent to the service operation
|
|
3712
|
+
*/
|
|
3713
|
+
listAllQuotaRulesResponses(request) {
|
|
3714
|
+
return oci_common_1.paginateResponses(request, req => this.listQuotaRules(req));
|
|
3715
|
+
}
|
|
3716
|
+
/**
|
|
3717
|
+
* Creates a new async iterator which will iterate over the models.QuotaRuleSummary objects
|
|
3718
|
+
* contained in responses from the listQuotaRules operation. This iterator will fetch more data from the
|
|
3719
|
+
* server as needed.
|
|
3720
|
+
*
|
|
3721
|
+
* @param request a request which can be sent to the service operation
|
|
3722
|
+
*/
|
|
3723
|
+
listQuotaRulesRecordIterator(request) {
|
|
3724
|
+
return oci_common_1.paginateRecords(request, req => this.listQuotaRules(req));
|
|
3725
|
+
}
|
|
3726
|
+
/**
|
|
3727
|
+
* Creates a new async iterator which will iterate over the responses received from the listQuotaRules operation. This iterator
|
|
3728
|
+
* will fetch more data from the server as needed.
|
|
3729
|
+
*
|
|
3730
|
+
* @param request a request which can be sent to the service operation
|
|
3731
|
+
*/
|
|
3732
|
+
listQuotaRulesResponseIterator(request) {
|
|
3733
|
+
return oci_common_1.paginateResponses(request, req => this.listQuotaRules(req));
|
|
3734
|
+
}
|
|
3432
3735
|
/**
|
|
3433
3736
|
* Lists the replication target resources in the specified compartment.
|
|
3434
3737
|
*
|
|
@@ -3436,7 +3739,7 @@ class FileStorageClient {
|
|
|
3436
3739
|
* @param ListReplicationTargetsRequest
|
|
3437
3740
|
* @return ListReplicationTargetsResponse
|
|
3438
3741
|
* @throws OciError when an error occurs
|
|
3439
|
-
* @example Click {@link https://docs.
|
|
3742
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ListReplicationTargets.ts.html |here} to see how to use ListReplicationTargets API.
|
|
3440
3743
|
*/
|
|
3441
3744
|
listReplicationTargets(listReplicationTargetsRequest) {
|
|
3442
3745
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3548,7 +3851,7 @@ class FileStorageClient {
|
|
|
3548
3851
|
* @param ListReplicationsRequest
|
|
3549
3852
|
* @return ListReplicationsResponse
|
|
3550
3853
|
* @throws OciError when an error occurs
|
|
3551
|
-
* @example Click {@link https://docs.
|
|
3854
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ListReplications.ts.html |here} to see how to use ListReplications API.
|
|
3552
3855
|
*/
|
|
3553
3856
|
listReplications(listReplicationsRequest) {
|
|
3554
3857
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3667,7 +3970,7 @@ class FileStorageClient {
|
|
|
3667
3970
|
* @param ListSnapshotsRequest
|
|
3668
3971
|
* @return ListSnapshotsResponse
|
|
3669
3972
|
* @throws OciError when an error occurs
|
|
3670
|
-
* @example Click {@link https://docs.
|
|
3973
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ListSnapshots.ts.html |here} to see how to use ListSnapshots API.
|
|
3671
3974
|
*/
|
|
3672
3975
|
listSnapshots(listSnapshotsRequest) {
|
|
3673
3976
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3783,7 +4086,7 @@ class FileStorageClient {
|
|
|
3783
4086
|
* @param PauseFilesystemSnapshotPolicyRequest
|
|
3784
4087
|
* @return PauseFilesystemSnapshotPolicyResponse
|
|
3785
4088
|
* @throws OciError when an error occurs
|
|
3786
|
-
* @example Click {@link https://docs.
|
|
4089
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/PauseFilesystemSnapshotPolicy.ts.html |here} to see how to use PauseFilesystemSnapshotPolicy API.
|
|
3787
4090
|
*/
|
|
3788
4091
|
pauseFilesystemSnapshotPolicy(pauseFilesystemSnapshotPolicyRequest) {
|
|
3789
4092
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3849,7 +4152,7 @@ class FileStorageClient {
|
|
|
3849
4152
|
* @param RemoveExportLockRequest
|
|
3850
4153
|
* @return RemoveExportLockResponse
|
|
3851
4154
|
* @throws OciError when an error occurs
|
|
3852
|
-
* @example Click {@link https://docs.
|
|
4155
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/RemoveExportLock.ts.html |here} to see how to use RemoveExportLock API.
|
|
3853
4156
|
*/
|
|
3854
4157
|
removeExportLock(removeExportLockRequest) {
|
|
3855
4158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3914,7 +4217,7 @@ class FileStorageClient {
|
|
|
3914
4217
|
* @param RemoveFileSystemLockRequest
|
|
3915
4218
|
* @return RemoveFileSystemLockResponse
|
|
3916
4219
|
* @throws OciError when an error occurs
|
|
3917
|
-
* @example Click {@link https://docs.
|
|
4220
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/RemoveFileSystemLock.ts.html |here} to see how to use RemoveFileSystemLock API.
|
|
3918
4221
|
*/
|
|
3919
4222
|
removeFileSystemLock(removeFileSystemLockRequest) {
|
|
3920
4223
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3979,7 +4282,7 @@ class FileStorageClient {
|
|
|
3979
4282
|
* @param RemoveFilesystemSnapshotPolicyLockRequest
|
|
3980
4283
|
* @return RemoveFilesystemSnapshotPolicyLockResponse
|
|
3981
4284
|
* @throws OciError when an error occurs
|
|
3982
|
-
* @example Click {@link https://docs.
|
|
4285
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/RemoveFilesystemSnapshotPolicyLock.ts.html |here} to see how to use RemoveFilesystemSnapshotPolicyLock API.
|
|
3983
4286
|
*/
|
|
3984
4287
|
removeFilesystemSnapshotPolicyLock(removeFilesystemSnapshotPolicyLockRequest) {
|
|
3985
4288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4044,7 +4347,7 @@ class FileStorageClient {
|
|
|
4044
4347
|
* @param RemoveMountTargetLockRequest
|
|
4045
4348
|
* @return RemoveMountTargetLockResponse
|
|
4046
4349
|
* @throws OciError when an error occurs
|
|
4047
|
-
* @example Click {@link https://docs.
|
|
4350
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/RemoveMountTargetLock.ts.html |here} to see how to use RemoveMountTargetLock API.
|
|
4048
4351
|
*/
|
|
4049
4352
|
removeMountTargetLock(removeMountTargetLockRequest) {
|
|
4050
4353
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4109,7 +4412,7 @@ class FileStorageClient {
|
|
|
4109
4412
|
* @param RemoveOutboundConnectorLockRequest
|
|
4110
4413
|
* @return RemoveOutboundConnectorLockResponse
|
|
4111
4414
|
* @throws OciError when an error occurs
|
|
4112
|
-
* @example Click {@link https://docs.
|
|
4415
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/RemoveOutboundConnectorLock.ts.html |here} to see how to use RemoveOutboundConnectorLock API.
|
|
4113
4416
|
*/
|
|
4114
4417
|
removeOutboundConnectorLock(removeOutboundConnectorLockRequest) {
|
|
4115
4418
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4174,7 +4477,7 @@ class FileStorageClient {
|
|
|
4174
4477
|
* @param RemoveReplicationLockRequest
|
|
4175
4478
|
* @return RemoveReplicationLockResponse
|
|
4176
4479
|
* @throws OciError when an error occurs
|
|
4177
|
-
* @example Click {@link https://docs.
|
|
4480
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/RemoveReplicationLock.ts.html |here} to see how to use RemoveReplicationLock API.
|
|
4178
4481
|
*/
|
|
4179
4482
|
removeReplicationLock(removeReplicationLockRequest) {
|
|
4180
4483
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4239,7 +4542,7 @@ class FileStorageClient {
|
|
|
4239
4542
|
* @param RemoveSnapshotLockRequest
|
|
4240
4543
|
* @return RemoveSnapshotLockResponse
|
|
4241
4544
|
* @throws OciError when an error occurs
|
|
4242
|
-
* @example Click {@link https://docs.
|
|
4545
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/RemoveSnapshotLock.ts.html |here} to see how to use RemoveSnapshotLock API.
|
|
4243
4546
|
*/
|
|
4244
4547
|
removeSnapshotLock(removeSnapshotLockRequest) {
|
|
4245
4548
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4305,7 +4608,7 @@ class FileStorageClient {
|
|
|
4305
4608
|
* @param ScheduleDowngradeShapeMountTargetRequest
|
|
4306
4609
|
* @return ScheduleDowngradeShapeMountTargetResponse
|
|
4307
4610
|
* @throws OciError when an error occurs
|
|
4308
|
-
* @example Click {@link https://docs.
|
|
4611
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ScheduleDowngradeShapeMountTarget.ts.html |here} to see how to use ScheduleDowngradeShapeMountTarget API.
|
|
4309
4612
|
*/
|
|
4310
4613
|
scheduleDowngradeShapeMountTarget(scheduleDowngradeShapeMountTargetRequest) {
|
|
4311
4614
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4364,6 +4667,66 @@ class FileStorageClient {
|
|
|
4364
4667
|
}
|
|
4365
4668
|
});
|
|
4366
4669
|
}
|
|
4670
|
+
/**
|
|
4671
|
+
* Enable or disable quota enforcement for the file system.
|
|
4672
|
+
* If `areQuotaRulesEnabled` = `true`, then the quota enforcement will be enabled.
|
|
4673
|
+
* If `areQuotaRulesEnabled` = `false`, then the quota enforcement will be disabled.
|
|
4674
|
+
*
|
|
4675
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4676
|
+
* @param ToggleQuotaRulesRequest
|
|
4677
|
+
* @return ToggleQuotaRulesResponse
|
|
4678
|
+
* @throws OciError when an error occurs
|
|
4679
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ToggleQuotaRules.ts.html |here} to see how to use ToggleQuotaRules API.
|
|
4680
|
+
*/
|
|
4681
|
+
toggleQuotaRules(toggleQuotaRulesRequest) {
|
|
4682
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4683
|
+
if (this.logger)
|
|
4684
|
+
this.logger.debug("Calling operation FileStorageClient#toggleQuotaRules.");
|
|
4685
|
+
const operationName = "toggleQuotaRules";
|
|
4686
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/ToggleQuotaRules";
|
|
4687
|
+
const pathParams = {
|
|
4688
|
+
"{fileSystemId}": toggleQuotaRulesRequest.fileSystemId
|
|
4689
|
+
};
|
|
4690
|
+
const queryParams = {};
|
|
4691
|
+
let headerParams = {
|
|
4692
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4693
|
+
"if-match": toggleQuotaRulesRequest.ifMatch,
|
|
4694
|
+
"opc-retry-token": toggleQuotaRulesRequest.opcRetryToken,
|
|
4695
|
+
"opc-request-id": toggleQuotaRulesRequest.opcRequestId
|
|
4696
|
+
};
|
|
4697
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4698
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, toggleQuotaRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
4699
|
+
if (this.logger)
|
|
4700
|
+
retrier.logger = this.logger;
|
|
4701
|
+
const request = yield oci_common_2.composeRequest({
|
|
4702
|
+
baseEndpoint: this._endpoint,
|
|
4703
|
+
defaultHeaders: this._defaultHeaders,
|
|
4704
|
+
path: "/fileSystems/{fileSystemId}/actions/toggleQuotaRules",
|
|
4705
|
+
method: "POST",
|
|
4706
|
+
bodyContent: common.ObjectSerializer.serialize(toggleQuotaRulesRequest.toggleQuotaRulesDetails, "ToggleQuotaRulesDetails", model.ToggleQuotaRulesDetails.getJsonObj),
|
|
4707
|
+
pathParams: pathParams,
|
|
4708
|
+
headerParams: headerParams,
|
|
4709
|
+
queryParams: queryParams
|
|
4710
|
+
});
|
|
4711
|
+
try {
|
|
4712
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4713
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
4714
|
+
responseObject: {},
|
|
4715
|
+
responseHeaders: [
|
|
4716
|
+
{
|
|
4717
|
+
value: response.headers.get("opc-request-id"),
|
|
4718
|
+
key: "opcRequestId",
|
|
4719
|
+
dataType: "string"
|
|
4720
|
+
}
|
|
4721
|
+
]
|
|
4722
|
+
});
|
|
4723
|
+
return sdkResponse;
|
|
4724
|
+
}
|
|
4725
|
+
catch (err) {
|
|
4726
|
+
throw err;
|
|
4727
|
+
}
|
|
4728
|
+
});
|
|
4729
|
+
}
|
|
4367
4730
|
/**
|
|
4368
4731
|
* This operation unpauses a paused file system snapshot policy and updates the lifecycle state of the file system snapshot policy from
|
|
4369
4732
|
* INACTIVE to ACTIVE. By default, file system snapshot policies are in the ACTIVE state. When a file system snapshot policy is not paused, or in the ACTIVE state, file systems that are associated with the
|
|
@@ -4375,7 +4738,7 @@ class FileStorageClient {
|
|
|
4375
4738
|
* @param UnpauseFilesystemSnapshotPolicyRequest
|
|
4376
4739
|
* @return UnpauseFilesystemSnapshotPolicyResponse
|
|
4377
4740
|
* @throws OciError when an error occurs
|
|
4378
|
-
* @example Click {@link https://docs.
|
|
4741
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/UnpauseFilesystemSnapshotPolicy.ts.html |here} to see how to use UnpauseFilesystemSnapshotPolicy API.
|
|
4379
4742
|
*/
|
|
4380
4743
|
unpauseFilesystemSnapshotPolicy(unpauseFilesystemSnapshotPolicyRequest) {
|
|
4381
4744
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4441,7 +4804,7 @@ class FileStorageClient {
|
|
|
4441
4804
|
* @param UpdateExportRequest
|
|
4442
4805
|
* @return UpdateExportResponse
|
|
4443
4806
|
* @throws OciError when an error occurs
|
|
4444
|
-
* @example Click {@link https://docs.
|
|
4807
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/UpdateExport.ts.html |here} to see how to use UpdateExport API.
|
|
4445
4808
|
*/
|
|
4446
4809
|
updateExport(updateExportRequest) {
|
|
4447
4810
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4508,7 +4871,7 @@ class FileStorageClient {
|
|
|
4508
4871
|
* @param UpdateExportSetRequest
|
|
4509
4872
|
* @return UpdateExportSetResponse
|
|
4510
4873
|
* @throws OciError when an error occurs
|
|
4511
|
-
* @example Click {@link https://docs.
|
|
4874
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/UpdateExportSet.ts.html |here} to see how to use UpdateExportSet API.
|
|
4512
4875
|
*/
|
|
4513
4876
|
updateExportSet(updateExportSetRequest) {
|
|
4514
4877
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4575,7 +4938,7 @@ class FileStorageClient {
|
|
|
4575
4938
|
* @param UpdateFileSystemRequest
|
|
4576
4939
|
* @return UpdateFileSystemResponse
|
|
4577
4940
|
* @throws OciError when an error occurs
|
|
4578
|
-
* @example Click {@link https://docs.
|
|
4941
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/UpdateFileSystem.ts.html |here} to see how to use UpdateFileSystem API.
|
|
4579
4942
|
*/
|
|
4580
4943
|
updateFileSystem(updateFileSystemRequest) {
|
|
4581
4944
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4642,7 +5005,7 @@ class FileStorageClient {
|
|
|
4642
5005
|
* @param UpdateFilesystemSnapshotPolicyRequest
|
|
4643
5006
|
* @return UpdateFilesystemSnapshotPolicyResponse
|
|
4644
5007
|
* @throws OciError when an error occurs
|
|
4645
|
-
* @example Click {@link https://docs.
|
|
5008
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/UpdateFilesystemSnapshotPolicy.ts.html |here} to see how to use UpdateFilesystemSnapshotPolicy API.
|
|
4646
5009
|
*/
|
|
4647
5010
|
updateFilesystemSnapshotPolicy(updateFilesystemSnapshotPolicyRequest) {
|
|
4648
5011
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4709,7 +5072,7 @@ class FileStorageClient {
|
|
|
4709
5072
|
* @param UpdateMountTargetRequest
|
|
4710
5073
|
* @return UpdateMountTargetResponse
|
|
4711
5074
|
* @throws OciError when an error occurs
|
|
4712
|
-
* @example Click {@link https://docs.
|
|
5075
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/UpdateMountTarget.ts.html |here} to see how to use UpdateMountTarget API.
|
|
4713
5076
|
*/
|
|
4714
5077
|
updateMountTarget(updateMountTargetRequest) {
|
|
4715
5078
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4776,7 +5139,7 @@ class FileStorageClient {
|
|
|
4776
5139
|
* @param UpdateOutboundConnectorRequest
|
|
4777
5140
|
* @return UpdateOutboundConnectorResponse
|
|
4778
5141
|
* @throws OciError when an error occurs
|
|
4779
|
-
* @example Click {@link https://docs.
|
|
5142
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/UpdateOutboundConnector.ts.html |here} to see how to use UpdateOutboundConnector API.
|
|
4780
5143
|
*/
|
|
4781
5144
|
updateOutboundConnector(updateOutboundConnectorRequest) {
|
|
4782
5145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4837,6 +5200,73 @@ class FileStorageClient {
|
|
|
4837
5200
|
}
|
|
4838
5201
|
});
|
|
4839
5202
|
}
|
|
5203
|
+
/**
|
|
5204
|
+
* Edit a file system, user, or group quota rule given the `fileSystemId` and `quotaRuleId` parameters.
|
|
5205
|
+
*
|
|
5206
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5207
|
+
* @param UpdateQuotaRuleRequest
|
|
5208
|
+
* @return UpdateQuotaRuleResponse
|
|
5209
|
+
* @throws OciError when an error occurs
|
|
5210
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/UpdateQuotaRule.ts.html |here} to see how to use UpdateQuotaRule API.
|
|
5211
|
+
*/
|
|
5212
|
+
updateQuotaRule(updateQuotaRuleRequest) {
|
|
5213
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5214
|
+
if (this.logger)
|
|
5215
|
+
this.logger.debug("Calling operation FileStorageClient#updateQuotaRule.");
|
|
5216
|
+
const operationName = "updateQuotaRule";
|
|
5217
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/UpdateQuotaRule";
|
|
5218
|
+
const pathParams = {
|
|
5219
|
+
"{fileSystemId}": updateQuotaRuleRequest.fileSystemId,
|
|
5220
|
+
"{quotaRuleId}": updateQuotaRuleRequest.quotaRuleId
|
|
5221
|
+
};
|
|
5222
|
+
const queryParams = {};
|
|
5223
|
+
let headerParams = {
|
|
5224
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5225
|
+
"if-match": updateQuotaRuleRequest.ifMatch,
|
|
5226
|
+
"opc-request-id": updateQuotaRuleRequest.opcRequestId
|
|
5227
|
+
};
|
|
5228
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5229
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateQuotaRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
5230
|
+
if (this.logger)
|
|
5231
|
+
retrier.logger = this.logger;
|
|
5232
|
+
const request = yield oci_common_2.composeRequest({
|
|
5233
|
+
baseEndpoint: this._endpoint,
|
|
5234
|
+
defaultHeaders: this._defaultHeaders,
|
|
5235
|
+
path: "/fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}",
|
|
5236
|
+
method: "PUT",
|
|
5237
|
+
bodyContent: common.ObjectSerializer.serialize(updateQuotaRuleRequest.updateQuotaRuleDetails, "UpdateQuotaRuleDetails", model.UpdateQuotaRuleDetails.getJsonObj),
|
|
5238
|
+
pathParams: pathParams,
|
|
5239
|
+
headerParams: headerParams,
|
|
5240
|
+
queryParams: queryParams
|
|
5241
|
+
});
|
|
5242
|
+
try {
|
|
5243
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5244
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
5245
|
+
responseObject: {},
|
|
5246
|
+
body: yield response.json(),
|
|
5247
|
+
bodyKey: "quotaRule",
|
|
5248
|
+
bodyModel: model.QuotaRule,
|
|
5249
|
+
type: "model.QuotaRule",
|
|
5250
|
+
responseHeaders: [
|
|
5251
|
+
{
|
|
5252
|
+
value: response.headers.get("etag"),
|
|
5253
|
+
key: "etag",
|
|
5254
|
+
dataType: "string"
|
|
5255
|
+
},
|
|
5256
|
+
{
|
|
5257
|
+
value: response.headers.get("opc-request-id"),
|
|
5258
|
+
key: "opcRequestId",
|
|
5259
|
+
dataType: "string"
|
|
5260
|
+
}
|
|
5261
|
+
]
|
|
5262
|
+
});
|
|
5263
|
+
return sdkResponse;
|
|
5264
|
+
}
|
|
5265
|
+
catch (err) {
|
|
5266
|
+
throw err;
|
|
5267
|
+
}
|
|
5268
|
+
});
|
|
5269
|
+
}
|
|
4840
5270
|
/**
|
|
4841
5271
|
* Updates the information for the specified replication and its associated replication target.
|
|
4842
5272
|
*
|
|
@@ -4844,7 +5274,7 @@ class FileStorageClient {
|
|
|
4844
5274
|
* @param UpdateReplicationRequest
|
|
4845
5275
|
* @return UpdateReplicationResponse
|
|
4846
5276
|
* @throws OciError when an error occurs
|
|
4847
|
-
* @example Click {@link https://docs.
|
|
5277
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/UpdateReplication.ts.html |here} to see how to use UpdateReplication API.
|
|
4848
5278
|
*/
|
|
4849
5279
|
updateReplication(updateReplicationRequest) {
|
|
4850
5280
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4911,7 +5341,7 @@ class FileStorageClient {
|
|
|
4911
5341
|
* @param UpdateSnapshotRequest
|
|
4912
5342
|
* @return UpdateSnapshotResponse
|
|
4913
5343
|
* @throws OciError when an error occurs
|
|
4914
|
-
* @example Click {@link https://docs.
|
|
5344
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/UpdateSnapshot.ts.html |here} to see how to use UpdateSnapshot API.
|
|
4915
5345
|
*/
|
|
4916
5346
|
updateSnapshot(updateSnapshotRequest) {
|
|
4917
5347
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4979,7 +5409,7 @@ class FileStorageClient {
|
|
|
4979
5409
|
* @param UpgradeShapeMountTargetRequest
|
|
4980
5410
|
* @return UpgradeShapeMountTargetResponse
|
|
4981
5411
|
* @throws OciError when an error occurs
|
|
4982
|
-
* @example Click {@link https://docs.
|
|
5412
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/UpgradeShapeMountTarget.ts.html |here} to see how to use UpgradeShapeMountTarget API.
|
|
4983
5413
|
*/
|
|
4984
5414
|
upgradeShapeMountTarget(upgradeShapeMountTargetRequest) {
|
|
4985
5415
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5047,7 +5477,7 @@ class FileStorageClient {
|
|
|
5047
5477
|
* @param ValidateKeyTabsRequest
|
|
5048
5478
|
* @return ValidateKeyTabsResponse
|
|
5049
5479
|
* @throws OciError when an error occurs
|
|
5050
|
-
* @example Click {@link https://docs.
|
|
5480
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/ValidateKeyTabs.ts.html |here} to see how to use ValidateKeyTabs API.
|
|
5051
5481
|
*/
|
|
5052
5482
|
validateKeyTabs(validateKeyTabsRequest) {
|
|
5053
5483
|
return __awaiter(this, void 0, void 0, function* () {
|