oci-filestorage 2.63.0 → 2.65.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 (178) hide show
  1. package/LICENSE.txt +6 -6
  2. package/lib/client.d.ts +170 -44
  3. package/lib/client.js +545 -44
  4. package/lib/client.js.map +1 -1
  5. package/lib/filestorage-waiter.d.ts +8 -0
  6. package/lib/filestorage-waiter.js +12 -0
  7. package/lib/filestorage-waiter.js.map +1 -1
  8. package/lib/model/change-outbound-connector-compartment-details.d.ts +29 -0
  9. package/lib/model/change-outbound-connector-compartment-details.js +31 -0
  10. package/lib/model/change-outbound-connector-compartment-details.js.map +1 -0
  11. package/lib/model/client-options.d.ts +21 -0
  12. package/lib/model/client-options.js +12 -0
  13. package/lib/model/client-options.js.map +1 -1
  14. package/lib/model/create-export-details.d.ts +4 -0
  15. package/lib/model/create-export-details.js.map +1 -1
  16. package/lib/model/create-kerberos-details.d.ts +44 -0
  17. package/lib/model/create-kerberos-details.js +31 -0
  18. package/lib/model/create-kerberos-details.js.map +1 -0
  19. package/lib/model/create-ldap-bind-account-details.d.ts +45 -0
  20. package/lib/model/create-ldap-bind-account-details.js +68 -0
  21. package/lib/model/create-ldap-bind-account-details.js.map +1 -0
  22. package/lib/model/create-ldap-idmap-details.d.ts +65 -0
  23. package/lib/model/create-ldap-idmap-details.js +35 -0
  24. package/lib/model/create-ldap-idmap-details.js.map +1 -0
  25. package/lib/model/create-mount-target-details.d.ts +7 -0
  26. package/lib/model/create-mount-target-details.js +34 -2
  27. package/lib/model/create-mount-target-details.js.map +1 -1
  28. package/lib/model/create-outbound-connector-details.d.ts +65 -0
  29. package/lib/model/create-outbound-connector-details.js +70 -0
  30. package/lib/model/create-outbound-connector-details.js.map +1 -0
  31. package/lib/model/endpoint.d.ts +32 -0
  32. package/lib/model/endpoint.js +31 -0
  33. package/lib/model/endpoint.js.map +1 -0
  34. package/lib/model/export-summary.d.ts +4 -0
  35. package/lib/model/export-summary.js.map +1 -1
  36. package/lib/model/export.d.ts +4 -0
  37. package/lib/model/export.js.map +1 -1
  38. package/lib/model/file-system.d.ts +1 -1
  39. package/lib/model/index.d.ts +38 -0
  40. package/lib/model/index.js +40 -1
  41. package/lib/model/index.js.map +1 -1
  42. package/lib/model/kerberos-keytab-entry.d.ts +52 -0
  43. package/lib/model/kerberos-keytab-entry.js +43 -0
  44. package/lib/model/kerberos-keytab-entry.js.map +1 -0
  45. package/lib/model/kerberos.d.ts +44 -0
  46. package/lib/model/kerberos.js +31 -0
  47. package/lib/model/kerberos.js.map +1 -0
  48. package/lib/model/key-tab-secret-details.d.ts +35 -0
  49. package/lib/model/key-tab-secret-details.js +31 -0
  50. package/lib/model/key-tab-secret-details.js.map +1 -0
  51. package/lib/model/ldap-bind-account-summary.d.ts +36 -0
  52. package/lib/model/ldap-bind-account-summary.js +68 -0
  53. package/lib/model/ldap-bind-account-summary.js.map +1 -0
  54. package/lib/model/ldap-bind-account.d.ts +44 -0
  55. package/lib/model/ldap-bind-account.js +66 -0
  56. package/lib/model/ldap-bind-account.js.map +1 -0
  57. package/lib/model/ldap-idmap.d.ts +70 -0
  58. package/lib/model/ldap-idmap.js +40 -0
  59. package/lib/model/ldap-idmap.js.map +1 -0
  60. package/lib/model/mount-target.d.ts +16 -0
  61. package/lib/model/mount-target.js +40 -2
  62. package/lib/model/mount-target.js.map +1 -1
  63. package/lib/model/outbound-connector-summary.d.ts +92 -0
  64. package/lib/model/outbound-connector-summary.js +82 -0
  65. package/lib/model/outbound-connector-summary.js.map +1 -0
  66. package/lib/model/outbound-connector.d.ts +94 -0
  67. package/lib/model/outbound-connector.js +82 -0
  68. package/lib/model/outbound-connector.js.map +1 -0
  69. package/lib/model/update-export-details.d.ts +4 -0
  70. package/lib/model/update-export-details.js.map +1 -1
  71. package/lib/model/update-kerberos-details.d.ts +44 -0
  72. package/lib/model/update-kerberos-details.js +31 -0
  73. package/lib/model/update-kerberos-details.js.map +1 -0
  74. package/lib/model/update-ldap-idmap-details.d.ts +65 -0
  75. package/lib/model/update-ldap-idmap-details.js +35 -0
  76. package/lib/model/update-ldap-idmap-details.js.map +1 -0
  77. package/lib/model/update-mount-target-details.d.ts +7 -0
  78. package/lib/model/update-mount-target-details.js +34 -2
  79. package/lib/model/update-mount-target-details.js.map +1 -1
  80. package/lib/model/update-outbound-connector-details.d.ts +52 -0
  81. package/lib/model/update-outbound-connector-details.js +31 -0
  82. package/lib/model/update-outbound-connector-details.js.map +1 -0
  83. package/lib/model/validate-key-tabs-details.d.ts +29 -0
  84. package/lib/model/validate-key-tabs-details.js +59 -0
  85. package/lib/model/validate-key-tabs-details.js.map +1 -0
  86. package/lib/model/validate-key-tabs-response-details.d.ts +32 -0
  87. package/lib/model/validate-key-tabs-response-details.js +73 -0
  88. package/lib/model/validate-key-tabs-response-details.js.map +1 -0
  89. package/lib/request/change-file-system-compartment-request.d.ts +1 -1
  90. package/lib/request/change-filesystem-snapshot-policy-compartment-request.d.ts +1 -1
  91. package/lib/request/change-mount-target-compartment-request.d.ts +1 -1
  92. package/lib/request/change-outbound-connector-compartment-request.d.ts +42 -0
  93. package/lib/request/change-outbound-connector-compartment-request.js +15 -0
  94. package/lib/request/change-outbound-connector-compartment-request.js.map +1 -0
  95. package/lib/request/change-replication-compartment-request.d.ts +1 -1
  96. package/lib/request/create-export-request.d.ts +1 -1
  97. package/lib/request/create-file-system-request.d.ts +1 -1
  98. package/lib/request/create-filesystem-snapshot-policy-request.d.ts +1 -1
  99. package/lib/request/create-mount-target-request.d.ts +1 -1
  100. package/lib/request/create-outbound-connector-request.d.ts +38 -0
  101. package/lib/request/create-outbound-connector-request.js +15 -0
  102. package/lib/request/create-outbound-connector-request.js.map +1 -0
  103. package/lib/request/create-replication-request.d.ts +1 -1
  104. package/lib/request/create-snapshot-request.d.ts +1 -1
  105. package/lib/request/delete-export-request.d.ts +1 -1
  106. package/lib/request/delete-file-system-request.d.ts +1 -1
  107. package/lib/request/delete-filesystem-snapshot-policy-request.d.ts +1 -1
  108. package/lib/request/delete-mount-target-request.d.ts +1 -1
  109. package/lib/request/delete-outbound-connector-request.d.ts +37 -0
  110. package/lib/request/delete-outbound-connector-request.js +15 -0
  111. package/lib/request/delete-outbound-connector-request.js.map +1 -0
  112. package/lib/request/delete-replication-request.d.ts +1 -1
  113. package/lib/request/delete-replication-target-request.d.ts +1 -1
  114. package/lib/request/delete-snapshot-request.d.ts +1 -1
  115. package/lib/request/estimate-replication-request.d.ts +1 -1
  116. package/lib/request/get-export-request.d.ts +1 -1
  117. package/lib/request/get-export-set-request.d.ts +1 -1
  118. package/lib/request/get-file-system-request.d.ts +1 -1
  119. package/lib/request/get-filesystem-snapshot-policy-request.d.ts +1 -1
  120. package/lib/request/get-mount-target-request.d.ts +1 -1
  121. package/lib/request/get-outbound-connector-request.d.ts +28 -0
  122. package/lib/request/get-outbound-connector-request.js +15 -0
  123. package/lib/request/get-outbound-connector-request.js.map +1 -0
  124. package/lib/request/get-replication-request.d.ts +1 -1
  125. package/lib/request/get-replication-target-request.d.ts +1 -1
  126. package/lib/request/get-snapshot-request.d.ts +1 -1
  127. package/lib/request/index.d.ts +14 -0
  128. package/lib/request/index.js +3 -1
  129. package/lib/request/index.js.map +1 -1
  130. package/lib/request/list-export-sets-request.d.ts +1 -1
  131. package/lib/request/list-exports-request.d.ts +1 -1
  132. package/lib/request/list-file-systems-request.d.ts +1 -1
  133. package/lib/request/list-filesystem-snapshot-policies-request.d.ts +1 -1
  134. package/lib/request/list-mount-targets-request.d.ts +1 -1
  135. package/lib/request/list-outbound-connectors-request.d.ts +107 -0
  136. package/lib/request/list-outbound-connectors-request.js +37 -0
  137. package/lib/request/list-outbound-connectors-request.js.map +1 -0
  138. package/lib/request/list-replication-targets-request.d.ts +1 -1
  139. package/lib/request/list-replications-request.d.ts +1 -1
  140. package/lib/request/list-snapshots-request.d.ts +1 -1
  141. package/lib/request/pause-filesystem-snapshot-policy-request.d.ts +1 -1
  142. package/lib/request/unpause-filesystem-snapshot-policy-request.d.ts +1 -1
  143. package/lib/request/update-export-request.d.ts +1 -1
  144. package/lib/request/update-export-set-request.d.ts +1 -1
  145. package/lib/request/update-file-system-request.d.ts +1 -1
  146. package/lib/request/update-filesystem-snapshot-policy-request.d.ts +1 -1
  147. package/lib/request/update-mount-target-request.d.ts +1 -1
  148. package/lib/request/update-outbound-connector-request.d.ts +42 -0
  149. package/lib/request/update-outbound-connector-request.js +15 -0
  150. package/lib/request/update-outbound-connector-request.js.map +1 -0
  151. package/lib/request/update-replication-request.d.ts +1 -1
  152. package/lib/request/update-snapshot-request.d.ts +1 -1
  153. package/lib/request/validate-key-tabs-request.d.ts +29 -0
  154. package/lib/request/validate-key-tabs-request.js +15 -0
  155. package/lib/request/validate-key-tabs-request.js.map +1 -0
  156. package/lib/response/change-outbound-connector-compartment-response.d.ts +18 -0
  157. package/lib/response/change-outbound-connector-compartment-response.js +15 -0
  158. package/lib/response/change-outbound-connector-compartment-response.js.map +1 -0
  159. package/lib/response/create-outbound-connector-response.d.ts +30 -0
  160. package/lib/response/create-outbound-connector-response.js +15 -0
  161. package/lib/response/create-outbound-connector-response.js.map +1 -0
  162. package/lib/response/delete-outbound-connector-response.d.ts +21 -0
  163. package/lib/response/delete-outbound-connector-response.js +15 -0
  164. package/lib/response/delete-outbound-connector-response.js.map +1 -0
  165. package/lib/response/get-outbound-connector-response.d.ts +30 -0
  166. package/lib/response/get-outbound-connector-response.js +15 -0
  167. package/lib/response/get-outbound-connector-response.js.map +1 -0
  168. package/lib/response/index.d.ts +14 -0
  169. package/lib/response/list-outbound-connectors-response.d.ts +35 -0
  170. package/lib/response/list-outbound-connectors-response.js +15 -0
  171. package/lib/response/list-outbound-connectors-response.js.map +1 -0
  172. package/lib/response/update-outbound-connector-response.d.ts +30 -0
  173. package/lib/response/update-outbound-connector-response.js +15 -0
  174. package/lib/response/update-outbound-connector-response.js.map +1 -0
  175. package/lib/response/validate-key-tabs-response.d.ts +23 -0
  176. package/lib/response/validate-key-tabs-response.js +15 -0
  177. package/lib/response/validate-key-tabs-response.js.map +1 -0
  178. package/package.json +3 -3
@@ -0,0 +1,66 @@
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, 2023, 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
+ 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
+ };
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.LdapBindAccount = void 0;
37
+ const model = __importStar(require("../model"));
38
+ var LdapBindAccount;
39
+ (function (LdapBindAccount) {
40
+ function getJsonObj(obj, isParentJsonObj) {
41
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.OutboundConnector.getJsonObj(obj))), {
42
+ "endpoints": obj.endpoints
43
+ ? obj.endpoints.map(item => {
44
+ return model.Endpoint.getJsonObj(item);
45
+ })
46
+ : undefined
47
+ });
48
+ return jsonObj;
49
+ }
50
+ LdapBindAccount.getJsonObj = getJsonObj;
51
+ LdapBindAccount.connectorType = "LDAPBIND";
52
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
53
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
54
+ ? obj
55
+ : model.OutboundConnector.getDeserializedJsonObj(obj))), {
56
+ "endpoints": obj.endpoints
57
+ ? obj.endpoints.map(item => {
58
+ return model.Endpoint.getDeserializedJsonObj(item);
59
+ })
60
+ : undefined
61
+ });
62
+ return jsonObj;
63
+ }
64
+ LdapBindAccount.getDeserializedJsonObj = getDeserializedJsonObj;
65
+ })(LdapBindAccount = exports.LdapBindAccount || (exports.LdapBindAccount = {}));
66
+ //# sourceMappingURL=ldap-bind-account.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ldap-bind-account.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/ldap-bind-account.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6BlC,IAAiB,eAAe,CAgC/B;AAhCD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB,EAAE,eAAyB;QACxE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,GAAG,CAAqB,CAAC,GACtF;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACzC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0BAAU,aAazB,CAAA;IACY,6BAAa,GAAG,UAAU,CAAC;IACxC,SAAgB,sBAAsB,CAAC,GAAoB,EAAE,eAAyB;QACpF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,CAAqB,CAAC,GAC1E;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACrD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,sCAAsB,yBAerC,CAAA;AACH,CAAC,EAhCgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAgC/B"}
@@ -0,0 +1,70 @@
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, 2023, 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
+ * Mount target details about the LDAP ID mapping configuration.
17
+ *
18
+ */
19
+ export interface LdapIdmap {
20
+ /**
21
+ * Schema type of the LDAP account.
22
+ */
23
+ "schemaType"?: LdapIdmap.SchemaType;
24
+ /**
25
+ * The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
26
+ */
27
+ "cacheRefreshIntervalSeconds"?: number;
28
+ /**
29
+ * The maximum amount of time the mount target is allowed to use a cached entry. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
30
+ */
31
+ "cacheLifetimeSeconds"?: number;
32
+ /**
33
+ * The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
34
+ */
35
+ "negativeCacheLifetimeSeconds"?: number;
36
+ /**
37
+ * All LDAP searches are recursive starting at this user.
38
+ * <p>
39
+ Example: `CN=User,DC=domain,DC=com`
40
+ *
41
+ */
42
+ "userSearchBase"?: string;
43
+ /**
44
+ * All LDAP searches are recursive starting at this group.
45
+ * <p>
46
+ Example: `CN=Group,DC=domain,DC=com`
47
+ *
48
+ */
49
+ "groupSearchBase"?: string;
50
+ /**
51
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the first connector to use to communicate with the LDAP server.
52
+ */
53
+ "outboundConnector1Id"?: string;
54
+ /**
55
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the second connector to use to communicate with the LDAP server.
56
+ */
57
+ "outboundConnector2Id"?: string;
58
+ }
59
+ export declare namespace LdapIdmap {
60
+ enum SchemaType {
61
+ Rfc2307 = "RFC2307",
62
+ /**
63
+ * This value is used if a service returns a value for this enum that is not recognized by this
64
+ * version of the SDK.
65
+ */
66
+ UnknownValue = "UNKNOWN_VALUE"
67
+ }
68
+ function getJsonObj(obj: LdapIdmap): object;
69
+ function getDeserializedJsonObj(obj: LdapIdmap): object;
70
+ }
@@ -0,0 +1,40 @@
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, 2023, 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.LdapIdmap = void 0;
18
+ var LdapIdmap;
19
+ (function (LdapIdmap) {
20
+ let SchemaType;
21
+ (function (SchemaType) {
22
+ SchemaType["Rfc2307"] = "RFC2307";
23
+ /**
24
+ * This value is used if a service returns a value for this enum that is not recognized by this
25
+ * version of the SDK.
26
+ */
27
+ SchemaType["UnknownValue"] = "UNKNOWN_VALUE";
28
+ })(SchemaType = LdapIdmap.SchemaType || (LdapIdmap.SchemaType = {}));
29
+ function getJsonObj(obj) {
30
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
31
+ return jsonObj;
32
+ }
33
+ LdapIdmap.getJsonObj = getJsonObj;
34
+ function getDeserializedJsonObj(obj) {
35
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
36
+ return jsonObj;
37
+ }
38
+ LdapIdmap.getDeserializedJsonObj = getDeserializedJsonObj;
39
+ })(LdapIdmap = exports.LdapIdmap || (exports.LdapIdmap = {}));
40
+ //# sourceMappingURL=ldap-idmap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ldap-idmap.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/ldap-idmap.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAkDH,IAAiB,SAAS,CAoBzB;AApBD,WAAiB,SAAS;IACxB,IAAY,UAOX;IAPD,WAAY,UAAU;QACpB,iCAAmB,CAAA;QACnB;;;WAGG;QACH,4CAA8B,CAAA;IAChC,CAAC,EAPW,UAAU,GAAV,oBAAU,KAAV,oBAAU,QAOrB;IAED,SAAgB,UAAU,CAAC,GAAc;QACvC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAc;QACnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gCAAsB,yBAIrC,CAAA;AACH,CAAC,EApBgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAoBzB"}
@@ -12,6 +12,7 @@ For more information, see [Overview of File Storage](/iaas/Content/File/Concepts
12
12
  * Copyright (c) 2020, 2023, 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
  * Provides access to a collection of file systems through one or more VNICs on a
17
18
  * specified subnet. The set of file systems is controlled through the
@@ -66,6 +67,11 @@ export interface MountTarget {
66
67
  * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet the mount target is in.
67
68
  */
68
69
  "subnetId": string;
70
+ /**
71
+ * The method used to map a Unix UID to secondary groups. If NONE, the mount target will not use the Unix UID for ID mapping.
72
+ */
73
+ "idmapType"?: MountTarget.IdmapType;
74
+ "ldapIdmap"?: model.LdapIdmap;
69
75
  /**
70
76
  * A list of Network Security Group [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with this mount target.
71
77
  * A maximum of 5 is allowed.
@@ -74,6 +80,7 @@ export interface MountTarget {
74
80
  *
75
81
  */
76
82
  "nsgIds"?: Array<string>;
83
+ "kerberos"?: model.Kerberos;
77
84
  /**
78
85
  * The date and time the mount target was created, expressed
79
86
  * in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
@@ -117,6 +124,15 @@ export declare namespace MountTarget {
117
124
  */
118
125
  UnknownValue = "UNKNOWN_VALUE"
119
126
  }
127
+ enum IdmapType {
128
+ Ldap = "LDAP",
129
+ None = "NONE",
130
+ /**
131
+ * This value is used if a service returns a value for this enum that is not recognized by this
132
+ * version of the SDK.
133
+ */
134
+ UnknownValue = "UNKNOWN_VALUE"
135
+ }
120
136
  function getJsonObj(obj: MountTarget): object;
121
137
  function getDeserializedJsonObj(obj: MountTarget): object;
122
138
  }
@@ -13,8 +13,28 @@ For more information, see [Overview of File Storage](/iaas/Content/File/Concepts
13
13
  * Copyright (c) 2020, 2023, 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.MountTarget = void 0;
37
+ const model = __importStar(require("../model"));
18
38
  var MountTarget;
19
39
  (function (MountTarget) {
20
40
  let LifecycleState;
@@ -30,13 +50,31 @@ var MountTarget;
30
50
  */
31
51
  LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
32
52
  })(LifecycleState = MountTarget.LifecycleState || (MountTarget.LifecycleState = {}));
53
+ let IdmapType;
54
+ (function (IdmapType) {
55
+ IdmapType["Ldap"] = "LDAP";
56
+ IdmapType["None"] = "NONE";
57
+ /**
58
+ * This value is used if a service returns a value for this enum that is not recognized by this
59
+ * version of the SDK.
60
+ */
61
+ IdmapType["UnknownValue"] = "UNKNOWN_VALUE";
62
+ })(IdmapType = MountTarget.IdmapType || (MountTarget.IdmapType = {}));
33
63
  function getJsonObj(obj) {
34
- const jsonObj = Object.assign(Object.assign({}, obj), {});
64
+ const jsonObj = Object.assign(Object.assign({}, obj), {
65
+ "ldapIdmap": obj.ldapIdmap ? model.LdapIdmap.getJsonObj(obj.ldapIdmap) : undefined,
66
+ "kerberos": obj.kerberos ? model.Kerberos.getJsonObj(obj.kerberos) : undefined
67
+ });
35
68
  return jsonObj;
36
69
  }
37
70
  MountTarget.getJsonObj = getJsonObj;
38
71
  function getDeserializedJsonObj(obj) {
39
- const jsonObj = Object.assign(Object.assign({}, obj), {});
72
+ const jsonObj = Object.assign(Object.assign({}, obj), {
73
+ "ldapIdmap": obj.ldapIdmap
74
+ ? model.LdapIdmap.getDeserializedJsonObj(obj.ldapIdmap)
75
+ : undefined,
76
+ "kerberos": obj.kerberos ? model.Kerberos.getDeserializedJsonObj(obj.kerberos) : undefined
77
+ });
40
78
  return jsonObj;
41
79
  }
42
80
  MountTarget.getDeserializedJsonObj = getDeserializedJsonObj;
@@ -1 +1 @@
1
- {"version":3,"file":"mount-target.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/mount-target.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AA4FH,IAAiB,WAAW,CAwB3B;AAxBD,WAAiB,WAAW;IAC1B,IAAY,cAWX;IAXD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAXW,cAAc,GAAd,0BAAc,KAAd,0BAAc,QAWzB;IAED,SAAgB,UAAU,CAAC,GAAgB;QACzC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kCAAsB,yBAIrC,CAAA;AACH,CAAC,EAxBgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAwB3B"}
1
+ {"version":3,"file":"mount-target.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/mount-target.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgGlC,IAAiB,WAAW,CAkD3B;AAlDD,WAAiB,WAAW;IAC1B,IAAY,cAWX;IAXD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAXW,cAAc,GAAd,0BAAc,KAAd,0BAAc,QAWzB;IAED,IAAY,SAQX;IARD,WAAY,SAAS;QACnB,0BAAa,CAAA;QACb,0BAAa,CAAA;QACb;;;WAGG;QACH,2CAA8B,CAAA;IAChC,CAAC,EARW,SAAS,GAAT,qBAAS,KAAT,qBAAS,QAQpB;IAED,SAAgB,UAAU,CAAC,GAAgB;QACzC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS;YAElF,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;SAC/E,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,sBAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,CAAC;gBACvD,CAAC,CAAC,SAAS;YAEb,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;SAC3F,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,kCAAsB,yBAarC,CAAA;AACH,CAAC,EAlDgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAkD3B"}
@@ -0,0 +1,92 @@
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, 2023, 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
+ * Summary information for an outbound connector.
17
+ *
18
+ */
19
+ export interface OutboundConnectorSummary {
20
+ /**
21
+ * The availability domain the outbound connector is in. May be unset
22
+ * as a blank or NULL value.
23
+ * <p>
24
+ Example: `Uocm:PHX-AD-1`
25
+ *
26
+ */
27
+ "availabilityDomain"?: string;
28
+ /**
29
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector.
30
+ */
31
+ "compartmentId": string;
32
+ /**
33
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector.
34
+ */
35
+ "id": string;
36
+ /**
37
+ * The current state of this outbound connector.
38
+ */
39
+ "lifecycleState": OutboundConnectorSummary.LifecycleState;
40
+ /**
41
+ * A user-friendly name. It does not have to be unique, and it is changeable.
42
+ * Avoid entering confidential information.
43
+ * <p>
44
+ Example: `My outbound connector`
45
+ *
46
+ */
47
+ "displayName": string;
48
+ /**
49
+ * The date and time the outbound connector was created
50
+ * in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
51
+ * Example: `2016-08-25T21:10:29.600Z`
52
+ *
53
+ */
54
+ "timeCreated": Date;
55
+ /**
56
+ * Free-form tags for this resource. Each tag is a simple key-value pair
57
+ * with no predefined name, type, or namespace.
58
+ * For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
59
+ * Example: `{\"Department\": \"Finance\"}`
60
+ *
61
+ */
62
+ "freeformTags"?: {
63
+ [key: string]: string;
64
+ };
65
+ /**
66
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
67
+ * For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
68
+ * Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
69
+ *
70
+ */
71
+ "definedTags"?: {
72
+ [key: string]: {
73
+ [key: string]: any;
74
+ };
75
+ };
76
+ "connectorType": string;
77
+ }
78
+ export declare namespace OutboundConnectorSummary {
79
+ enum LifecycleState {
80
+ Creating = "CREATING",
81
+ Active = "ACTIVE",
82
+ Deleting = "DELETING",
83
+ Deleted = "DELETED",
84
+ /**
85
+ * This value is used if a service returns a value for this enum that is not recognized by this
86
+ * version of the SDK.
87
+ */
88
+ UnknownValue = "UNKNOWN_VALUE"
89
+ }
90
+ function getJsonObj(obj: OutboundConnectorSummary): object;
91
+ function getDeserializedJsonObj(obj: OutboundConnectorSummary): object;
92
+ }
@@ -0,0 +1,82 @@
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, 2023, 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
+ 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
+ };
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.OutboundConnectorSummary = void 0;
37
+ const model = __importStar(require("../model"));
38
+ const common = require("oci-common");
39
+ var OutboundConnectorSummary;
40
+ (function (OutboundConnectorSummary) {
41
+ let LifecycleState;
42
+ (function (LifecycleState) {
43
+ LifecycleState["Creating"] = "CREATING";
44
+ LifecycleState["Active"] = "ACTIVE";
45
+ LifecycleState["Deleting"] = "DELETING";
46
+ LifecycleState["Deleted"] = "DELETED";
47
+ /**
48
+ * This value is used if a service returns a value for this enum that is not recognized by this
49
+ * version of the SDK.
50
+ */
51
+ LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
52
+ })(LifecycleState = OutboundConnectorSummary.LifecycleState || (OutboundConnectorSummary.LifecycleState = {}));
53
+ function getJsonObj(obj) {
54
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
55
+ if (obj && "connectorType" in obj && obj.connectorType) {
56
+ switch (obj.connectorType) {
57
+ case "LDAPBIND":
58
+ return model.LdapBindAccountSummary.getJsonObj(jsonObj, true);
59
+ default:
60
+ if (common.LOG.logger)
61
+ common.LOG.logger.info(`Unknown value for: ${obj.connectorType}`);
62
+ }
63
+ }
64
+ return jsonObj;
65
+ }
66
+ OutboundConnectorSummary.getJsonObj = getJsonObj;
67
+ function getDeserializedJsonObj(obj) {
68
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
69
+ if (obj && "connectorType" in obj && obj.connectorType) {
70
+ switch (obj.connectorType) {
71
+ case "LDAPBIND":
72
+ return model.LdapBindAccountSummary.getDeserializedJsonObj(jsonObj, true);
73
+ default:
74
+ if (common.LOG.logger)
75
+ common.LOG.logger.info(`Unknown value for: ${obj.connectorType}`);
76
+ }
77
+ }
78
+ return jsonObj;
79
+ }
80
+ OutboundConnectorSummary.getDeserializedJsonObj = getDeserializedJsonObj;
81
+ })(OutboundConnectorSummary = exports.OutboundConnectorSummary || (exports.OutboundConnectorSummary = {}));
82
+ //# sourceMappingURL=outbound-connector-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outbound-connector-summary.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/outbound-connector-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AA6DtC,IAAiB,wBAAwB,CA6CxC;AA7CD,WAAiB,wBAAwB;IACvC,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,uCAAc,KAAd,uCAAc,QAUzB;IAED,SAAgB,UAAU,CAAC,GAA6B;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,eAAe,IAAI,GAAG,IAAI,GAAG,CAAC,aAAa,EAAE;YACtD,QAAQ,GAAG,CAAC,aAAa,EAAE;gBACzB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CACL,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC;aAC5F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,mCAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,eAAe,IAAI,GAAG,IAAI,GAAG,CAAC,aAAa,EAAE;YACtD,QAAQ,GAAG,CAAC,aAAa,EAAE;gBACzB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CACjB,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC;aAC5F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,+CAAsB,yBAerC,CAAA;AACH,CAAC,EA7CgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QA6CxC"}
@@ -0,0 +1,94 @@
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, 2023, 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
+ * Outbound connectors are used to help File Storage communicate with an external server, such as an LDAP server.
17
+ * An outbound connector contains all the information needed to connect, authenticate, and gain authorization to perform the account's required functions.
18
+ *
19
+ */
20
+ export interface OutboundConnector {
21
+ /**
22
+ * The availability domain the outbound connector is in. May be unset
23
+ * as a blank or NULL value.
24
+ * <p>
25
+ Example: `Uocm:PHX-AD-1`
26
+ *
27
+ */
28
+ "availabilityDomain"?: string;
29
+ /**
30
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector.
31
+ */
32
+ "compartmentId": string;
33
+ /**
34
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector.
35
+ */
36
+ "id": string;
37
+ /**
38
+ * The current state of this outbound connector.
39
+ */
40
+ "lifecycleState": OutboundConnector.LifecycleState;
41
+ /**
42
+ * A user-friendly name. It does not have to be unique, and it is changeable.
43
+ * Avoid entering confidential information.
44
+ * <p>
45
+ Example: `My outbound connector`
46
+ *
47
+ */
48
+ "displayName": string;
49
+ /**
50
+ * The date and time the outbound connector was created
51
+ * in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
52
+ * <p>
53
+ Example: `2016-08-25T21:10:29.600Z`
54
+ *
55
+ */
56
+ "timeCreated": Date;
57
+ /**
58
+ * Free-form tags for this resource. Each tag is a simple key-value pair
59
+ * with no predefined name, type, or namespace.
60
+ * For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
61
+ * Example: `{\"Department\": \"Finance\"}`
62
+ *
63
+ */
64
+ "freeformTags"?: {
65
+ [key: string]: string;
66
+ };
67
+ /**
68
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
69
+ * For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
70
+ * Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
71
+ *
72
+ */
73
+ "definedTags"?: {
74
+ [key: string]: {
75
+ [key: string]: any;
76
+ };
77
+ };
78
+ "connectorType": string;
79
+ }
80
+ export declare namespace OutboundConnector {
81
+ enum LifecycleState {
82
+ Creating = "CREATING",
83
+ Active = "ACTIVE",
84
+ Deleting = "DELETING",
85
+ Deleted = "DELETED",
86
+ /**
87
+ * This value is used if a service returns a value for this enum that is not recognized by this
88
+ * version of the SDK.
89
+ */
90
+ UnknownValue = "UNKNOWN_VALUE"
91
+ }
92
+ function getJsonObj(obj: OutboundConnector): object;
93
+ function getDeserializedJsonObj(obj: OutboundConnector): object;
94
+ }
@@ -0,0 +1,82 @@
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, 2023, 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
+ 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
+ };
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.OutboundConnector = void 0;
37
+ const model = __importStar(require("../model"));
38
+ const common = require("oci-common");
39
+ var OutboundConnector;
40
+ (function (OutboundConnector) {
41
+ let LifecycleState;
42
+ (function (LifecycleState) {
43
+ LifecycleState["Creating"] = "CREATING";
44
+ LifecycleState["Active"] = "ACTIVE";
45
+ LifecycleState["Deleting"] = "DELETING";
46
+ LifecycleState["Deleted"] = "DELETED";
47
+ /**
48
+ * This value is used if a service returns a value for this enum that is not recognized by this
49
+ * version of the SDK.
50
+ */
51
+ LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
52
+ })(LifecycleState = OutboundConnector.LifecycleState || (OutboundConnector.LifecycleState = {}));
53
+ function getJsonObj(obj) {
54
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
55
+ if (obj && "connectorType" in obj && obj.connectorType) {
56
+ switch (obj.connectorType) {
57
+ case "LDAPBIND":
58
+ return model.LdapBindAccount.getJsonObj(jsonObj, true);
59
+ default:
60
+ if (common.LOG.logger)
61
+ common.LOG.logger.info(`Unknown value for: ${obj.connectorType}`);
62
+ }
63
+ }
64
+ return jsonObj;
65
+ }
66
+ OutboundConnector.getJsonObj = getJsonObj;
67
+ function getDeserializedJsonObj(obj) {
68
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
69
+ if (obj && "connectorType" in obj && obj.connectorType) {
70
+ switch (obj.connectorType) {
71
+ case "LDAPBIND":
72
+ return model.LdapBindAccount.getDeserializedJsonObj(jsonObj, true);
73
+ default:
74
+ if (common.LOG.logger)
75
+ common.LOG.logger.info(`Unknown value for: ${obj.connectorType}`);
76
+ }
77
+ }
78
+ return jsonObj;
79
+ }
80
+ OutboundConnector.getDeserializedJsonObj = getDeserializedJsonObj;
81
+ })(OutboundConnector = exports.OutboundConnector || (exports.OutboundConnector = {}));
82
+ //# sourceMappingURL=outbound-connector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outbound-connector.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/outbound-connector.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AA+DtC,IAAiB,iBAAiB,CA0CjC;AA1CD,WAAiB,iBAAiB;IAChC,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,gCAAc,KAAd,gCAAc,QAUzB;IAED,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,eAAe,IAAI,GAAG,IAAI,GAAG,CAAC,aAAa,EAAE;YACtD,QAAQ,GAAG,CAAC,aAAa,EAAE;gBACzB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAiC,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAC1F;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC;aAC5F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,4BAAU,aAYzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,eAAe,IAAI,GAAG,IAAI,GAAG,CAAC,aAAa,EAAE;YACtD,QAAQ,GAAG,CAAC,aAAa,EAAE;gBACzB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CACjB,OAAQ,EACxC,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC;aAC5F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,wCAAsB,yBAerC,CAAA;AACH,CAAC,EA1CgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA0CjC"}