oci-core 2.98.1 → 2.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +20 -0
- package/lib/client.js +44 -0
- package/lib/client.js.map +1 -1
- package/lib/model/compute-bare-metal-host.d.ts +12 -2
- package/lib/model/compute-bare-metal-host.js +10 -0
- package/lib/model/compute-bare-metal-host.js.map +1 -1
- package/lib/model/compute-hpc-island.d.ts +6 -1
- package/lib/model/compute-hpc-island.js +5 -0
- package/lib/model/compute-hpc-island.js.map +1 -1
- package/lib/model/compute-network-block.d.ts +6 -1
- package/lib/model/compute-network-block.js +5 -0
- package/lib/model/compute-network-block.js.map +1 -1
- package/lib/model/index.d.ts +10 -0
- package/lib/model/index.js +17 -7
- package/lib/model/index.js.map +1 -1
- package/lib/model/instance-configuration-launch-instance-details.d.ts +4 -0
- package/lib/model/instance-configuration-launch-instance-details.js +10 -0
- package/lib/model/instance-configuration-launch-instance-details.js.map +1 -1
- package/lib/model/instance.d.ts +4 -0
- package/lib/model/instance.js +10 -0
- package/lib/model/instance.js.map +1 -1
- package/lib/model/launch-instance-details.d.ts +4 -0
- package/lib/model/launch-instance-details.js +10 -0
- package/lib/model/launch-instance-details.js.map +1 -1
- package/lib/model/launch-instance-licensing-config.d.ts +45 -0
- package/lib/model/launch-instance-licensing-config.js +85 -0
- package/lib/model/launch-instance-licensing-config.js.map +1 -0
- package/lib/model/launch-instance-windows-licensing-config.d.ts +31 -0
- package/lib/model/launch-instance-windows-licensing-config.js +61 -0
- package/lib/model/launch-instance-windows-licensing-config.js.map +1 -0
- package/lib/model/licensing-config.d.ts +60 -0
- package/lib/model/licensing-config.js +55 -0
- package/lib/model/licensing-config.js.map +1 -0
- package/lib/model/update-instance-details.d.ts +4 -0
- package/lib/model/update-instance-details.js +10 -0
- package/lib/model/update-instance-details.js.map +1 -1
- package/lib/model/update-instance-licensing-config.d.ts +41 -0
- package/lib/model/update-instance-licensing-config.js +80 -0
- package/lib/model/update-instance-licensing-config.js.map +1 -0
- package/lib/model/update-instance-windows-licensing-config.d.ts +32 -0
- package/lib/model/update-instance-windows-licensing-config.js +61 -0
- package/lib/model/update-instance-windows-licensing-config.js.map +1 -0
- package/package.json +3 -3
|
@@ -75,6 +75,11 @@ var LaunchInstanceDetails;
|
|
|
75
75
|
: undefined,
|
|
76
76
|
"platformConfig": obj.platformConfig
|
|
77
77
|
? model.LaunchInstancePlatformConfig.getJsonObj(obj.platformConfig)
|
|
78
|
+
: undefined,
|
|
79
|
+
"licensingConfigs": obj.licensingConfigs
|
|
80
|
+
? obj.licensingConfigs.map(item => {
|
|
81
|
+
return model.LaunchInstanceLicensingConfig.getJsonObj(item);
|
|
82
|
+
})
|
|
78
83
|
: undefined
|
|
79
84
|
});
|
|
80
85
|
return jsonObj;
|
|
@@ -113,6 +118,11 @@ var LaunchInstanceDetails;
|
|
|
113
118
|
: undefined,
|
|
114
119
|
"platformConfig": obj.platformConfig
|
|
115
120
|
? model.LaunchInstancePlatformConfig.getDeserializedJsonObj(obj.platformConfig)
|
|
121
|
+
: undefined,
|
|
122
|
+
"licensingConfigs": obj.licensingConfigs
|
|
123
|
+
? obj.licensingConfigs.map(item => {
|
|
124
|
+
return model.LaunchInstanceLicensingConfig.getDeserializedJsonObj(item);
|
|
125
|
+
})
|
|
116
126
|
: undefined
|
|
117
127
|
});
|
|
118
128
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launch-instance-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/launch-instance-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"launch-instance-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/launch-instance-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAE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,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC9B,OAAO,KAAK,CAAC,6BAA6B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC1E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAvDe,4CAAsB,yBAuDrC,CAAA;AACH,CAAC,EA7GgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QA6GrC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core Services API
|
|
3
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
4
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
5
|
+
documentation for the [Networking](/iaas/Content/Network/Concepts/overview.htm),
|
|
6
|
+
[Compute](/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
7
|
+
[Block Volume](/iaas/Content/Block/Concepts/overview.htm) services.
|
|
8
|
+
The required permissions are documented in the
|
|
9
|
+
[Details for the Core Services](/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
10
|
+
|
|
11
|
+
* OpenAPI spec version: 20160918
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
15
|
+
* Do not edit the class manually.
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
18
|
+
* 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.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* The license config requested for the instance.
|
|
22
|
+
*/
|
|
23
|
+
export interface LaunchInstanceLicensingConfig {
|
|
24
|
+
/**
|
|
25
|
+
* License Type for the OS license.
|
|
26
|
+
* * {@code OCI_PROVIDED} - OCI provided license (e.g. metered $/OCPU-hour).
|
|
27
|
+
* * {@code BRING_YOUR_OWN_LICENSE} - Bring your own license.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"licenseType"?: LaunchInstanceLicensingConfig.LicenseType;
|
|
31
|
+
"type": string;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace LaunchInstanceLicensingConfig {
|
|
34
|
+
enum LicenseType {
|
|
35
|
+
OciProvided = "OCI_PROVIDED",
|
|
36
|
+
BringYourOwnLicense = "BRING_YOUR_OWN_LICENSE",
|
|
37
|
+
/**
|
|
38
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
39
|
+
* version of the SDK.
|
|
40
|
+
*/
|
|
41
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
42
|
+
}
|
|
43
|
+
function getJsonObj(obj: LaunchInstanceLicensingConfig): object;
|
|
44
|
+
function getDeserializedJsonObj(obj: LaunchInstanceLicensingConfig): object;
|
|
45
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Core Services API
|
|
4
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
5
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
6
|
+
documentation for the [Networking](/iaas/Content/Network/Concepts/overview.htm),
|
|
7
|
+
[Compute](/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
8
|
+
[Block Volume](/iaas/Content/Block/Concepts/overview.htm) services.
|
|
9
|
+
The required permissions are documented in the
|
|
10
|
+
[Details for the Core Services](/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
11
|
+
|
|
12
|
+
* OpenAPI spec version: 20160918
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*
|
|
18
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
19
|
+
* 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.
|
|
20
|
+
*/
|
|
21
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
24
|
+
}) : (function(o, m, k, k2) {
|
|
25
|
+
if (k2 === undefined) k2 = k;
|
|
26
|
+
o[k2] = m[k];
|
|
27
|
+
}));
|
|
28
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
29
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
30
|
+
}) : function(o, v) {
|
|
31
|
+
o["default"] = v;
|
|
32
|
+
});
|
|
33
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
34
|
+
if (mod && mod.__esModule) return mod;
|
|
35
|
+
var result = {};
|
|
36
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
37
|
+
__setModuleDefault(result, mod);
|
|
38
|
+
return result;
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.LaunchInstanceLicensingConfig = void 0;
|
|
42
|
+
const model = __importStar(require("../model"));
|
|
43
|
+
const common = require("oci-common");
|
|
44
|
+
var LaunchInstanceLicensingConfig;
|
|
45
|
+
(function (LaunchInstanceLicensingConfig) {
|
|
46
|
+
let LicenseType;
|
|
47
|
+
(function (LicenseType) {
|
|
48
|
+
LicenseType["OciProvided"] = "OCI_PROVIDED";
|
|
49
|
+
LicenseType["BringYourOwnLicense"] = "BRING_YOUR_OWN_LICENSE";
|
|
50
|
+
/**
|
|
51
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
52
|
+
* version of the SDK.
|
|
53
|
+
*/
|
|
54
|
+
LicenseType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
55
|
+
})(LicenseType = LaunchInstanceLicensingConfig.LicenseType || (LaunchInstanceLicensingConfig.LicenseType = {}));
|
|
56
|
+
function getJsonObj(obj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
58
|
+
if (obj && "type" in obj && obj.type) {
|
|
59
|
+
switch (obj.type) {
|
|
60
|
+
case "WINDOWS":
|
|
61
|
+
return model.LaunchInstanceWindowsLicensingConfig.getJsonObj(jsonObj, true);
|
|
62
|
+
default:
|
|
63
|
+
if (common.LOG.logger)
|
|
64
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return jsonObj;
|
|
68
|
+
}
|
|
69
|
+
LaunchInstanceLicensingConfig.getJsonObj = getJsonObj;
|
|
70
|
+
function getDeserializedJsonObj(obj) {
|
|
71
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
72
|
+
if (obj && "type" in obj && obj.type) {
|
|
73
|
+
switch (obj.type) {
|
|
74
|
+
case "WINDOWS":
|
|
75
|
+
return model.LaunchInstanceWindowsLicensingConfig.getDeserializedJsonObj(jsonObj, true);
|
|
76
|
+
default:
|
|
77
|
+
if (common.LOG.logger)
|
|
78
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return jsonObj;
|
|
82
|
+
}
|
|
83
|
+
LaunchInstanceLicensingConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
84
|
+
})(LaunchInstanceLicensingConfig = exports.LaunchInstanceLicensingConfig || (exports.LaunchInstanceLicensingConfig = {}));
|
|
85
|
+
//# sourceMappingURL=launch-instance-licensing-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"launch-instance-licensing-config.js","sourceRoot":"","sources":["../../../../../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BAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,oDAAsB,yBAerC,CAAA;AACH,CAAC,EA3CgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA2C7C"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core Services API
|
|
3
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
4
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
5
|
+
documentation for the [Networking](/iaas/Content/Network/Concepts/overview.htm),
|
|
6
|
+
[Compute](/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
7
|
+
[Block Volume](/iaas/Content/Block/Concepts/overview.htm) services.
|
|
8
|
+
The required permissions are documented in the
|
|
9
|
+
[Details for the Core Services](/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
10
|
+
|
|
11
|
+
* OpenAPI spec version: 20160918
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
15
|
+
* Do not edit the class manually.
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
18
|
+
* 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.
|
|
19
|
+
*/
|
|
20
|
+
import * as model from "../model";
|
|
21
|
+
/**
|
|
22
|
+
* The default windows licensing config.
|
|
23
|
+
*/
|
|
24
|
+
export interface LaunchInstanceWindowsLicensingConfig extends model.LaunchInstanceLicensingConfig {
|
|
25
|
+
"type": string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace LaunchInstanceWindowsLicensingConfig {
|
|
28
|
+
function getJsonObj(obj: LaunchInstanceWindowsLicensingConfig, isParentJsonObj?: boolean): object;
|
|
29
|
+
const type = "WINDOWS";
|
|
30
|
+
function getDeserializedJsonObj(obj: LaunchInstanceWindowsLicensingConfig, isParentJsonObj?: boolean): object;
|
|
31
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Core Services API
|
|
4
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
5
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
6
|
+
documentation for the [Networking](/iaas/Content/Network/Concepts/overview.htm),
|
|
7
|
+
[Compute](/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
8
|
+
[Block Volume](/iaas/Content/Block/Concepts/overview.htm) services.
|
|
9
|
+
The required permissions are documented in the
|
|
10
|
+
[Details for the Core Services](/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
11
|
+
|
|
12
|
+
* OpenAPI spec version: 20160918
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*
|
|
18
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
19
|
+
* 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.
|
|
20
|
+
*/
|
|
21
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
24
|
+
}) : (function(o, m, k, k2) {
|
|
25
|
+
if (k2 === undefined) k2 = k;
|
|
26
|
+
o[k2] = m[k];
|
|
27
|
+
}));
|
|
28
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
29
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
30
|
+
}) : function(o, v) {
|
|
31
|
+
o["default"] = v;
|
|
32
|
+
});
|
|
33
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
34
|
+
if (mod && mod.__esModule) return mod;
|
|
35
|
+
var result = {};
|
|
36
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
37
|
+
__setModuleDefault(result, mod);
|
|
38
|
+
return result;
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.LaunchInstanceWindowsLicensingConfig = void 0;
|
|
42
|
+
const model = __importStar(require("../model"));
|
|
43
|
+
var LaunchInstanceWindowsLicensingConfig;
|
|
44
|
+
(function (LaunchInstanceWindowsLicensingConfig) {
|
|
45
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
46
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
47
|
+
? obj
|
|
48
|
+
: model.LaunchInstanceLicensingConfig.getJsonObj(obj))), {});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
LaunchInstanceWindowsLicensingConfig.getJsonObj = getJsonObj;
|
|
52
|
+
LaunchInstanceWindowsLicensingConfig.type = "WINDOWS";
|
|
53
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
55
|
+
? obj
|
|
56
|
+
: model.LaunchInstanceLicensingConfig.getDeserializedJsonObj(obj))), {});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
LaunchInstanceWindowsLicensingConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(LaunchInstanceWindowsLicensingConfig = exports.LaunchInstanceWindowsLicensingConfig || (exports.LaunchInstanceWindowsLicensingConfig = {}));
|
|
61
|
+
//# sourceMappingURL=launch-instance-windows-licensing-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"launch-instance-windows-licensing-config.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/launch-instance-windows-licensing-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,oCAAoC,CAgCpD;AAhCD,WAAiB,oCAAoC;IACnD,SAAgB,UAAU,CACxB,GAAyC,EACzC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,6BAA6B,CAAC,UAAU,CAC7C,GAAG,CACqC,CAAC,GAC5C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,+CAAU,aAczB,CAAA;IACY,yCAAI,GAAG,SAAS,CAAC;IAC9B,SAAgB,sBAAsB,CACpC,GAAyC,EACzC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,6BAA6B,CAAC,sBAAsB,CACzD,GAAG,CACqC,CAAC,GAC5C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,2DAAsB,yBAcrC,CAAA;AACH,CAAC,EAhCgB,oCAAoC,GAApC,4CAAoC,KAApC,4CAAoC,QAgCpD"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core Services API
|
|
3
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
4
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
5
|
+
documentation for the [Networking](/iaas/Content/Network/Concepts/overview.htm),
|
|
6
|
+
[Compute](/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
7
|
+
[Block Volume](/iaas/Content/Block/Concepts/overview.htm) services.
|
|
8
|
+
The required permissions are documented in the
|
|
9
|
+
[Details for the Core Services](/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
10
|
+
|
|
11
|
+
* OpenAPI spec version: 20160918
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
15
|
+
* Do not edit the class manually.
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
18
|
+
* 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.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Configuration of the Operating System license.
|
|
22
|
+
*/
|
|
23
|
+
export interface LicensingConfig {
|
|
24
|
+
/**
|
|
25
|
+
* Operating System type of the Configuration.
|
|
26
|
+
*/
|
|
27
|
+
"type"?: LicensingConfig.Type;
|
|
28
|
+
/**
|
|
29
|
+
* License Type for the OS license.
|
|
30
|
+
* * {@code OCI_PROVIDED} - OCI provided license (e.g. metered $/OCPU-hour).
|
|
31
|
+
* * {@code BRING_YOUR_OWN_LICENSE} - Bring your own license.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"licenseType"?: LicensingConfig.LicenseType;
|
|
35
|
+
/**
|
|
36
|
+
* The Operating System version of the license config.
|
|
37
|
+
*/
|
|
38
|
+
"osVersion"?: string;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace LicensingConfig {
|
|
41
|
+
enum Type {
|
|
42
|
+
Windows = "WINDOWS",
|
|
43
|
+
/**
|
|
44
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
45
|
+
* version of the SDK.
|
|
46
|
+
*/
|
|
47
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
48
|
+
}
|
|
49
|
+
enum LicenseType {
|
|
50
|
+
OciProvided = "OCI_PROVIDED",
|
|
51
|
+
BringYourOwnLicense = "BRING_YOUR_OWN_LICENSE",
|
|
52
|
+
/**
|
|
53
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
54
|
+
* version of the SDK.
|
|
55
|
+
*/
|
|
56
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
57
|
+
}
|
|
58
|
+
function getJsonObj(obj: LicensingConfig): object;
|
|
59
|
+
function getDeserializedJsonObj(obj: LicensingConfig): object;
|
|
60
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Core Services API
|
|
4
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
5
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
6
|
+
documentation for the [Networking](/iaas/Content/Network/Concepts/overview.htm),
|
|
7
|
+
[Compute](/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
8
|
+
[Block Volume](/iaas/Content/Block/Concepts/overview.htm) services.
|
|
9
|
+
The required permissions are documented in the
|
|
10
|
+
[Details for the Core Services](/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
11
|
+
|
|
12
|
+
* OpenAPI spec version: 20160918
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*
|
|
18
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
19
|
+
* 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.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.LicensingConfig = void 0;
|
|
23
|
+
var LicensingConfig;
|
|
24
|
+
(function (LicensingConfig) {
|
|
25
|
+
let Type;
|
|
26
|
+
(function (Type) {
|
|
27
|
+
Type["Windows"] = "WINDOWS";
|
|
28
|
+
/**
|
|
29
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
30
|
+
* version of the SDK.
|
|
31
|
+
*/
|
|
32
|
+
Type["UnknownValue"] = "UNKNOWN_VALUE";
|
|
33
|
+
})(Type = LicensingConfig.Type || (LicensingConfig.Type = {}));
|
|
34
|
+
let LicenseType;
|
|
35
|
+
(function (LicenseType) {
|
|
36
|
+
LicenseType["OciProvided"] = "OCI_PROVIDED";
|
|
37
|
+
LicenseType["BringYourOwnLicense"] = "BRING_YOUR_OWN_LICENSE";
|
|
38
|
+
/**
|
|
39
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
40
|
+
* version of the SDK.
|
|
41
|
+
*/
|
|
42
|
+
LicenseType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
43
|
+
})(LicenseType = LicensingConfig.LicenseType || (LicensingConfig.LicenseType = {}));
|
|
44
|
+
function getJsonObj(obj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
LicensingConfig.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
LicensingConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(LicensingConfig = exports.LicensingConfig || (exports.LicensingConfig = {}));
|
|
55
|
+
//# sourceMappingURL=licensing-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"licensing-config.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/licensing-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AA0BH,IAAiB,eAAe,CA8B/B;AA9BD,WAAiB,eAAe;IAC9B,IAAY,IAOX;IAPD,WAAY,IAAI;QACd,2BAAmB,CAAA;QACnB;;;WAGG;QACH,sCAA8B,CAAA;IAChC,CAAC,EAPW,IAAI,GAAJ,oBAAI,KAAJ,oBAAI,QAOf;IAED,IAAY,WAQX;IARD,WAAY,WAAW;QACrB,2CAA4B,CAAA;QAC5B,6DAA8C,CAAA;QAC9C;;;WAGG;QACH,6CAA8B,CAAA;IAChC,CAAC,EARW,WAAW,GAAX,2BAAW,KAAX,2BAAW,QAQtB;IAED,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAsB,yBAIrC,CAAA;AACH,CAAC,EA9BgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA8B/B"}
|
|
@@ -185,6 +185,10 @@ export interface UpdateInstanceDetails {
|
|
|
185
185
|
*/
|
|
186
186
|
"dedicatedVmHostId"?: string;
|
|
187
187
|
"platformConfig"?: model.AmdVmUpdateInstancePlatformConfig | model.IntelVmUpdateInstancePlatformConfig;
|
|
188
|
+
/**
|
|
189
|
+
* The list of liscensing configurations with target update values.
|
|
190
|
+
*/
|
|
191
|
+
"licensingConfigs"?: Array<model.UpdateInstanceLicensingConfig>;
|
|
188
192
|
}
|
|
189
193
|
export declare namespace UpdateInstanceDetails {
|
|
190
194
|
enum UpdateOperationConstraint {
|
|
@@ -69,6 +69,11 @@ var UpdateInstanceDetails;
|
|
|
69
69
|
: undefined,
|
|
70
70
|
"platformConfig": obj.platformConfig
|
|
71
71
|
? model.UpdateInstancePlatformConfig.getJsonObj(obj.platformConfig)
|
|
72
|
+
: undefined,
|
|
73
|
+
"licensingConfigs": obj.licensingConfigs
|
|
74
|
+
? obj.licensingConfigs.map(item => {
|
|
75
|
+
return model.UpdateInstanceLicensingConfig.getJsonObj(item);
|
|
76
|
+
})
|
|
72
77
|
: undefined
|
|
73
78
|
});
|
|
74
79
|
return jsonObj;
|
|
@@ -96,6 +101,11 @@ var UpdateInstanceDetails;
|
|
|
96
101
|
: undefined,
|
|
97
102
|
"platformConfig": obj.platformConfig
|
|
98
103
|
? model.UpdateInstancePlatformConfig.getDeserializedJsonObj(obj.platformConfig)
|
|
104
|
+
: undefined,
|
|
105
|
+
"licensingConfigs": obj.licensingConfigs
|
|
106
|
+
? obj.licensingConfigs.map(item => {
|
|
107
|
+
return model.UpdateInstanceLicensingConfig.getDeserializedJsonObj(item);
|
|
108
|
+
})
|
|
99
109
|
: undefined
|
|
100
110
|
});
|
|
101
111
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-instance-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/update-instance-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"update-instance-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/update-instance-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsKlC,IAAiB,qBAAqB,CAsFrC;AAtFD,WAAiB,qBAAqB;IACpC,IAAY,yBAGX;IAHD,WAAY,yBAAyB;QACnC,6DAAgC,CAAA;QAChC,6DAAgC,CAAA;IAClC,CAAC,EAHW,yBAAyB,GAAzB,+CAAyB,KAAzB,+CAAyB,QAGpC;IAED,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,G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,CAAC,6BAA6B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC1E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAxCe,4CAAsB,yBAwCrC,CAAA;AACH,CAAC,EAtFgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAsFrC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core Services API
|
|
3
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
4
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
5
|
+
documentation for the [Networking](/iaas/Content/Network/Concepts/overview.htm),
|
|
6
|
+
[Compute](/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
7
|
+
[Block Volume](/iaas/Content/Block/Concepts/overview.htm) services.
|
|
8
|
+
The required permissions are documented in the
|
|
9
|
+
[Details for the Core Services](/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
10
|
+
|
|
11
|
+
* OpenAPI spec version: 20160918
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
15
|
+
* Do not edit the class manually.
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
18
|
+
* 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.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* The target license config to be updated on the instance.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export interface UpdateInstanceLicensingConfig {
|
|
25
|
+
/**
|
|
26
|
+
* License Type for the OS license.
|
|
27
|
+
* * {@code OCI_PROVIDED} - OCI provided license (e.g. metered $/OCPU-hour).
|
|
28
|
+
* * {@code BRING_YOUR_OWN_LICENSE} - Bring your own license.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"licenseType"?: UpdateInstanceLicensingConfig.LicenseType;
|
|
32
|
+
"type": string;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace UpdateInstanceLicensingConfig {
|
|
35
|
+
enum LicenseType {
|
|
36
|
+
OciProvided = "OCI_PROVIDED",
|
|
37
|
+
BringYourOwnLicense = "BRING_YOUR_OWN_LICENSE"
|
|
38
|
+
}
|
|
39
|
+
function getJsonObj(obj: UpdateInstanceLicensingConfig): object;
|
|
40
|
+
function getDeserializedJsonObj(obj: UpdateInstanceLicensingConfig): object;
|
|
41
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Core Services API
|
|
4
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
5
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
6
|
+
documentation for the [Networking](/iaas/Content/Network/Concepts/overview.htm),
|
|
7
|
+
[Compute](/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
8
|
+
[Block Volume](/iaas/Content/Block/Concepts/overview.htm) services.
|
|
9
|
+
The required permissions are documented in the
|
|
10
|
+
[Details for the Core Services](/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
11
|
+
|
|
12
|
+
* OpenAPI spec version: 20160918
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*
|
|
18
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
19
|
+
* 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.
|
|
20
|
+
*/
|
|
21
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
24
|
+
}) : (function(o, m, k, k2) {
|
|
25
|
+
if (k2 === undefined) k2 = k;
|
|
26
|
+
o[k2] = m[k];
|
|
27
|
+
}));
|
|
28
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
29
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
30
|
+
}) : function(o, v) {
|
|
31
|
+
o["default"] = v;
|
|
32
|
+
});
|
|
33
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
34
|
+
if (mod && mod.__esModule) return mod;
|
|
35
|
+
var result = {};
|
|
36
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
37
|
+
__setModuleDefault(result, mod);
|
|
38
|
+
return result;
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.UpdateInstanceLicensingConfig = void 0;
|
|
42
|
+
const model = __importStar(require("../model"));
|
|
43
|
+
const common = require("oci-common");
|
|
44
|
+
var UpdateInstanceLicensingConfig;
|
|
45
|
+
(function (UpdateInstanceLicensingConfig) {
|
|
46
|
+
let LicenseType;
|
|
47
|
+
(function (LicenseType) {
|
|
48
|
+
LicenseType["OciProvided"] = "OCI_PROVIDED";
|
|
49
|
+
LicenseType["BringYourOwnLicense"] = "BRING_YOUR_OWN_LICENSE";
|
|
50
|
+
})(LicenseType = UpdateInstanceLicensingConfig.LicenseType || (UpdateInstanceLicensingConfig.LicenseType = {}));
|
|
51
|
+
function getJsonObj(obj) {
|
|
52
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
53
|
+
if (obj && "type" in obj && obj.type) {
|
|
54
|
+
switch (obj.type) {
|
|
55
|
+
case "WINDOWS":
|
|
56
|
+
return model.UpdateInstanceWindowsLicensingConfig.getJsonObj(jsonObj, true);
|
|
57
|
+
default:
|
|
58
|
+
if (common.LOG.logger)
|
|
59
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return jsonObj;
|
|
63
|
+
}
|
|
64
|
+
UpdateInstanceLicensingConfig.getJsonObj = getJsonObj;
|
|
65
|
+
function getDeserializedJsonObj(obj) {
|
|
66
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
67
|
+
if (obj && "type" in obj && obj.type) {
|
|
68
|
+
switch (obj.type) {
|
|
69
|
+
case "WINDOWS":
|
|
70
|
+
return model.UpdateInstanceWindowsLicensingConfig.getDeserializedJsonObj(jsonObj, true);
|
|
71
|
+
default:
|
|
72
|
+
if (common.LOG.logger)
|
|
73
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return jsonObj;
|
|
77
|
+
}
|
|
78
|
+
UpdateInstanceLicensingConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
79
|
+
})(UpdateInstanceLicensingConfig = exports.UpdateInstanceLicensingConfig || (exports.UpdateInstanceLicensingConfig = {}));
|
|
80
|
+
//# sourceMappingURL=update-instance-licensing-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-instance-licensing-config.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/update-instance-licensing-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAkBtC,IAAiB,6BAA6B,CAsC7C;AAtCD,WAAiB,6BAA6B;IAC5C,IAAY,WAGX;IAHD,WAAY,WAAW;QACrB,2CAA4B,CAAA;QAC5B,6DAA8C,CAAA;IAChD,CAAC,EAHW,WAAW,GAAX,yCAAW,KAAX,yCAAW,QAGtB;IAED,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
+
compute instances, and block storage volumes. For more information, see the console
|
|
5
|
+
documentation for the [Networking](/iaas/Content/Network/Concepts/overview.htm),
|
|
6
|
+
[Compute](/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
7
|
+
[Block Volume](/iaas/Content/Block/Concepts/overview.htm) services.
|
|
8
|
+
The required permissions are documented in the
|
|
9
|
+
[Details for the Core Services](/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
10
|
+
|
|
11
|
+
* OpenAPI spec version: 20160918
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
15
|
+
* Do not edit the class manually.
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
18
|
+
* 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.
|
|
19
|
+
*/
|
|
20
|
+
import * as model from "../model";
|
|
21
|
+
/**
|
|
22
|
+
* The default windows licensing config.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export interface UpdateInstanceWindowsLicensingConfig extends model.UpdateInstanceLicensingConfig {
|
|
26
|
+
"type": string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace UpdateInstanceWindowsLicensingConfig {
|
|
29
|
+
function getJsonObj(obj: UpdateInstanceWindowsLicensingConfig, isParentJsonObj?: boolean): object;
|
|
30
|
+
const type = "WINDOWS";
|
|
31
|
+
function getDeserializedJsonObj(obj: UpdateInstanceWindowsLicensingConfig, isParentJsonObj?: boolean): object;
|
|
32
|
+
}
|