oci-computecloudatcustomer 2.68.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/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +25 -0
- package/index.js +48 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +210 -0
- package/lib/client.js +965 -0
- package/lib/client.js.map +1 -0
- package/lib/computecloudatcustomer-waiter.d.ts +40 -0
- package/lib/computecloudatcustomer-waiter.js +80 -0
- package/lib/computecloudatcustomer-waiter.js.map +1 -0
- package/lib/model/ccc-infrastructure-collection.d.ts +30 -0
- package/lib/model/ccc-infrastructure-collection.js +64 -0
- package/lib/model/ccc-infrastructure-collection.js.map +1 -0
- package/lib/model/ccc-infrastructure-inventory.d.ts +53 -0
- package/lib/model/ccc-infrastructure-inventory.js +32 -0
- package/lib/model/ccc-infrastructure-inventory.js.map +1 -0
- package/lib/model/ccc-infrastructure-management-node.d.ts +33 -0
- package/lib/model/ccc-infrastructure-management-node.js +32 -0
- package/lib/model/ccc-infrastructure-management-node.js.map +1 -0
- package/lib/model/ccc-infrastructure-network-configuration.d.ts +117 -0
- package/lib/model/ccc-infrastructure-network-configuration.js +89 -0
- package/lib/model/ccc-infrastructure-network-configuration.js.map +1 -0
- package/lib/model/ccc-infrastructure-routing-dynamic-details.d.ts +51 -0
- package/lib/model/ccc-infrastructure-routing-dynamic-details.js +75 -0
- package/lib/model/ccc-infrastructure-routing-dynamic-details.js.map +1 -0
- package/lib/model/ccc-infrastructure-routing-static-details.d.ts +36 -0
- package/lib/model/ccc-infrastructure-routing-static-details.js +32 -0
- package/lib/model/ccc-infrastructure-routing-static-details.js.map +1 -0
- package/lib/model/ccc-infrastructure-summary.d.ts +101 -0
- package/lib/model/ccc-infrastructure-summary.js +32 -0
- package/lib/model/ccc-infrastructure-summary.js.map +1 -0
- package/lib/model/ccc-infrastructure.d.ts +173 -0
- package/lib/model/ccc-infrastructure.js +97 -0
- package/lib/model/ccc-infrastructure.js.map +1 -0
- package/lib/model/ccc-schedule-event.d.ts +54 -0
- package/lib/model/ccc-schedule-event.js +32 -0
- package/lib/model/ccc-schedule-event.js.map +1 -0
- package/lib/model/ccc-upgrade-information.d.ts +50 -0
- package/lib/model/ccc-upgrade-information.js +32 -0
- package/lib/model/ccc-upgrade-information.js.map +1 -0
- package/lib/model/ccc-upgrade-schedule-collection.d.ts +32 -0
- package/lib/model/ccc-upgrade-schedule-collection.js +64 -0
- package/lib/model/ccc-upgrade-schedule-collection.js.map +1 -0
- package/lib/model/ccc-upgrade-schedule-summary.d.ts +82 -0
- package/lib/model/ccc-upgrade-schedule-summary.js +32 -0
- package/lib/model/ccc-upgrade-schedule-summary.js.map +1 -0
- package/lib/model/ccc-upgrade-schedule.d.ts +122 -0
- package/lib/model/ccc-upgrade-schedule.js +76 -0
- package/lib/model/ccc-upgrade-schedule.js.map +1 -0
- package/lib/model/change-ccc-infrastructure-compartment-details.d.ts +30 -0
- package/lib/model/change-ccc-infrastructure-compartment-details.js +32 -0
- package/lib/model/change-ccc-infrastructure-compartment-details.js.map +1 -0
- package/lib/model/change-ccc-upgrade-schedule-compartment-details.d.ts +30 -0
- package/lib/model/change-ccc-upgrade-schedule-compartment-details.js +32 -0
- package/lib/model/change-ccc-upgrade-schedule-compartment-details.js.map +1 -0
- package/lib/model/create-ccc-infrastructure-details.d.ts +83 -0
- package/lib/model/create-ccc-infrastructure-details.js +32 -0
- package/lib/model/create-ccc-infrastructure-details.js.map +1 -0
- package/lib/model/create-ccc-schedule-event.d.ts +50 -0
- package/lib/model/create-ccc-schedule-event.js +32 -0
- package/lib/model/create-ccc-schedule-event.js.map +1 -0
- package/lib/model/create-ccc-upgrade-schedule-details.d.ts +70 -0
- package/lib/model/create-ccc-upgrade-schedule-details.js +64 -0
- package/lib/model/create-ccc-upgrade-schedule-details.js.map +1 -0
- package/lib/model/index.d.ts +61 -0
- package/lib/model/index.js +84 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/peer-information.d.ts +35 -0
- package/lib/model/peer-information.js +32 -0
- package/lib/model/peer-information.js.map +1 -0
- package/lib/model/sort-order.d.ts +26 -0
- package/lib/model/sort-order.js +37 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/update-ccc-infrastructure-details.d.ts +77 -0
- package/lib/model/update-ccc-infrastructure-details.js +32 -0
- package/lib/model/update-ccc-infrastructure-details.js.map +1 -0
- package/lib/model/update-ccc-schedule-event.d.ts +50 -0
- package/lib/model/update-ccc-schedule-event.js +32 -0
- package/lib/model/update-ccc-schedule-event.js.map +1 -0
- package/lib/model/update-ccc-upgrade-schedule-details.d.ts +62 -0
- package/lib/model/update-ccc-upgrade-schedule-details.js +64 -0
- package/lib/model/update-ccc-upgrade-schedule-details.js.map +1 -0
- package/lib/request/change-ccc-infrastructure-compartment-request.d.ts +54 -0
- package/lib/request/change-ccc-infrastructure-compartment-request.js +15 -0
- package/lib/request/change-ccc-infrastructure-compartment-request.js.map +1 -0
- package/lib/request/change-ccc-upgrade-schedule-compartment-request.d.ts +54 -0
- package/lib/request/change-ccc-upgrade-schedule-compartment-request.js +15 -0
- package/lib/request/change-ccc-upgrade-schedule-compartment-request.js.map +1 -0
- package/lib/request/create-ccc-infrastructure-request.d.ts +37 -0
- package/lib/request/create-ccc-infrastructure-request.js +15 -0
- package/lib/request/create-ccc-infrastructure-request.js.map +1 -0
- package/lib/request/create-ccc-upgrade-schedule-request.d.ts +37 -0
- package/lib/request/create-ccc-upgrade-schedule-request.js +15 -0
- package/lib/request/create-ccc-upgrade-schedule-request.js.map +1 -0
- package/lib/request/delete-ccc-infrastructure-request.d.ts +38 -0
- package/lib/request/delete-ccc-infrastructure-request.js +15 -0
- package/lib/request/delete-ccc-infrastructure-request.js.map +1 -0
- package/lib/request/delete-ccc-upgrade-schedule-request.d.ts +38 -0
- package/lib/request/delete-ccc-upgrade-schedule-request.js +15 -0
- package/lib/request/delete-ccc-upgrade-schedule-request.js.map +1 -0
- package/lib/request/get-ccc-infrastructure-request.d.ts +29 -0
- package/lib/request/get-ccc-infrastructure-request.js +15 -0
- package/lib/request/get-ccc-infrastructure-request.js.map +1 -0
- package/lib/request/get-ccc-upgrade-schedule-request.d.ts +29 -0
- package/lib/request/get-ccc-upgrade-schedule-request.js +15 -0
- package/lib/request/get-ccc-upgrade-schedule-request.js.map +1 -0
- package/lib/request/index.d.ts +39 -0
- package/lib/request/index.js +42 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-ccc-infrastructures-request.d.ts +92 -0
- package/lib/request/list-ccc-infrastructures-request.js +29 -0
- package/lib/request/list-ccc-infrastructures-request.js.map +1 -0
- package/lib/request/list-ccc-upgrade-schedules-request.d.ts +93 -0
- package/lib/request/list-ccc-upgrade-schedules-request.js +29 -0
- package/lib/request/list-ccc-upgrade-schedules-request.js.map +1 -0
- package/lib/request/update-ccc-infrastructure-request.d.ts +43 -0
- package/lib/request/update-ccc-infrastructure-request.js +15 -0
- package/lib/request/update-ccc-infrastructure-request.js.map +1 -0
- package/lib/request/update-ccc-upgrade-schedule-request.d.ts +43 -0
- package/lib/request/update-ccc-upgrade-schedule-request.js +15 -0
- package/lib/request/update-ccc-upgrade-schedule-request.js.map +1 -0
- package/lib/response/change-ccc-infrastructure-compartment-response.d.ts +20 -0
- package/lib/response/change-ccc-infrastructure-compartment-response.js +15 -0
- package/lib/response/change-ccc-infrastructure-compartment-response.js.map +1 -0
- package/lib/response/change-ccc-upgrade-schedule-compartment-response.d.ts +20 -0
- package/lib/response/change-ccc-upgrade-schedule-compartment-response.js +15 -0
- package/lib/response/change-ccc-upgrade-schedule-compartment-response.js.map +1 -0
- package/lib/response/create-ccc-infrastructure-response.d.ts +30 -0
- package/lib/response/create-ccc-infrastructure-response.js +15 -0
- package/lib/response/create-ccc-infrastructure-response.js.map +1 -0
- package/lib/response/create-ccc-upgrade-schedule-response.d.ts +30 -0
- package/lib/response/create-ccc-upgrade-schedule-response.js +15 -0
- package/lib/response/create-ccc-upgrade-schedule-response.js.map +1 -0
- package/lib/response/delete-ccc-infrastructure-response.d.ts +20 -0
- package/lib/response/delete-ccc-infrastructure-response.js +15 -0
- package/lib/response/delete-ccc-infrastructure-response.js.map +1 -0
- package/lib/response/delete-ccc-upgrade-schedule-response.d.ts +20 -0
- package/lib/response/delete-ccc-upgrade-schedule-response.js +15 -0
- package/lib/response/delete-ccc-upgrade-schedule-response.js.map +1 -0
- package/lib/response/get-ccc-infrastructure-response.d.ts +30 -0
- package/lib/response/get-ccc-infrastructure-response.js +15 -0
- package/lib/response/get-ccc-infrastructure-response.js.map +1 -0
- package/lib/response/get-ccc-upgrade-schedule-response.d.ts +30 -0
- package/lib/response/get-ccc-upgrade-schedule-response.js +15 -0
- package/lib/response/get-ccc-upgrade-schedule-response.js.map +1 -0
- package/lib/response/index.d.ts +39 -0
- package/lib/response/index.js +18 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-ccc-infrastructures-response.d.ts +39 -0
- package/lib/response/list-ccc-infrastructures-response.js +15 -0
- package/lib/response/list-ccc-infrastructures-response.js.map +1 -0
- package/lib/response/list-ccc-upgrade-schedules-response.d.ts +39 -0
- package/lib/response/list-ccc-upgrade-schedules-response.js +15 -0
- package/lib/response/list-ccc-upgrade-schedules-response.js.map +1 -0
- package/lib/response/update-ccc-infrastructure-response.d.ts +30 -0
- package/lib/response/update-ccc-infrastructure-response.js +15 -0
- package/lib/response/update-ccc-infrastructure-response.js.map +1 -0
- package/lib/response/update-ccc-upgrade-schedule-response.d.ts +30 -0
- package/lib/response/update-ccc-upgrade-schedule-response.js +15 -0
- package/lib/response/update-ccc-upgrade-schedule-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Compute Cloud@Customer API
|
|
3
|
+
* Use the Compute Cloud@Customer API to manage Compute Cloud@Customer Infrastructure deployments
|
|
4
|
+
and scheduled upgrades. For more information see
|
|
5
|
+
[Compute Cloud@Customer documentation](/iaas/Content/compute-cloud-at-customer/home.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20221208
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* A period where upgrades may be applied to Compute Cloud@Customer infrastructures
|
|
18
|
+
* associated with the schedule. All upgrade windows may not be used.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface CccScheduleEvent {
|
|
22
|
+
/**
|
|
23
|
+
* Generated name associated with the event.
|
|
24
|
+
*/
|
|
25
|
+
"name": string;
|
|
26
|
+
/**
|
|
27
|
+
* A description of the Compute Cloud@Customer upgrade schedule time block.
|
|
28
|
+
*/
|
|
29
|
+
"description": string;
|
|
30
|
+
/**
|
|
31
|
+
* The date and time when the Compute Cloud@Customer upgrade schedule event starts,
|
|
32
|
+
* inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences,
|
|
33
|
+
* this is the date that a recurrence can start being applied.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
"timeStart": Date;
|
|
37
|
+
/**
|
|
38
|
+
* The duration of this block of time. The duration must be specified and be of the
|
|
39
|
+
* ISO-8601 format for durations.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
"scheduleEventDuration": string;
|
|
43
|
+
/**
|
|
44
|
+
* Frequency of recurrence of schedule block. When this field is not included, the event
|
|
45
|
+
* is assumed to be a one time occurrence. The frequency field is strictly parsed and must
|
|
46
|
+
* conform to RFC-5545 formatting for recurrences.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"scheduleEventRecurrences"?: string;
|
|
50
|
+
}
|
|
51
|
+
export declare namespace CccScheduleEvent {
|
|
52
|
+
function getJsonObj(obj: CccScheduleEvent): object;
|
|
53
|
+
function getDeserializedJsonObj(obj: CccScheduleEvent): object;
|
|
54
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Compute Cloud@Customer API
|
|
4
|
+
* Use the Compute Cloud@Customer API to manage Compute Cloud@Customer Infrastructure deployments
|
|
5
|
+
and scheduled upgrades. For more information see
|
|
6
|
+
[Compute Cloud@Customer documentation](/iaas/Content/compute-cloud-at-customer/home.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20221208
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.CccScheduleEvent = void 0;
|
|
19
|
+
var CccScheduleEvent;
|
|
20
|
+
(function (CccScheduleEvent) {
|
|
21
|
+
function getJsonObj(obj) {
|
|
22
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
23
|
+
return jsonObj;
|
|
24
|
+
}
|
|
25
|
+
CccScheduleEvent.getJsonObj = getJsonObj;
|
|
26
|
+
function getDeserializedJsonObj(obj) {
|
|
27
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
28
|
+
return jsonObj;
|
|
29
|
+
}
|
|
30
|
+
CccScheduleEvent.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
31
|
+
})(CccScheduleEvent = exports.CccScheduleEvent || (exports.CccScheduleEvent = {}));
|
|
32
|
+
//# sourceMappingURL=ccc-schedule-event.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ccc-schedule-event.js","sourceRoot":"","sources":["../../../../../lib/computecloudatcustomer/lib/model/ccc-schedule-event.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAyCH,IAAiB,gBAAgB,CAWhC;AAXD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAWhC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Compute Cloud@Customer API
|
|
3
|
+
* Use the Compute Cloud@Customer API to manage Compute Cloud@Customer Infrastructure deployments
|
|
4
|
+
and scheduled upgrades. For more information see
|
|
5
|
+
[Compute Cloud@Customer documentation](/iaas/Content/compute-cloud-at-customer/home.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20221208
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information
|
|
18
|
+
* cannot be updated.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface CccUpgradeInformation {
|
|
22
|
+
/**
|
|
23
|
+
* The current version of software installed on the Compute Cloud@Customer infrastructure.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"currentVersion"?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance
|
|
29
|
+
* impacts during this time.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"timeOfScheduledUpgrade"?: Date;
|
|
33
|
+
/**
|
|
34
|
+
* Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual
|
|
35
|
+
* upgrade time might be longer or shorter than this duration depending on rack activity, this
|
|
36
|
+
* is only an estimate.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
"scheduledUpgradeDuration"?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Indication that the Compute Cloud@Customer infrastructure is in the process of
|
|
42
|
+
* an upgrade or an upgrade activity (such as preloading upgrade images).
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
"isActive"?: boolean;
|
|
46
|
+
}
|
|
47
|
+
export declare namespace CccUpgradeInformation {
|
|
48
|
+
function getJsonObj(obj: CccUpgradeInformation): object;
|
|
49
|
+
function getDeserializedJsonObj(obj: CccUpgradeInformation): object;
|
|
50
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Compute Cloud@Customer API
|
|
4
|
+
* Use the Compute Cloud@Customer API to manage Compute Cloud@Customer Infrastructure deployments
|
|
5
|
+
and scheduled upgrades. For more information see
|
|
6
|
+
[Compute Cloud@Customer documentation](/iaas/Content/compute-cloud-at-customer/home.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20221208
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.CccUpgradeInformation = void 0;
|
|
19
|
+
var CccUpgradeInformation;
|
|
20
|
+
(function (CccUpgradeInformation) {
|
|
21
|
+
function getJsonObj(obj) {
|
|
22
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
23
|
+
return jsonObj;
|
|
24
|
+
}
|
|
25
|
+
CccUpgradeInformation.getJsonObj = getJsonObj;
|
|
26
|
+
function getDeserializedJsonObj(obj) {
|
|
27
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
28
|
+
return jsonObj;
|
|
29
|
+
}
|
|
30
|
+
CccUpgradeInformation.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
31
|
+
})(CccUpgradeInformation = exports.CccUpgradeInformation || (exports.CccUpgradeInformation = {}));
|
|
32
|
+
//# sourceMappingURL=ccc-upgrade-information.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ccc-upgrade-information.js","sourceRoot":"","sources":["../../../../../lib/computecloudatcustomer/lib/model/ccc-upgrade-information.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAqCH,IAAiB,qBAAqB,CAWrC;AAXD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAWrC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Compute Cloud@Customer API
|
|
3
|
+
* Use the Compute Cloud@Customer API to manage Compute Cloud@Customer Infrastructure deployments
|
|
4
|
+
and scheduled upgrades. For more information see
|
|
5
|
+
[Compute Cloud@Customer documentation](/iaas/Content/compute-cloud-at-customer/home.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20221208
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* Results of a Compute Cloud@Customer upgrade schedule search.
|
|
19
|
+
* Contains the summary items and other information,
|
|
20
|
+
* such as metadata.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export interface CccUpgradeScheduleCollection {
|
|
24
|
+
/**
|
|
25
|
+
* List of Compute Cloud@Customer upgrade schedules.
|
|
26
|
+
*/
|
|
27
|
+
"items": Array<model.CccUpgradeScheduleSummary>;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace CccUpgradeScheduleCollection {
|
|
30
|
+
function getJsonObj(obj: CccUpgradeScheduleCollection): object;
|
|
31
|
+
function getDeserializedJsonObj(obj: CccUpgradeScheduleCollection): object;
|
|
32
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Compute Cloud@Customer API
|
|
4
|
+
* Use the Compute Cloud@Customer API to manage Compute Cloud@Customer Infrastructure deployments
|
|
5
|
+
and scheduled upgrades. For more information see
|
|
6
|
+
[Compute Cloud@Customer documentation](/iaas/Content/compute-cloud-at-customer/home.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20221208
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.CccUpgradeScheduleCollection = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var CccUpgradeScheduleCollection;
|
|
40
|
+
(function (CccUpgradeScheduleCollection) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"items": obj.items
|
|
44
|
+
? obj.items.map(item => {
|
|
45
|
+
return model.CccUpgradeScheduleSummary.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
CccUpgradeScheduleCollection.getJsonObj = getJsonObj;
|
|
52
|
+
function getDeserializedJsonObj(obj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
"items": obj.items
|
|
55
|
+
? obj.items.map(item => {
|
|
56
|
+
return model.CccUpgradeScheduleSummary.getDeserializedJsonObj(item);
|
|
57
|
+
})
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
CccUpgradeScheduleCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(CccUpgradeScheduleCollection = exports.CccUpgradeScheduleCollection || (exports.CccUpgradeScheduleCollection = {}));
|
|
64
|
+
//# sourceMappingURL=ccc-upgrade-schedule-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ccc-upgrade-schedule-collection.js","sourceRoot":"","sources":["../../../../../lib/computecloudatcustomer/lib/model/ccc-upgrade-schedule-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,4BAA4B,CA6B5C;AA7BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,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,yBAAyB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,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,yBAAyB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA6B5C"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Compute Cloud@Customer API
|
|
3
|
+
* Use the Compute Cloud@Customer API to manage Compute Cloud@Customer Infrastructure deployments
|
|
4
|
+
and scheduled upgrades. For more information see
|
|
5
|
+
[Compute Cloud@Customer documentation](/iaas/Content/compute-cloud-at-customer/home.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20221208
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Basic information about a Compute Cloud@Customer schedule. This summary
|
|
18
|
+
* only includes high level resource information, not the schedule events.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface CccUpgradeScheduleSummary {
|
|
22
|
+
/**
|
|
23
|
+
* The upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
24
|
+
* This cannot be changed once created.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"id": string;
|
|
28
|
+
/**
|
|
29
|
+
* Compute Cloud@Customer upgrade schedule display name.
|
|
30
|
+
* Avoid entering any confidential information.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
"displayName": string;
|
|
34
|
+
/**
|
|
35
|
+
* Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the
|
|
36
|
+
* Compute Cloud@Customer Upgrade Schedule.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
"compartmentId": string;
|
|
40
|
+
/**
|
|
41
|
+
* The time the upgrade schedule was created. An RFC3339 formatted datetime string
|
|
42
|
+
*/
|
|
43
|
+
"timeCreated": Date;
|
|
44
|
+
/**
|
|
45
|
+
* The current state of the Compute Cloud@Customer
|
|
46
|
+
* upgrade schedule.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"lifecycleState": string;
|
|
50
|
+
/**
|
|
51
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
52
|
+
* 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.
|
|
60
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
"definedTags"?: {
|
|
64
|
+
[key: string]: {
|
|
65
|
+
[key: string]: any;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
70
|
+
* Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
"systemTags"?: {
|
|
74
|
+
[key: string]: {
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
export declare namespace CccUpgradeScheduleSummary {
|
|
80
|
+
function getJsonObj(obj: CccUpgradeScheduleSummary): object;
|
|
81
|
+
function getDeserializedJsonObj(obj: CccUpgradeScheduleSummary): object;
|
|
82
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Compute Cloud@Customer API
|
|
4
|
+
* Use the Compute Cloud@Customer API to manage Compute Cloud@Customer Infrastructure deployments
|
|
5
|
+
and scheduled upgrades. For more information see
|
|
6
|
+
[Compute Cloud@Customer documentation](/iaas/Content/compute-cloud-at-customer/home.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20221208
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.CccUpgradeScheduleSummary = void 0;
|
|
19
|
+
var CccUpgradeScheduleSummary;
|
|
20
|
+
(function (CccUpgradeScheduleSummary) {
|
|
21
|
+
function getJsonObj(obj) {
|
|
22
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
23
|
+
return jsonObj;
|
|
24
|
+
}
|
|
25
|
+
CccUpgradeScheduleSummary.getJsonObj = getJsonObj;
|
|
26
|
+
function getDeserializedJsonObj(obj) {
|
|
27
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
28
|
+
return jsonObj;
|
|
29
|
+
}
|
|
30
|
+
CccUpgradeScheduleSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
31
|
+
})(CccUpgradeScheduleSummary = exports.CccUpgradeScheduleSummary || (exports.CccUpgradeScheduleSummary = {}));
|
|
32
|
+
//# sourceMappingURL=ccc-upgrade-schedule-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ccc-upgrade-schedule-summary.js","sourceRoot":"","sources":["../../../../../lib/computecloudatcustomer/lib/model/ccc-upgrade-schedule-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AA2DH,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWzC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Compute Cloud@Customer API
|
|
3
|
+
* Use the Compute Cloud@Customer API to manage Compute Cloud@Customer Infrastructure deployments
|
|
4
|
+
and scheduled upgrades. For more information see
|
|
5
|
+
[Compute Cloud@Customer documentation](/iaas/Content/compute-cloud-at-customer/home.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20221208
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* Defines a schedule for preferred upgrade times.
|
|
19
|
+
*/
|
|
20
|
+
export interface CccUpgradeSchedule {
|
|
21
|
+
/**
|
|
22
|
+
* Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
23
|
+
* This cannot be changed once created.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"id": string;
|
|
27
|
+
/**
|
|
28
|
+
* Compute Cloud@Customer upgrade schedule display name.
|
|
29
|
+
* Avoid entering confidential information.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"displayName": string;
|
|
33
|
+
/**
|
|
34
|
+
* An optional description of the Compute Cloud@Customer upgrade schedule.
|
|
35
|
+
* Avoid entering confidential information.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
"description"?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the
|
|
41
|
+
* Compute Cloud@Customer upgrade schedule.
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
"compartmentId": string;
|
|
45
|
+
/**
|
|
46
|
+
* The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"timeCreated": Date;
|
|
50
|
+
/**
|
|
51
|
+
* The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
"timeUpdated"?: Date;
|
|
55
|
+
/**
|
|
56
|
+
* Lifecycle state of the resource.
|
|
57
|
+
*/
|
|
58
|
+
"lifecycleState": CccUpgradeSchedule.LifecycleState;
|
|
59
|
+
/**
|
|
60
|
+
* A message describing the current state in more detail.
|
|
61
|
+
* For example, the message can be used to provide actionable information for a resource in
|
|
62
|
+
* a Failed state.
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
"lifecycleDetails"?: string;
|
|
66
|
+
/**
|
|
67
|
+
* List of preferred times for Compute Cloud@Customer infrastructures associated with this
|
|
68
|
+
* schedule to be upgraded.
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
"events"?: Array<model.CccScheduleEvent>;
|
|
72
|
+
/**
|
|
73
|
+
* List of Compute Cloud@Customer infrastructure
|
|
74
|
+
* [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade
|
|
75
|
+
* schedule.
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
"infrastructureIds"?: Array<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
81
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
"freeformTags"?: {
|
|
85
|
+
[key: string]: string;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
89
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
90
|
+
*
|
|
91
|
+
*/
|
|
92
|
+
"definedTags"?: {
|
|
93
|
+
[key: string]: {
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
99
|
+
* Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
100
|
+
*
|
|
101
|
+
*/
|
|
102
|
+
"systemTags"?: {
|
|
103
|
+
[key: string]: {
|
|
104
|
+
[key: string]: any;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
export declare namespace CccUpgradeSchedule {
|
|
109
|
+
enum LifecycleState {
|
|
110
|
+
Active = "ACTIVE",
|
|
111
|
+
NeedsAttention = "NEEDS_ATTENTION",
|
|
112
|
+
Deleted = "DELETED",
|
|
113
|
+
Failed = "FAILED",
|
|
114
|
+
/**
|
|
115
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
116
|
+
* version of the SDK.
|
|
117
|
+
*/
|
|
118
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
119
|
+
}
|
|
120
|
+
function getJsonObj(obj: CccUpgradeSchedule): object;
|
|
121
|
+
function getDeserializedJsonObj(obj: CccUpgradeSchedule): object;
|
|
122
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Compute Cloud@Customer API
|
|
4
|
+
* Use the Compute Cloud@Customer API to manage Compute Cloud@Customer Infrastructure deployments
|
|
5
|
+
and scheduled upgrades. For more information see
|
|
6
|
+
[Compute Cloud@Customer documentation](/iaas/Content/compute-cloud-at-customer/home.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20221208
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.CccUpgradeSchedule = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var CccUpgradeSchedule;
|
|
40
|
+
(function (CccUpgradeSchedule) {
|
|
41
|
+
let LifecycleState;
|
|
42
|
+
(function (LifecycleState) {
|
|
43
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
44
|
+
LifecycleState["NeedsAttention"] = "NEEDS_ATTENTION";
|
|
45
|
+
LifecycleState["Deleted"] = "DELETED";
|
|
46
|
+
LifecycleState["Failed"] = "FAILED";
|
|
47
|
+
/**
|
|
48
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
49
|
+
* version of the SDK.
|
|
50
|
+
*/
|
|
51
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
52
|
+
})(LifecycleState = CccUpgradeSchedule.LifecycleState || (CccUpgradeSchedule.LifecycleState = {}));
|
|
53
|
+
function getJsonObj(obj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
55
|
+
"events": obj.events
|
|
56
|
+
? obj.events.map(item => {
|
|
57
|
+
return model.CccScheduleEvent.getJsonObj(item);
|
|
58
|
+
})
|
|
59
|
+
: undefined
|
|
60
|
+
});
|
|
61
|
+
return jsonObj;
|
|
62
|
+
}
|
|
63
|
+
CccUpgradeSchedule.getJsonObj = getJsonObj;
|
|
64
|
+
function getDeserializedJsonObj(obj) {
|
|
65
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
66
|
+
"events": obj.events
|
|
67
|
+
? obj.events.map(item => {
|
|
68
|
+
return model.CccScheduleEvent.getDeserializedJsonObj(item);
|
|
69
|
+
})
|
|
70
|
+
: undefined
|
|
71
|
+
});
|
|
72
|
+
return jsonObj;
|
|
73
|
+
}
|
|
74
|
+
CccUpgradeSchedule.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
75
|
+
})(CccUpgradeSchedule = exports.CccUpgradeSchedule || (exports.CccUpgradeSchedule = {}));
|
|
76
|
+
//# sourceMappingURL=ccc-upgrade-schedule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ccc-upgrade-schedule.js","sourceRoot":"","sources":["../../../../../lib/computecloudatcustomer/lib/model/ccc-upgrade-schedule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqFlC,IAAiB,kBAAkB,CAyClC;AAzCD,WAAiB,kBAAkB;IACjC,IAAY,cAUX;IAVD,WAAY,cAAc;QACxB,mCAAiB,CAAA;QACjB,oDAAkC,CAAA;QAClC,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAVW,cAAc,GAAd,iCAAc,KAAd,iCAAc,QAUzB;IAED,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpB,OAAO,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpB,OAAO,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yCAAsB,yBAarC,CAAA;AACH,CAAC,EAzCgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAyClC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Compute Cloud@Customer API
|
|
3
|
+
* Use the Compute Cloud@Customer API to manage Compute Cloud@Customer Infrastructure deployments
|
|
4
|
+
and scheduled upgrades. For more information see
|
|
5
|
+
[Compute Cloud@Customer documentation](/iaas/Content/compute-cloud-at-customer/home.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20221208
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Information required for the compartment change operation.
|
|
18
|
+
*/
|
|
19
|
+
export interface ChangeCccInfrastructureCompartmentDetails {
|
|
20
|
+
/**
|
|
21
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
|
|
22
|
+
* into which the resource should be moved.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
"compartmentId": string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace ChangeCccInfrastructureCompartmentDetails {
|
|
28
|
+
function getJsonObj(obj: ChangeCccInfrastructureCompartmentDetails): object;
|
|
29
|
+
function getDeserializedJsonObj(obj: ChangeCccInfrastructureCompartmentDetails): object;
|
|
30
|
+
}
|