oci-licensemanager 2.28.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/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 +22 -0
- package/index.js +45 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +234 -0
- package/lib/client.js +1342 -0
- package/lib/client.js.map +1 -0
- package/lib/licensemanager-waiter.d.ts +37 -0
- package/lib/licensemanager-waiter.js +77 -0
- package/lib/licensemanager-waiter.js.map +1 -0
- package/lib/model/bulk-upload-cell-info.d.ts +29 -0
- package/lib/model/bulk-upload-cell-info.js +29 -0
- package/lib/model/bulk-upload-cell-info.js.map +1 -0
- package/lib/model/bulk-upload-failed-record-info.d.ts +33 -0
- package/lib/model/bulk-upload-failed-record-info.js +29 -0
- package/lib/model/bulk-upload-failed-record-info.js.map +1 -0
- package/lib/model/bulk-upload-license-records-details.d.ts +34 -0
- package/lib/model/bulk-upload-license-records-details.js +29 -0
- package/lib/model/bulk-upload-license-records-details.js.map +1 -0
- package/lib/model/bulk-upload-response.d.ts +54 -0
- package/lib/model/bulk-upload-response.js +71 -0
- package/lib/model/bulk-upload-response.js.map +1 -0
- package/lib/model/bulk-upload-template.d.ts +25 -0
- package/lib/model/bulk-upload-template.js +29 -0
- package/lib/model/bulk-upload-template.js.map +1 -0
- package/lib/model/bulk-upload-validation-error-info.d.ts +34 -0
- package/lib/model/bulk-upload-validation-error-info.js +61 -0
- package/lib/model/bulk-upload-validation-error-info.js.map +1 -0
- package/lib/model/configuration.d.ts +38 -0
- package/lib/model/configuration.js +29 -0
- package/lib/model/configuration.js.map +1 -0
- package/lib/model/create-license-record-details.d.ts +76 -0
- package/lib/model/create-license-record-details.js +29 -0
- package/lib/model/create-license-record-details.js.map +1 -0
- package/lib/model/create-product-license-details.d.ts +66 -0
- package/lib/model/create-product-license-details.js +61 -0
- package/lib/model/create-product-license-details.js.map +1 -0
- package/lib/model/image-details.d.ts +29 -0
- package/lib/model/image-details.js +29 -0
- package/lib/model/image-details.js.map +1 -0
- package/lib/model/image-response.d.ts +41 -0
- package/lib/model/image-response.js +29 -0
- package/lib/model/image-response.js.map +1 -0
- package/lib/model/index.d.ts +78 -0
- package/lib/model/index.js +101 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/license-metric.d.ts +41 -0
- package/lib/model/license-metric.js +29 -0
- package/lib/model/license-metric.js.map +1 -0
- package/lib/model/license-record-collection.d.ts +26 -0
- package/lib/model/license-record-collection.js +61 -0
- package/lib/model/license-record-collection.js.map +1 -0
- package/lib/model/license-record-summary.d.ts +119 -0
- package/lib/model/license-record-summary.js +29 -0
- package/lib/model/license-record-summary.js.map +1 -0
- package/lib/model/license-record.d.ts +119 -0
- package/lib/model/license-record.js +29 -0
- package/lib/model/license-record.js.map +1 -0
- package/lib/model/license-unit.d.ts +29 -0
- package/lib/model/license-unit.js +40 -0
- package/lib/model/license-unit.js.map +1 -0
- package/lib/model/life-cycle-state.d.ts +29 -0
- package/lib/model/life-cycle-state.js +40 -0
- package/lib/model/life-cycle-state.js.map +1 -0
- package/lib/model/product-category.d.ts +28 -0
- package/lib/model/product-category.js +39 -0
- package/lib/model/product-category.js.map +1 -0
- package/lib/model/product-license-collection.d.ts +26 -0
- package/lib/model/product-license-collection.js +61 -0
- package/lib/model/product-license-collection.js.map +1 -0
- package/lib/model/product-license-consumer-collection.d.ts +26 -0
- package/lib/model/product-license-consumer-collection.js +61 -0
- package/lib/model/product-license-consumer-collection.js.map +1 -0
- package/lib/model/product-license-consumer-summary.d.ts +71 -0
- package/lib/model/product-license-consumer-summary.js +61 -0
- package/lib/model/product-license-consumer-summary.js.map +1 -0
- package/lib/model/product-license-summary.d.ts +127 -0
- package/lib/model/product-license-summary.js +61 -0
- package/lib/model/product-license-summary.js.map +1 -0
- package/lib/model/product-license.d.ts +127 -0
- package/lib/model/product-license.js +61 -0
- package/lib/model/product-license.js.map +1 -0
- package/lib/model/product.d.ts +34 -0
- package/lib/model/product.js +29 -0
- package/lib/model/product.js.map +1 -0
- package/lib/model/resource-unit.d.ts +27 -0
- package/lib/model/resource-unit.js +38 -0
- package/lib/model/resource-unit.js.map +1 -0
- package/lib/model/status.d.ts +30 -0
- package/lib/model/status.js +41 -0
- package/lib/model/status.js.map +1 -0
- package/lib/model/top-utilized-product-license-collection.d.ts +26 -0
- package/lib/model/top-utilized-product-license-collection.js +61 -0
- package/lib/model/top-utilized-product-license-collection.js.map +1 -0
- package/lib/model/top-utilized-product-license-summary.d.ts +51 -0
- package/lib/model/top-utilized-product-license-summary.js +29 -0
- package/lib/model/top-utilized-product-license-summary.js.map +1 -0
- package/lib/model/top-utilized-resource-collection.d.ts +26 -0
- package/lib/model/top-utilized-resource-collection.js +61 -0
- package/lib/model/top-utilized-resource-collection.js.map +1 -0
- package/lib/model/top-utilized-resource-summary.d.ts +47 -0
- package/lib/model/top-utilized-resource-summary.js +29 -0
- package/lib/model/top-utilized-resource-summary.js.map +1 -0
- package/lib/model/update-configuration-details.d.ts +25 -0
- package/lib/model/update-configuration-details.js +29 -0
- package/lib/model/update-configuration-details.js.map +1 -0
- package/lib/model/update-license-record-details.d.ts +76 -0
- package/lib/model/update-license-record-details.js +29 -0
- package/lib/model/update-license-record-details.js.map +1 -0
- package/lib/model/update-product-license-details.d.ts +44 -0
- package/lib/model/update-product-license-details.js +61 -0
- package/lib/model/update-product-license-details.js.map +1 -0
- package/lib/request/bulk-upload-license-records-request.d.ts +29 -0
- package/lib/request/bulk-upload-license-records-request.js +15 -0
- package/lib/request/bulk-upload-license-records-request.js.map +1 -0
- package/lib/request/create-license-record-request.d.ts +41 -0
- package/lib/request/create-license-record-request.js +15 -0
- package/lib/request/create-license-record-request.js.map +1 -0
- package/lib/request/create-product-license-request.d.ts +37 -0
- package/lib/request/create-product-license-request.js +15 -0
- package/lib/request/create-product-license-request.js.map +1 -0
- package/lib/request/delete-license-record-request.d.ts +35 -0
- package/lib/request/delete-license-record-request.js +15 -0
- package/lib/request/delete-license-record-request.js.map +1 -0
- package/lib/request/delete-product-license-request.d.ts +35 -0
- package/lib/request/delete-product-license-request.js +15 -0
- package/lib/request/delete-product-license-request.js.map +1 -0
- package/lib/request/get-bulk-upload-template-request.d.ts +24 -0
- package/lib/request/get-bulk-upload-template-request.js +15 -0
- package/lib/request/get-bulk-upload-template-request.js.map +1 -0
- package/lib/request/get-configuration-request.d.ts +29 -0
- package/lib/request/get-configuration-request.js +15 -0
- package/lib/request/get-configuration-request.js.map +1 -0
- package/lib/request/get-license-metric-request.d.ts +33 -0
- package/lib/request/get-license-metric-request.js +15 -0
- package/lib/request/get-license-metric-request.js.map +1 -0
- package/lib/request/get-license-record-request.d.ts +28 -0
- package/lib/request/get-license-record-request.js +15 -0
- package/lib/request/get-license-record-request.js.map +1 -0
- package/lib/request/get-product-license-request.d.ts +28 -0
- package/lib/request/get-product-license-request.js +15 -0
- package/lib/request/get-product-license-request.js.map +1 -0
- package/lib/request/index.d.ts +48 -0
- package/lib/request/index.js +45 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-license-records-request.d.ts +58 -0
- package/lib/request/list-license-records-request.js +28 -0
- package/lib/request/list-license-records-request.js.map +1 -0
- package/lib/request/list-product-license-consumers-request.d.ts +67 -0
- package/lib/request/list-product-license-consumers-request.js +28 -0
- package/lib/request/list-product-license-consumers-request.js.map +1 -0
- package/lib/request/list-product-licenses-request.d.ts +63 -0
- package/lib/request/list-product-licenses-request.js +28 -0
- package/lib/request/list-product-licenses-request.js.map +1 -0
- package/lib/request/list-top-utilized-product-licenses-request.d.ts +63 -0
- package/lib/request/list-top-utilized-product-licenses-request.js +28 -0
- package/lib/request/list-top-utilized-product-licenses-request.js.map +1 -0
- package/lib/request/list-top-utilized-resources-request.d.ts +68 -0
- package/lib/request/list-top-utilized-resources-request.js +28 -0
- package/lib/request/list-top-utilized-resources-request.js.map +1 -0
- package/lib/request/update-configuration-request.d.ts +41 -0
- package/lib/request/update-configuration-request.js +15 -0
- package/lib/request/update-configuration-request.js.map +1 -0
- package/lib/request/update-license-record-request.d.ts +40 -0
- package/lib/request/update-license-record-request.js +15 -0
- package/lib/request/update-license-record-request.js.map +1 -0
- package/lib/request/update-product-license-request.d.ts +40 -0
- package/lib/request/update-product-license-request.js +15 -0
- package/lib/request/update-product-license-request.js.map +1 -0
- package/lib/response/bulk-upload-license-records-response.d.ts +25 -0
- package/lib/response/bulk-upload-license-records-response.js +15 -0
- package/lib/response/bulk-upload-license-records-response.js.map +1 -0
- package/lib/response/create-license-record-response.d.ts +40 -0
- package/lib/response/create-license-record-response.js +15 -0
- package/lib/response/create-license-record-response.js.map +1 -0
- package/lib/response/create-product-license-response.d.ts +40 -0
- package/lib/response/create-product-license-response.js +15 -0
- package/lib/response/create-product-license-response.js.map +1 -0
- package/lib/response/delete-license-record-response.d.ts +30 -0
- package/lib/response/delete-license-record-response.js +15 -0
- package/lib/response/delete-license-record-response.js.map +1 -0
- package/lib/response/delete-product-license-response.d.ts +30 -0
- package/lib/response/delete-product-license-response.js +15 -0
- package/lib/response/delete-product-license-response.js.map +1 -0
- package/lib/response/get-bulk-upload-template-response.d.ts +32 -0
- package/lib/response/get-bulk-upload-template-response.js +15 -0
- package/lib/response/get-bulk-upload-template-response.js.map +1 -0
- package/lib/response/get-configuration-response.d.ts +30 -0
- package/lib/response/get-configuration-response.js +15 -0
- package/lib/response/get-configuration-response.js.map +1 -0
- package/lib/response/get-license-metric-response.d.ts +30 -0
- package/lib/response/get-license-metric-response.js +15 -0
- package/lib/response/get-license-metric-response.js.map +1 -0
- package/lib/response/get-license-record-response.d.ts +30 -0
- package/lib/response/get-license-record-response.js +15 -0
- package/lib/response/get-license-record-response.js.map +1 -0
- package/lib/response/get-product-license-response.d.ts +30 -0
- package/lib/response/get-product-license-response.js +15 -0
- package/lib/response/get-product-license-response.js.map +1 -0
- package/lib/response/index.d.ts +48 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-license-records-response.d.ts +32 -0
- package/lib/response/list-license-records-response.js +15 -0
- package/lib/response/list-license-records-response.js.map +1 -0
- package/lib/response/list-product-license-consumers-response.d.ts +32 -0
- package/lib/response/list-product-license-consumers-response.js +15 -0
- package/lib/response/list-product-license-consumers-response.js.map +1 -0
- package/lib/response/list-product-licenses-response.d.ts +32 -0
- package/lib/response/list-product-licenses-response.js +15 -0
- package/lib/response/list-product-licenses-response.js.map +1 -0
- package/lib/response/list-top-utilized-product-licenses-response.d.ts +32 -0
- package/lib/response/list-top-utilized-product-licenses-response.js +15 -0
- package/lib/response/list-top-utilized-product-licenses-response.js.map +1 -0
- package/lib/response/list-top-utilized-resources-response.d.ts +32 -0
- package/lib/response/list-top-utilized-resources-response.js +15 -0
- package/lib/response/list-top-utilized-resources-response.js.map +1 -0
- package/lib/response/update-configuration-response.d.ts +30 -0
- package/lib/response/update-configuration-response.js +15 -0
- package/lib/response/update-configuration-response.js.map +1 -0
- package/lib/response/update-license-record-response.d.ts +30 -0
- package/lib/response/update-license-record-response.js +15 -0
- package/lib/response/update-license-record-response.js.map +1 -0
- package/lib/response/update-product-license-response.d.ts +30 -0
- package/lib/response/update-product-license-response.js +15 -0
- package/lib/response/update-product-license-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* License Manager API
|
|
4
|
+
* Use the License Manager API to manage product licenses and license records. For more information, see [License Manager Overview](/iaas/Content/LicenseManager/Concepts/licensemanageroverview.htm).
|
|
5
|
+
* OpenAPI spec version: 20220430
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.ProductLicenseSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ProductLicenseSummary;
|
|
37
|
+
(function (ProductLicenseSummary) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"images": obj.images
|
|
41
|
+
? obj.images.map(item => {
|
|
42
|
+
return model.ImageResponse.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
ProductLicenseSummary.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"images": obj.images
|
|
52
|
+
? obj.images.map(item => {
|
|
53
|
+
return model.ImageResponse.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
ProductLicenseSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(ProductLicenseSummary = exports.ProductLicenseSummary || (exports.ProductLicenseSummary = {}));
|
|
61
|
+
//# sourceMappingURL=product-license-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-license-summary.js","sourceRoot":"","sources":["../../../../../lib/licensemanager/lib/model/product-license-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwGlC,IAAiB,qBAAqB,CA6BrC;AA7BD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,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,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC9C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,gCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,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,aAAa,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QA6BrC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* License Manager API
|
|
3
|
+
* Use the License Manager API to manage product licenses and license records. For more information, see [License Manager Overview](/iaas/Content/LicenseManager/Concepts/licensemanageroverview.htm).
|
|
4
|
+
* OpenAPI spec version: 20220430
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* The product license details.
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductLicense {
|
|
18
|
+
/**
|
|
19
|
+
* The product license [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the product license is created.
|
|
24
|
+
*/
|
|
25
|
+
"compartmentId": string;
|
|
26
|
+
/**
|
|
27
|
+
* The current product license status.
|
|
28
|
+
*/
|
|
29
|
+
"status": model.Status;
|
|
30
|
+
/**
|
|
31
|
+
* Status description for the current product license status.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"statusDescription"?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
37
|
+
*/
|
|
38
|
+
"totalActiveLicenseUnitCount"?: number;
|
|
39
|
+
/**
|
|
40
|
+
* The current product license state.
|
|
41
|
+
*/
|
|
42
|
+
"lifecycleState"?: model.LifeCycleState;
|
|
43
|
+
/**
|
|
44
|
+
* The number of license units consumed. Updated after each allocation run.
|
|
45
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
46
|
+
*/
|
|
47
|
+
"totalLicenseUnitsConsumed"?: number;
|
|
48
|
+
/**
|
|
49
|
+
* The number of license records associated with the product license.
|
|
50
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
51
|
+
*/
|
|
52
|
+
"totalLicenseRecordCount"?: number;
|
|
53
|
+
/**
|
|
54
|
+
* The number of active license records associated with the product license. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
55
|
+
*/
|
|
56
|
+
"activeLicenseRecordCount"?: number;
|
|
57
|
+
/**
|
|
58
|
+
* The product license unit.
|
|
59
|
+
*/
|
|
60
|
+
"licenseUnit": model.LicenseUnit;
|
|
61
|
+
/**
|
|
62
|
+
* Specifies whether the vendor is Oracle or a third party.
|
|
63
|
+
*/
|
|
64
|
+
"isVendorOracle": boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Specifies whether or not the product license is oversubscribed.
|
|
67
|
+
*/
|
|
68
|
+
"isOverSubscribed"?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Specifies if the license unit count is unlimited.
|
|
71
|
+
*/
|
|
72
|
+
"isUnlimited"?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* License record name
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
"displayName": string;
|
|
78
|
+
/**
|
|
79
|
+
* The vendor of the ProductLicense
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
"vendorName"?: string;
|
|
83
|
+
/**
|
|
84
|
+
* The time the product license was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
|
|
85
|
+
*/
|
|
86
|
+
"timeCreated"?: Date;
|
|
87
|
+
/**
|
|
88
|
+
* The time the product license was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
|
|
89
|
+
*/
|
|
90
|
+
"timeUpdated"?: Date;
|
|
91
|
+
/**
|
|
92
|
+
* The images associated with the product license.
|
|
93
|
+
*/
|
|
94
|
+
"images"?: Array<model.ImageResponse>;
|
|
95
|
+
/**
|
|
96
|
+
* Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
|
|
97
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
"freeformTags"?: {
|
|
101
|
+
[key: string]: string;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
105
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
"definedTags"?: {
|
|
109
|
+
[key: string]: {
|
|
110
|
+
[key: string]: any;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
115
|
+
* Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
116
|
+
*
|
|
117
|
+
*/
|
|
118
|
+
"systemTags"?: {
|
|
119
|
+
[key: string]: {
|
|
120
|
+
[key: string]: any;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
export declare namespace ProductLicense {
|
|
125
|
+
function getJsonObj(obj: ProductLicense): object;
|
|
126
|
+
function getDeserializedJsonObj(obj: ProductLicense): object;
|
|
127
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* License Manager API
|
|
4
|
+
* Use the License Manager API to manage product licenses and license records. For more information, see [License Manager Overview](/iaas/Content/LicenseManager/Concepts/licensemanageroverview.htm).
|
|
5
|
+
* OpenAPI spec version: 20220430
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.ProductLicense = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ProductLicense;
|
|
37
|
+
(function (ProductLicense) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"images": obj.images
|
|
41
|
+
? obj.images.map(item => {
|
|
42
|
+
return model.ImageResponse.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
ProductLicense.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"images": obj.images
|
|
52
|
+
? obj.images.map(item => {
|
|
53
|
+
return model.ImageResponse.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
ProductLicense.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(ProductLicense = exports.ProductLicense || (exports.ProductLicense = {}));
|
|
61
|
+
//# sourceMappingURL=product-license.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-license.js","sourceRoot":"","sources":["../../../../../lib/licensemanager/lib/model/product-license.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwGlC,IAAiB,cAAc,CA6B9B;AA7BD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,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,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC9C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,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,aAAa,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QA6B9B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* License Manager API
|
|
3
|
+
* Use the License Manager API to manage product licenses and license records. For more information, see [License Manager Overview](/iaas/Content/LicenseManager/Concepts/licensemanageroverview.htm).
|
|
4
|
+
* OpenAPI spec version: 20220430
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Details of product.
|
|
16
|
+
*/
|
|
17
|
+
export interface Product {
|
|
18
|
+
/**
|
|
19
|
+
* Name of the product.
|
|
20
|
+
*/
|
|
21
|
+
"name": string;
|
|
22
|
+
/**
|
|
23
|
+
* Units required for the missing product. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
24
|
+
*/
|
|
25
|
+
"count": number;
|
|
26
|
+
/**
|
|
27
|
+
* Product category base or option.
|
|
28
|
+
*/
|
|
29
|
+
"category": model.ProductCategory;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace Product {
|
|
32
|
+
function getJsonObj(obj: Product): object;
|
|
33
|
+
function getDeserializedJsonObj(obj: Product): object;
|
|
34
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* License Manager API
|
|
4
|
+
* Use the License Manager API to manage product licenses and license records. For more information, see [License Manager Overview](/iaas/Content/LicenseManager/Concepts/licensemanageroverview.htm).
|
|
5
|
+
* OpenAPI spec version: 20220430
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.Product = void 0;
|
|
16
|
+
var Product;
|
|
17
|
+
(function (Product) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
Product.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
Product.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(Product = exports.Product || (exports.Product = {}));
|
|
29
|
+
//# sourceMappingURL=product.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.js","sourceRoot":"","sources":["../../../../../lib/licensemanager/lib/model/product.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuBH,IAAiB,OAAO,CAWvB;AAXD,WAAiB,OAAO;IACtB,SAAgB,UAAU,CAAC,GAAY;QACrC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAY;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAWvB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* License Manager API
|
|
3
|
+
* Use the License Manager API to manage product licenses and license records. For more information, see [License Manager Overview](/iaas/Content/LicenseManager/Concepts/licensemanageroverview.htm).
|
|
4
|
+
* OpenAPI spec version: 20220430
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* The resource unit.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum ResourceUnit {
|
|
17
|
+
Ocpu = "OCPU",
|
|
18
|
+
/**
|
|
19
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
20
|
+
* version of the SDK.
|
|
21
|
+
*/
|
|
22
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
23
|
+
}
|
|
24
|
+
export declare namespace ResourceUnit {
|
|
25
|
+
function getJsonObj(obj: ResourceUnit): ResourceUnit;
|
|
26
|
+
function getDeserializedJsonObj(obj: ResourceUnit): ResourceUnit;
|
|
27
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* License Manager API
|
|
4
|
+
* Use the License Manager API to manage product licenses and license records. For more information, see [License Manager Overview](/iaas/Content/LicenseManager/Concepts/licensemanageroverview.htm).
|
|
5
|
+
* OpenAPI spec version: 20220430
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ResourceUnit = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The resource unit.
|
|
18
|
+
**/
|
|
19
|
+
var ResourceUnit;
|
|
20
|
+
(function (ResourceUnit) {
|
|
21
|
+
ResourceUnit["Ocpu"] = "OCPU";
|
|
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
|
+
ResourceUnit["UnknownValue"] = "UNKNOWN_VALUE";
|
|
27
|
+
})(ResourceUnit = exports.ResourceUnit || (exports.ResourceUnit = {}));
|
|
28
|
+
(function (ResourceUnit) {
|
|
29
|
+
function getJsonObj(obj) {
|
|
30
|
+
return obj;
|
|
31
|
+
}
|
|
32
|
+
ResourceUnit.getJsonObj = getJsonObj;
|
|
33
|
+
function getDeserializedJsonObj(obj) {
|
|
34
|
+
return obj;
|
|
35
|
+
}
|
|
36
|
+
ResourceUnit.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
37
|
+
})(ResourceUnit = exports.ResourceUnit || (exports.ResourceUnit = {}));
|
|
38
|
+
//# sourceMappingURL=resource-unit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-unit.js","sourceRoot":"","sources":["../../../../../lib/licensemanager/lib/model/resource-unit.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,6BAAa,CAAA;IAEb;;;OAGG;IACH,8CAA8B,CAAA;AAChC,CAAC,EARW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAQvB;AAED,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC,GAAiB;QAC1C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,uBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,mCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAO5B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* License Manager API
|
|
3
|
+
* Use the License Manager API to manage product licenses and license records. For more information, see [License Manager Overview](/iaas/Content/LicenseManager/Concepts/licensemanageroverview.htm).
|
|
4
|
+
* OpenAPI spec version: 20220430
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* The product license status.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum Status {
|
|
17
|
+
Incomplete = "INCOMPLETE",
|
|
18
|
+
IssuesFound = "ISSUES_FOUND",
|
|
19
|
+
Warning = "WARNING",
|
|
20
|
+
Ok = "OK",
|
|
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 Status {
|
|
28
|
+
function getJsonObj(obj: Status): Status;
|
|
29
|
+
function getDeserializedJsonObj(obj: Status): Status;
|
|
30
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* License Manager API
|
|
4
|
+
* Use the License Manager API to manage product licenses and license records. For more information, see [License Manager Overview](/iaas/Content/LicenseManager/Concepts/licensemanageroverview.htm).
|
|
5
|
+
* OpenAPI spec version: 20220430
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.Status = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The product license status.
|
|
18
|
+
**/
|
|
19
|
+
var Status;
|
|
20
|
+
(function (Status) {
|
|
21
|
+
Status["Incomplete"] = "INCOMPLETE";
|
|
22
|
+
Status["IssuesFound"] = "ISSUES_FOUND";
|
|
23
|
+
Status["Warning"] = "WARNING";
|
|
24
|
+
Status["Ok"] = "OK";
|
|
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
|
+
Status["UnknownValue"] = "UNKNOWN_VALUE";
|
|
30
|
+
})(Status = exports.Status || (exports.Status = {}));
|
|
31
|
+
(function (Status) {
|
|
32
|
+
function getJsonObj(obj) {
|
|
33
|
+
return obj;
|
|
34
|
+
}
|
|
35
|
+
Status.getJsonObj = getJsonObj;
|
|
36
|
+
function getDeserializedJsonObj(obj) {
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
39
|
+
Status.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
40
|
+
})(Status = exports.Status || (exports.Status = {}));
|
|
41
|
+
//# sourceMappingURL=status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.js","sourceRoot":"","sources":["../../../../../lib/licensemanager/lib/model/status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,MAWX;AAXD,WAAY,MAAM;IAChB,mCAAyB,CAAA;IACzB,sCAA4B,CAAA;IAC5B,6BAAmB,CAAA;IACnB,mBAAS,CAAA;IAET;;;OAGG;IACH,wCAA8B,CAAA;AAChC,CAAC,EAXW,MAAM,GAAN,cAAM,KAAN,cAAM,QAWjB;AAED,WAAiB,MAAM;IACrB,SAAgB,UAAU,CAAC,GAAW;QACpC,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,iBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAW;QAChD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,6BAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAOtB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* License Manager API
|
|
3
|
+
* Use the License Manager API to manage product licenses and license records. For more information, see [License Manager Overview](/iaas/Content/LicenseManager/Concepts/licensemanageroverview.htm).
|
|
4
|
+
* OpenAPI spec version: 20220430
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A collection of top utilized product licenses.
|
|
16
|
+
*/
|
|
17
|
+
export interface TopUtilizedProductLicenseCollection {
|
|
18
|
+
/**
|
|
19
|
+
* Collection of top utilized product licenses.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.TopUtilizedProductLicenseSummary>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace TopUtilizedProductLicenseCollection {
|
|
24
|
+
function getJsonObj(obj: TopUtilizedProductLicenseCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: TopUtilizedProductLicenseCollection): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* License Manager API
|
|
4
|
+
* Use the License Manager API to manage product licenses and license records. For more information, see [License Manager Overview](/iaas/Content/LicenseManager/Concepts/licensemanageroverview.htm).
|
|
5
|
+
* OpenAPI spec version: 20220430
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.TopUtilizedProductLicenseCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var TopUtilizedProductLicenseCollection;
|
|
37
|
+
(function (TopUtilizedProductLicenseCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.TopUtilizedProductLicenseSummary.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
TopUtilizedProductLicenseCollection.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"items": obj.items
|
|
52
|
+
? obj.items.map(item => {
|
|
53
|
+
return model.TopUtilizedProductLicenseSummary.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
TopUtilizedProductLicenseCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(TopUtilizedProductLicenseCollection = exports.TopUtilizedProductLicenseCollection || (exports.TopUtilizedProductLicenseCollection = {}));
|
|
61
|
+
//# sourceMappingURL=top-utilized-product-license-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"top-utilized-product-license-collection.js","sourceRoot":"","sources":["../../../../../lib/licensemanager/lib/model/top-utilized-product-license-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,mCAAmC,CA6BnD;AA7BD,WAAiB,mCAAmC;IAClD,SAAgB,UAAU,CAAC,GAAwC;QACjE,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,gCAAgC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,8CAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwC;QAC7E,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,gCAAgC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0DAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QA6BnD"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* License Manager API
|
|
3
|
+
* Use the License Manager API to manage product licenses and license records. For more information, see [License Manager Overview](/iaas/Content/LicenseManager/Concepts/licensemanageroverview.htm).
|
|
4
|
+
* OpenAPI spec version: 20220430
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A summary of the top utilized product licenses.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface TopUtilizedProductLicenseSummary {
|
|
19
|
+
/**
|
|
20
|
+
* The product license [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
21
|
+
*/
|
|
22
|
+
"productLicenseId": string;
|
|
23
|
+
/**
|
|
24
|
+
* The product type.
|
|
25
|
+
*/
|
|
26
|
+
"productType": string;
|
|
27
|
+
/**
|
|
28
|
+
* The product license unit.
|
|
29
|
+
*/
|
|
30
|
+
"unitType": model.LicenseUnit;
|
|
31
|
+
/**
|
|
32
|
+
* Number of license units consumed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
33
|
+
*/
|
|
34
|
+
"totalUnitsConsumed": number;
|
|
35
|
+
/**
|
|
36
|
+
* Total number of license units in the product license provided by the user. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
37
|
+
*/
|
|
38
|
+
"totalLicenseUnitCount": number;
|
|
39
|
+
/**
|
|
40
|
+
* Specifies if the license unit count is unlimited.
|
|
41
|
+
*/
|
|
42
|
+
"isUnlimited": boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The current product license status.
|
|
45
|
+
*/
|
|
46
|
+
"status": model.Status;
|
|
47
|
+
}
|
|
48
|
+
export declare namespace TopUtilizedProductLicenseSummary {
|
|
49
|
+
function getJsonObj(obj: TopUtilizedProductLicenseSummary): object;
|
|
50
|
+
function getDeserializedJsonObj(obj: TopUtilizedProductLicenseSummary): object;
|
|
51
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* License Manager API
|
|
4
|
+
* Use the License Manager API to manage product licenses and license records. For more information, see [License Manager Overview](/iaas/Content/LicenseManager/Concepts/licensemanageroverview.htm).
|
|
5
|
+
* OpenAPI spec version: 20220430
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.TopUtilizedProductLicenseSummary = void 0;
|
|
16
|
+
var TopUtilizedProductLicenseSummary;
|
|
17
|
+
(function (TopUtilizedProductLicenseSummary) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
TopUtilizedProductLicenseSummary.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
TopUtilizedProductLicenseSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(TopUtilizedProductLicenseSummary = exports.TopUtilizedProductLicenseSummary || (exports.TopUtilizedProductLicenseSummary = {}));
|
|
29
|
+
//# sourceMappingURL=top-utilized-product-license-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"top-utilized-product-license-summary.js","sourceRoot":"","sources":["../../../../../lib/licensemanager/lib/model/top-utilized-product-license-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAwCH,IAAiB,gCAAgC,CAWhD;AAXD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CAAC,GAAqC;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqC;QAC1E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAWhD"}
|