oci-filestorage 2.96.0 → 2.97.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/lib/client.d.ts +126 -0
  2. package/lib/client.js +2238 -1284
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/create-export-details.d.ts +4 -0
  5. package/lib/model/create-export-details.js +10 -0
  6. package/lib/model/create-export-details.js.map +1 -1
  7. package/lib/model/create-file-system-details.d.ts +5 -0
  8. package/lib/model/create-file-system-details.js +34 -2
  9. package/lib/model/create-file-system-details.js.map +1 -1
  10. package/lib/model/create-filesystem-snapshot-policy-details.d.ts +4 -0
  11. package/lib/model/create-filesystem-snapshot-policy-details.js +10 -0
  12. package/lib/model/create-filesystem-snapshot-policy-details.js.map +1 -1
  13. package/lib/model/create-mount-target-details.d.ts +4 -0
  14. package/lib/model/create-mount-target-details.js +11 -1
  15. package/lib/model/create-mount-target-details.js.map +1 -1
  16. package/lib/model/create-outbound-connector-details.d.ts +5 -0
  17. package/lib/model/create-outbound-connector-details.js +14 -2
  18. package/lib/model/create-outbound-connector-details.js.map +1 -1
  19. package/lib/model/create-replication-details.d.ts +5 -0
  20. package/lib/model/create-replication-details.js +34 -2
  21. package/lib/model/create-replication-details.js.map +1 -1
  22. package/lib/model/create-snapshot-details.d.ts +5 -0
  23. package/lib/model/create-snapshot-details.js +34 -2
  24. package/lib/model/create-snapshot-details.js.map +1 -1
  25. package/lib/model/export-summary.d.ts +5 -0
  26. package/lib/model/export-summary.js +34 -2
  27. package/lib/model/export-summary.js.map +1 -1
  28. package/lib/model/export.d.ts +4 -0
  29. package/lib/model/export.js +10 -0
  30. package/lib/model/export.js.map +1 -1
  31. package/lib/model/file-system-summary.d.ts +4 -0
  32. package/lib/model/file-system-summary.js +10 -0
  33. package/lib/model/file-system-summary.js.map +1 -1
  34. package/lib/model/file-system.d.ts +4 -0
  35. package/lib/model/file-system.js +10 -0
  36. package/lib/model/file-system.js.map +1 -1
  37. package/lib/model/filesystem-snapshot-policy-summary.d.ts +5 -0
  38. package/lib/model/filesystem-snapshot-policy-summary.js +34 -2
  39. package/lib/model/filesystem-snapshot-policy-summary.js.map +1 -1
  40. package/lib/model/filesystem-snapshot-policy.d.ts +4 -0
  41. package/lib/model/filesystem-snapshot-policy.js +10 -0
  42. package/lib/model/filesystem-snapshot-policy.js.map +1 -1
  43. package/lib/model/index.d.ts +2 -0
  44. package/lib/model/index.js +4 -2
  45. package/lib/model/index.js.map +1 -1
  46. package/lib/model/mount-target-summary.d.ts +5 -0
  47. package/lib/model/mount-target-summary.js +34 -2
  48. package/lib/model/mount-target-summary.js.map +1 -1
  49. package/lib/model/mount-target.d.ts +4 -0
  50. package/lib/model/mount-target.js +12 -2
  51. package/lib/model/mount-target.js.map +1 -1
  52. package/lib/model/outbound-connector-summary.d.ts +5 -0
  53. package/lib/model/outbound-connector-summary.js +14 -2
  54. package/lib/model/outbound-connector-summary.js.map +1 -1
  55. package/lib/model/outbound-connector.d.ts +5 -0
  56. package/lib/model/outbound-connector.js +14 -2
  57. package/lib/model/outbound-connector.js.map +1 -1
  58. package/lib/model/replication-summary.d.ts +5 -0
  59. package/lib/model/replication-summary.js +34 -2
  60. package/lib/model/replication-summary.js.map +1 -1
  61. package/lib/model/replication.d.ts +5 -0
  62. package/lib/model/replication.js +34 -2
  63. package/lib/model/replication.js.map +1 -1
  64. package/lib/model/resource-lock.d.ts +54 -0
  65. package/lib/model/resource-lock.js +41 -0
  66. package/lib/model/resource-lock.js.map +1 -0
  67. package/lib/model/snapshot-summary.d.ts +5 -0
  68. package/lib/model/snapshot-summary.js +34 -2
  69. package/lib/model/snapshot-summary.js.map +1 -1
  70. package/lib/model/snapshot.d.ts +5 -0
  71. package/lib/model/snapshot.js +34 -2
  72. package/lib/model/snapshot.js.map +1 -1
  73. package/lib/request/add-export-lock-request.d.ts +42 -0
  74. package/lib/request/add-export-lock-request.js +15 -0
  75. package/lib/request/add-export-lock-request.js.map +1 -0
  76. package/lib/request/add-file-system-lock-request.d.ts +42 -0
  77. package/lib/request/add-file-system-lock-request.js +15 -0
  78. package/lib/request/add-file-system-lock-request.js.map +1 -0
  79. package/lib/request/add-filesystem-snapshot-policy-lock-request.d.ts +42 -0
  80. package/lib/request/add-filesystem-snapshot-policy-lock-request.js +15 -0
  81. package/lib/request/add-filesystem-snapshot-policy-lock-request.js.map +1 -0
  82. package/lib/request/add-mount-target-lock-request.d.ts +42 -0
  83. package/lib/request/add-mount-target-lock-request.js +15 -0
  84. package/lib/request/add-mount-target-lock-request.js.map +1 -0
  85. package/lib/request/add-outbound-connector-lock-request.d.ts +42 -0
  86. package/lib/request/add-outbound-connector-lock-request.js +15 -0
  87. package/lib/request/add-outbound-connector-lock-request.js.map +1 -0
  88. package/lib/request/add-replication-lock-request.d.ts +42 -0
  89. package/lib/request/add-replication-lock-request.js +15 -0
  90. package/lib/request/add-replication-lock-request.js.map +1 -0
  91. package/lib/request/add-snapshot-lock-request.d.ts +42 -0
  92. package/lib/request/add-snapshot-lock-request.js +15 -0
  93. package/lib/request/add-snapshot-lock-request.js.map +1 -0
  94. package/lib/request/change-file-system-compartment-request.d.ts +4 -0
  95. package/lib/request/change-filesystem-snapshot-policy-compartment-request.d.ts +4 -0
  96. package/lib/request/change-mount-target-compartment-request.d.ts +4 -0
  97. package/lib/request/change-outbound-connector-compartment-request.d.ts +4 -0
  98. package/lib/request/change-replication-compartment-request.d.ts +4 -0
  99. package/lib/request/create-mount-target-request.d.ts +4 -0
  100. package/lib/request/delete-export-request.d.ts +4 -0
  101. package/lib/request/delete-file-system-request.d.ts +4 -0
  102. package/lib/request/delete-filesystem-snapshot-policy-request.d.ts +4 -0
  103. package/lib/request/delete-mount-target-request.d.ts +4 -0
  104. package/lib/request/delete-outbound-connector-request.d.ts +4 -0
  105. package/lib/request/delete-replication-request.d.ts +4 -0
  106. package/lib/request/delete-replication-request.js.map +1 -1
  107. package/lib/request/delete-replication-target-request.d.ts +4 -0
  108. package/lib/request/delete-snapshot-request.d.ts +4 -0
  109. package/lib/request/index.d.ts +28 -0
  110. package/lib/request/index.js.map +1 -1
  111. package/lib/request/pause-filesystem-snapshot-policy-request.d.ts +4 -0
  112. package/lib/request/remove-export-lock-request.d.ts +42 -0
  113. package/lib/request/remove-export-lock-request.js +15 -0
  114. package/lib/request/remove-export-lock-request.js.map +1 -0
  115. package/lib/request/remove-file-system-lock-request.d.ts +42 -0
  116. package/lib/request/remove-file-system-lock-request.js +15 -0
  117. package/lib/request/remove-file-system-lock-request.js.map +1 -0
  118. package/lib/request/remove-filesystem-snapshot-policy-lock-request.d.ts +42 -0
  119. package/lib/request/remove-filesystem-snapshot-policy-lock-request.js +15 -0
  120. package/lib/request/remove-filesystem-snapshot-policy-lock-request.js.map +1 -0
  121. package/lib/request/remove-mount-target-lock-request.d.ts +42 -0
  122. package/lib/request/remove-mount-target-lock-request.js +15 -0
  123. package/lib/request/remove-mount-target-lock-request.js.map +1 -0
  124. package/lib/request/remove-outbound-connector-lock-request.d.ts +42 -0
  125. package/lib/request/remove-outbound-connector-lock-request.js +15 -0
  126. package/lib/request/remove-outbound-connector-lock-request.js.map +1 -0
  127. package/lib/request/remove-replication-lock-request.d.ts +42 -0
  128. package/lib/request/remove-replication-lock-request.js +15 -0
  129. package/lib/request/remove-replication-lock-request.js.map +1 -0
  130. package/lib/request/remove-snapshot-lock-request.d.ts +42 -0
  131. package/lib/request/remove-snapshot-lock-request.js +15 -0
  132. package/lib/request/remove-snapshot-lock-request.js.map +1 -0
  133. package/lib/request/unpause-filesystem-snapshot-policy-request.d.ts +4 -0
  134. package/lib/request/update-export-request.d.ts +4 -0
  135. package/lib/request/update-file-system-request.d.ts +4 -0
  136. package/lib/request/update-filesystem-snapshot-policy-request.d.ts +4 -0
  137. package/lib/request/update-mount-target-request.d.ts +4 -0
  138. package/lib/request/update-outbound-connector-request.d.ts +4 -0
  139. package/lib/request/update-replication-request.d.ts +4 -0
  140. package/lib/request/update-snapshot-request.d.ts +4 -0
  141. package/lib/response/add-export-lock-response.d.ts +30 -0
  142. package/lib/response/add-export-lock-response.js +15 -0
  143. package/lib/response/add-export-lock-response.js.map +1 -0
  144. package/lib/response/add-file-system-lock-response.d.ts +30 -0
  145. package/lib/response/add-file-system-lock-response.js +15 -0
  146. package/lib/response/add-file-system-lock-response.js.map +1 -0
  147. package/lib/response/add-filesystem-snapshot-policy-lock-response.d.ts +30 -0
  148. package/lib/response/add-filesystem-snapshot-policy-lock-response.js +15 -0
  149. package/lib/response/add-filesystem-snapshot-policy-lock-response.js.map +1 -0
  150. package/lib/response/add-mount-target-lock-response.d.ts +30 -0
  151. package/lib/response/add-mount-target-lock-response.js +15 -0
  152. package/lib/response/add-mount-target-lock-response.js.map +1 -0
  153. package/lib/response/add-outbound-connector-lock-response.d.ts +30 -0
  154. package/lib/response/add-outbound-connector-lock-response.js +15 -0
  155. package/lib/response/add-outbound-connector-lock-response.js.map +1 -0
  156. package/lib/response/add-replication-lock-response.d.ts +30 -0
  157. package/lib/response/add-replication-lock-response.js +15 -0
  158. package/lib/response/add-replication-lock-response.js.map +1 -0
  159. package/lib/response/add-snapshot-lock-response.d.ts +30 -0
  160. package/lib/response/add-snapshot-lock-response.js +15 -0
  161. package/lib/response/add-snapshot-lock-response.js.map +1 -0
  162. package/lib/response/index.d.ts +28 -0
  163. package/lib/response/remove-export-lock-response.d.ts +30 -0
  164. package/lib/response/remove-export-lock-response.js +15 -0
  165. package/lib/response/remove-export-lock-response.js.map +1 -0
  166. package/lib/response/remove-file-system-lock-response.d.ts +30 -0
  167. package/lib/response/remove-file-system-lock-response.js +15 -0
  168. package/lib/response/remove-file-system-lock-response.js.map +1 -0
  169. package/lib/response/remove-filesystem-snapshot-policy-lock-response.d.ts +30 -0
  170. package/lib/response/remove-filesystem-snapshot-policy-lock-response.js +15 -0
  171. package/lib/response/remove-filesystem-snapshot-policy-lock-response.js.map +1 -0
  172. package/lib/response/remove-mount-target-lock-response.d.ts +30 -0
  173. package/lib/response/remove-mount-target-lock-response.js +15 -0
  174. package/lib/response/remove-mount-target-lock-response.js.map +1 -0
  175. package/lib/response/remove-outbound-connector-lock-response.d.ts +30 -0
  176. package/lib/response/remove-outbound-connector-lock-response.js +15 -0
  177. package/lib/response/remove-outbound-connector-lock-response.js.map +1 -0
  178. package/lib/response/remove-replication-lock-response.d.ts +30 -0
  179. package/lib/response/remove-replication-lock-response.js +15 -0
  180. package/lib/response/remove-replication-lock-response.js.map +1 -0
  181. package/lib/response/remove-snapshot-lock-response.d.ts +30 -0
  182. package/lib/response/remove-snapshot-lock-response.js +15 -0
  183. package/lib/response/remove-snapshot-lock-response.js.map +1 -0
  184. package/package.json +3 -3
@@ -0,0 +1,54 @@
1
+ /**
2
+ * File Storage API
3
+ * Use the File Storage service API to manage file systems, mount targets, and snapshots.
4
+ For more information, see [Overview of File Storage](/iaas/Content/File/Concepts/filestorageoverview.htm).
5
+
6
+ * OpenAPI spec version: 20171215
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
13
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
14
+ */
15
+ /**
16
+ * Resource locks are used to prevent certain APIs from being called for the resource.
17
+ * A full lock prevents both updating the resource and deleting the resource. A delete
18
+ * lock prevents deleting the resource.
19
+ *
20
+ */
21
+ export interface ResourceLock {
22
+ /**
23
+ * Type of the lock.
24
+ */
25
+ "type": ResourceLock.Type;
26
+ /**
27
+ * The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
28
+ *
29
+ */
30
+ "relatedResourceId"?: string;
31
+ /**
32
+ * A message added by the creator of the lock. This is typically used to give an
33
+ * indication of why the resource is locked.
34
+ *
35
+ */
36
+ "message"?: string;
37
+ /**
38
+ * When the lock was created.
39
+ */
40
+ "timeCreated"?: Date;
41
+ }
42
+ export declare namespace ResourceLock {
43
+ enum Type {
44
+ Full = "FULL",
45
+ Delete = "DELETE",
46
+ /**
47
+ * This value is used if a service returns a value for this enum that is not recognized by this
48
+ * version of the SDK.
49
+ */
50
+ UnknownValue = "UNKNOWN_VALUE"
51
+ }
52
+ function getJsonObj(obj: ResourceLock): object;
53
+ function getDeserializedJsonObj(obj: ResourceLock): object;
54
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * File Storage API
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).
6
+
7
+ * OpenAPI spec version: 20171215
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
14
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
15
+ */
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.ResourceLock = void 0;
18
+ var ResourceLock;
19
+ (function (ResourceLock) {
20
+ let Type;
21
+ (function (Type) {
22
+ Type["Full"] = "FULL";
23
+ Type["Delete"] = "DELETE";
24
+ /**
25
+ * This value is used if a service returns a value for this enum that is not recognized by this
26
+ * version of the SDK.
27
+ */
28
+ Type["UnknownValue"] = "UNKNOWN_VALUE";
29
+ })(Type = ResourceLock.Type || (ResourceLock.Type = {}));
30
+ function getJsonObj(obj) {
31
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
32
+ return jsonObj;
33
+ }
34
+ ResourceLock.getJsonObj = getJsonObj;
35
+ function getDeserializedJsonObj(obj) {
36
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
37
+ return jsonObj;
38
+ }
39
+ ResourceLock.getDeserializedJsonObj = getDeserializedJsonObj;
40
+ })(ResourceLock = exports.ResourceLock || (exports.ResourceLock = {}));
41
+ //# sourceMappingURL=resource-lock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resource-lock.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/resource-lock.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAiCH,IAAiB,YAAY,CAqB5B;AArBD,WAAiB,YAAY;IAC3B,IAAY,IAQX;IARD,WAAY,IAAI;QACd,qBAAa,CAAA;QACb,yBAAiB,CAAA;QACjB;;;WAGG;QACH,sCAA8B,CAAA;IAChC,CAAC,EARW,IAAI,GAAJ,iBAAI,KAAJ,iBAAI,QAQf;IAED,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mCAAsB,yBAIrC,CAAA;AACH,CAAC,EArBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAqB5B"}
@@ -12,6 +12,7 @@ For more information, see [Overview of File Storage](/iaas/Content/File/Concepts
12
12
  * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
13
13
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
14
14
  */
15
+ import * as model from "../model";
15
16
  /**
16
17
  * Summary information for a snapshot.
17
18
  *
@@ -47,6 +48,10 @@ export interface SnapshotSummary {
47
48
  *
48
49
  */
49
50
  "timeCreated": Date;
51
+ /**
52
+ * Locks associated with this resource.
53
+ */
54
+ "locks"?: Array<model.ResourceLock>;
50
55
  /**
51
56
  * Specifies the generation type of the snapshot.
52
57
  *
@@ -13,8 +13,28 @@ For more information, see [Overview of File Storage](/iaas/Content/File/Concepts
13
13
  * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
14
14
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
15
15
  */
16
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
17
+ if (k2 === undefined) k2 = k;
18
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
19
+ }) : (function(o, m, k, k2) {
20
+ if (k2 === undefined) k2 = k;
21
+ o[k2] = m[k];
22
+ }));
23
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
24
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
25
+ }) : function(o, v) {
26
+ o["default"] = v;
27
+ });
28
+ var __importStar = (this && this.__importStar) || function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
16
35
  Object.defineProperty(exports, "__esModule", { value: true });
17
36
  exports.SnapshotSummary = void 0;
37
+ const model = __importStar(require("../model"));
18
38
  var SnapshotSummary;
19
39
  (function (SnapshotSummary) {
20
40
  let LifecycleState;
@@ -41,12 +61,24 @@ var SnapshotSummary;
41
61
  SnapshotType["UnknownValue"] = "UNKNOWN_VALUE";
42
62
  })(SnapshotType = SnapshotSummary.SnapshotType || (SnapshotSummary.SnapshotType = {}));
43
63
  function getJsonObj(obj) {
44
- const jsonObj = Object.assign(Object.assign({}, obj), {});
64
+ const jsonObj = Object.assign(Object.assign({}, obj), {
65
+ "locks": obj.locks
66
+ ? obj.locks.map(item => {
67
+ return model.ResourceLock.getJsonObj(item);
68
+ })
69
+ : undefined
70
+ });
45
71
  return jsonObj;
46
72
  }
47
73
  SnapshotSummary.getJsonObj = getJsonObj;
48
74
  function getDeserializedJsonObj(obj) {
49
- const jsonObj = Object.assign(Object.assign({}, obj), {});
75
+ const jsonObj = Object.assign(Object.assign({}, obj), {
76
+ "locks": obj.locks
77
+ ? obj.locks.map(item => {
78
+ return model.ResourceLock.getDeserializedJsonObj(item);
79
+ })
80
+ : undefined
81
+ });
50
82
  return jsonObj;
51
83
  }
52
84
  SnapshotSummary.getDeserializedJsonObj = getDeserializedJsonObj;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot-summary.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/snapshot-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAiGH,IAAiB,eAAe,CAkC/B;AAlCD,WAAiB,eAAe;IAC9B,IAAY,cAUX;IAVD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAVW,cAAc,GAAd,8BAAc,KAAd,8BAAc,QAUzB;IAED,IAAY,YASX;IATD,WAAY,YAAY;QACtB,6BAAa,CAAA;QACb,4CAA4B,CAAA;QAC5B,2CAA2B,CAAA;QAC3B;;;WAGG;QACH,8CAA8B,CAAA;IAChC,CAAC,EATW,YAAY,GAAZ,4BAAY,KAAZ,4BAAY,QASvB;IAED,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAsB,yBAIrC,CAAA;AACH,CAAC,EAlCgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAkC/B"}
1
+ {"version":3,"file":"snapshot-summary.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/snapshot-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmGlC,IAAiB,eAAe,CAoD/B;AApDD,WAAiB,eAAe;IAC9B,IAAY,cAUX;IAVD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAVW,cAAc,GAAd,8BAAc,KAAd,8BAAc,QAUzB;IAED,IAAY,YASX;IATD,WAAY,YAAY;QACtB,6BAAa,CAAA;QACb,4CAA4B,CAAA;QAC5B,2CAA2B,CAAA;QAC3B;;;WAGG;QACH,8CAA8B,CAAA;IAChC,CAAC,EATW,YAAY,GAAZ,4BAAY,KAAZ,4BAAY,QASvB;IAED,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sCAAsB,yBAarC,CAAA;AACH,CAAC,EApDgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAoD/B"}
@@ -12,6 +12,7 @@ For more information, see [Overview of File Storage](/iaas/Content/File/Concepts
12
12
  * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
13
13
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
14
14
  */
15
+ import * as model from "../model";
15
16
  /**
16
17
  * A point-in-time snapshot of a specified file system.
17
18
  *
@@ -84,6 +85,10 @@ export interface Snapshot {
84
85
  * Additional information about the current {@code lifecycleState}.
85
86
  */
86
87
  "lifecycleDetails"?: string;
88
+ /**
89
+ * Locks associated with this resource.
90
+ */
91
+ "locks"?: Array<model.ResourceLock>;
87
92
  /**
88
93
  * Free-form tags for this resource. Each tag is a simple key-value pair
89
94
  * with no predefined name, type, or namespace.
@@ -13,8 +13,28 @@ For more information, see [Overview of File Storage](/iaas/Content/File/Concepts
13
13
  * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
14
14
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
15
15
  */
16
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
17
+ if (k2 === undefined) k2 = k;
18
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
19
+ }) : (function(o, m, k, k2) {
20
+ if (k2 === undefined) k2 = k;
21
+ o[k2] = m[k];
22
+ }));
23
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
24
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
25
+ }) : function(o, v) {
26
+ o["default"] = v;
27
+ });
28
+ var __importStar = (this && this.__importStar) || function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
16
35
  Object.defineProperty(exports, "__esModule", { value: true });
17
36
  exports.Snapshot = void 0;
37
+ const model = __importStar(require("../model"));
18
38
  var Snapshot;
19
39
  (function (Snapshot) {
20
40
  let LifecycleState;
@@ -41,12 +61,24 @@ var Snapshot;
41
61
  SnapshotType["UnknownValue"] = "UNKNOWN_VALUE";
42
62
  })(SnapshotType = Snapshot.SnapshotType || (Snapshot.SnapshotType = {}));
43
63
  function getJsonObj(obj) {
44
- const jsonObj = Object.assign(Object.assign({}, obj), {});
64
+ const jsonObj = Object.assign(Object.assign({}, obj), {
65
+ "locks": obj.locks
66
+ ? obj.locks.map(item => {
67
+ return model.ResourceLock.getJsonObj(item);
68
+ })
69
+ : undefined
70
+ });
45
71
  return jsonObj;
46
72
  }
47
73
  Snapshot.getJsonObj = getJsonObj;
48
74
  function getDeserializedJsonObj(obj) {
49
- const jsonObj = Object.assign(Object.assign({}, obj), {});
75
+ const jsonObj = Object.assign(Object.assign({}, obj), {
76
+ "locks": obj.locks
77
+ ? obj.locks.map(item => {
78
+ return model.ResourceLock.getDeserializedJsonObj(item);
79
+ })
80
+ : undefined
81
+ });
50
82
  return jsonObj;
51
83
  }
52
84
  Snapshot.getDeserializedJsonObj = getDeserializedJsonObj;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/snapshot.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAuGH,IAAiB,QAAQ,CAkCxB;AAlCD,WAAiB,QAAQ;IACvB,IAAY,cAUX;IAVD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAVW,cAAc,GAAd,uBAAc,KAAd,uBAAc,QAUzB;IAED,IAAY,YASX;IATD,WAAY,YAAY;QACtB,6BAAa,CAAA;QACb,4CAA4B,CAAA;QAC5B,2CAA2B,CAAA;QAC3B;;;WAGG;QACH,8CAA8B,CAAA;IAChC,CAAC,EATW,YAAY,GAAZ,qBAAY,KAAZ,qBAAY,QASvB;IAED,SAAgB,UAAU,CAAC,GAAa;QACtC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAa;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAsB,yBAIrC,CAAA;AACH,CAAC,EAlCgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAkCxB"}
1
+ {"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/snapshot.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyGlC,IAAiB,QAAQ,CAoDxB;AApDD,WAAiB,QAAQ;IACvB,IAAY,cAUX;IAVD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAVW,cAAc,GAAd,uBAAc,KAAd,uBAAc,QAUzB;IAED,IAAY,YASX;IATD,WAAY,YAAY;QACtB,6BAAa,CAAA;QACb,4CAA4B,CAAA;QAC5B,2CAA2B,CAAA;QAC3B;;;WAGG;QACH,8CAA8B,CAAA;IAChC,CAAC,EATW,YAAY,GAAZ,qBAAY,KAAZ,qBAAY,QASvB;IAED,SAAgB,UAAU,CAAC,GAAa;QACtC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAa;QAClD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,+BAAsB,yBAarC,CAAA;AACH,CAAC,EApDgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAoDxB"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20171215
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/AddExportLock.ts.html |here} to see how to use AddExportLockRequest.
17
+ */
18
+ export interface AddExportLockRequest extends common.BaseRequest {
19
+ /**
20
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export.
21
+ */
22
+ "exportId": string;
23
+ /**
24
+ * The details to be updated for the AddLock.
25
+ */
26
+ "addExportLockDetails": model.ResourceLock;
27
+ /**
28
+ * For optimistic concurrency control. In the PUT or DELETE call
29
+ * for a resource, set the {@code if-match} parameter to the value of the
30
+ * etag from a previous GET or POST response for that resource.
31
+ * The resource will be updated or deleted only if the etag you
32
+ * provide matches the resource's current etag value.
33
+ *
34
+ */
35
+ "ifMatch"?: string;
36
+ /**
37
+ * Unique identifier for the request.
38
+ * If you need to contact Oracle about a particular request, please provide the request ID.
39
+ *
40
+ */
41
+ "opcRequestId"?: string;
42
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20171215
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=add-export-lock-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-export-lock-request.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/request/add-export-lock-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20171215
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/AddFileSystemLock.ts.html |here} to see how to use AddFileSystemLockRequest.
17
+ */
18
+ export interface AddFileSystemLockRequest extends common.BaseRequest {
19
+ /**
20
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system.
21
+ */
22
+ "fileSystemId": string;
23
+ /**
24
+ * The details to be updated for the AddLock.
25
+ */
26
+ "addFileSystemLockDetails": model.ResourceLock;
27
+ /**
28
+ * For optimistic concurrency control. In the PUT or DELETE call
29
+ * for a resource, set the {@code if-match} parameter to the value of the
30
+ * etag from a previous GET or POST response for that resource.
31
+ * The resource will be updated or deleted only if the etag you
32
+ * provide matches the resource's current etag value.
33
+ *
34
+ */
35
+ "ifMatch"?: string;
36
+ /**
37
+ * Unique identifier for the request.
38
+ * If you need to contact Oracle about a particular request, please provide the request ID.
39
+ *
40
+ */
41
+ "opcRequestId"?: string;
42
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20171215
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=add-file-system-lock-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-file-system-lock-request.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/request/add-file-system-lock-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20171215
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/AddFilesystemSnapshotPolicyLock.ts.html |here} to see how to use AddFilesystemSnapshotPolicyLockRequest.
17
+ */
18
+ export interface AddFilesystemSnapshotPolicyLockRequest extends common.BaseRequest {
19
+ /**
20
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy.
21
+ */
22
+ "filesystemSnapshotPolicyId": string;
23
+ /**
24
+ * The details to be updated for the AddLock.
25
+ */
26
+ "addFilesystemSnapshotPolicyLockDetails": model.ResourceLock;
27
+ /**
28
+ * For optimistic concurrency control. In the PUT or DELETE call
29
+ * for a resource, set the {@code if-match} parameter to the value of the
30
+ * etag from a previous GET or POST response for that resource.
31
+ * The resource will be updated or deleted only if the etag you
32
+ * provide matches the resource's current etag value.
33
+ *
34
+ */
35
+ "ifMatch"?: string;
36
+ /**
37
+ * Unique identifier for the request.
38
+ * If you need to contact Oracle about a particular request, please provide the request ID.
39
+ *
40
+ */
41
+ "opcRequestId"?: string;
42
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20171215
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=add-filesystem-snapshot-policy-lock-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-filesystem-snapshot-policy-lock-request.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/request/add-filesystem-snapshot-policy-lock-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20171215
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/AddMountTargetLock.ts.html |here} to see how to use AddMountTargetLockRequest.
17
+ */
18
+ export interface AddMountTargetLockRequest extends common.BaseRequest {
19
+ /**
20
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target.
21
+ */
22
+ "mountTargetId": string;
23
+ /**
24
+ * The details to be updated for the AddLock.
25
+ */
26
+ "addMountTargetLockDetails": model.ResourceLock;
27
+ /**
28
+ * For optimistic concurrency control. In the PUT or DELETE call
29
+ * for a resource, set the {@code if-match} parameter to the value of the
30
+ * etag from a previous GET or POST response for that resource.
31
+ * The resource will be updated or deleted only if the etag you
32
+ * provide matches the resource's current etag value.
33
+ *
34
+ */
35
+ "ifMatch"?: string;
36
+ /**
37
+ * Unique identifier for the request.
38
+ * If you need to contact Oracle about a particular request, please provide the request ID.
39
+ *
40
+ */
41
+ "opcRequestId"?: string;
42
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20171215
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=add-mount-target-lock-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-mount-target-lock-request.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/request/add-mount-target-lock-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20171215
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/AddOutboundConnectorLock.ts.html |here} to see how to use AddOutboundConnectorLockRequest.
17
+ */
18
+ export interface AddOutboundConnectorLockRequest extends common.BaseRequest {
19
+ /**
20
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector.
21
+ */
22
+ "outboundConnectorId": string;
23
+ /**
24
+ * The details to be updated for the AddLock.
25
+ */
26
+ "addOutboundConnectorLockDetails": model.ResourceLock;
27
+ /**
28
+ * For optimistic concurrency control. In the PUT or DELETE call
29
+ * for a resource, set the {@code if-match} parameter to the value of the
30
+ * etag from a previous GET or POST response for that resource.
31
+ * The resource will be updated or deleted only if the etag you
32
+ * provide matches the resource's current etag value.
33
+ *
34
+ */
35
+ "ifMatch"?: string;
36
+ /**
37
+ * Unique identifier for the request.
38
+ * If you need to contact Oracle about a particular request, please provide the request ID.
39
+ *
40
+ */
41
+ "opcRequestId"?: string;
42
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20171215
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=add-outbound-connector-lock-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-outbound-connector-lock-request.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/request/add-outbound-connector-lock-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20171215
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/filestorage/AddReplicationLock.ts.html |here} to see how to use AddReplicationLockRequest.
17
+ */
18
+ export interface AddReplicationLockRequest extends common.BaseRequest {
19
+ /**
20
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication.
21
+ */
22
+ "replicationId": string;
23
+ /**
24
+ * The details to be updated for the AddLock.
25
+ */
26
+ "addReplicationLockDetails": model.ResourceLock;
27
+ /**
28
+ * For optimistic concurrency control. In the PUT or DELETE call
29
+ * for a resource, set the {@code if-match} parameter to the value of the
30
+ * etag from a previous GET or POST response for that resource.
31
+ * The resource will be updated or deleted only if the etag you
32
+ * provide matches the resource's current etag value.
33
+ *
34
+ */
35
+ "ifMatch"?: string;
36
+ /**
37
+ * Unique identifier for the request.
38
+ * If you need to contact Oracle about a particular request, please provide the request ID.
39
+ *
40
+ */
41
+ "opcRequestId"?: string;
42
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20171215
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=add-replication-lock-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-replication-lock-request.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/request/add-replication-lock-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}