oci-governancerulescontrolplane 2.31.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 (272) hide show
  1. package/LICENSE.txt +89 -0
  2. package/NOTICE.txt +1 -0
  3. package/README.md +22 -0
  4. package/THIRD_PARTY_LICENSES.txt +576 -0
  5. package/index.d.ts +25 -0
  6. package/index.js +48 -0
  7. package/index.js.map +1 -0
  8. package/lib/client.d.ts +327 -0
  9. package/lib/client.js +1593 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/governancerule-waiter.d.ts +53 -0
  12. package/lib/governancerule-waiter.js +101 -0
  13. package/lib/governancerule-waiter.js.map +1 -0
  14. package/lib/model/action-type.d.ts +32 -0
  15. package/lib/model/action-type.js +43 -0
  16. package/lib/model/action-type.js.map +1 -0
  17. package/lib/model/allowed-regions-template.d.ts +37 -0
  18. package/lib/model/allowed-regions-template.js +52 -0
  19. package/lib/model/allowed-regions-template.js.map +1 -0
  20. package/lib/model/association.d.ts +23 -0
  21. package/lib/model/association.js +65 -0
  22. package/lib/model/association.js.map +1 -0
  23. package/lib/model/base-tag-definition-validator.d.ts +33 -0
  24. package/lib/model/base-tag-definition-validator.js +69 -0
  25. package/lib/model/base-tag-definition-validator.js.map +1 -0
  26. package/lib/model/create-governance-rule-details.d.ts +71 -0
  27. package/lib/model/create-governance-rule-details.js +53 -0
  28. package/lib/model/create-governance-rule-details.js.map +1 -0
  29. package/lib/model/create-inclusion-criterion-details.d.ts +31 -0
  30. package/lib/model/create-inclusion-criterion-details.js +55 -0
  31. package/lib/model/create-inclusion-criterion-details.js.map +1 -0
  32. package/lib/model/creation-option.d.ts +28 -0
  33. package/lib/model/creation-option.js +39 -0
  34. package/lib/model/creation-option.js.map +1 -0
  35. package/lib/model/default-tag-definition-validator.d.ts +27 -0
  36. package/lib/model/default-tag-definition-validator.js +54 -0
  37. package/lib/model/default-tag-definition-validator.js.map +1 -0
  38. package/lib/model/enforced-governance-rule-collection.d.ts +26 -0
  39. package/lib/model/enforced-governance-rule-collection.js +61 -0
  40. package/lib/model/enforced-governance-rule-collection.js.map +1 -0
  41. package/lib/model/enforced-governance-rule-summary.d.ts +59 -0
  42. package/lib/model/enforced-governance-rule-summary.js +29 -0
  43. package/lib/model/enforced-governance-rule-summary.js.map +1 -0
  44. package/lib/model/enforced-governance-rule.d.ts +60 -0
  45. package/lib/model/enforced-governance-rule.js +53 -0
  46. package/lib/model/enforced-governance-rule.js.map +1 -0
  47. package/lib/model/enum-tag-definition-validator.d.ts +33 -0
  48. package/lib/model/enum-tag-definition-validator.js +54 -0
  49. package/lib/model/enum-tag-definition-validator.js.map +1 -0
  50. package/lib/model/governance-rule-collection.d.ts +26 -0
  51. package/lib/model/governance-rule-collection.js +61 -0
  52. package/lib/model/governance-rule-collection.js.map +1 -0
  53. package/lib/model/governance-rule-lifecycle-state.d.ts +28 -0
  54. package/lib/model/governance-rule-lifecycle-state.js +39 -0
  55. package/lib/model/governance-rule-lifecycle-state.js.map +1 -0
  56. package/lib/model/governance-rule-summary.d.ts +94 -0
  57. package/lib/model/governance-rule-summary.js +29 -0
  58. package/lib/model/governance-rule-summary.js.map +1 -0
  59. package/lib/model/governance-rule-type.d.ts +29 -0
  60. package/lib/model/governance-rule-type.js +40 -0
  61. package/lib/model/governance-rule-type.js.map +1 -0
  62. package/lib/model/governance-rule.d.ts +103 -0
  63. package/lib/model/governance-rule.js +53 -0
  64. package/lib/model/governance-rule.js.map +1 -0
  65. package/lib/model/inclusion-criterion-collection.d.ts +26 -0
  66. package/lib/model/inclusion-criterion-collection.js +61 -0
  67. package/lib/model/inclusion-criterion-collection.js.map +1 -0
  68. package/lib/model/inclusion-criterion-summary.d.ts +53 -0
  69. package/lib/model/inclusion-criterion-summary.js +55 -0
  70. package/lib/model/inclusion-criterion-summary.js.map +1 -0
  71. package/lib/model/inclusion-criterion.d.ts +71 -0
  72. package/lib/model/inclusion-criterion.js +75 -0
  73. package/lib/model/inclusion-criterion.js.map +1 -0
  74. package/lib/model/index.d.ts +96 -0
  75. package/lib/model/index.js +119 -0
  76. package/lib/model/index.js.map +1 -0
  77. package/lib/model/operation-status.d.ts +33 -0
  78. package/lib/model/operation-status.js +44 -0
  79. package/lib/model/operation-status.js.map +1 -0
  80. package/lib/model/operation-type.d.ts +42 -0
  81. package/lib/model/operation-type.js +53 -0
  82. package/lib/model/operation-type.js.map +1 -0
  83. package/lib/model/quota-template.d.ts +37 -0
  84. package/lib/model/quota-template.js +50 -0
  85. package/lib/model/quota-template.js.map +1 -0
  86. package/lib/model/sort-order.d.ts +23 -0
  87. package/lib/model/sort-order.js +34 -0
  88. package/lib/model/sort-order.js.map +1 -0
  89. package/lib/model/tag-default.d.ts +46 -0
  90. package/lib/model/tag-default.js +29 -0
  91. package/lib/model/tag-default.js.map +1 -0
  92. package/lib/model/tag-template.d.ts +38 -0
  93. package/lib/model/tag-template.js +72 -0
  94. package/lib/model/tag-template.js.map +1 -0
  95. package/lib/model/tag.d.ts +39 -0
  96. package/lib/model/tag.js +57 -0
  97. package/lib/model/tag.js.map +1 -0
  98. package/lib/model/template.d.ts +23 -0
  99. package/lib/model/template.js +73 -0
  100. package/lib/model/template.js.map +1 -0
  101. package/lib/model/tenancy-association.d.ts +29 -0
  102. package/lib/model/tenancy-association.js +52 -0
  103. package/lib/model/tenancy-association.js.map +1 -0
  104. package/lib/model/tenancy-attachment-collection.d.ts +26 -0
  105. package/lib/model/tenancy-attachment-collection.js +61 -0
  106. package/lib/model/tenancy-attachment-collection.js.map +1 -0
  107. package/lib/model/tenancy-attachment-summary.d.ts +62 -0
  108. package/lib/model/tenancy-attachment-summary.js +29 -0
  109. package/lib/model/tenancy-attachment-summary.js.map +1 -0
  110. package/lib/model/tenancy-attachment.d.ts +75 -0
  111. package/lib/model/tenancy-attachment.js +43 -0
  112. package/lib/model/tenancy-attachment.js.map +1 -0
  113. package/lib/model/update-governance-rule-details.d.ts +53 -0
  114. package/lib/model/update-governance-rule-details.js +53 -0
  115. package/lib/model/update-governance-rule-details.js.map +1 -0
  116. package/lib/model/work-request-error-collection.d.ts +26 -0
  117. package/lib/model/work-request-error-collection.js +61 -0
  118. package/lib/model/work-request-error-collection.js.map +1 -0
  119. package/lib/model/work-request-error.d.ts +35 -0
  120. package/lib/model/work-request-error.js +29 -0
  121. package/lib/model/work-request-error.js.map +1 -0
  122. package/lib/model/work-request-log-entry-collection.d.ts +26 -0
  123. package/lib/model/work-request-log-entry-collection.js +61 -0
  124. package/lib/model/work-request-log-entry-collection.js.map +1 -0
  125. package/lib/model/work-request-log-entry.d.ts +29 -0
  126. package/lib/model/work-request-log-entry.js +29 -0
  127. package/lib/model/work-request-log-entry.js.map +1 -0
  128. package/lib/model/work-request-resource-metadata-key.d.ts +27 -0
  129. package/lib/model/work-request-resource-metadata-key.js +38 -0
  130. package/lib/model/work-request-resource-metadata-key.js.map +1 -0
  131. package/lib/model/work-request-resource.d.ts +48 -0
  132. package/lib/model/work-request-resource.js +29 -0
  133. package/lib/model/work-request-resource.js.map +1 -0
  134. package/lib/model/work-request-summary-collection.d.ts +26 -0
  135. package/lib/model/work-request-summary-collection.js +61 -0
  136. package/lib/model/work-request-summary-collection.js.map +1 -0
  137. package/lib/model/work-request-summary.d.ts +67 -0
  138. package/lib/model/work-request-summary.js +61 -0
  139. package/lib/model/work-request-summary.js.map +1 -0
  140. package/lib/model/work-request.d.ts +67 -0
  141. package/lib/model/work-request.js +61 -0
  142. package/lib/model/work-request.js.map +1 -0
  143. package/lib/request/cancel-work-request-request.d.ts +35 -0
  144. package/lib/request/cancel-work-request-request.js +15 -0
  145. package/lib/request/cancel-work-request-request.js.map +1 -0
  146. package/lib/request/create-governance-rule-request.d.ts +36 -0
  147. package/lib/request/create-governance-rule-request.js +15 -0
  148. package/lib/request/create-governance-rule-request.js.map +1 -0
  149. package/lib/request/create-inclusion-criterion-request.d.ts +36 -0
  150. package/lib/request/create-inclusion-criterion-request.js +15 -0
  151. package/lib/request/create-inclusion-criterion-request.js.map +1 -0
  152. package/lib/request/delete-governance-rule-request.d.ts +35 -0
  153. package/lib/request/delete-governance-rule-request.js +15 -0
  154. package/lib/request/delete-governance-rule-request.js.map +1 -0
  155. package/lib/request/delete-inclusion-criterion-request.d.ts +35 -0
  156. package/lib/request/delete-inclusion-criterion-request.js +15 -0
  157. package/lib/request/delete-inclusion-criterion-request.js.map +1 -0
  158. package/lib/request/get-enforced-governance-rule-request.d.ts +26 -0
  159. package/lib/request/get-enforced-governance-rule-request.js +15 -0
  160. package/lib/request/get-enforced-governance-rule-request.js.map +1 -0
  161. package/lib/request/get-governance-rule-request.d.ts +26 -0
  162. package/lib/request/get-governance-rule-request.js +15 -0
  163. package/lib/request/get-governance-rule-request.js.map +1 -0
  164. package/lib/request/get-inclusion-criterion-request.d.ts +26 -0
  165. package/lib/request/get-inclusion-criterion-request.js +15 -0
  166. package/lib/request/get-inclusion-criterion-request.js.map +1 -0
  167. package/lib/request/get-tenancy-attachment-request.d.ts +26 -0
  168. package/lib/request/get-tenancy-attachment-request.js +15 -0
  169. package/lib/request/get-tenancy-attachment-request.js.map +1 -0
  170. package/lib/request/get-work-request-request.d.ts +26 -0
  171. package/lib/request/get-work-request-request.js +15 -0
  172. package/lib/request/get-work-request-request.js.map +1 -0
  173. package/lib/request/index.d.ts +52 -0
  174. package/lib/request/index.js +49 -0
  175. package/lib/request/index.js.map +1 -0
  176. package/lib/request/list-enforced-governance-rules-request.d.ts +62 -0
  177. package/lib/request/list-enforced-governance-rules-request.js +24 -0
  178. package/lib/request/list-enforced-governance-rules-request.js.map +1 -0
  179. package/lib/request/list-governance-rules-request.d.ts +66 -0
  180. package/lib/request/list-governance-rules-request.js +24 -0
  181. package/lib/request/list-governance-rules-request.js.map +1 -0
  182. package/lib/request/list-inclusion-criteria-request.d.ts +58 -0
  183. package/lib/request/list-inclusion-criteria-request.js +24 -0
  184. package/lib/request/list-inclusion-criteria-request.js.map +1 -0
  185. package/lib/request/list-tenancy-attachments-request.d.ts +66 -0
  186. package/lib/request/list-tenancy-attachments-request.js +24 -0
  187. package/lib/request/list-tenancy-attachments-request.js.map +1 -0
  188. package/lib/request/list-work-request-errors-request.d.ts +49 -0
  189. package/lib/request/list-work-request-errors-request.js +23 -0
  190. package/lib/request/list-work-request-errors-request.js.map +1 -0
  191. package/lib/request/list-work-request-logs-request.d.ts +49 -0
  192. package/lib/request/list-work-request-logs-request.js +23 -0
  193. package/lib/request/list-work-request-logs-request.js.map +1 -0
  194. package/lib/request/list-work-requests-request.d.ts +61 -0
  195. package/lib/request/list-work-requests-request.js +23 -0
  196. package/lib/request/list-work-requests-request.js.map +1 -0
  197. package/lib/request/retry-governance-rule-request.d.ts +44 -0
  198. package/lib/request/retry-governance-rule-request.js +15 -0
  199. package/lib/request/retry-governance-rule-request.js.map +1 -0
  200. package/lib/request/retry-tenancy-attachment-request.d.ts +44 -0
  201. package/lib/request/retry-tenancy-attachment-request.js +15 -0
  202. package/lib/request/retry-tenancy-attachment-request.js.map +1 -0
  203. package/lib/request/update-governance-rule-request.d.ts +40 -0
  204. package/lib/request/update-governance-rule-request.js +15 -0
  205. package/lib/request/update-governance-rule-request.js.map +1 -0
  206. package/lib/response/cancel-work-request-response.d.ts +20 -0
  207. package/lib/response/cancel-work-request-response.js +15 -0
  208. package/lib/response/cancel-work-request-response.js.map +1 -0
  209. package/lib/response/create-governance-rule-response.d.ts +39 -0
  210. package/lib/response/create-governance-rule-response.js +15 -0
  211. package/lib/response/create-governance-rule-response.js.map +1 -0
  212. package/lib/response/create-inclusion-criterion-response.d.ts +39 -0
  213. package/lib/response/create-inclusion-criterion-response.js +15 -0
  214. package/lib/response/create-inclusion-criterion-response.js.map +1 -0
  215. package/lib/response/delete-governance-rule-response.d.ts +25 -0
  216. package/lib/response/delete-governance-rule-response.js +15 -0
  217. package/lib/response/delete-governance-rule-response.js.map +1 -0
  218. package/lib/response/delete-inclusion-criterion-response.d.ts +25 -0
  219. package/lib/response/delete-inclusion-criterion-response.js +15 -0
  220. package/lib/response/delete-inclusion-criterion-response.js.map +1 -0
  221. package/lib/response/get-enforced-governance-rule-response.d.ts +30 -0
  222. package/lib/response/get-enforced-governance-rule-response.js +15 -0
  223. package/lib/response/get-enforced-governance-rule-response.js.map +1 -0
  224. package/lib/response/get-governance-rule-response.d.ts +30 -0
  225. package/lib/response/get-governance-rule-response.js +15 -0
  226. package/lib/response/get-governance-rule-response.js.map +1 -0
  227. package/lib/response/get-inclusion-criterion-response.d.ts +30 -0
  228. package/lib/response/get-inclusion-criterion-response.js +15 -0
  229. package/lib/response/get-inclusion-criterion-response.js.map +1 -0
  230. package/lib/response/get-tenancy-attachment-response.d.ts +30 -0
  231. package/lib/response/get-tenancy-attachment-response.js +15 -0
  232. package/lib/response/get-tenancy-attachment-response.js.map +1 -0
  233. package/lib/response/get-work-request-response.d.ts +34 -0
  234. package/lib/response/get-work-request-response.js +15 -0
  235. package/lib/response/get-work-request-response.js.map +1 -0
  236. package/lib/response/index.d.ts +52 -0
  237. package/lib/response/index.js +15 -0
  238. package/lib/response/index.js.map +1 -0
  239. package/lib/response/list-enforced-governance-rules-response.d.ts +32 -0
  240. package/lib/response/list-enforced-governance-rules-response.js +15 -0
  241. package/lib/response/list-enforced-governance-rules-response.js.map +1 -0
  242. package/lib/response/list-governance-rules-response.d.ts +32 -0
  243. package/lib/response/list-governance-rules-response.js +15 -0
  244. package/lib/response/list-governance-rules-response.js.map +1 -0
  245. package/lib/response/list-inclusion-criteria-response.d.ts +32 -0
  246. package/lib/response/list-inclusion-criteria-response.js +15 -0
  247. package/lib/response/list-inclusion-criteria-response.js.map +1 -0
  248. package/lib/response/list-tenancy-attachments-response.d.ts +32 -0
  249. package/lib/response/list-tenancy-attachments-response.js +15 -0
  250. package/lib/response/list-tenancy-attachments-response.js.map +1 -0
  251. package/lib/response/list-work-request-errors-response.d.ts +32 -0
  252. package/lib/response/list-work-request-errors-response.js +15 -0
  253. package/lib/response/list-work-request-errors-response.js.map +1 -0
  254. package/lib/response/list-work-request-logs-response.d.ts +32 -0
  255. package/lib/response/list-work-request-logs-response.js +15 -0
  256. package/lib/response/list-work-request-logs-response.js.map +1 -0
  257. package/lib/response/list-work-requests-response.d.ts +32 -0
  258. package/lib/response/list-work-requests-response.js +15 -0
  259. package/lib/response/list-work-requests-response.js.map +1 -0
  260. package/lib/response/retry-governance-rule-response.d.ts +25 -0
  261. package/lib/response/retry-governance-rule-response.js +15 -0
  262. package/lib/response/retry-governance-rule-response.js.map +1 -0
  263. package/lib/response/retry-tenancy-attachment-response.d.ts +25 -0
  264. package/lib/response/retry-tenancy-attachment-response.js +15 -0
  265. package/lib/response/retry-tenancy-attachment-response.js.map +1 -0
  266. package/lib/response/update-governance-rule-response.d.ts +25 -0
  267. package/lib/response/update-governance-rule-response.js +15 -0
  268. package/lib/response/update-governance-rule-response.js.map +1 -0
  269. package/lib/workrequest-waiter.d.ts +27 -0
  270. package/lib/workrequest-waiter.js +44 -0
  271. package/lib/workrequest-waiter.js.map +1 -0
  272. package/package.json +29 -0
@@ -0,0 +1,23 @@
1
+ /**
2
+ * GovernanceRulesControlPlane API
3
+ * A description of the GovernanceRulesControlPlane API
4
+ * OpenAPI spec version: 20220504
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, 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
+ /**
14
+ * Template object for the governance rule. It could be of type QUOTA, TAG or REGION_RESTRICTION.
15
+ *
16
+ */
17
+ export interface Template {
18
+ "type": string;
19
+ }
20
+ export declare namespace Template {
21
+ function getJsonObj(obj: Template): object;
22
+ function getDeserializedJsonObj(obj: Template): object;
23
+ }
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ /**
3
+ * GovernanceRulesControlPlane API
4
+ * A description of the GovernanceRulesControlPlane API
5
+ * OpenAPI spec version: 20220504
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, 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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.Template = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var Template;
37
+ (function (Template) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
40
+ if (obj && "type" in obj && obj.type) {
41
+ switch (obj.type) {
42
+ case "TAG":
43
+ return model.TagTemplate.getJsonObj(jsonObj, true);
44
+ case "QUOTA":
45
+ return model.QuotaTemplate.getJsonObj(jsonObj, true);
46
+ case "ALLOWED_REGIONS":
47
+ return model.AllowedRegionsTemplate.getJsonObj(jsonObj, true);
48
+ default:
49
+ throw Error("Unknown value for: " + obj.type);
50
+ }
51
+ }
52
+ return jsonObj;
53
+ }
54
+ Template.getJsonObj = getJsonObj;
55
+ function getDeserializedJsonObj(obj) {
56
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
57
+ if (obj && "type" in obj && obj.type) {
58
+ switch (obj.type) {
59
+ case "TAG":
60
+ return model.TagTemplate.getDeserializedJsonObj(jsonObj, true);
61
+ case "QUOTA":
62
+ return model.QuotaTemplate.getDeserializedJsonObj(jsonObj, true);
63
+ case "ALLOWED_REGIONS":
64
+ return model.AllowedRegionsTemplate.getDeserializedJsonObj(jsonObj, true);
65
+ default:
66
+ throw Error("Unknown value for: " + obj.type);
67
+ }
68
+ }
69
+ return jsonObj;
70
+ }
71
+ Template.getDeserializedJsonObj = getDeserializedJsonObj;
72
+ })(Template = exports.Template || (exports.Template = {}));
73
+ //# sourceMappingURL=template.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template.js","sourceRoot":"","sources":["../../../../../lib/governancerulescontrolplane/lib/model/template.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAWlC,IAAiB,QAAQ,CA+CxB;AA/CD,WAAiB,QAAQ;IACvB,SAAgB,UAAU,CAAC,GAAa;QACtC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,WAAW,CAAC,UAAU,CAA6B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAClF,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,aAAa,CAAC,UAAU,CAA+B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBACtF,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CACL,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAnBe,mBAAU,aAmBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAa;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,WAAW,CAAC,sBAAsB,CACjB,OAAQ,EACpC,IAAI,CACL,CAAC;gBACJ,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,aAAa,CAAC,sBAAsB,CACjB,OAAQ,EACtC,IAAI,CACL,CAAC;gBACJ,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CACjB,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,+BAAsB,yBAyBrC,CAAA;AACH,CAAC,EA/CgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA+CxB"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * GovernanceRulesControlPlane API
3
+ * A description of the GovernanceRulesControlPlane API
4
+ * OpenAPI spec version: 20220504
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, 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
+ /**
15
+ * Tenancy association represents the tenancy id to which the governance rule will be applied.
16
+ *
17
+ */
18
+ export interface TenancyAssociation extends model.Association {
19
+ /**
20
+ * The Oracle ID ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the tenancy to which the governance rule will be applied as part of this tenancy inclusion criterion.
21
+ */
22
+ "tenancyId": string;
23
+ "type": string;
24
+ }
25
+ export declare namespace TenancyAssociation {
26
+ function getJsonObj(obj: TenancyAssociation, isParentJsonObj?: boolean): object;
27
+ const type = "TENANCY";
28
+ function getDeserializedJsonObj(obj: TenancyAssociation, isParentJsonObj?: boolean): object;
29
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * GovernanceRulesControlPlane API
4
+ * A description of the GovernanceRulesControlPlane API
5
+ * OpenAPI spec version: 20220504
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, 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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.TenancyAssociation = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var TenancyAssociation;
37
+ (function (TenancyAssociation) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Association.getJsonObj(obj))), {});
40
+ return jsonObj;
41
+ }
42
+ TenancyAssociation.getJsonObj = getJsonObj;
43
+ TenancyAssociation.type = "TENANCY";
44
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
45
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
46
+ ? obj
47
+ : model.Association.getDeserializedJsonObj(obj))), {});
48
+ return jsonObj;
49
+ }
50
+ TenancyAssociation.getDeserializedJsonObj = getDeserializedJsonObj;
51
+ })(TenancyAssociation = exports.TenancyAssociation || (exports.TenancyAssociation = {}));
52
+ //# sourceMappingURL=tenancy-association.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tenancy-association.js","sourceRoot":"","sources":["../../../../../lib/governancerulescontrolplane/lib/model/tenancy-association.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,kBAAkB,CAuBlC;AAvBD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB,EAAE,eAAyB;QAC3E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,CAAwB,CAAC,GACnF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,6BAAU,aAOzB,CAAA;IACY,uBAAI,GAAG,SAAS,CAAC;IAC9B,SAAgB,sBAAsB,CACpC,GAAuB,EACvB,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,GAAG,CAAwB,CAAC,GACvE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,yCAAsB,yBAYrC,CAAA;AACH,CAAC,EAvBgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAuBlC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * GovernanceRulesControlPlane API
3
+ * A description of the GovernanceRulesControlPlane API
4
+ * OpenAPI spec version: 20220504
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, 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
+ /**
15
+ * Results of a tenancy attachment search. Contains tenancy attachment summary items.
16
+ */
17
+ export interface TenancyAttachmentCollection {
18
+ /**
19
+ * List of tenancy attachments.
20
+ */
21
+ "items": Array<model.TenancyAttachmentSummary>;
22
+ }
23
+ export declare namespace TenancyAttachmentCollection {
24
+ function getJsonObj(obj: TenancyAttachmentCollection): object;
25
+ function getDeserializedJsonObj(obj: TenancyAttachmentCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * GovernanceRulesControlPlane API
4
+ * A description of the GovernanceRulesControlPlane API
5
+ * OpenAPI spec version: 20220504
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, 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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.TenancyAttachmentCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var TenancyAttachmentCollection;
37
+ (function (TenancyAttachmentCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.TenancyAttachmentSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ TenancyAttachmentCollection.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "items": obj.items
52
+ ? obj.items.map(item => {
53
+ return model.TenancyAttachmentSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ TenancyAttachmentCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(TenancyAttachmentCollection = exports.TenancyAttachmentCollection || (exports.TenancyAttachmentCollection = {}));
61
+ //# sourceMappingURL=tenancy-attachment-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tenancy-attachment-collection.js","sourceRoot":"","sources":["../../../../../lib/governancerulescontrolplane/lib/model/tenancy-attachment-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,2BAA2B,CA6B3C;AA7BD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;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,wBAAwB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,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,wBAAwB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACrE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,kDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QA6B3C"}
@@ -0,0 +1,62 @@
1
+ /**
2
+ * GovernanceRulesControlPlane API
3
+ * A description of the GovernanceRulesControlPlane API
4
+ * OpenAPI spec version: 20220504
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, 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
+ /**
14
+ * Summary of the tenancy attachment.
15
+ */
16
+ export interface TenancyAttachmentSummary {
17
+ /**
18
+ * The Oracle ID ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the tenancy attachment.
19
+ */
20
+ "id": string;
21
+ /**
22
+ * The Oracle ID ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the root compartment containing the tenancy attachment.
23
+ */
24
+ "compartmentId": string;
25
+ /**
26
+ * The Oracle ID ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the governance rule. Every tenancy attachment is associated with a governance rule.
27
+ */
28
+ "governanceRuleId": string;
29
+ /**
30
+ * The Oracle ID ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the tenancy to which the governance rule is attached.
31
+ */
32
+ "tenancyId": string;
33
+ /**
34
+ * The current state of the tenancy attachment.
35
+ */
36
+ "lifecycleState": string;
37
+ /**
38
+ * Date and time the tenancy attachment was created. An RFC3339 formatted datetime string.
39
+ * <p>
40
+ Example: `2016-08-25T21:10:29.600Z`
41
+ *
42
+ */
43
+ "timeCreated": Date;
44
+ /**
45
+ * Date and time the tenancy attachment was updated. An RFC3339 formatted datetime string.
46
+ * <p>
47
+ Example: `2016-08-25T21:10:29.600Z`
48
+ *
49
+ */
50
+ "timeUpdated": Date;
51
+ /**
52
+ * Date and time the tenancy attachment was last attempted. An RFC3339 formatted datetime string.
53
+ * <p>
54
+ Example: `2016-08-25T21:10:29.600Z`
55
+ *
56
+ */
57
+ "timeLastAttempted"?: Date;
58
+ }
59
+ export declare namespace TenancyAttachmentSummary {
60
+ function getJsonObj(obj: TenancyAttachmentSummary): object;
61
+ function getDeserializedJsonObj(obj: TenancyAttachmentSummary): object;
62
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * GovernanceRulesControlPlane API
4
+ * A description of the GovernanceRulesControlPlane API
5
+ * OpenAPI spec version: 20220504
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, 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
+ exports.TenancyAttachmentSummary = void 0;
16
+ var TenancyAttachmentSummary;
17
+ (function (TenancyAttachmentSummary) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ TenancyAttachmentSummary.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ TenancyAttachmentSummary.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(TenancyAttachmentSummary = exports.TenancyAttachmentSummary || (exports.TenancyAttachmentSummary = {}));
29
+ //# sourceMappingURL=tenancy-attachment-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tenancy-attachment-summary.js","sourceRoot":"","sources":["../../../../../lib/governancerulescontrolplane/lib/model/tenancy-attachment-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAoDH,IAAiB,wBAAwB,CAWxC;AAXD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAWxC"}
@@ -0,0 +1,75 @@
1
+ /**
2
+ * GovernanceRulesControlPlane API
3
+ * A description of the GovernanceRulesControlPlane API
4
+ * OpenAPI spec version: 20220504
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, 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
+ /**
14
+ * Tenancy attachment associates a tenancy to a governance rule via an inclusion criterion.
15
+ */
16
+ export interface TenancyAttachment {
17
+ /**
18
+ * The Oracle ID ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the tenancy attachment.
19
+ */
20
+ "id": string;
21
+ /**
22
+ * The Oracle ID ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the root compartment containing the tenancy attachment.
23
+ */
24
+ "compartmentId": string;
25
+ /**
26
+ * The Oracle ID ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the governance rule. Every tenancy attachment is associated with a governance rule.
27
+ */
28
+ "governanceRuleId": string;
29
+ /**
30
+ * The Oracle ID ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the tenancy to which the governance rule is attached.
31
+ */
32
+ "tenancyId": string;
33
+ /**
34
+ * The current state of the tenancy attachment.
35
+ */
36
+ "lifecycleState": TenancyAttachment.LifecycleState;
37
+ /**
38
+ * Date and time the tenancy attachment was created. An RFC3339 formatted datetime string.
39
+ * <p>
40
+ Example: `2016-08-25T21:10:29.600Z`
41
+ *
42
+ */
43
+ "timeCreated": Date;
44
+ /**
45
+ * Date and time the tenancy attachment was updated. An RFC3339 formatted datetime string.
46
+ * <p>
47
+ Example: `2016-08-25T21:10:29.600Z`
48
+ *
49
+ */
50
+ "timeUpdated": Date;
51
+ /**
52
+ * Date and time the tenancy attachment was last attempted. An RFC3339 formatted datetime string.
53
+ * <p>
54
+ Example: `2016-08-25T21:10:29.600Z`
55
+ *
56
+ */
57
+ "timeLastAttempted"?: Date;
58
+ }
59
+ export declare namespace TenancyAttachment {
60
+ enum LifecycleState {
61
+ Creating = "CREATING",
62
+ Active = "ACTIVE",
63
+ Updating = "UPDATING",
64
+ NeedsAttention = "NEEDS_ATTENTION",
65
+ Deleting = "DELETING",
66
+ Deleted = "DELETED",
67
+ /**
68
+ * This value is used if a service returns a value for this enum that is not recognized by this
69
+ * version of the SDK.
70
+ */
71
+ UnknownValue = "UNKNOWN_VALUE"
72
+ }
73
+ function getJsonObj(obj: TenancyAttachment): object;
74
+ function getDeserializedJsonObj(obj: TenancyAttachment): object;
75
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * GovernanceRulesControlPlane API
4
+ * A description of the GovernanceRulesControlPlane API
5
+ * OpenAPI spec version: 20220504
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, 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
+ exports.TenancyAttachment = void 0;
16
+ var TenancyAttachment;
17
+ (function (TenancyAttachment) {
18
+ let LifecycleState;
19
+ (function (LifecycleState) {
20
+ LifecycleState["Creating"] = "CREATING";
21
+ LifecycleState["Active"] = "ACTIVE";
22
+ LifecycleState["Updating"] = "UPDATING";
23
+ LifecycleState["NeedsAttention"] = "NEEDS_ATTENTION";
24
+ LifecycleState["Deleting"] = "DELETING";
25
+ LifecycleState["Deleted"] = "DELETED";
26
+ /**
27
+ * This value is used if a service returns a value for this enum that is not recognized by this
28
+ * version of the SDK.
29
+ */
30
+ LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
31
+ })(LifecycleState = TenancyAttachment.LifecycleState || (TenancyAttachment.LifecycleState = {}));
32
+ function getJsonObj(obj) {
33
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
34
+ return jsonObj;
35
+ }
36
+ TenancyAttachment.getJsonObj = getJsonObj;
37
+ function getDeserializedJsonObj(obj) {
38
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
39
+ return jsonObj;
40
+ }
41
+ TenancyAttachment.getDeserializedJsonObj = getDeserializedJsonObj;
42
+ })(TenancyAttachment = exports.TenancyAttachment || (exports.TenancyAttachment = {}));
43
+ //# sourceMappingURL=tenancy-attachment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tenancy-attachment.js","sourceRoot":"","sources":["../../../../../lib/governancerulescontrolplane/lib/model/tenancy-attachment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAoDH,IAAiB,iBAAiB,CAyBjC;AAzBD,WAAiB,iBAAiB;IAChC,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,oDAAkC,CAAA;QAClC,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,gCAAc,KAAd,gCAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wCAAsB,yBAIrC,CAAA;AACH,CAAC,EAzBgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAyBjC"}
@@ -0,0 +1,53 @@
1
+ /**
2
+ * GovernanceRulesControlPlane API
3
+ * A description of the GovernanceRulesControlPlane API
4
+ * OpenAPI spec version: 20220504
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, 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
+ /**
15
+ * Request object for UpdateGovernanceRule operation.
16
+ */
17
+ export interface UpdateGovernanceRuleDetails {
18
+ /**
19
+ * Display name of the governance rule.
20
+ */
21
+ "displayName"?: string;
22
+ /**
23
+ * Description of the governance rule.
24
+ */
25
+ "description"?: string;
26
+ "template"?: model.TagTemplate | model.QuotaTemplate | model.AllowedRegionsTemplate;
27
+ /**
28
+ * The Oracle ID ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the resource, which was used as a template to create this governance rule.
29
+ */
30
+ "relatedResourceId"?: string;
31
+ /**
32
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
33
+ * Example: `{\"bar-key\": \"value\"}`
34
+ *
35
+ */
36
+ "freeformTags"?: {
37
+ [key: string]: string;
38
+ };
39
+ /**
40
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
41
+ * Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
42
+ *
43
+ */
44
+ "definedTags"?: {
45
+ [key: string]: {
46
+ [key: string]: any;
47
+ };
48
+ };
49
+ }
50
+ export declare namespace UpdateGovernanceRuleDetails {
51
+ function getJsonObj(obj: UpdateGovernanceRuleDetails): object;
52
+ function getDeserializedJsonObj(obj: UpdateGovernanceRuleDetails): object;
53
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /**
3
+ * GovernanceRulesControlPlane API
4
+ * A description of the GovernanceRulesControlPlane API
5
+ * OpenAPI spec version: 20220504
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, 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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.UpdateGovernanceRuleDetails = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var UpdateGovernanceRuleDetails;
37
+ (function (UpdateGovernanceRuleDetails) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "template": obj.template ? model.Template.getJsonObj(obj.template) : undefined
41
+ });
42
+ return jsonObj;
43
+ }
44
+ UpdateGovernanceRuleDetails.getJsonObj = getJsonObj;
45
+ function getDeserializedJsonObj(obj) {
46
+ const jsonObj = Object.assign(Object.assign({}, obj), {
47
+ "template": obj.template ? model.Template.getDeserializedJsonObj(obj.template) : undefined
48
+ });
49
+ return jsonObj;
50
+ }
51
+ UpdateGovernanceRuleDetails.getDeserializedJsonObj = getDeserializedJsonObj;
52
+ })(UpdateGovernanceRuleDetails = exports.UpdateGovernanceRuleDetails || (exports.UpdateGovernanceRuleDetails = {}));
53
+ //# sourceMappingURL=update-governance-rule-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-governance-rule-details.js","sourceRoot":"","sources":["../../../../../lib/governancerulescontrolplane/lib/model/update-governance-rule-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkClC,IAAiB,2BAA2B,CAqB3C;AArBD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,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;IATe,sCAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,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;IATe,kDAAsB,yBASrC,CAAA;AACH,CAAC,EArBgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAqB3C"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * GovernanceRulesControlPlane API
3
+ * A description of the GovernanceRulesControlPlane API
4
+ * OpenAPI spec version: 20220504
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, 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
+ /**
15
+ * Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
16
+ */
17
+ export interface WorkRequestErrorCollection {
18
+ /**
19
+ * List of workRequestError objects.
20
+ */
21
+ "items": Array<model.WorkRequestError>;
22
+ }
23
+ export declare namespace WorkRequestErrorCollection {
24
+ function getJsonObj(obj: WorkRequestErrorCollection): object;
25
+ function getDeserializedJsonObj(obj: WorkRequestErrorCollection): object;
26
+ }