oci-usageapi 2.22.0 → 2.26.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 (113) hide show
  1. package/index.d.ts +2 -0
  2. package/index.js +3 -1
  3. package/index.js.map +1 -1
  4. package/lib/client.d.ts +98 -12
  5. package/lib/client.js +477 -13
  6. package/lib/client.js.map +1 -1
  7. package/lib/model/create-schedule-details.d.ts +59 -0
  8. package/lib/model/create-schedule-details.js +63 -0
  9. package/lib/model/create-schedule-details.js.map +1 -0
  10. package/lib/model/date-range.d.ts +24 -0
  11. package/lib/model/date-range.js +69 -0
  12. package/lib/model/date-range.js.map +1 -0
  13. package/lib/model/dynamic-date-range.d.ts +39 -0
  14. package/lib/model/dynamic-date-range.js +67 -0
  15. package/lib/model/dynamic-date-range.js.map +1 -0
  16. package/lib/model/index.d.ts +28 -0
  17. package/lib/model/index.js +29 -1
  18. package/lib/model/index.js.map +1 -1
  19. package/lib/model/object-storage-location.d.ts +36 -0
  20. package/lib/model/object-storage-location.js +52 -0
  21. package/lib/model/object-storage-location.js.map +1 -0
  22. package/lib/model/query-properties.d.ts +78 -0
  23. package/lib/model/query-properties.js +88 -0
  24. package/lib/model/query-properties.js.map +1 -0
  25. package/lib/model/result-location.d.ts +24 -0
  26. package/lib/model/result-location.js +65 -0
  27. package/lib/model/result-location.js.map +1 -0
  28. package/lib/model/schedule-collection.d.ts +26 -0
  29. package/lib/model/schedule-collection.js +61 -0
  30. package/lib/model/schedule-collection.js.map +1 -0
  31. package/lib/model/schedule-summary.d.ts +69 -0
  32. package/lib/model/schedule-summary.js +29 -0
  33. package/lib/model/schedule-summary.js.map +1 -0
  34. package/lib/model/schedule.d.ts +89 -0
  35. package/lib/model/schedule.js +73 -0
  36. package/lib/model/schedule.js.map +1 -0
  37. package/lib/model/scheduled-run-collection.d.ts +26 -0
  38. package/lib/model/scheduled-run-collection.js +61 -0
  39. package/lib/model/scheduled-run-collection.js.map +1 -0
  40. package/lib/model/scheduled-run-summary.d.ts +45 -0
  41. package/lib/model/scheduled-run-summary.js +29 -0
  42. package/lib/model/scheduled-run-summary.js.map +1 -0
  43. package/lib/model/scheduled-run.d.ts +54 -0
  44. package/lib/model/scheduled-run.js +39 -0
  45. package/lib/model/scheduled-run.js.map +1 -0
  46. package/lib/model/static-date-range.d.ts +32 -0
  47. package/lib/model/static-date-range.js +50 -0
  48. package/lib/model/static-date-range.js.map +1 -0
  49. package/lib/model/update-schedule-details.d.ts +39 -0
  50. package/lib/model/update-schedule-details.js +29 -0
  51. package/lib/model/update-schedule-details.js.map +1 -0
  52. package/lib/request/create-custom-table-request.d.ts +1 -1
  53. package/lib/request/create-query-request.d.ts +1 -1
  54. package/lib/request/create-schedule-request.d.ts +38 -0
  55. package/lib/request/create-schedule-request.js +15 -0
  56. package/lib/request/create-schedule-request.js.map +1 -0
  57. package/lib/request/delete-custom-table-request.d.ts +1 -1
  58. package/lib/request/delete-query-request.d.ts +1 -1
  59. package/lib/request/delete-schedule-request.d.ts +37 -0
  60. package/lib/request/delete-schedule-request.js +15 -0
  61. package/lib/request/delete-schedule-request.js.map +1 -0
  62. package/lib/request/get-custom-table-request.d.ts +1 -1
  63. package/lib/request/get-query-request.d.ts +1 -1
  64. package/lib/request/get-schedule-request.d.ts +28 -0
  65. package/lib/request/get-schedule-request.js +15 -0
  66. package/lib/request/get-schedule-request.js.map +1 -0
  67. package/lib/request/get-scheduled-run-request.d.ts +28 -0
  68. package/lib/request/get-scheduled-run-request.js +15 -0
  69. package/lib/request/get-scheduled-run-request.js.map +1 -0
  70. package/lib/request/index.d.ts +14 -0
  71. package/lib/request/index.js +5 -1
  72. package/lib/request/index.js.map +1 -1
  73. package/lib/request/list-custom-tables-request.d.ts +1 -1
  74. package/lib/request/list-queries-request.d.ts +1 -1
  75. package/lib/request/list-scheduled-runs-request.d.ts +56 -0
  76. package/lib/request/list-scheduled-runs-request.js +28 -0
  77. package/lib/request/list-scheduled-runs-request.js.map +1 -0
  78. package/lib/request/list-schedules-request.d.ts +62 -0
  79. package/lib/request/list-schedules-request.js +29 -0
  80. package/lib/request/list-schedules-request.js.map +1 -0
  81. package/lib/request/request-summarized-configurations-request.d.ts +1 -1
  82. package/lib/request/request-summarized-usages-request.d.ts +1 -1
  83. package/lib/request/update-custom-table-request.d.ts +1 -1
  84. package/lib/request/update-query-request.d.ts +1 -1
  85. package/lib/request/update-schedule-request.d.ts +42 -0
  86. package/lib/request/update-schedule-request.js +15 -0
  87. package/lib/request/update-schedule-request.js.map +1 -0
  88. package/lib/response/create-schedule-response.d.ts +29 -0
  89. package/lib/response/create-schedule-response.js +15 -0
  90. package/lib/response/create-schedule-response.js.map +1 -0
  91. package/lib/response/delete-schedule-response.d.ts +20 -0
  92. package/lib/response/delete-schedule-response.js +15 -0
  93. package/lib/response/delete-schedule-response.js.map +1 -0
  94. package/lib/response/get-schedule-response.d.ts +29 -0
  95. package/lib/response/get-schedule-response.js +15 -0
  96. package/lib/response/get-schedule-response.js.map +1 -0
  97. package/lib/response/get-scheduled-run-response.d.ts +29 -0
  98. package/lib/response/get-scheduled-run-response.js +15 -0
  99. package/lib/response/get-scheduled-run-response.js.map +1 -0
  100. package/lib/response/index.d.ts +14 -0
  101. package/lib/response/list-scheduled-runs-response.d.ts +32 -0
  102. package/lib/response/list-scheduled-runs-response.js +15 -0
  103. package/lib/response/list-scheduled-runs-response.js.map +1 -0
  104. package/lib/response/list-schedules-response.d.ts +32 -0
  105. package/lib/response/list-schedules-response.js +15 -0
  106. package/lib/response/list-schedules-response.js.map +1 -0
  107. package/lib/response/update-schedule-response.d.ts +29 -0
  108. package/lib/response/update-schedule-response.js +15 -0
  109. package/lib/response/update-schedule-response.js.map +1 -0
  110. package/lib/usageapi-waiter.d.ts +37 -0
  111. package/lib/usageapi-waiter.js +57 -0
  112. package/lib/usageapi-waiter.js.map +1 -0
  113. package/package.json +3 -3
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Usage API
3
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
4
+ * OpenAPI spec version: 20200107
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
+ * The object storage location where usage/cost CSVs will be uploaded
16
+ */
17
+ export interface ObjectStorageLocation extends model.ResultLocation {
18
+ /**
19
+ * The destination Object Store Region specified by customer
20
+ */
21
+ "region": string;
22
+ /**
23
+ * The namespace needed to determine object storage bucket.
24
+ */
25
+ "namespace": string;
26
+ /**
27
+ * The bucket name where usage/cost CSVs will be uploaded
28
+ */
29
+ "bucketName": string;
30
+ "locationType": string;
31
+ }
32
+ export declare namespace ObjectStorageLocation {
33
+ function getJsonObj(obj: ObjectStorageLocation, isParentJsonObj?: boolean): object;
34
+ const locationType = "OBJECT_STORAGE";
35
+ function getDeserializedJsonObj(obj: ObjectStorageLocation, isParentJsonObj?: boolean): object;
36
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * Usage API
4
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
5
+ * OpenAPI spec version: 20200107
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.ObjectStorageLocation = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ObjectStorageLocation;
37
+ (function (ObjectStorageLocation) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.ResultLocation.getJsonObj(obj))), {});
40
+ return jsonObj;
41
+ }
42
+ ObjectStorageLocation.getJsonObj = getJsonObj;
43
+ ObjectStorageLocation.locationType = "OBJECT_STORAGE";
44
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
45
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
46
+ ? obj
47
+ : model.ResultLocation.getDeserializedJsonObj(obj))), {});
48
+ return jsonObj;
49
+ }
50
+ ObjectStorageLocation.getDeserializedJsonObj = getDeserializedJsonObj;
51
+ })(ObjectStorageLocation = exports.ObjectStorageLocation || (exports.ObjectStorageLocation = {}));
52
+ //# sourceMappingURL=object-storage-location.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"object-storage-location.js","sourceRoot":"","sources":["../../../../../lib/usageapi/lib/model/object-storage-location.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuBlC,IAAiB,qBAAqB,CAuBrC;AAvBD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B,EAAE,eAAyB;QAC9E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAA2B,CAAC,GACzF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,gCAAU,aAOzB,CAAA;IACY,kCAAY,GAAG,gBAAgB,CAAC;IAC7C,SAAgB,sBAAsB,CACpC,GAA0B,EAC1B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAA2B,CAAC,GAC7E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,4CAAsB,yBAYrC,CAAA;AACH,CAAC,EAvBgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAuBrC"}
@@ -0,0 +1,78 @@
1
+ /**
2
+ * Usage API
3
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
4
+ * OpenAPI spec version: 20200107
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
+ * The query properties.
16
+ */
17
+ export interface QueryProperties {
18
+ /**
19
+ * Aggregate the result by. For example: [ \"tagNamespace\", \"tagKey\", \"tagValue\", \"service\", \"skuName\", \"skuPartNumber\", \"unit\", \"compartmentName\", \"compartmentPath\", \"compartmentId\", \"platform\", \"region\", \"logicalAd\", \"resourceId\", \"tenantId\", \"tenantName\" ]
20
+ *
21
+ */
22
+ "groupBy"?: Array<string>;
23
+ /**
24
+ * GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { \"namespace\": \"oracle\", \"key\": \"createdBy\" ]
25
+ *
26
+ */
27
+ "groupByTag"?: Array<model.Tag>;
28
+ "filter"?: model.Filter;
29
+ /**
30
+ * The depth level of the compartment. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
31
+ */
32
+ "compartmentDepth"?: number;
33
+ /**
34
+ * The usage granularity. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation.
35
+ * Allowed values are:
36
+ * DAILY
37
+ * MONTHLY
38
+ *
39
+ */
40
+ "granularity": QueryProperties.Granularity;
41
+ /**
42
+ * The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data.
43
+ * Allowed values are:
44
+ * USAGE
45
+ * COST
46
+ * USAGE_AND_COST
47
+ *
48
+ */
49
+ "queryType"?: QueryProperties.QueryType;
50
+ /**
51
+ * Specifies whether aggregated by time. If isAggregateByTime is true, all usage/cost over the query time period will be added up.
52
+ */
53
+ "isAggregateByTime"?: boolean;
54
+ "dateRange": model.StaticDateRange | model.DynamicDateRange;
55
+ }
56
+ export declare namespace QueryProperties {
57
+ enum Granularity {
58
+ Daily = "DAILY",
59
+ Monthly = "MONTHLY",
60
+ /**
61
+ * This value is used if a service returns a value for this enum that is not recognized by this
62
+ * version of the SDK.
63
+ */
64
+ UnknownValue = "UNKNOWN_VALUE"
65
+ }
66
+ enum QueryType {
67
+ Usage = "USAGE",
68
+ Cost = "COST",
69
+ UsageAndCost = "USAGE_AND_COST",
70
+ /**
71
+ * This value is used if a service returns a value for this enum that is not recognized by this
72
+ * version of the SDK.
73
+ */
74
+ UnknownValue = "UNKNOWN_VALUE"
75
+ }
76
+ function getJsonObj(obj: QueryProperties): object;
77
+ function getDeserializedJsonObj(obj: QueryProperties): object;
78
+ }
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ /**
3
+ * Usage API
4
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
5
+ * OpenAPI spec version: 20200107
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.QueryProperties = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var QueryProperties;
37
+ (function (QueryProperties) {
38
+ let Granularity;
39
+ (function (Granularity) {
40
+ Granularity["Daily"] = "DAILY";
41
+ Granularity["Monthly"] = "MONTHLY";
42
+ /**
43
+ * This value is used if a service returns a value for this enum that is not recognized by this
44
+ * version of the SDK.
45
+ */
46
+ Granularity["UnknownValue"] = "UNKNOWN_VALUE";
47
+ })(Granularity = QueryProperties.Granularity || (QueryProperties.Granularity = {}));
48
+ let QueryType;
49
+ (function (QueryType) {
50
+ QueryType["Usage"] = "USAGE";
51
+ QueryType["Cost"] = "COST";
52
+ QueryType["UsageAndCost"] = "USAGE_AND_COST";
53
+ /**
54
+ * This value is used if a service returns a value for this enum that is not recognized by this
55
+ * version of the SDK.
56
+ */
57
+ QueryType["UnknownValue"] = "UNKNOWN_VALUE";
58
+ })(QueryType = QueryProperties.QueryType || (QueryProperties.QueryType = {}));
59
+ function getJsonObj(obj) {
60
+ const jsonObj = Object.assign(Object.assign({}, obj), {
61
+ "groupByTag": obj.groupByTag
62
+ ? obj.groupByTag.map(item => {
63
+ return model.Tag.getJsonObj(item);
64
+ })
65
+ : undefined,
66
+ "filter": obj.filter ? model.Filter.getJsonObj(obj.filter) : undefined,
67
+ "dateRange": obj.dateRange ? model.DateRange.getJsonObj(obj.dateRange) : undefined
68
+ });
69
+ return jsonObj;
70
+ }
71
+ QueryProperties.getJsonObj = getJsonObj;
72
+ function getDeserializedJsonObj(obj) {
73
+ const jsonObj = Object.assign(Object.assign({}, obj), {
74
+ "groupByTag": obj.groupByTag
75
+ ? obj.groupByTag.map(item => {
76
+ return model.Tag.getDeserializedJsonObj(item);
77
+ })
78
+ : undefined,
79
+ "filter": obj.filter ? model.Filter.getDeserializedJsonObj(obj.filter) : undefined,
80
+ "dateRange": obj.dateRange
81
+ ? model.DateRange.getDeserializedJsonObj(obj.dateRange)
82
+ : undefined
83
+ });
84
+ return jsonObj;
85
+ }
86
+ QueryProperties.getDeserializedJsonObj = getDeserializedJsonObj;
87
+ })(QueryProperties = exports.QueryProperties || (exports.QueryProperties = {}));
88
+ //# sourceMappingURL=query-properties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-properties.js","sourceRoot":"","sources":["../../../../../lib/usageapi/lib/model/query-properties.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8ClC,IAAiB,eAAe,CA0D/B;AA1DD,WAAiB,eAAe;IAC9B,IAAY,WAQX;IARD,WAAY,WAAW;QACrB,8BAAe,CAAA;QACf,kCAAmB,CAAA;QACnB;;;WAGG;QACH,6CAA8B,CAAA;IAChC,CAAC,EARW,WAAW,GAAX,2BAAW,KAAX,2BAAW,QAQtB;IAED,IAAY,SASX;IATD,WAAY,SAAS;QACnB,4BAAe,CAAA;QACf,0BAAa,CAAA;QACb,4CAA+B,CAAA;QAC/B;;;WAGG;QACH,2CAA8B,CAAA;IAChC,CAAC,EATW,SAAS,GAAT,yBAAS,KAAT,yBAAS,QASpB;IAED,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;YAEtE,WAAW,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS;SACnF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,0BAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,GAAG,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;YAElF,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,CAAC;gBACvD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,sCAAsB,yBAkBrC,CAAA;AACH,CAAC,EA1DgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA0D/B"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Usage API
3
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
4
+ * OpenAPI spec version: 20200107
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
+ * The location where usage/cost CSVs will be uploaded defined by `locationType`,
15
+ * which corresponds with type-specific characteristics.
16
+ *
17
+ */
18
+ export interface ResultLocation {
19
+ "locationType": string;
20
+ }
21
+ export declare namespace ResultLocation {
22
+ function getJsonObj(obj: ResultLocation): object;
23
+ function getDeserializedJsonObj(obj: ResultLocation): object;
24
+ }
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ /**
3
+ * Usage API
4
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
5
+ * OpenAPI spec version: 20200107
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.ResultLocation = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ResultLocation;
37
+ (function (ResultLocation) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
40
+ if ("locationType" in obj && obj.locationType) {
41
+ switch (obj.locationType) {
42
+ case "OBJECT_STORAGE":
43
+ return model.ObjectStorageLocation.getJsonObj(jsonObj, true);
44
+ default:
45
+ throw Error("Unknown value for: " + obj.locationType);
46
+ }
47
+ }
48
+ return jsonObj;
49
+ }
50
+ ResultLocation.getJsonObj = getJsonObj;
51
+ function getDeserializedJsonObj(obj) {
52
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
53
+ if ("locationType" in obj && obj.locationType) {
54
+ switch (obj.locationType) {
55
+ case "OBJECT_STORAGE":
56
+ return model.ObjectStorageLocation.getDeserializedJsonObj(jsonObj, true);
57
+ default:
58
+ throw Error("Unknown value for: " + obj.locationType);
59
+ }
60
+ }
61
+ return jsonObj;
62
+ }
63
+ ResultLocation.getDeserializedJsonObj = getDeserializedJsonObj;
64
+ })(ResultLocation = exports.ResultLocation || (exports.ResultLocation = {}));
65
+ //# sourceMappingURL=result-location.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"result-location.js","sourceRoot":"","sources":["../../../../../lib/usageapi/lib/model/result-location.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAYlC,IAAiB,cAAc,CAiC9B;AAjCD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,cAAc,IAAI,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE;YAC7C,QAAQ,GAAG,CAAC,YAAY,EAAE;gBACxB,KAAK,gBAAgB;oBACnB,OAAO,KAAK,CAAC,qBAAqB,CAAC,UAAU,CACL,OAAQ,EAC9C,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,YAAY,CAAC,CAAC;aACzD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,yBAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,cAAc,IAAI,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE;YAC7C,QAAQ,GAAG,CAAC,YAAY,EAAE;gBACxB,KAAK,gBAAgB;oBACnB,OAAO,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CACjB,OAAQ,EAC9C,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,YAAY,CAAC,CAAC;aACzD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,qCAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAiC9B"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Usage API
3
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
4
+ * OpenAPI spec version: 20200107
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
+ * A schedule collection.
16
+ */
17
+ export interface ScheduleCollection {
18
+ /**
19
+ * List of schedule summary.
20
+ */
21
+ "items": Array<model.ScheduleSummary>;
22
+ }
23
+ export declare namespace ScheduleCollection {
24
+ function getJsonObj(obj: ScheduleCollection): object;
25
+ function getDeserializedJsonObj(obj: ScheduleCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Usage API
4
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
5
+ * OpenAPI spec version: 20200107
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.ScheduleCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ScheduleCollection;
37
+ (function (ScheduleCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.ScheduleSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ ScheduleCollection.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.ScheduleSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ ScheduleCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(ScheduleCollection = exports.ScheduleCollection || (exports.ScheduleCollection = {}));
61
+ //# sourceMappingURL=schedule-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schedule-collection.js","sourceRoot":"","sources":["../../../../../lib/usageapi/lib/model/schedule-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,kBAAkB,CA6BlC;AA7BD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,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,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,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,eAAe,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA6BlC"}
@@ -0,0 +1,69 @@
1
+ /**
2
+ * Usage API
3
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
4
+ * OpenAPI spec version: 20200107
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
+ * Schedule summary for listSchedule.
15
+ */
16
+ export interface ScheduleSummary {
17
+ /**
18
+ * The schedule OCID.
19
+ */
20
+ "id": string;
21
+ /**
22
+ * The unique name of the schedule created by the user
23
+ */
24
+ "name": string;
25
+ /**
26
+ * In x-obmcs-recurring-time format shown here: https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10
27
+ * Describes the frequency of when the schedule will be run
28
+ *
29
+ */
30
+ "scheduleRecurrences": string;
31
+ /**
32
+ * The date and time of the first time job execution
33
+ */
34
+ "timeScheduled": Date;
35
+ /**
36
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
37
+ * See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{\"bar-key\": \"value\"}`
38
+ *
39
+ */
40
+ "freeformTags"?: {
41
+ [key: string]: string;
42
+ };
43
+ /**
44
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
45
+ *
46
+ */
47
+ "definedTags"?: {
48
+ [key: string]: {
49
+ [key: string]: any;
50
+ };
51
+ };
52
+ /**
53
+ * Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
54
+ *
55
+ */
56
+ "systemTags"?: {
57
+ [key: string]: {
58
+ [key: string]: any;
59
+ };
60
+ };
61
+ /**
62
+ * The lifecycle state of the schedule summary
63
+ */
64
+ "lifecycleState": string;
65
+ }
66
+ export declare namespace ScheduleSummary {
67
+ function getJsonObj(obj: ScheduleSummary): object;
68
+ function getDeserializedJsonObj(obj: ScheduleSummary): object;
69
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Usage API
4
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
5
+ * OpenAPI spec version: 20200107
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.ScheduleSummary = void 0;
16
+ var ScheduleSummary;
17
+ (function (ScheduleSummary) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ ScheduleSummary.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ ScheduleSummary.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(ScheduleSummary = exports.ScheduleSummary || (exports.ScheduleSummary = {}));
29
+ //# sourceMappingURL=schedule-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schedule-summary.js","sourceRoot":"","sources":["../../../../../lib/usageapi/lib/model/schedule-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAiDH,IAAiB,eAAe,CAW/B;AAXD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAW/B"}
@@ -0,0 +1,89 @@
1
+ /**
2
+ * Usage API
3
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
4
+ * OpenAPI spec version: 20200107
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
+ * The schedule.
16
+ */
17
+ export interface Schedule {
18
+ /**
19
+ * The OCID representing unique shedule
20
+ */
21
+ "id": string;
22
+ /**
23
+ * The unique name of the schedule created by the user
24
+ */
25
+ "name": string;
26
+ /**
27
+ * The tenancy of the customer
28
+ */
29
+ "compartmentId": string;
30
+ "resultLocation": model.ObjectStorageLocation;
31
+ /**
32
+ * In x-obmcs-recurring-time format shown here: https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10
33
+ * Describes the frequency of when the schedule will be run
34
+ *
35
+ */
36
+ "scheduleRecurrences": string;
37
+ /**
38
+ * The date and time of the first time job execution
39
+ */
40
+ "timeScheduled": Date;
41
+ "queryProperties": model.QueryProperties;
42
+ /**
43
+ * The date and time of when the schedule was created
44
+ */
45
+ "timeCreated": Date;
46
+ /**
47
+ * The lifecycle state of the schedule
48
+ */
49
+ "lifecycleState": Schedule.LifecycleState;
50
+ /**
51
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
52
+ * See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{\"bar-key\": \"value\"}`
53
+ *
54
+ */
55
+ "freeformTags"?: {
56
+ [key: string]: string;
57
+ };
58
+ /**
59
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
60
+ *
61
+ */
62
+ "definedTags"?: {
63
+ [key: string]: {
64
+ [key: string]: any;
65
+ };
66
+ };
67
+ /**
68
+ * Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
69
+ *
70
+ */
71
+ "systemTags"?: {
72
+ [key: string]: {
73
+ [key: string]: any;
74
+ };
75
+ };
76
+ }
77
+ export declare namespace Schedule {
78
+ enum LifecycleState {
79
+ Active = "ACTIVE",
80
+ Inactive = "INACTIVE",
81
+ /**
82
+ * This value is used if a service returns a value for this enum that is not recognized by this
83
+ * version of the SDK.
84
+ */
85
+ UnknownValue = "UNKNOWN_VALUE"
86
+ }
87
+ function getJsonObj(obj: Schedule): object;
88
+ function getDeserializedJsonObj(obj: Schedule): object;
89
+ }