oci-stackmonitoring 2.95.1 → 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.
- package/lib/client.d.ts +70 -0
- package/lib/client.js +454 -0
- package/lib/client.js.map +1 -1
- package/lib/model/create-maintenance-window-details.d.ts +42 -0
- package/lib/model/create-maintenance-window-details.js +67 -0
- package/lib/model/create-maintenance-window-details.js.map +1 -0
- package/lib/model/create-maintenance-window-resource-details.d.ts +34 -0
- package/lib/model/create-maintenance-window-resource-details.js +29 -0
- package/lib/model/create-maintenance-window-resource-details.js.map +1 -0
- package/lib/model/index.d.ts +30 -0
- package/lib/model/index.js +34 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/maintenance-window-collection.d.ts +26 -0
- package/lib/model/maintenance-window-collection.js +61 -0
- package/lib/model/maintenance-window-collection.js.map +1 -0
- package/lib/model/maintenance-window-lifecycle-details.d.ts +30 -0
- package/lib/model/maintenance-window-lifecycle-details.js +41 -0
- package/lib/model/maintenance-window-lifecycle-details.js.map +1 -0
- package/lib/model/maintenance-window-lifecycle-state.d.ts +35 -0
- package/lib/model/maintenance-window-lifecycle-state.js +46 -0
- package/lib/model/maintenance-window-lifecycle-state.js.map +1 -0
- package/lib/model/maintenance-window-operation-status.d.ts +30 -0
- package/lib/model/maintenance-window-operation-status.js +41 -0
- package/lib/model/maintenance-window-operation-status.js.map +1 -0
- package/lib/model/maintenance-window-operation-type.d.ts +31 -0
- package/lib/model/maintenance-window-operation-type.js +42 -0
- package/lib/model/maintenance-window-operation-type.js.map +1 -0
- package/lib/model/maintenance-window-schedule.d.ts +23 -0
- package/lib/model/maintenance-window-schedule.js +72 -0
- package/lib/model/maintenance-window-schedule.js.map +1 -0
- package/lib/model/maintenance-window-sort-by.d.ts +26 -0
- package/lib/model/maintenance-window-sort-by.js +37 -0
- package/lib/model/maintenance-window-sort-by.js.map +1 -0
- package/lib/model/maintenance-window-summary.d.ts +88 -0
- package/lib/model/maintenance-window-summary.js +57 -0
- package/lib/model/maintenance-window-summary.js.map +1 -0
- package/lib/model/maintenance-window.d.ts +71 -0
- package/lib/model/maintenance-window.js +77 -0
- package/lib/model/maintenance-window.js.map +1 -0
- package/lib/model/monitored-resource-details.d.ts +43 -0
- package/lib/model/monitored-resource-details.js +29 -0
- package/lib/model/monitored-resource-details.js.map +1 -0
- package/lib/model/one-time-maintenance-window-schedule.d.ts +35 -0
- package/lib/model/one-time-maintenance-window-schedule.js +54 -0
- package/lib/model/one-time-maintenance-window-schedule.js.map +1 -0
- package/lib/model/operation-type.d.ts +4 -0
- package/lib/model/operation-type.js +4 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/recurrent-maintenance-window-schedule.d.ts +53 -0
- package/lib/model/recurrent-maintenance-window-schedule.js +54 -0
- package/lib/model/recurrent-maintenance-window-schedule.js.map +1 -0
- package/lib/model/update-maintenance-window-details.d.ts +33 -0
- package/lib/model/update-maintenance-window-details.js +67 -0
- package/lib/model/update-maintenance-window-details.js.map +1 -0
- package/lib/request/create-maintenance-window-request.d.ts +39 -0
- package/lib/request/create-maintenance-window-request.js +15 -0
- package/lib/request/create-maintenance-window-request.js.map +1 -0
- package/lib/request/delete-maintenance-window-request.d.ts +37 -0
- package/lib/request/delete-maintenance-window-request.js +15 -0
- package/lib/request/delete-maintenance-window-request.js.map +1 -0
- package/lib/request/get-maintenance-window-request.d.ts +28 -0
- package/lib/request/get-maintenance-window-request.js +15 -0
- package/lib/request/get-maintenance-window-request.js.map +1 -0
- package/lib/request/index.d.ts +14 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-maintenance-windows-request.d.ts +66 -0
- package/lib/request/list-maintenance-windows-request.js +15 -0
- package/lib/request/list-maintenance-windows-request.js.map +1 -0
- package/lib/request/retry-failed-maintenance-window-operation-request.d.ts +37 -0
- package/lib/request/retry-failed-maintenance-window-operation-request.js +15 -0
- package/lib/request/retry-failed-maintenance-window-operation-request.js.map +1 -0
- package/lib/request/stop-maintenance-window-request.d.ts +37 -0
- package/lib/request/stop-maintenance-window-request.js +15 -0
- package/lib/request/stop-maintenance-window-request.js.map +1 -0
- package/lib/request/update-maintenance-window-request.d.ts +42 -0
- package/lib/request/update-maintenance-window-request.js +15 -0
- package/lib/request/update-maintenance-window-request.js.map +1 -0
- package/lib/response/create-maintenance-window-response.d.ts +35 -0
- package/lib/response/create-maintenance-window-response.js +15 -0
- package/lib/response/create-maintenance-window-response.js.map +1 -0
- package/lib/response/delete-maintenance-window-response.d.ts +25 -0
- package/lib/response/delete-maintenance-window-response.js +15 -0
- package/lib/response/delete-maintenance-window-response.js.map +1 -0
- package/lib/response/get-maintenance-window-response.d.ts +30 -0
- package/lib/response/get-maintenance-window-response.js +15 -0
- package/lib/response/get-maintenance-window-response.js.map +1 -0
- package/lib/response/index.d.ts +14 -0
- package/lib/response/list-maintenance-windows-response.d.ts +37 -0
- package/lib/response/list-maintenance-windows-response.js +15 -0
- package/lib/response/list-maintenance-windows-response.js.map +1 -0
- package/lib/response/retry-failed-maintenance-window-operation-response.d.ts +25 -0
- package/lib/response/retry-failed-maintenance-window-operation-response.js +15 -0
- package/lib/response/retry-failed-maintenance-window-operation-response.js.map +1 -0
- package/lib/response/stop-maintenance-window-response.d.ts +25 -0
- package/lib/response/stop-maintenance-window-response.js +15 -0
- package/lib/response/stop-maintenance-window-response.js.map +1 -0
- package/lib/response/update-maintenance-window-response.d.ts +25 -0
- package/lib/response/update-maintenance-window-response.js +15 -0
- package/lib/response/update-maintenance-window-response.js.map +1 -0
- package/lib/stackmonitoring-waiter.d.ts +8 -0
- package/lib/stackmonitoring-waiter.js +12 -0
- package/lib/stackmonitoring-waiter.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maintenance-window-lifecycle-state.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/maintenance-window-lifecycle-state.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;;IAGI;AACJ,IAAY,+BAeX;AAfD,WAAY,+BAA+B;IACzC,wDAAqB,CAAA;IACrB,wDAAqB,CAAA;IACrB,wDAAqB,CAAA;IACrB,oDAAiB,CAAA;IACjB,wDAAqB,CAAA;IACrB,sDAAmB,CAAA;IACnB,oDAAiB,CAAA;IACjB,qEAAkC,CAAA;IAElC;;;OAGG;IACH,iEAA8B,CAAA;AAChC,CAAC,EAfW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAe1C;AAED,WAAiB,+BAA+B;IAC9C,SAAgB,UAAU,CACxB,GAAoC;QAEpC,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,0CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAAoC;QAEpC,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,sDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAW/C"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
* Possible lifecycle states.
|
|
15
|
+
*
|
|
16
|
+
**/
|
|
17
|
+
export declare enum MaintenanceWindowOperationStatus {
|
|
18
|
+
InProgress = "IN_PROGRESS",
|
|
19
|
+
Failed = "FAILED",
|
|
20
|
+
Succeeded = "SUCCEEDED",
|
|
21
|
+
/**
|
|
22
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
23
|
+
* version of the SDK.
|
|
24
|
+
*/
|
|
25
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
26
|
+
}
|
|
27
|
+
export declare namespace MaintenanceWindowOperationStatus {
|
|
28
|
+
function getJsonObj(obj: MaintenanceWindowOperationStatus): MaintenanceWindowOperationStatus;
|
|
29
|
+
function getDeserializedJsonObj(obj: MaintenanceWindowOperationStatus): MaintenanceWindowOperationStatus;
|
|
30
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.MaintenanceWindowOperationStatus = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Possible lifecycle states.
|
|
18
|
+
*
|
|
19
|
+
**/
|
|
20
|
+
var MaintenanceWindowOperationStatus;
|
|
21
|
+
(function (MaintenanceWindowOperationStatus) {
|
|
22
|
+
MaintenanceWindowOperationStatus["InProgress"] = "IN_PROGRESS";
|
|
23
|
+
MaintenanceWindowOperationStatus["Failed"] = "FAILED";
|
|
24
|
+
MaintenanceWindowOperationStatus["Succeeded"] = "SUCCEEDED";
|
|
25
|
+
/**
|
|
26
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
27
|
+
* version of the SDK.
|
|
28
|
+
*/
|
|
29
|
+
MaintenanceWindowOperationStatus["UnknownValue"] = "UNKNOWN_VALUE";
|
|
30
|
+
})(MaintenanceWindowOperationStatus = exports.MaintenanceWindowOperationStatus || (exports.MaintenanceWindowOperationStatus = {}));
|
|
31
|
+
(function (MaintenanceWindowOperationStatus) {
|
|
32
|
+
function getJsonObj(obj) {
|
|
33
|
+
return obj;
|
|
34
|
+
}
|
|
35
|
+
MaintenanceWindowOperationStatus.getJsonObj = getJsonObj;
|
|
36
|
+
function getDeserializedJsonObj(obj) {
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
39
|
+
MaintenanceWindowOperationStatus.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
40
|
+
})(MaintenanceWindowOperationStatus = exports.MaintenanceWindowOperationStatus || (exports.MaintenanceWindowOperationStatus = {}));
|
|
41
|
+
//# sourceMappingURL=maintenance-window-operation-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maintenance-window-operation-status.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/maintenance-window-operation-status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;;IAGI;AACJ,IAAY,gCAUX;AAVD,WAAY,gCAAgC;IAC1C,8DAA0B,CAAA;IAC1B,qDAAiB,CAAA;IACjB,2DAAuB,CAAA;IAEvB;;;OAGG;IACH,kEAA8B,CAAA;AAChC,CAAC,EAVW,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAU3C;AAED,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CACxB,GAAqC;QAErC,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,2CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAAqC;QAErC,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,uDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAWhD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
* Possible operation performed in Maintenance Window.
|
|
15
|
+
*
|
|
16
|
+
**/
|
|
17
|
+
export declare enum MaintenanceWindowOperationType {
|
|
18
|
+
Update = "UPDATE",
|
|
19
|
+
Create = "CREATE",
|
|
20
|
+
Delete = "DELETE",
|
|
21
|
+
Stop = "STOP",
|
|
22
|
+
/**
|
|
23
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
24
|
+
* version of the SDK.
|
|
25
|
+
*/
|
|
26
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
27
|
+
}
|
|
28
|
+
export declare namespace MaintenanceWindowOperationType {
|
|
29
|
+
function getJsonObj(obj: MaintenanceWindowOperationType): MaintenanceWindowOperationType;
|
|
30
|
+
function getDeserializedJsonObj(obj: MaintenanceWindowOperationType): MaintenanceWindowOperationType;
|
|
31
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.MaintenanceWindowOperationType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Possible operation performed in Maintenance Window.
|
|
18
|
+
*
|
|
19
|
+
**/
|
|
20
|
+
var MaintenanceWindowOperationType;
|
|
21
|
+
(function (MaintenanceWindowOperationType) {
|
|
22
|
+
MaintenanceWindowOperationType["Update"] = "UPDATE";
|
|
23
|
+
MaintenanceWindowOperationType["Create"] = "CREATE";
|
|
24
|
+
MaintenanceWindowOperationType["Delete"] = "DELETE";
|
|
25
|
+
MaintenanceWindowOperationType["Stop"] = "STOP";
|
|
26
|
+
/**
|
|
27
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
28
|
+
* version of the SDK.
|
|
29
|
+
*/
|
|
30
|
+
MaintenanceWindowOperationType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
31
|
+
})(MaintenanceWindowOperationType = exports.MaintenanceWindowOperationType || (exports.MaintenanceWindowOperationType = {}));
|
|
32
|
+
(function (MaintenanceWindowOperationType) {
|
|
33
|
+
function getJsonObj(obj) {
|
|
34
|
+
return obj;
|
|
35
|
+
}
|
|
36
|
+
MaintenanceWindowOperationType.getJsonObj = getJsonObj;
|
|
37
|
+
function getDeserializedJsonObj(obj) {
|
|
38
|
+
return obj;
|
|
39
|
+
}
|
|
40
|
+
MaintenanceWindowOperationType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
41
|
+
})(MaintenanceWindowOperationType = exports.MaintenanceWindowOperationType || (exports.MaintenanceWindowOperationType = {}));
|
|
42
|
+
//# sourceMappingURL=maintenance-window-operation-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maintenance-window-operation-type.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/maintenance-window-operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;;IAGI;AACJ,IAAY,8BAWX;AAXD,WAAY,8BAA8B;IACxC,mDAAiB,CAAA;IACjB,mDAAiB,CAAA;IACjB,mDAAiB,CAAA;IACjB,+CAAa,CAAA;IAEb;;;OAGG;IACH,gEAA8B,CAAA;AAChC,CAAC,EAXW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAWzC;AAED,WAAiB,8BAA8B;IAC7C,SAAgB,UAAU,CAAC,GAAmC;QAC5D,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,yCAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAAmC;QAEnC,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,qDAAsB,yBAIrC,CAAA;AACH,CAAC,EATgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAS9C"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
* Schedule information of the Maintenance Window
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export interface MaintenanceWindowSchedule {
|
|
18
|
+
"scheduleType": string;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace MaintenanceWindowSchedule {
|
|
21
|
+
function getJsonObj(obj: MaintenanceWindowSchedule): object;
|
|
22
|
+
function getDeserializedJsonObj(obj: MaintenanceWindowSchedule): object;
|
|
23
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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.MaintenanceWindowSchedule = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
const common = require("oci-common");
|
|
37
|
+
var MaintenanceWindowSchedule;
|
|
38
|
+
(function (MaintenanceWindowSchedule) {
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
41
|
+
if (obj && "scheduleType" in obj && obj.scheduleType) {
|
|
42
|
+
switch (obj.scheduleType) {
|
|
43
|
+
case "RECURRENT":
|
|
44
|
+
return model.RecurrentMaintenanceWindowSchedule.getJsonObj(jsonObj, true);
|
|
45
|
+
case "ONE_TIME":
|
|
46
|
+
return model.OneTimeMaintenanceWindowSchedule.getJsonObj(jsonObj, true);
|
|
47
|
+
default:
|
|
48
|
+
if (common.LOG.logger)
|
|
49
|
+
common.LOG.logger.info(`Unknown value for: ${obj.scheduleType}`);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
MaintenanceWindowSchedule.getJsonObj = getJsonObj;
|
|
55
|
+
function getDeserializedJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
57
|
+
if (obj && "scheduleType" in obj && obj.scheduleType) {
|
|
58
|
+
switch (obj.scheduleType) {
|
|
59
|
+
case "RECURRENT":
|
|
60
|
+
return model.RecurrentMaintenanceWindowSchedule.getDeserializedJsonObj(jsonObj, true);
|
|
61
|
+
case "ONE_TIME":
|
|
62
|
+
return model.OneTimeMaintenanceWindowSchedule.getDeserializedJsonObj(jsonObj, true);
|
|
63
|
+
default:
|
|
64
|
+
if (common.LOG.logger)
|
|
65
|
+
common.LOG.logger.info(`Unknown value for: ${obj.scheduleType}`);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return jsonObj;
|
|
69
|
+
}
|
|
70
|
+
MaintenanceWindowSchedule.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
71
|
+
})(MaintenanceWindowSchedule = exports.MaintenanceWindowSchedule || (exports.MaintenanceWindowSchedule = {}));
|
|
72
|
+
//# sourceMappingURL=maintenance-window-schedule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maintenance-window-schedule.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/maintenance-window-schedule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAUtC,IAAiB,yBAAyB,CA2CzC;AA3CD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,cAAc,IAAI,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE;YACpD,QAAQ,GAAG,CAAC,YAAY,EAAE;gBACxB,KAAK,WAAW;oBACd,OAAO,KAAK,CAAC,kCAAkC,CAAC,UAAU,CACL,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,gCAAgC,CAAC,UAAU,CACL,OAAQ,EACzD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC;aAC3F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,oCAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,cAAc,IAAI,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE;YACpD,QAAQ,GAAG,CAAC,YAAY,EAAE;gBACxB,KAAK,WAAW;oBACd,OAAO,KAAK,CAAC,kCAAkC,CAAC,sBAAsB,CACjB,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CACjB,OAAQ,EACzD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC;aAC3F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,gDAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QA2CzC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
* Sort By.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum MaintenanceWindowSortBy {
|
|
17
|
+
Name = "NAME",
|
|
18
|
+
StartTime = "START_TIME",
|
|
19
|
+
EndTime = "END_TIME",
|
|
20
|
+
TimeCreated = "TIME_CREATED",
|
|
21
|
+
TimeUpdated = "TIME_UPDATED"
|
|
22
|
+
}
|
|
23
|
+
export declare namespace MaintenanceWindowSortBy {
|
|
24
|
+
function getJsonObj(obj: MaintenanceWindowSortBy): MaintenanceWindowSortBy;
|
|
25
|
+
function getDeserializedJsonObj(obj: MaintenanceWindowSortBy): MaintenanceWindowSortBy;
|
|
26
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.MaintenanceWindowSortBy = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Sort By.
|
|
18
|
+
**/
|
|
19
|
+
var MaintenanceWindowSortBy;
|
|
20
|
+
(function (MaintenanceWindowSortBy) {
|
|
21
|
+
MaintenanceWindowSortBy["Name"] = "NAME";
|
|
22
|
+
MaintenanceWindowSortBy["StartTime"] = "START_TIME";
|
|
23
|
+
MaintenanceWindowSortBy["EndTime"] = "END_TIME";
|
|
24
|
+
MaintenanceWindowSortBy["TimeCreated"] = "TIME_CREATED";
|
|
25
|
+
MaintenanceWindowSortBy["TimeUpdated"] = "TIME_UPDATED";
|
|
26
|
+
})(MaintenanceWindowSortBy = exports.MaintenanceWindowSortBy || (exports.MaintenanceWindowSortBy = {}));
|
|
27
|
+
(function (MaintenanceWindowSortBy) {
|
|
28
|
+
function getJsonObj(obj) {
|
|
29
|
+
return obj;
|
|
30
|
+
}
|
|
31
|
+
MaintenanceWindowSortBy.getJsonObj = getJsonObj;
|
|
32
|
+
function getDeserializedJsonObj(obj) {
|
|
33
|
+
return obj;
|
|
34
|
+
}
|
|
35
|
+
MaintenanceWindowSortBy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
36
|
+
})(MaintenanceWindowSortBy = exports.MaintenanceWindowSortBy || (exports.MaintenanceWindowSortBy = {}));
|
|
37
|
+
//# sourceMappingURL=maintenance-window-sort-by.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maintenance-window-sort-by.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/maintenance-window-sort-by.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,uBAMX;AAND,WAAY,uBAAuB;IACjC,wCAAa,CAAA;IACb,mDAAwB,CAAA;IACxB,+CAAoB,CAAA;IACpB,uDAA4B,CAAA;IAC5B,uDAA4B,CAAA;AAC9B,CAAC,EANW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAMlC;AAED,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,kCAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,8CAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAOvC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
* General information of a Maintenance Window
|
|
16
|
+
*/
|
|
17
|
+
export interface MaintenanceWindowSummary {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of maintenance window.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
"id": string;
|
|
23
|
+
/**
|
|
24
|
+
* Maintenance Window name.
|
|
25
|
+
*/
|
|
26
|
+
"name": string;
|
|
27
|
+
/**
|
|
28
|
+
* Compartment Identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"compartmentId"?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Number of resources of the Maintenance window.
|
|
34
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
35
|
+
*/
|
|
36
|
+
"numberOfResources"?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Lifecycle state of the monitored resource.
|
|
39
|
+
*/
|
|
40
|
+
"lifecycleState"?: model.MaintenanceWindowLifecycleState;
|
|
41
|
+
/**
|
|
42
|
+
* Lifecycle Details of the Maintenance Window.
|
|
43
|
+
*/
|
|
44
|
+
"lifecycleDetails"?: model.MaintenanceWindowLifecycleDetails;
|
|
45
|
+
/**
|
|
46
|
+
* The name of the most recent operation of the Maintenance window.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"operationType"?: model.MaintenanceWindowOperationType;
|
|
50
|
+
/**
|
|
51
|
+
* Status of the most recent operation of the Maintenance Window.
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
"operationStatus"?: model.MaintenanceWindowOperationStatus;
|
|
55
|
+
"schedule"?: model.RecurrentMaintenanceWindowSchedule | model.OneTimeMaintenanceWindowSchedule;
|
|
56
|
+
/**
|
|
57
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
58
|
+
* Example: {@code {\"bar-key\": \"value\"}}
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
"freeformTags"?: {
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
66
|
+
* Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
"definedTags"?: {
|
|
70
|
+
[key: string]: {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
76
|
+
* Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
"systemTags"?: {
|
|
80
|
+
[key: string]: {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
export declare namespace MaintenanceWindowSummary {
|
|
86
|
+
function getJsonObj(obj: MaintenanceWindowSummary): object;
|
|
87
|
+
function getDeserializedJsonObj(obj: MaintenanceWindowSummary): object;
|
|
88
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.MaintenanceWindowSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var MaintenanceWindowSummary;
|
|
37
|
+
(function (MaintenanceWindowSummary) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"schedule": obj.schedule
|
|
41
|
+
? model.MaintenanceWindowSchedule.getJsonObj(obj.schedule)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
MaintenanceWindowSummary.getJsonObj = getJsonObj;
|
|
47
|
+
function getDeserializedJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"schedule": obj.schedule
|
|
50
|
+
? model.MaintenanceWindowSchedule.getDeserializedJsonObj(obj.schedule)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
MaintenanceWindowSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(MaintenanceWindowSummary = exports.MaintenanceWindowSummary || (exports.MaintenanceWindowSummary = {}));
|
|
57
|
+
//# sourceMappingURL=maintenance-window-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maintenance-window-summary.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/maintenance-window-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiElC,IAAiB,wBAAwB,CAyBxC;AAzBD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,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;IAXe,mCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,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;IAXe,+CAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAyBxC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
* Maintenance Window object. It contains all the information of the Maintenance window.
|
|
16
|
+
* Used in the Create and Get operations.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface MaintenanceWindow {
|
|
20
|
+
/**
|
|
21
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of maintenance window.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"id": string;
|
|
25
|
+
/**
|
|
26
|
+
* Maintenance Window name.
|
|
27
|
+
*/
|
|
28
|
+
"name": string;
|
|
29
|
+
/**
|
|
30
|
+
* Maintenance Window description.
|
|
31
|
+
*/
|
|
32
|
+
"description"?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Compartment Identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
"compartmentId": string;
|
|
38
|
+
/**
|
|
39
|
+
* List of resource Ids which are part of the Maintenance Window
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
"resources"?: Array<model.CreateMaintenanceWindowResourceDetails>;
|
|
43
|
+
/**
|
|
44
|
+
* List of resource details that are part of the Maintenance Window.
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
"resourcesDetails"?: Array<model.MonitoredResourceDetails>;
|
|
48
|
+
/**
|
|
49
|
+
* Lifecycle state of the monitored resource.
|
|
50
|
+
*/
|
|
51
|
+
"lifecycleState"?: model.MaintenanceWindowLifecycleState;
|
|
52
|
+
/**
|
|
53
|
+
* Lifecycle Details of the Maintenance Window.
|
|
54
|
+
*/
|
|
55
|
+
"lifecycleDetails"?: model.MaintenanceWindowLifecycleDetails;
|
|
56
|
+
"schedule"?: model.RecurrentMaintenanceWindowSchedule | model.OneTimeMaintenanceWindowSchedule;
|
|
57
|
+
/**
|
|
58
|
+
* The time the the maintenance window was created. An RFC3339 formatted datetime string
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
"timeCreated"?: Date;
|
|
62
|
+
/**
|
|
63
|
+
* The time the the mainteance window was updated. An RFC3339 formatted datetime string
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
"timeUpdated"?: Date;
|
|
67
|
+
}
|
|
68
|
+
export declare namespace MaintenanceWindow {
|
|
69
|
+
function getJsonObj(obj: MaintenanceWindow): object;
|
|
70
|
+
function getDeserializedJsonObj(obj: MaintenanceWindow): object;
|
|
71
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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.MaintenanceWindow = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var MaintenanceWindow;
|
|
37
|
+
(function (MaintenanceWindow) {
|
|
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
|
+
"resourcesDetails": obj.resourcesDetails
|
|
46
|
+
? obj.resourcesDetails.map(item => {
|
|
47
|
+
return model.MonitoredResourceDetails.getJsonObj(item);
|
|
48
|
+
})
|
|
49
|
+
: undefined,
|
|
50
|
+
"schedule": obj.schedule
|
|
51
|
+
? model.MaintenanceWindowSchedule.getJsonObj(obj.schedule)
|
|
52
|
+
: undefined
|
|
53
|
+
});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
MaintenanceWindow.getJsonObj = getJsonObj;
|
|
57
|
+
function getDeserializedJsonObj(obj) {
|
|
58
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
59
|
+
"resources": obj.resources
|
|
60
|
+
? obj.resources.map(item => {
|
|
61
|
+
return model.CreateMaintenanceWindowResourceDetails.getDeserializedJsonObj(item);
|
|
62
|
+
})
|
|
63
|
+
: undefined,
|
|
64
|
+
"resourcesDetails": obj.resourcesDetails
|
|
65
|
+
? obj.resourcesDetails.map(item => {
|
|
66
|
+
return model.MonitoredResourceDetails.getDeserializedJsonObj(item);
|
|
67
|
+
})
|
|
68
|
+
: undefined,
|
|
69
|
+
"schedule": obj.schedule
|
|
70
|
+
? model.MaintenanceWindowSchedule.getDeserializedJsonObj(obj.schedule)
|
|
71
|
+
: undefined
|
|
72
|
+
});
|
|
73
|
+
return jsonObj;
|
|
74
|
+
}
|
|
75
|
+
MaintenanceWindow.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
76
|
+
})(MaintenanceWindow = exports.MaintenanceWindow || (exports.MaintenanceWindow = {}));
|
|
77
|
+
//# sourceMappingURL=maintenance-window.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maintenance-window.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/maintenance-window.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0DlC,IAAiB,iBAAiB,CA+CjC;AA/CD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,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,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC9B,OAAO,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,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;IAtBe,4BAAU,aAsBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,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,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC9B,OAAO,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACrE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,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;IAtBe,wCAAsB,yBAsBrC,CAAA;AACH,CAAC,EA/CgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA+CjC"}
|