oci-apigateway 2.25.0 → 2.28.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 (218) hide show
  1. package/index.d.ts +6 -0
  2. package/index.js +7 -1
  3. package/index.js.map +1 -1
  4. package/lib/client.d.ts +287 -61
  5. package/lib/client.js +1302 -222
  6. package/lib/client.js.map +1 -1
  7. package/lib/model/api-specification-request-policies.d.ts +1 -0
  8. package/lib/model/api-specification-request-policies.js +5 -1
  9. package/lib/model/api-specification-request-policies.js.map +1 -1
  10. package/lib/model/api-specification-route-backend.js +2 -2
  11. package/lib/model/api-specification-route-backend.js.map +1 -1
  12. package/lib/model/authentication-policy.js +2 -2
  13. package/lib/model/authentication-policy.js.map +1 -1
  14. package/lib/model/ca-bundle.js +2 -2
  15. package/lib/model/ca-bundle.js.map +1 -1
  16. package/lib/model/change-subscriber-compartment-details.d.ts +30 -0
  17. package/lib/model/change-subscriber-compartment-details.js +32 -0
  18. package/lib/model/change-subscriber-compartment-details.js.map +1 -0
  19. package/lib/model/change-usage-plan-compartment-details.d.ts +30 -0
  20. package/lib/model/change-usage-plan-compartment-details.js +32 -0
  21. package/lib/model/change-usage-plan-compartment-details.js.map +1 -0
  22. package/lib/model/client-summary.d.ts +28 -0
  23. package/lib/model/client-summary.js +32 -0
  24. package/lib/model/client-summary.js.map +1 -0
  25. package/lib/model/client.d.ts +32 -0
  26. package/lib/model/client.js +32 -0
  27. package/lib/model/client.js.map +1 -0
  28. package/lib/model/content-validation.js +2 -2
  29. package/lib/model/content-validation.js.map +1 -1
  30. package/lib/model/create-deployment-details.d.ts +1 -1
  31. package/lib/model/create-subscriber-details.d.ts +73 -0
  32. package/lib/model/create-subscriber-details.js +64 -0
  33. package/lib/model/create-subscriber-details.js.map +1 -0
  34. package/lib/model/create-usage-plan-details.d.ts +68 -0
  35. package/lib/model/create-usage-plan-details.js +64 -0
  36. package/lib/model/create-usage-plan-details.js.map +1 -0
  37. package/lib/model/deployment.d.ts +1 -1
  38. package/lib/model/entitlement-summary.d.ts +39 -0
  39. package/lib/model/entitlement-summary.js +60 -0
  40. package/lib/model/entitlement-summary.js.map +1 -0
  41. package/lib/model/entitlement-target.d.ts +31 -0
  42. package/lib/model/entitlement-target.js +32 -0
  43. package/lib/model/entitlement-target.js.map +1 -0
  44. package/lib/model/entitlement.d.ts +44 -0
  45. package/lib/model/entitlement.js +70 -0
  46. package/lib/model/entitlement.js.map +1 -0
  47. package/lib/model/index.d.ts +40 -0
  48. package/lib/model/index.js +43 -3
  49. package/lib/model/index.js.map +1 -1
  50. package/lib/model/public-key-set.js +2 -2
  51. package/lib/model/public-key-set.js.map +1 -1
  52. package/lib/model/quota.d.ts +78 -0
  53. package/lib/model/quota.js +64 -0
  54. package/lib/model/quota.js.map +1 -0
  55. package/lib/model/rate-limit.d.ts +44 -0
  56. package/lib/model/rate-limit.js +41 -0
  57. package/lib/model/rate-limit.js.map +1 -0
  58. package/lib/model/response-cache-details.js +2 -2
  59. package/lib/model/response-cache-details.js.map +1 -1
  60. package/lib/model/response-cache-lookup-policy.js +2 -2
  61. package/lib/model/response-cache-lookup-policy.js.map +1 -1
  62. package/lib/model/response-cache-store-policy.js +2 -2
  63. package/lib/model/response-cache-store-policy.js.map +1 -1
  64. package/lib/model/route-authorization-policy.js +2 -2
  65. package/lib/model/route-authorization-policy.js.map +1 -1
  66. package/lib/model/static-public-key.js +2 -2
  67. package/lib/model/static-public-key.js.map +1 -1
  68. package/lib/model/subscriber-collection.d.ts +29 -0
  69. package/lib/model/subscriber-collection.js +64 -0
  70. package/lib/model/subscriber-collection.js.map +1 -0
  71. package/lib/model/subscriber-summary.d.ts +97 -0
  72. package/lib/model/subscriber-summary.js +64 -0
  73. package/lib/model/subscriber-summary.js.map +1 -0
  74. package/lib/model/subscriber.d.ts +111 -0
  75. package/lib/model/subscriber.js +78 -0
  76. package/lib/model/subscriber.js.map +1 -0
  77. package/lib/model/update-subscriber-details.d.ts +67 -0
  78. package/lib/model/update-subscriber-details.js +64 -0
  79. package/lib/model/update-subscriber-details.js.map +1 -0
  80. package/lib/model/update-usage-plan-details.d.ts +62 -0
  81. package/lib/model/update-usage-plan-details.js +64 -0
  82. package/lib/model/update-usage-plan-details.js.map +1 -0
  83. package/lib/model/usage-plan-collection.d.ts +29 -0
  84. package/lib/model/usage-plan-collection.js +64 -0
  85. package/lib/model/usage-plan-collection.js.map +1 -0
  86. package/lib/model/usage-plan-summary.d.ts +92 -0
  87. package/lib/model/usage-plan-summary.js +64 -0
  88. package/lib/model/usage-plan-summary.js.map +1 -0
  89. package/lib/model/usage-plan.d.ts +106 -0
  90. package/lib/model/usage-plan.js +78 -0
  91. package/lib/model/usage-plan.js.map +1 -0
  92. package/lib/model/usage-plans-policy.d.ts +34 -0
  93. package/lib/model/usage-plans-policy.js +32 -0
  94. package/lib/model/usage-plans-policy.js.map +1 -0
  95. package/lib/model/work-request.d.ts +6 -0
  96. package/lib/model/work-request.js +6 -0
  97. package/lib/model/work-request.js.map +1 -1
  98. package/lib/request/cancel-work-request-request.d.ts +1 -1
  99. package/lib/request/change-api-compartment-request.d.ts +1 -1
  100. package/lib/request/change-certificate-compartment-request.d.ts +1 -1
  101. package/lib/request/change-deployment-compartment-request.d.ts +1 -1
  102. package/lib/request/change-gateway-compartment-request.d.ts +1 -1
  103. package/lib/request/change-subscriber-compartment-request.d.ts +49 -0
  104. package/lib/request/change-subscriber-compartment-request.js +15 -0
  105. package/lib/request/change-subscriber-compartment-request.js.map +1 -0
  106. package/lib/request/change-usage-plan-compartment-request.d.ts +49 -0
  107. package/lib/request/change-usage-plan-compartment-request.js +15 -0
  108. package/lib/request/change-usage-plan-compartment-request.js.map +1 -0
  109. package/lib/request/create-api-request.d.ts +1 -1
  110. package/lib/request/create-certificate-request.d.ts +1 -1
  111. package/lib/request/create-deployment-request.d.ts +1 -1
  112. package/lib/request/create-gateway-request.d.ts +1 -1
  113. package/lib/request/create-sdk-request.d.ts +1 -1
  114. package/lib/request/create-subscriber-request.d.ts +36 -0
  115. package/lib/request/create-subscriber-request.js +15 -0
  116. package/lib/request/create-subscriber-request.js.map +1 -0
  117. package/lib/request/create-usage-plan-request.d.ts +36 -0
  118. package/lib/request/create-usage-plan-request.js +15 -0
  119. package/lib/request/create-usage-plan-request.js.map +1 -0
  120. package/lib/request/delete-api-request.d.ts +1 -1
  121. package/lib/request/delete-certificate-request.d.ts +1 -1
  122. package/lib/request/delete-deployment-request.d.ts +1 -1
  123. package/lib/request/delete-gateway-request.d.ts +1 -1
  124. package/lib/request/delete-sdk-request.d.ts +1 -1
  125. package/lib/request/delete-subscriber-request.d.ts +35 -0
  126. package/lib/request/delete-subscriber-request.js +15 -0
  127. package/lib/request/delete-subscriber-request.js.map +1 -0
  128. package/lib/request/delete-usage-plan-request.d.ts +35 -0
  129. package/lib/request/delete-usage-plan-request.js +15 -0
  130. package/lib/request/delete-usage-plan-request.js.map +1 -0
  131. package/lib/request/get-api-content-request.d.ts +1 -1
  132. package/lib/request/get-api-deployment-specification-request.d.ts +1 -1
  133. package/lib/request/get-api-request.d.ts +1 -1
  134. package/lib/request/get-api-validations-request.d.ts +1 -1
  135. package/lib/request/get-certificate-request.d.ts +1 -1
  136. package/lib/request/get-deployment-request.d.ts +1 -1
  137. package/lib/request/get-gateway-request.d.ts +1 -1
  138. package/lib/request/get-sdk-request.d.ts +1 -1
  139. package/lib/request/get-subscriber-request.d.ts +26 -0
  140. package/lib/request/get-subscriber-request.js +15 -0
  141. package/lib/request/get-subscriber-request.js.map +1 -0
  142. package/lib/request/get-usage-plan-request.d.ts +26 -0
  143. package/lib/request/get-usage-plan-request.js +15 -0
  144. package/lib/request/get-usage-plan-request.js.map +1 -0
  145. package/lib/request/get-work-request-request.d.ts +1 -1
  146. package/lib/request/index.d.ts +24 -0
  147. package/lib/request/index.js +5 -1
  148. package/lib/request/index.js.map +1 -1
  149. package/lib/request/list-apis-request.d.ts +1 -1
  150. package/lib/request/list-certificates-request.d.ts +1 -1
  151. package/lib/request/list-deployments-request.d.ts +1 -1
  152. package/lib/request/list-gateways-request.d.ts +1 -1
  153. package/lib/request/list-sdk-language-types-request.d.ts +1 -1
  154. package/lib/request/list-sdks-request.d.ts +1 -1
  155. package/lib/request/list-subscribers-request.d.ts +69 -0
  156. package/lib/request/list-subscribers-request.js +29 -0
  157. package/lib/request/list-subscribers-request.js.map +1 -0
  158. package/lib/request/list-usage-plans-request.d.ts +69 -0
  159. package/lib/request/list-usage-plans-request.js +29 -0
  160. package/lib/request/list-usage-plans-request.js.map +1 -0
  161. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  162. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  163. package/lib/request/list-work-requests-request.d.ts +1 -1
  164. package/lib/request/update-api-request.d.ts +1 -1
  165. package/lib/request/update-certificate-request.d.ts +1 -1
  166. package/lib/request/update-deployment-request.d.ts +1 -1
  167. package/lib/request/update-gateway-request.d.ts +1 -1
  168. package/lib/request/update-sdk-request.d.ts +1 -1
  169. package/lib/request/update-subscriber-request.d.ts +40 -0
  170. package/lib/request/update-subscriber-request.js +15 -0
  171. package/lib/request/update-subscriber-request.js.map +1 -0
  172. package/lib/request/update-usage-plan-request.d.ts +40 -0
  173. package/lib/request/update-usage-plan-request.js +15 -0
  174. package/lib/request/update-usage-plan-request.js.map +1 -0
  175. package/lib/response/change-subscriber-compartment-response.d.ts +29 -0
  176. package/lib/response/change-subscriber-compartment-response.js +15 -0
  177. package/lib/response/change-subscriber-compartment-response.js.map +1 -0
  178. package/lib/response/change-usage-plan-compartment-response.d.ts +29 -0
  179. package/lib/response/change-usage-plan-compartment-response.js +15 -0
  180. package/lib/response/change-usage-plan-compartment-response.js.map +1 -0
  181. package/lib/response/create-subscriber-response.d.ts +44 -0
  182. package/lib/response/create-subscriber-response.js +15 -0
  183. package/lib/response/create-subscriber-response.js.map +1 -0
  184. package/lib/response/create-usage-plan-response.d.ts +44 -0
  185. package/lib/response/create-usage-plan-response.js +15 -0
  186. package/lib/response/create-usage-plan-response.js.map +1 -0
  187. package/lib/response/delete-subscriber-response.d.ts +29 -0
  188. package/lib/response/delete-subscriber-response.js +15 -0
  189. package/lib/response/delete-subscriber-response.js.map +1 -0
  190. package/lib/response/delete-usage-plan-response.d.ts +29 -0
  191. package/lib/response/delete-usage-plan-response.js +15 -0
  192. package/lib/response/delete-usage-plan-response.js.map +1 -0
  193. package/lib/response/get-subscriber-response.d.ts +31 -0
  194. package/lib/response/get-subscriber-response.js +15 -0
  195. package/lib/response/get-subscriber-response.js.map +1 -0
  196. package/lib/response/get-usage-plan-response.d.ts +31 -0
  197. package/lib/response/get-usage-plan-response.js +15 -0
  198. package/lib/response/get-usage-plan-response.js.map +1 -0
  199. package/lib/response/index.d.ts +24 -0
  200. package/lib/response/list-subscribers-response.d.ts +42 -0
  201. package/lib/response/list-subscribers-response.js +15 -0
  202. package/lib/response/list-subscribers-response.js.map +1 -0
  203. package/lib/response/list-usage-plans-response.d.ts +42 -0
  204. package/lib/response/list-usage-plans-response.js +15 -0
  205. package/lib/response/list-usage-plans-response.js.map +1 -0
  206. package/lib/response/update-subscriber-response.d.ts +29 -0
  207. package/lib/response/update-subscriber-response.js +15 -0
  208. package/lib/response/update-subscriber-response.js.map +1 -0
  209. package/lib/response/update-usage-plan-response.d.ts +29 -0
  210. package/lib/response/update-usage-plan-response.js +15 -0
  211. package/lib/response/update-usage-plan-response.js.map +1 -0
  212. package/lib/subscribers-waiter.d.ts +32 -0
  213. package/lib/subscribers-waiter.js +68 -0
  214. package/lib/subscribers-waiter.js.map +1 -0
  215. package/lib/usageplans-waiter.d.ts +32 -0
  216. package/lib/usageplans-waiter.js +68 -0
  217. package/lib/usageplans-waiter.js.map +1 -0
  218. package/package.json +3 -3
@@ -0,0 +1,67 @@
1
+ /**
2
+ * API Gateway API
3
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
4
+ For more information, see
5
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
6
+
7
+ * OpenAPI spec version: 20190501
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2022, 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
+ import * as model from "../model";
17
+ /**
18
+ * The information to be updated.
19
+ */
20
+ export interface UpdateSubscriberDetails {
21
+ /**
22
+ * A user-friendly name. Does not have to be unique, and it's changeable.
23
+ * Avoid entering confidential information.
24
+ * <p>
25
+ Example: `My new resource`
26
+ *
27
+ */
28
+ "displayName"?: string;
29
+ /**
30
+ * The clients belonging to the subscriber.
31
+ */
32
+ "clients"?: Array<model.Client>;
33
+ /**
34
+ * An array of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)s of usage
35
+ * plan resources.
36
+ *
37
+ */
38
+ "usagePlans"?: Array<string>;
39
+ /**
40
+ * Free-form tags for this resource. Each tag is a simple key-value pair
41
+ * with no predefined name, type, or namespace. For more information, see
42
+ * [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
43
+ * <p>
44
+ Example: `{\"Department\": \"Finance\"}`
45
+ *
46
+ */
47
+ "freeformTags"?: {
48
+ [key: string]: string;
49
+ };
50
+ /**
51
+ * Defined tags for this resource. Each key is predefined and scoped to a
52
+ * namespace. For more information, see
53
+ * [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
54
+ * <p>
55
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
56
+ *
57
+ */
58
+ "definedTags"?: {
59
+ [key: string]: {
60
+ [key: string]: any;
61
+ };
62
+ };
63
+ }
64
+ export declare namespace UpdateSubscriberDetails {
65
+ function getJsonObj(obj: UpdateSubscriberDetails): object;
66
+ function getDeserializedJsonObj(obj: UpdateSubscriberDetails): object;
67
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /**
3
+ * API Gateway API
4
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
5
+ For more information, see
6
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
7
+
8
+ * OpenAPI spec version: 20190501
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
15
+ * 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.
16
+ */
17
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.UpdateSubscriberDetails = void 0;
38
+ const model = __importStar(require("../model"));
39
+ var UpdateSubscriberDetails;
40
+ (function (UpdateSubscriberDetails) {
41
+ function getJsonObj(obj) {
42
+ const jsonObj = Object.assign(Object.assign({}, obj), {
43
+ "clients": obj.clients
44
+ ? obj.clients.map(item => {
45
+ return model.Client.getJsonObj(item);
46
+ })
47
+ : undefined
48
+ });
49
+ return jsonObj;
50
+ }
51
+ UpdateSubscriberDetails.getJsonObj = getJsonObj;
52
+ function getDeserializedJsonObj(obj) {
53
+ const jsonObj = Object.assign(Object.assign({}, obj), {
54
+ "clients": obj.clients
55
+ ? obj.clients.map(item => {
56
+ return model.Client.getDeserializedJsonObj(item);
57
+ })
58
+ : undefined
59
+ });
60
+ return jsonObj;
61
+ }
62
+ UpdateSubscriberDetails.getDeserializedJsonObj = getDeserializedJsonObj;
63
+ })(UpdateSubscriberDetails = exports.UpdateSubscriberDetails || (exports.UpdateSubscriberDetails = {}));
64
+ //# sourceMappingURL=update-subscriber-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-subscriber-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/update-subscriber-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6ClC,IAAiB,uBAAuB,CA6BvC;AA7BD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACvC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,kCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,8CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QA6BvC"}
@@ -0,0 +1,62 @@
1
+ /**
2
+ * API Gateway API
3
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
4
+ For more information, see
5
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
6
+
7
+ * OpenAPI spec version: 20190501
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2022, 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
+ import * as model from "../model";
17
+ /**
18
+ * The information to be updated.
19
+ */
20
+ export interface UpdateUsagePlanDetails {
21
+ /**
22
+ * A user-friendly name. Does not have to be unique, and it's changeable.
23
+ * Avoid entering confidential information.
24
+ * <p>
25
+ Example: `My new resource`
26
+ *
27
+ */
28
+ "displayName"?: string;
29
+ /**
30
+ * A collection of entitlements to update the current usage plan with.
31
+ *
32
+ */
33
+ "entitlements"?: Array<model.Entitlement>;
34
+ /**
35
+ * Free-form tags for this resource. Each tag is a simple key-value pair
36
+ * with no predefined name, type, or namespace. For more information, see
37
+ * [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
38
+ * <p>
39
+ Example: `{\"Department\": \"Finance\"}`
40
+ *
41
+ */
42
+ "freeformTags"?: {
43
+ [key: string]: string;
44
+ };
45
+ /**
46
+ * Defined tags for this resource. Each key is predefined and scoped to a
47
+ * namespace. For more information, see
48
+ * [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
49
+ * <p>
50
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
51
+ *
52
+ */
53
+ "definedTags"?: {
54
+ [key: string]: {
55
+ [key: string]: any;
56
+ };
57
+ };
58
+ }
59
+ export declare namespace UpdateUsagePlanDetails {
60
+ function getJsonObj(obj: UpdateUsagePlanDetails): object;
61
+ function getDeserializedJsonObj(obj: UpdateUsagePlanDetails): object;
62
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /**
3
+ * API Gateway API
4
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
5
+ For more information, see
6
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
7
+
8
+ * OpenAPI spec version: 20190501
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
15
+ * 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.
16
+ */
17
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.UpdateUsagePlanDetails = void 0;
38
+ const model = __importStar(require("../model"));
39
+ var UpdateUsagePlanDetails;
40
+ (function (UpdateUsagePlanDetails) {
41
+ function getJsonObj(obj) {
42
+ const jsonObj = Object.assign(Object.assign({}, obj), {
43
+ "entitlements": obj.entitlements
44
+ ? obj.entitlements.map(item => {
45
+ return model.Entitlement.getJsonObj(item);
46
+ })
47
+ : undefined
48
+ });
49
+ return jsonObj;
50
+ }
51
+ UpdateUsagePlanDetails.getJsonObj = getJsonObj;
52
+ function getDeserializedJsonObj(obj) {
53
+ const jsonObj = Object.assign(Object.assign({}, obj), {
54
+ "entitlements": obj.entitlements
55
+ ? obj.entitlements.map(item => {
56
+ return model.Entitlement.getDeserializedJsonObj(item);
57
+ })
58
+ : undefined
59
+ });
60
+ return jsonObj;
61
+ }
62
+ UpdateUsagePlanDetails.getDeserializedJsonObj = getDeserializedJsonObj;
63
+ })(UpdateUsagePlanDetails = exports.UpdateUsagePlanDetails || (exports.UpdateUsagePlanDetails = {}));
64
+ //# sourceMappingURL=update-usage-plan-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-usage-plan-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/update-usage-plan-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwClC,IAAiB,sBAAsB,CA6BtC;AA7BD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC5C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACxD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QA6BtC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * API Gateway API
3
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
4
+ For more information, see
5
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
6
+
7
+ * OpenAPI spec version: 20190501
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2022, 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
+ import * as model from "../model";
17
+ /**
18
+ * Collection of usage plan summaries.
19
+ */
20
+ export interface UsagePlanCollection {
21
+ /**
22
+ * Usage plan summaries.
23
+ */
24
+ "items": Array<model.UsagePlanSummary>;
25
+ }
26
+ export declare namespace UsagePlanCollection {
27
+ function getJsonObj(obj: UsagePlanCollection): object;
28
+ function getDeserializedJsonObj(obj: UsagePlanCollection): object;
29
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /**
3
+ * API Gateway API
4
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
5
+ For more information, see
6
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
7
+
8
+ * OpenAPI spec version: 20190501
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
15
+ * 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.
16
+ */
17
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.UsagePlanCollection = void 0;
38
+ const model = __importStar(require("../model"));
39
+ var UsagePlanCollection;
40
+ (function (UsagePlanCollection) {
41
+ function getJsonObj(obj) {
42
+ const jsonObj = Object.assign(Object.assign({}, obj), {
43
+ "items": obj.items
44
+ ? obj.items.map(item => {
45
+ return model.UsagePlanSummary.getJsonObj(item);
46
+ })
47
+ : undefined
48
+ });
49
+ return jsonObj;
50
+ }
51
+ UsagePlanCollection.getJsonObj = getJsonObj;
52
+ function getDeserializedJsonObj(obj) {
53
+ const jsonObj = Object.assign(Object.assign({}, obj), {
54
+ "items": obj.items
55
+ ? obj.items.map(item => {
56
+ return model.UsagePlanSummary.getDeserializedJsonObj(item);
57
+ })
58
+ : undefined
59
+ });
60
+ return jsonObj;
61
+ }
62
+ UsagePlanCollection.getDeserializedJsonObj = getDeserializedJsonObj;
63
+ })(UsagePlanCollection = exports.UsagePlanCollection || (exports.UsagePlanCollection = {}));
64
+ //# sourceMappingURL=usage-plan-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-plan-collection.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/usage-plan-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,mBAAmB,CA6BnC;AA7BD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,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,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,8BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,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,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QA6BnC"}
@@ -0,0 +1,92 @@
1
+ /**
2
+ * API Gateway API
3
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
4
+ For more information, see
5
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
6
+
7
+ * OpenAPI spec version: 20190501
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2022, 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
+ import * as model from "../model";
17
+ /**
18
+ * A summary of the usage plan.
19
+ */
20
+ export interface UsagePlanSummary {
21
+ /**
22
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a usage plan
23
+ * resource.
24
+ *
25
+ */
26
+ "id": string;
27
+ /**
28
+ * A user-friendly name. Does not have to be unique, and it's changeable.
29
+ * Avoid entering confidential information.
30
+ * <p>
31
+ Example: `My new resource`
32
+ *
33
+ */
34
+ "displayName"?: string;
35
+ /**
36
+ * A collection of entitlements applied by the usage plan.
37
+ *
38
+ */
39
+ "entitlements": Array<model.EntitlementSummary>;
40
+ /**
41
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the
42
+ * resource is created.
43
+ *
44
+ */
45
+ "compartmentId": string;
46
+ /**
47
+ * The time this resource was created. An RFC3339 formatted datetime string.
48
+ */
49
+ "timeCreated": Date;
50
+ /**
51
+ * The time this resource was last updated. An RFC3339 formatted datetime string.
52
+ */
53
+ "timeUpdated": Date;
54
+ /**
55
+ * The current state of the usage plan.
56
+ */
57
+ "lifecycleState": string;
58
+ /**
59
+ * A message describing the current state in more detail.
60
+ * For example, can be used to provide actionable information for a resource in a Failed state.
61
+ *
62
+ */
63
+ "lifecycleDetails"?: string;
64
+ /**
65
+ * Free-form tags for this resource. Each tag is a simple key-value pair
66
+ * with no predefined name, type, or namespace. For more information, see
67
+ * [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
68
+ * <p>
69
+ Example: `{\"Department\": \"Finance\"}`
70
+ *
71
+ */
72
+ "freeformTags"?: {
73
+ [key: string]: string;
74
+ };
75
+ /**
76
+ * Defined tags for this resource. Each key is predefined and scoped to a
77
+ * namespace. For more information, see
78
+ * [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
79
+ * <p>
80
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
81
+ *
82
+ */
83
+ "definedTags"?: {
84
+ [key: string]: {
85
+ [key: string]: any;
86
+ };
87
+ };
88
+ }
89
+ export declare namespace UsagePlanSummary {
90
+ function getJsonObj(obj: UsagePlanSummary): object;
91
+ function getDeserializedJsonObj(obj: UsagePlanSummary): object;
92
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /**
3
+ * API Gateway API
4
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
5
+ For more information, see
6
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
7
+
8
+ * OpenAPI spec version: 20190501
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
15
+ * 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.
16
+ */
17
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.UsagePlanSummary = void 0;
38
+ const model = __importStar(require("../model"));
39
+ var UsagePlanSummary;
40
+ (function (UsagePlanSummary) {
41
+ function getJsonObj(obj) {
42
+ const jsonObj = Object.assign(Object.assign({}, obj), {
43
+ "entitlements": obj.entitlements
44
+ ? obj.entitlements.map(item => {
45
+ return model.EntitlementSummary.getJsonObj(item);
46
+ })
47
+ : undefined
48
+ });
49
+ return jsonObj;
50
+ }
51
+ UsagePlanSummary.getJsonObj = getJsonObj;
52
+ function getDeserializedJsonObj(obj) {
53
+ const jsonObj = Object.assign(Object.assign({}, obj), {
54
+ "entitlements": obj.entitlements
55
+ ? obj.entitlements.map(item => {
56
+ return model.EntitlementSummary.getDeserializedJsonObj(item);
57
+ })
58
+ : undefined
59
+ });
60
+ return jsonObj;
61
+ }
62
+ UsagePlanSummary.getDeserializedJsonObj = getDeserializedJsonObj;
63
+ })(UsagePlanSummary = exports.UsagePlanSummary || (exports.UsagePlanSummary = {}));
64
+ //# sourceMappingURL=usage-plan-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-plan-summary.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/usage-plan-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsElC,IAAiB,gBAAgB,CA6BhC;AA7BD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,2BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QA6BhC"}
@@ -0,0 +1,106 @@
1
+ /**
2
+ * API Gateway API
3
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
4
+ For more information, see
5
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
6
+
7
+ * OpenAPI spec version: 20190501
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2022, 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
+ import * as model from "../model";
17
+ /**
18
+ * A usage plan controls access of subscribers to deployments, controlling rate limits and quotas for usage.
19
+ *
20
+ */
21
+ export interface UsagePlan {
22
+ /**
23
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a usage plan
24
+ * resource.
25
+ *
26
+ */
27
+ "id": string;
28
+ /**
29
+ * A user-friendly name. Does not have to be unique, and it's changeable.
30
+ * Avoid entering confidential information.
31
+ * <p>
32
+ Example: `My new resource`
33
+ *
34
+ */
35
+ "displayName"?: string;
36
+ /**
37
+ * A collection of entitlements currently assigned to the usage plan.
38
+ *
39
+ */
40
+ "entitlements": Array<model.Entitlement>;
41
+ /**
42
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the
43
+ * resource is created.
44
+ *
45
+ */
46
+ "compartmentId": string;
47
+ /**
48
+ * The time this resource was created. An RFC3339 formatted datetime string.
49
+ */
50
+ "timeCreated": Date;
51
+ /**
52
+ * The time this resource was last updated. An RFC3339 formatted datetime string.
53
+ */
54
+ "timeUpdated": Date;
55
+ /**
56
+ * The current state of the usage plan.
57
+ */
58
+ "lifecycleState": UsagePlan.LifecycleState;
59
+ /**
60
+ * A message describing the current state in more detail.
61
+ * For example, can be used to provide actionable information for a resource in a Failed state.
62
+ *
63
+ */
64
+ "lifecycleDetails"?: string;
65
+ /**
66
+ * Free-form tags for this resource. Each tag is a simple key-value pair
67
+ * with no predefined name, type, or namespace. For more information, see
68
+ * [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
69
+ * <p>
70
+ Example: `{\"Department\": \"Finance\"}`
71
+ *
72
+ */
73
+ "freeformTags"?: {
74
+ [key: string]: string;
75
+ };
76
+ /**
77
+ * Defined tags for this resource. Each key is predefined and scoped to a
78
+ * namespace. For more information, see
79
+ * [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
80
+ * <p>
81
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
82
+ *
83
+ */
84
+ "definedTags"?: {
85
+ [key: string]: {
86
+ [key: string]: any;
87
+ };
88
+ };
89
+ }
90
+ export declare namespace UsagePlan {
91
+ enum LifecycleState {
92
+ Creating = "CREATING",
93
+ Active = "ACTIVE",
94
+ Updating = "UPDATING",
95
+ Deleting = "DELETING",
96
+ Deleted = "DELETED",
97
+ Failed = "FAILED",
98
+ /**
99
+ * This value is used if a service returns a value for this enum that is not recognized by this
100
+ * version of the SDK.
101
+ */
102
+ UnknownValue = "UNKNOWN_VALUE"
103
+ }
104
+ function getJsonObj(obj: UsagePlan): object;
105
+ function getDeserializedJsonObj(obj: UsagePlan): object;
106
+ }