oci-stackmonitoring 2.95.0 → 2.95.2

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 (103) hide show
  1. package/lib/client.d.ts +70 -0
  2. package/lib/client.js +454 -0
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/create-maintenance-window-details.d.ts +42 -0
  5. package/lib/model/create-maintenance-window-details.js +67 -0
  6. package/lib/model/create-maintenance-window-details.js.map +1 -0
  7. package/lib/model/create-maintenance-window-resource-details.d.ts +34 -0
  8. package/lib/model/create-maintenance-window-resource-details.js +29 -0
  9. package/lib/model/create-maintenance-window-resource-details.js.map +1 -0
  10. package/lib/model/index.d.ts +30 -0
  11. package/lib/model/index.js +34 -3
  12. package/lib/model/index.js.map +1 -1
  13. package/lib/model/maintenance-window-collection.d.ts +26 -0
  14. package/lib/model/maintenance-window-collection.js +61 -0
  15. package/lib/model/maintenance-window-collection.js.map +1 -0
  16. package/lib/model/maintenance-window-lifecycle-details.d.ts +30 -0
  17. package/lib/model/maintenance-window-lifecycle-details.js +41 -0
  18. package/lib/model/maintenance-window-lifecycle-details.js.map +1 -0
  19. package/lib/model/maintenance-window-lifecycle-state.d.ts +35 -0
  20. package/lib/model/maintenance-window-lifecycle-state.js +46 -0
  21. package/lib/model/maintenance-window-lifecycle-state.js.map +1 -0
  22. package/lib/model/maintenance-window-operation-status.d.ts +30 -0
  23. package/lib/model/maintenance-window-operation-status.js +41 -0
  24. package/lib/model/maintenance-window-operation-status.js.map +1 -0
  25. package/lib/model/maintenance-window-operation-type.d.ts +31 -0
  26. package/lib/model/maintenance-window-operation-type.js +42 -0
  27. package/lib/model/maintenance-window-operation-type.js.map +1 -0
  28. package/lib/model/maintenance-window-schedule.d.ts +23 -0
  29. package/lib/model/maintenance-window-schedule.js +72 -0
  30. package/lib/model/maintenance-window-schedule.js.map +1 -0
  31. package/lib/model/maintenance-window-sort-by.d.ts +26 -0
  32. package/lib/model/maintenance-window-sort-by.js +37 -0
  33. package/lib/model/maintenance-window-sort-by.js.map +1 -0
  34. package/lib/model/maintenance-window-summary.d.ts +88 -0
  35. package/lib/model/maintenance-window-summary.js +57 -0
  36. package/lib/model/maintenance-window-summary.js.map +1 -0
  37. package/lib/model/maintenance-window.d.ts +71 -0
  38. package/lib/model/maintenance-window.js +77 -0
  39. package/lib/model/maintenance-window.js.map +1 -0
  40. package/lib/model/monitored-resource-details.d.ts +43 -0
  41. package/lib/model/monitored-resource-details.js +29 -0
  42. package/lib/model/monitored-resource-details.js.map +1 -0
  43. package/lib/model/one-time-maintenance-window-schedule.d.ts +35 -0
  44. package/lib/model/one-time-maintenance-window-schedule.js +54 -0
  45. package/lib/model/one-time-maintenance-window-schedule.js.map +1 -0
  46. package/lib/model/operation-type.d.ts +4 -0
  47. package/lib/model/operation-type.js +4 -0
  48. package/lib/model/operation-type.js.map +1 -1
  49. package/lib/model/recurrent-maintenance-window-schedule.d.ts +53 -0
  50. package/lib/model/recurrent-maintenance-window-schedule.js +54 -0
  51. package/lib/model/recurrent-maintenance-window-schedule.js.map +1 -0
  52. package/lib/model/update-maintenance-window-details.d.ts +33 -0
  53. package/lib/model/update-maintenance-window-details.js +67 -0
  54. package/lib/model/update-maintenance-window-details.js.map +1 -0
  55. package/lib/request/create-maintenance-window-request.d.ts +39 -0
  56. package/lib/request/create-maintenance-window-request.js +15 -0
  57. package/lib/request/create-maintenance-window-request.js.map +1 -0
  58. package/lib/request/delete-maintenance-window-request.d.ts +37 -0
  59. package/lib/request/delete-maintenance-window-request.js +15 -0
  60. package/lib/request/delete-maintenance-window-request.js.map +1 -0
  61. package/lib/request/get-maintenance-window-request.d.ts +28 -0
  62. package/lib/request/get-maintenance-window-request.js +15 -0
  63. package/lib/request/get-maintenance-window-request.js.map +1 -0
  64. package/lib/request/index.d.ts +14 -0
  65. package/lib/request/index.js.map +1 -1
  66. package/lib/request/list-maintenance-windows-request.d.ts +66 -0
  67. package/lib/request/list-maintenance-windows-request.js +15 -0
  68. package/lib/request/list-maintenance-windows-request.js.map +1 -0
  69. package/lib/request/retry-failed-maintenance-window-operation-request.d.ts +37 -0
  70. package/lib/request/retry-failed-maintenance-window-operation-request.js +15 -0
  71. package/lib/request/retry-failed-maintenance-window-operation-request.js.map +1 -0
  72. package/lib/request/stop-maintenance-window-request.d.ts +37 -0
  73. package/lib/request/stop-maintenance-window-request.js +15 -0
  74. package/lib/request/stop-maintenance-window-request.js.map +1 -0
  75. package/lib/request/update-maintenance-window-request.d.ts +42 -0
  76. package/lib/request/update-maintenance-window-request.js +15 -0
  77. package/lib/request/update-maintenance-window-request.js.map +1 -0
  78. package/lib/response/create-maintenance-window-response.d.ts +35 -0
  79. package/lib/response/create-maintenance-window-response.js +15 -0
  80. package/lib/response/create-maintenance-window-response.js.map +1 -0
  81. package/lib/response/delete-maintenance-window-response.d.ts +25 -0
  82. package/lib/response/delete-maintenance-window-response.js +15 -0
  83. package/lib/response/delete-maintenance-window-response.js.map +1 -0
  84. package/lib/response/get-maintenance-window-response.d.ts +30 -0
  85. package/lib/response/get-maintenance-window-response.js +15 -0
  86. package/lib/response/get-maintenance-window-response.js.map +1 -0
  87. package/lib/response/index.d.ts +14 -0
  88. package/lib/response/list-maintenance-windows-response.d.ts +37 -0
  89. package/lib/response/list-maintenance-windows-response.js +15 -0
  90. package/lib/response/list-maintenance-windows-response.js.map +1 -0
  91. package/lib/response/retry-failed-maintenance-window-operation-response.d.ts +25 -0
  92. package/lib/response/retry-failed-maintenance-window-operation-response.js +15 -0
  93. package/lib/response/retry-failed-maintenance-window-operation-response.js.map +1 -0
  94. package/lib/response/stop-maintenance-window-response.d.ts +25 -0
  95. package/lib/response/stop-maintenance-window-response.js +15 -0
  96. package/lib/response/stop-maintenance-window-response.js.map +1 -0
  97. package/lib/response/update-maintenance-window-response.d.ts +25 -0
  98. package/lib/response/update-maintenance-window-response.js +15 -0
  99. package/lib/response/update-maintenance-window-response.js.map +1 -0
  100. package/lib/stackmonitoring-waiter.d.ts +8 -0
  101. package/lib/stackmonitoring-waiter.js +12 -0
  102. package/lib/stackmonitoring-waiter.js.map +1 -1
  103. package/package.json +3 -3
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Stack Monitoring API
3
+ * Stack Monitoring API.
4
+ * OpenAPI spec version: 20210330
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ /**
14
+ * Details of the Resource that are part of the Maintenance Window.
15
+ *
16
+ */
17
+ export interface MonitoredResourceDetails {
18
+ /**
19
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource
20
+ * part of the Maintenance window.
21
+ *
22
+ */
23
+ "resourceId": string;
24
+ /**
25
+ * Name of the monitored resource
26
+ *
27
+ */
28
+ "name": string;
29
+ /**
30
+ * Type of the monitored resource
31
+ *
32
+ */
33
+ "type": string;
34
+ /**
35
+ * Number of members of the resource
36
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
37
+ */
38
+ "numberOfMembers"?: number;
39
+ }
40
+ export declare namespace MonitoredResourceDetails {
41
+ function getJsonObj(obj: MonitoredResourceDetails): object;
42
+ function getDeserializedJsonObj(obj: MonitoredResourceDetails): object;
43
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Stack Monitoring API
4
+ * Stack Monitoring API.
5
+ * OpenAPI spec version: 20210330
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.MonitoredResourceDetails = void 0;
16
+ var MonitoredResourceDetails;
17
+ (function (MonitoredResourceDetails) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ MonitoredResourceDetails.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ MonitoredResourceDetails.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(MonitoredResourceDetails = exports.MonitoredResourceDetails || (exports.MonitoredResourceDetails = {}));
29
+ //# sourceMappingURL=monitored-resource-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"monitored-resource-details.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/monitored-resource-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAiCH,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,35 @@
1
+ /**
2
+ * Stack Monitoring API
3
+ * Stack Monitoring API.
4
+ * OpenAPI spec version: 20210330
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Schedule information for the Maintenance Window that is executed only once.
16
+ *
17
+ */
18
+ export interface OneTimeMaintenanceWindowSchedule extends model.MaintenanceWindowSchedule {
19
+ /**
20
+ * Start time of Maintenance window. A RFC3339 formatted datetime string
21
+ *
22
+ */
23
+ "timeMaintenanceWindowStart"?: Date;
24
+ /**
25
+ * Start time of Maintenance window. A RFC3339 formatted datetime string
26
+ *
27
+ */
28
+ "timeMaintenanceWindowEnd"?: Date;
29
+ "scheduleType": string;
30
+ }
31
+ export declare namespace OneTimeMaintenanceWindowSchedule {
32
+ function getJsonObj(obj: OneTimeMaintenanceWindowSchedule, isParentJsonObj?: boolean): object;
33
+ const scheduleType = "ONE_TIME";
34
+ function getDeserializedJsonObj(obj: OneTimeMaintenanceWindowSchedule, isParentJsonObj?: boolean): object;
35
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /**
3
+ * Stack Monitoring API
4
+ * Stack Monitoring API.
5
+ * OpenAPI spec version: 20210330
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ 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.OneTimeMaintenanceWindowSchedule = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var OneTimeMaintenanceWindowSchedule;
37
+ (function (OneTimeMaintenanceWindowSchedule) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
40
+ ? obj
41
+ : model.MaintenanceWindowSchedule.getJsonObj(obj))), {});
42
+ return jsonObj;
43
+ }
44
+ OneTimeMaintenanceWindowSchedule.getJsonObj = getJsonObj;
45
+ OneTimeMaintenanceWindowSchedule.scheduleType = "ONE_TIME";
46
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
47
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
48
+ ? obj
49
+ : model.MaintenanceWindowSchedule.getDeserializedJsonObj(obj))), {});
50
+ return jsonObj;
51
+ }
52
+ OneTimeMaintenanceWindowSchedule.getDeserializedJsonObj = getDeserializedJsonObj;
53
+ })(OneTimeMaintenanceWindowSchedule = exports.OneTimeMaintenanceWindowSchedule || (exports.OneTimeMaintenanceWindowSchedule = {}));
54
+ //# sourceMappingURL=one-time-maintenance-window-schedule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"one-time-maintenance-window-schedule.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/one-time-maintenance-window-schedule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsBlC,IAAiB,gCAAgC,CA8BhD;AA9BD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CACxB,GAAqC,EACrC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAAsC,CAAC,GACvF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,2CAAU,aAYzB,CAAA;IACY,6CAAY,GAAG,UAAU,CAAC;IACvC,SAAgB,sBAAsB,CACpC,GAAqC,EACrC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CACiC,CAAC,GACxC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,uDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QA8BhD"}
@@ -28,6 +28,10 @@ export declare enum OperationType {
28
28
  BulkDeleteResources = "BULK_DELETE_RESOURCES",
29
29
  UpdateAndPropagateTags = "UPDATE_AND_PROPAGATE_TAGS",
30
30
  ImportResources = "IMPORT_RESOURCES",
31
+ CreateMaintenanceWindow = "CREATE_MAINTENANCE_WINDOW",
32
+ UpdateMaintenanceWindow = "UPDATE_MAINTENANCE_WINDOW",
33
+ DeleteMaintenanceWindow = "DELETE_MAINTENANCE_WINDOW",
34
+ StopMaintenanceWindow = "STOP_MAINTENANCE_WINDOW",
31
35
  /**
32
36
  * This value is used if a service returns a value for this enum that is not recognized by this
33
37
  * version of the SDK.
@@ -32,6 +32,10 @@ var OperationType;
32
32
  OperationType["BulkDeleteResources"] = "BULK_DELETE_RESOURCES";
33
33
  OperationType["UpdateAndPropagateTags"] = "UPDATE_AND_PROPAGATE_TAGS";
34
34
  OperationType["ImportResources"] = "IMPORT_RESOURCES";
35
+ OperationType["CreateMaintenanceWindow"] = "CREATE_MAINTENANCE_WINDOW";
36
+ OperationType["UpdateMaintenanceWindow"] = "UPDATE_MAINTENANCE_WINDOW";
37
+ OperationType["DeleteMaintenanceWindow"] = "DELETE_MAINTENANCE_WINDOW";
38
+ OperationType["StopMaintenanceWindow"] = "STOP_MAINTENANCE_WINDOW";
35
39
  /**
36
40
  * This value is used if a service returns a value for this enum that is not recognized by this
37
41
  * version of the SDK.
@@ -1 +1 @@
1
- {"version":3,"file":"operation-type.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,aAqBX;AArBD,WAAY,aAAa;IACvB,qDAAoC,CAAA;IACpC,qDAAoC,CAAA;IACpC,qDAAoC,CAAA;IACpC,iDAAgC,CAAA;IAChC,oEAAmD,CAAA;IACnD,sEAAqD,CAAA;IACrD,2DAA0C,CAAA;IAC1C,kEAAiD,CAAA;IACjD,oEAAmD,CAAA;IACnD,8DAA6C,CAAA;IAC7C,wDAAuC,CAAA;IACvC,8DAA6C,CAAA;IAC7C,qEAAoD,CAAA;IACpD,qDAAoC,CAAA;IAEpC;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EArBW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAqBxB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
1
+ {"version":3,"file":"operation-type.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,aAyBX;AAzBD,WAAY,aAAa;IACvB,qDAAoC,CAAA;IACpC,qDAAoC,CAAA;IACpC,qDAAoC,CAAA;IACpC,iDAAgC,CAAA;IAChC,oEAAmD,CAAA;IACnD,sEAAqD,CAAA;IACrD,2DAA0C,CAAA;IAC1C,kEAAiD,CAAA;IACjD,oEAAmD,CAAA;IACnD,8DAA6C,CAAA;IAC7C,wDAAuC,CAAA;IACvC,8DAA6C,CAAA;IAC7C,qEAAoD,CAAA;IACpD,qDAAoC,CAAA;IACpC,sEAAqD,CAAA;IACrD,sEAAqD,CAAA;IACrD,sEAAqD,CAAA;IACrD,kEAAiD,CAAA;IAEjD;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EAzBW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAyBxB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Stack Monitoring API
3
+ * Stack Monitoring API.
4
+ * OpenAPI spec version: 20210330
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Schedule information for the Maintenance Window that is executed multiple times.
16
+ *
17
+ */
18
+ export interface RecurrentMaintenanceWindowSchedule extends model.MaintenanceWindowSchedule {
19
+ /**
20
+ * Start time of Maintenance window. A RFC3339 formatted datetime string
21
+ *
22
+ */
23
+ "timeMaintenanceWindowStart"?: Date;
24
+ /**
25
+ * Start time of Maintenance window. A RFC3339 formatted datetime string
26
+ *
27
+ */
28
+ "timeMaintenanceWindowEnd"?: Date;
29
+ /**
30
+ * A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence.
31
+ * Please refer this for details:https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10
32
+ * FREQ: Frequency of the Maintenance Window. The supported values are: DAILY and WEEKLY.
33
+ * BYDAY: Comma separated days for Weekly Maintenance Window.
34
+ * BYHOUR: Specifies the start hour of each recurrence after {@code timeMaintenanceWindowStart} value.
35
+ * BYMINUTE: Specifies the start minute of each reccurrence after {@code timeMaintenanceWindowStart} value. The default value is 00
36
+ * BYSECOND: Specifies the start second of each reccurrence after {@code timeMaintenanceWindowStart} value. The default value is 00
37
+ * Other Rules are not supported.
38
+ *
39
+ */
40
+ "maintenanceWindowRecurrences": string;
41
+ /**
42
+ * Duration time of each recurrence of each Maintenance Window.
43
+ * It must be specified as a string in ISO 8601 extended format.
44
+ *
45
+ */
46
+ "maintenanceWindowDuration"?: string;
47
+ "scheduleType": string;
48
+ }
49
+ export declare namespace RecurrentMaintenanceWindowSchedule {
50
+ function getJsonObj(obj: RecurrentMaintenanceWindowSchedule, isParentJsonObj?: boolean): object;
51
+ const scheduleType = "RECURRENT";
52
+ function getDeserializedJsonObj(obj: RecurrentMaintenanceWindowSchedule, isParentJsonObj?: boolean): object;
53
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /**
3
+ * Stack Monitoring API
4
+ * Stack Monitoring API.
5
+ * OpenAPI spec version: 20210330
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ 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.RecurrentMaintenanceWindowSchedule = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var RecurrentMaintenanceWindowSchedule;
37
+ (function (RecurrentMaintenanceWindowSchedule) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
40
+ ? obj
41
+ : model.MaintenanceWindowSchedule.getJsonObj(obj))), {});
42
+ return jsonObj;
43
+ }
44
+ RecurrentMaintenanceWindowSchedule.getJsonObj = getJsonObj;
45
+ RecurrentMaintenanceWindowSchedule.scheduleType = "RECURRENT";
46
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
47
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
48
+ ? obj
49
+ : model.MaintenanceWindowSchedule.getDeserializedJsonObj(obj))), {});
50
+ return jsonObj;
51
+ }
52
+ RecurrentMaintenanceWindowSchedule.getDeserializedJsonObj = getDeserializedJsonObj;
53
+ })(RecurrentMaintenanceWindowSchedule = exports.RecurrentMaintenanceWindowSchedule || (exports.RecurrentMaintenanceWindowSchedule = {}));
54
+ //# sourceMappingURL=recurrent-maintenance-window-schedule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recurrent-maintenance-window-schedule.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/recurrent-maintenance-window-schedule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwClC,IAAiB,kCAAkC,CA8BlD;AA9BD,WAAiB,kCAAkC;IACjD,SAAgB,UAAU,CACxB,GAAuC,EACvC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAAwC,CAAC,GACzF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,6CAAU,aAYzB,CAAA;IACY,+CAAY,GAAG,WAAW,CAAC;IACxC,SAAgB,sBAAsB,CACpC,GAAuC,EACvC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CACmC,CAAC,GAC1C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,yDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QA8BlD"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Stack Monitoring API
3
+ * Stack Monitoring API.
4
+ * OpenAPI spec version: 20210330
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Infomation to create a new Maintenance Window.
16
+ *
17
+ */
18
+ export interface UpdateMaintenanceWindowDetails {
19
+ /**
20
+ * Maintenance Window description.
21
+ */
22
+ "description"?: string;
23
+ /**
24
+ * List of resource Ids which are part of the Maintenance Window
25
+ *
26
+ */
27
+ "resources"?: Array<model.CreateMaintenanceWindowResourceDetails>;
28
+ "schedule"?: model.RecurrentMaintenanceWindowSchedule | model.OneTimeMaintenanceWindowSchedule;
29
+ }
30
+ export declare namespace UpdateMaintenanceWindowDetails {
31
+ function getJsonObj(obj: UpdateMaintenanceWindowDetails): object;
32
+ function getDeserializedJsonObj(obj: UpdateMaintenanceWindowDetails): object;
33
+ }
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /**
3
+ * Stack Monitoring API
4
+ * Stack Monitoring API.
5
+ * OpenAPI spec version: 20210330
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ 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.UpdateMaintenanceWindowDetails = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var UpdateMaintenanceWindowDetails;
37
+ (function (UpdateMaintenanceWindowDetails) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "resources": obj.resources
41
+ ? obj.resources.map(item => {
42
+ return model.CreateMaintenanceWindowResourceDetails.getJsonObj(item);
43
+ })
44
+ : undefined,
45
+ "schedule": obj.schedule
46
+ ? model.MaintenanceWindowSchedule.getJsonObj(obj.schedule)
47
+ : undefined
48
+ });
49
+ return jsonObj;
50
+ }
51
+ UpdateMaintenanceWindowDetails.getJsonObj = getJsonObj;
52
+ function getDeserializedJsonObj(obj) {
53
+ const jsonObj = Object.assign(Object.assign({}, obj), {
54
+ "resources": obj.resources
55
+ ? obj.resources.map(item => {
56
+ return model.CreateMaintenanceWindowResourceDetails.getDeserializedJsonObj(item);
57
+ })
58
+ : undefined,
59
+ "schedule": obj.schedule
60
+ ? model.MaintenanceWindowSchedule.getDeserializedJsonObj(obj.schedule)
61
+ : undefined
62
+ });
63
+ return jsonObj;
64
+ }
65
+ UpdateMaintenanceWindowDetails.getDeserializedJsonObj = getDeserializedJsonObj;
66
+ })(UpdateMaintenanceWindowDetails = exports.UpdateMaintenanceWindowDetails || (exports.UpdateMaintenanceWindowDetails = {}));
67
+ //# sourceMappingURL=update-maintenance-window-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-maintenance-window-details.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/update-maintenance-window-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoBlC,IAAiB,8BAA8B,CAmC9C;AAnCD,WAAiB,8BAA8B;IAC7C,SAAgB,UAAU,CAAC,GAAmC;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,sCAAsC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACvE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC;gBAC1D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,yCAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmC;QACxE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,sCAAsC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACnF,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC;gBACtE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,qDAAsB,yBAgBrC,CAAA;AACH,CAAC,EAnCgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAmC9C"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20210330
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/stackmonitoring/CreateMaintenanceWindow.ts.html |here} to see how to use CreateMaintenanceWindowRequest.
17
+ */
18
+ export interface CreateMaintenanceWindowRequest extends common.BaseRequest {
19
+ /**
20
+ * Details to create the Maintenance Window
21
+ *
22
+ */
23
+ "createMaintenanceWindowDetails": model.CreateMaintenanceWindowDetails;
24
+ /**
25
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
26
+ * server error without risk of executing that same action again. Retry tokens expire after 24
27
+ * hours, but can be invalidated before then due to conflicting operations. For example, if a resource
28
+ * has been deleted and purged from the system, then a retry of the original creation request
29
+ * might be rejected.
30
+ *
31
+ */
32
+ "opcRetryToken"?: string;
33
+ /**
34
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
35
+ * particular request, please provide the request ID.
36
+ *
37
+ */
38
+ "opcRequestId"?: string;
39
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20210330
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=create-maintenance-window-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-maintenance-window-request.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/request/create-maintenance-window-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20210330
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/stackmonitoring/DeleteMaintenanceWindow.ts.html |here} to see how to use DeleteMaintenanceWindowRequest.
16
+ */
17
+ export interface DeleteMaintenanceWindowRequest extends common.BaseRequest {
18
+ /**
19
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of maintenance window.
20
+ */
21
+ "maintenanceWindowId": string;
22
+ /**
23
+ * For optimistic concurrency control. In the PUT or DELETE call
24
+ * for a resource, set the {@code if-match} parameter to the value of the
25
+ * etag from a previous GET or POST response for that resource.
26
+ * The resource will be updated or deleted only if the etag you
27
+ * provide matches the resource's current etag value.
28
+ *
29
+ */
30
+ "ifMatch"?: string;
31
+ /**
32
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
33
+ * particular request, please provide the request ID.
34
+ *
35
+ */
36
+ "opcRequestId"?: string;
37
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20210330
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=delete-maintenance-window-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-maintenance-window-request.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/request/delete-maintenance-window-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20210330
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/stackmonitoring/GetMaintenanceWindow.ts.html |here} to see how to use GetMaintenanceWindowRequest.
16
+ */
17
+ export interface GetMaintenanceWindowRequest extends common.BaseRequest {
18
+ /**
19
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of maintenance window.
20
+ */
21
+ "maintenanceWindowId": string;
22
+ /**
23
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
24
+ * particular request, please provide the request ID.
25
+ *
26
+ */
27
+ "opcRequestId"?: string;
28
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20210330
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=get-maintenance-window-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-maintenance-window-request.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/request/get-maintenance-window-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}