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
package/lib/client.js
ADDED
|
@@ -0,0 +1,1342 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
34
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
35
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
36
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
37
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
38
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
39
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.LicenseManagerClient = exports.LicenseManagerApiKeys = void 0;
|
|
44
|
+
const common = require("oci-common");
|
|
45
|
+
const model = __importStar(require("./model"));
|
|
46
|
+
const licensemanager_waiter_1 = require("./licensemanager-waiter");
|
|
47
|
+
const oci_common_1 = require("oci-common");
|
|
48
|
+
// ===============================================
|
|
49
|
+
// This file is autogenerated - Please do not edit
|
|
50
|
+
// ===============================================
|
|
51
|
+
var LicenseManagerApiKeys;
|
|
52
|
+
(function (LicenseManagerApiKeys) {
|
|
53
|
+
})(LicenseManagerApiKeys = exports.LicenseManagerApiKeys || (exports.LicenseManagerApiKeys = {}));
|
|
54
|
+
/**
|
|
55
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
56
|
+
*/
|
|
57
|
+
class LicenseManagerClient {
|
|
58
|
+
constructor(params, clientConfiguration) {
|
|
59
|
+
this["_endpoint"] = "";
|
|
60
|
+
this["_defaultHeaders"] = {};
|
|
61
|
+
this._circuitBreaker = null;
|
|
62
|
+
this._httpOptions = undefined;
|
|
63
|
+
this.targetService = "LicenseManager";
|
|
64
|
+
const requestSigner = params.authenticationDetailsProvider
|
|
65
|
+
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
66
|
+
: null;
|
|
67
|
+
if (clientConfiguration) {
|
|
68
|
+
this._clientConfiguration = clientConfiguration;
|
|
69
|
+
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
70
|
+
? clientConfiguration.circuitBreaker.circuit
|
|
71
|
+
: null;
|
|
72
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
73
|
+
? clientConfiguration.httpOptions
|
|
74
|
+
: undefined;
|
|
75
|
+
}
|
|
76
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
77
|
+
const specCircuitBreakerEnabled = true;
|
|
78
|
+
if (!this._circuitBreaker &&
|
|
79
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
80
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
81
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
82
|
+
}
|
|
83
|
+
this._httpClient =
|
|
84
|
+
params.httpClient ||
|
|
85
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
86
|
+
if (params.authenticationDetailsProvider &&
|
|
87
|
+
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
88
|
+
const provider = params.authenticationDetailsProvider;
|
|
89
|
+
if (provider.getRegion()) {
|
|
90
|
+
this.region = provider.getRegion();
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
96
|
+
*/
|
|
97
|
+
get endpoint() {
|
|
98
|
+
return this._endpoint;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
102
|
+
* @param endpoint The endpoint of the service.
|
|
103
|
+
*/
|
|
104
|
+
set endpoint(endpoint) {
|
|
105
|
+
this._endpoint = endpoint;
|
|
106
|
+
this._endpoint = this._endpoint + "/20220430";
|
|
107
|
+
if (this.logger)
|
|
108
|
+
this.logger.info(`LicenseManagerClient endpoint set to ${this._endpoint}`);
|
|
109
|
+
}
|
|
110
|
+
get logger() {
|
|
111
|
+
return common.LOG.logger;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
115
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
116
|
+
* @param region The region of the service.
|
|
117
|
+
*/
|
|
118
|
+
set region(region) {
|
|
119
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(LicenseManagerClient.serviceEndpointTemplate, region, LicenseManagerClient.endpointServiceName);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
123
|
+
*
|
|
124
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
125
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
126
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
127
|
+
* @param regionId The public region ID.
|
|
128
|
+
*/
|
|
129
|
+
set regionId(regionId) {
|
|
130
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(LicenseManagerClient.serviceEndpointTemplate, regionId, LicenseManagerClient.endpointServiceName);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Creates a new LicenseManagerWaiter for resources for this service.
|
|
134
|
+
*
|
|
135
|
+
* @param config The waiter configuration for termination and delay strategy
|
|
136
|
+
* @return The service waiters.
|
|
137
|
+
*/
|
|
138
|
+
createWaiters(config) {
|
|
139
|
+
this._waiters = new licensemanager_waiter_1.LicenseManagerWaiter(this, config);
|
|
140
|
+
return this._waiters;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Gets the waiters available for resources for this service.
|
|
144
|
+
*
|
|
145
|
+
* @return The service waiters.
|
|
146
|
+
*/
|
|
147
|
+
getWaiters() {
|
|
148
|
+
if (this._waiters) {
|
|
149
|
+
return this._waiters;
|
|
150
|
+
}
|
|
151
|
+
throw Error("Waiters do not exist. Please create waiters.");
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Bulk upload the product licenses and license records for a given compartment.
|
|
155
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
156
|
+
* @param BulkUploadLicenseRecordsRequest
|
|
157
|
+
* @return BulkUploadLicenseRecordsResponse
|
|
158
|
+
* @throws OciError when an error occurs
|
|
159
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/BulkUploadLicenseRecords.ts.html |here} to see how to use BulkUploadLicenseRecords API.
|
|
160
|
+
*/
|
|
161
|
+
bulkUploadLicenseRecords(bulkUploadLicenseRecordsRequest) {
|
|
162
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
163
|
+
if (this.logger)
|
|
164
|
+
this.logger.debug("Calling operation LicenseManagerClient#bulkUploadLicenseRecords.");
|
|
165
|
+
const operationName = "bulkUploadLicenseRecords";
|
|
166
|
+
const apiReferenceLink = "";
|
|
167
|
+
const pathParams = {};
|
|
168
|
+
const queryParams = {};
|
|
169
|
+
let headerParams = {
|
|
170
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
171
|
+
"opc-request-id": bulkUploadLicenseRecordsRequest.opcRequestId
|
|
172
|
+
};
|
|
173
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
174
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkUploadLicenseRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
175
|
+
if (this.logger)
|
|
176
|
+
retrier.logger = this.logger;
|
|
177
|
+
const request = yield oci_common_1.composeRequest({
|
|
178
|
+
baseEndpoint: this._endpoint,
|
|
179
|
+
defaultHeaders: this._defaultHeaders,
|
|
180
|
+
path: "/licenses/actions/bulkUpload",
|
|
181
|
+
method: "POST",
|
|
182
|
+
bodyContent: common.ObjectSerializer.serialize(bulkUploadLicenseRecordsRequest.bulkUploadLicenseRecordsDetails, "BulkUploadLicenseRecordsDetails", model.BulkUploadLicenseRecordsDetails.getJsonObj),
|
|
183
|
+
pathParams: pathParams,
|
|
184
|
+
headerParams: headerParams,
|
|
185
|
+
queryParams: queryParams
|
|
186
|
+
});
|
|
187
|
+
try {
|
|
188
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
189
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
190
|
+
responseObject: {},
|
|
191
|
+
body: yield response.json(),
|
|
192
|
+
bodyKey: "bulkUploadResponse",
|
|
193
|
+
bodyModel: model.BulkUploadResponse,
|
|
194
|
+
type: "model.BulkUploadResponse",
|
|
195
|
+
responseHeaders: [
|
|
196
|
+
{
|
|
197
|
+
value: response.headers.get("opc-request-id"),
|
|
198
|
+
key: "opcRequestId",
|
|
199
|
+
dataType: "string"
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
});
|
|
203
|
+
return sdkResponse;
|
|
204
|
+
}
|
|
205
|
+
catch (err) {
|
|
206
|
+
throw err;
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Creates a new license record for the given product license ID.
|
|
212
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
213
|
+
* @param CreateLicenseRecordRequest
|
|
214
|
+
* @return CreateLicenseRecordResponse
|
|
215
|
+
* @throws OciError when an error occurs
|
|
216
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/CreateLicenseRecord.ts.html |here} to see how to use CreateLicenseRecord API.
|
|
217
|
+
*/
|
|
218
|
+
createLicenseRecord(createLicenseRecordRequest) {
|
|
219
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
220
|
+
if (this.logger)
|
|
221
|
+
this.logger.debug("Calling operation LicenseManagerClient#createLicenseRecord.");
|
|
222
|
+
const operationName = "createLicenseRecord";
|
|
223
|
+
const apiReferenceLink = "";
|
|
224
|
+
const pathParams = {};
|
|
225
|
+
const queryParams = {
|
|
226
|
+
"productLicenseId": createLicenseRecordRequest.productLicenseId
|
|
227
|
+
};
|
|
228
|
+
let headerParams = {
|
|
229
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
230
|
+
"opc-request-id": createLicenseRecordRequest.opcRequestId,
|
|
231
|
+
"opc-retry-token": createLicenseRecordRequest.opcRetryToken
|
|
232
|
+
};
|
|
233
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
234
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLicenseRecordRequest.retryConfiguration, specRetryConfiguration);
|
|
235
|
+
if (this.logger)
|
|
236
|
+
retrier.logger = this.logger;
|
|
237
|
+
const request = yield oci_common_1.composeRequest({
|
|
238
|
+
baseEndpoint: this._endpoint,
|
|
239
|
+
defaultHeaders: this._defaultHeaders,
|
|
240
|
+
path: "/licenseRecords",
|
|
241
|
+
method: "POST",
|
|
242
|
+
bodyContent: common.ObjectSerializer.serialize(createLicenseRecordRequest.createLicenseRecordDetails, "CreateLicenseRecordDetails", model.CreateLicenseRecordDetails.getJsonObj),
|
|
243
|
+
pathParams: pathParams,
|
|
244
|
+
headerParams: headerParams,
|
|
245
|
+
queryParams: queryParams
|
|
246
|
+
});
|
|
247
|
+
try {
|
|
248
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
249
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
250
|
+
responseObject: {},
|
|
251
|
+
body: yield response.json(),
|
|
252
|
+
bodyKey: "licenseRecord",
|
|
253
|
+
bodyModel: model.LicenseRecord,
|
|
254
|
+
type: "model.LicenseRecord",
|
|
255
|
+
responseHeaders: [
|
|
256
|
+
{
|
|
257
|
+
value: response.headers.get("etag"),
|
|
258
|
+
key: "etag",
|
|
259
|
+
dataType: "string"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
value: response.headers.get("opc-work-request-id"),
|
|
263
|
+
key: "opcWorkRequestId",
|
|
264
|
+
dataType: "string"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
value: response.headers.get("opc-request-id"),
|
|
268
|
+
key: "opcRequestId",
|
|
269
|
+
dataType: "string"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
value: response.headers.get("location"),
|
|
273
|
+
key: "location",
|
|
274
|
+
dataType: "string"
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
});
|
|
278
|
+
return sdkResponse;
|
|
279
|
+
}
|
|
280
|
+
catch (err) {
|
|
281
|
+
throw err;
|
|
282
|
+
}
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Creates a new product license.
|
|
287
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
288
|
+
* @param CreateProductLicenseRequest
|
|
289
|
+
* @return CreateProductLicenseResponse
|
|
290
|
+
* @throws OciError when an error occurs
|
|
291
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/CreateProductLicense.ts.html |here} to see how to use CreateProductLicense API.
|
|
292
|
+
*/
|
|
293
|
+
createProductLicense(createProductLicenseRequest) {
|
|
294
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
295
|
+
if (this.logger)
|
|
296
|
+
this.logger.debug("Calling operation LicenseManagerClient#createProductLicense.");
|
|
297
|
+
const operationName = "createProductLicense";
|
|
298
|
+
const apiReferenceLink = "";
|
|
299
|
+
const pathParams = {};
|
|
300
|
+
const queryParams = {};
|
|
301
|
+
let headerParams = {
|
|
302
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
303
|
+
"opc-request-id": createProductLicenseRequest.opcRequestId,
|
|
304
|
+
"opc-retry-token": createProductLicenseRequest.opcRetryToken
|
|
305
|
+
};
|
|
306
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
307
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createProductLicenseRequest.retryConfiguration, specRetryConfiguration);
|
|
308
|
+
if (this.logger)
|
|
309
|
+
retrier.logger = this.logger;
|
|
310
|
+
const request = yield oci_common_1.composeRequest({
|
|
311
|
+
baseEndpoint: this._endpoint,
|
|
312
|
+
defaultHeaders: this._defaultHeaders,
|
|
313
|
+
path: "/productLicenses",
|
|
314
|
+
method: "POST",
|
|
315
|
+
bodyContent: common.ObjectSerializer.serialize(createProductLicenseRequest.createProductLicenseDetails, "CreateProductLicenseDetails", model.CreateProductLicenseDetails.getJsonObj),
|
|
316
|
+
pathParams: pathParams,
|
|
317
|
+
headerParams: headerParams,
|
|
318
|
+
queryParams: queryParams
|
|
319
|
+
});
|
|
320
|
+
try {
|
|
321
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
322
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
323
|
+
responseObject: {},
|
|
324
|
+
body: yield response.json(),
|
|
325
|
+
bodyKey: "productLicense",
|
|
326
|
+
bodyModel: model.ProductLicense,
|
|
327
|
+
type: "model.ProductLicense",
|
|
328
|
+
responseHeaders: [
|
|
329
|
+
{
|
|
330
|
+
value: response.headers.get("etag"),
|
|
331
|
+
key: "etag",
|
|
332
|
+
dataType: "string"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
value: response.headers.get("opc-work-request-id"),
|
|
336
|
+
key: "opcWorkRequestId",
|
|
337
|
+
dataType: "string"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
value: response.headers.get("opc-request-id"),
|
|
341
|
+
key: "opcRequestId",
|
|
342
|
+
dataType: "string"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
value: response.headers.get("location"),
|
|
346
|
+
key: "location",
|
|
347
|
+
dataType: "string"
|
|
348
|
+
}
|
|
349
|
+
]
|
|
350
|
+
});
|
|
351
|
+
return sdkResponse;
|
|
352
|
+
}
|
|
353
|
+
catch (err) {
|
|
354
|
+
throw err;
|
|
355
|
+
}
|
|
356
|
+
});
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Removes a license record.
|
|
360
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
361
|
+
* @param DeleteLicenseRecordRequest
|
|
362
|
+
* @return DeleteLicenseRecordResponse
|
|
363
|
+
* @throws OciError when an error occurs
|
|
364
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/DeleteLicenseRecord.ts.html |here} to see how to use DeleteLicenseRecord API.
|
|
365
|
+
*/
|
|
366
|
+
deleteLicenseRecord(deleteLicenseRecordRequest) {
|
|
367
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
368
|
+
if (this.logger)
|
|
369
|
+
this.logger.debug("Calling operation LicenseManagerClient#deleteLicenseRecord.");
|
|
370
|
+
const operationName = "deleteLicenseRecord";
|
|
371
|
+
const apiReferenceLink = "";
|
|
372
|
+
const pathParams = {
|
|
373
|
+
"{licenseRecordId}": deleteLicenseRecordRequest.licenseRecordId
|
|
374
|
+
};
|
|
375
|
+
const queryParams = {};
|
|
376
|
+
let headerParams = {
|
|
377
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
378
|
+
"opc-request-id": deleteLicenseRecordRequest.opcRequestId,
|
|
379
|
+
"if-match": deleteLicenseRecordRequest.ifMatch
|
|
380
|
+
};
|
|
381
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
382
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLicenseRecordRequest.retryConfiguration, specRetryConfiguration);
|
|
383
|
+
if (this.logger)
|
|
384
|
+
retrier.logger = this.logger;
|
|
385
|
+
const request = yield oci_common_1.composeRequest({
|
|
386
|
+
baseEndpoint: this._endpoint,
|
|
387
|
+
defaultHeaders: this._defaultHeaders,
|
|
388
|
+
path: "/licenseRecords/{licenseRecordId}",
|
|
389
|
+
method: "DELETE",
|
|
390
|
+
pathParams: pathParams,
|
|
391
|
+
headerParams: headerParams,
|
|
392
|
+
queryParams: queryParams
|
|
393
|
+
});
|
|
394
|
+
try {
|
|
395
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
396
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
397
|
+
responseObject: {},
|
|
398
|
+
responseHeaders: [
|
|
399
|
+
{
|
|
400
|
+
value: response.headers.get("opc-work-request-id"),
|
|
401
|
+
key: "opcWorkRequestId",
|
|
402
|
+
dataType: "string"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
value: response.headers.get("opc-request-id"),
|
|
406
|
+
key: "opcRequestId",
|
|
407
|
+
dataType: "string"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
value: response.headers.get("location"),
|
|
411
|
+
key: "location",
|
|
412
|
+
dataType: "string"
|
|
413
|
+
}
|
|
414
|
+
]
|
|
415
|
+
});
|
|
416
|
+
return sdkResponse;
|
|
417
|
+
}
|
|
418
|
+
catch (err) {
|
|
419
|
+
throw err;
|
|
420
|
+
}
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* Removes a product license.
|
|
425
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
426
|
+
* @param DeleteProductLicenseRequest
|
|
427
|
+
* @return DeleteProductLicenseResponse
|
|
428
|
+
* @throws OciError when an error occurs
|
|
429
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/DeleteProductLicense.ts.html |here} to see how to use DeleteProductLicense API.
|
|
430
|
+
*/
|
|
431
|
+
deleteProductLicense(deleteProductLicenseRequest) {
|
|
432
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
433
|
+
if (this.logger)
|
|
434
|
+
this.logger.debug("Calling operation LicenseManagerClient#deleteProductLicense.");
|
|
435
|
+
const operationName = "deleteProductLicense";
|
|
436
|
+
const apiReferenceLink = "";
|
|
437
|
+
const pathParams = {
|
|
438
|
+
"{productLicenseId}": deleteProductLicenseRequest.productLicenseId
|
|
439
|
+
};
|
|
440
|
+
const queryParams = {};
|
|
441
|
+
let headerParams = {
|
|
442
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
443
|
+
"opc-request-id": deleteProductLicenseRequest.opcRequestId,
|
|
444
|
+
"if-match": deleteProductLicenseRequest.ifMatch
|
|
445
|
+
};
|
|
446
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
447
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteProductLicenseRequest.retryConfiguration, specRetryConfiguration);
|
|
448
|
+
if (this.logger)
|
|
449
|
+
retrier.logger = this.logger;
|
|
450
|
+
const request = yield oci_common_1.composeRequest({
|
|
451
|
+
baseEndpoint: this._endpoint,
|
|
452
|
+
defaultHeaders: this._defaultHeaders,
|
|
453
|
+
path: "/productLicenses/{productLicenseId}",
|
|
454
|
+
method: "DELETE",
|
|
455
|
+
pathParams: pathParams,
|
|
456
|
+
headerParams: headerParams,
|
|
457
|
+
queryParams: queryParams
|
|
458
|
+
});
|
|
459
|
+
try {
|
|
460
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
461
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
462
|
+
responseObject: {},
|
|
463
|
+
responseHeaders: [
|
|
464
|
+
{
|
|
465
|
+
value: response.headers.get("opc-work-request-id"),
|
|
466
|
+
key: "opcWorkRequestId",
|
|
467
|
+
dataType: "string"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
value: response.headers.get("opc-request-id"),
|
|
471
|
+
key: "opcRequestId",
|
|
472
|
+
dataType: "string"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
value: response.headers.get("location"),
|
|
476
|
+
key: "location",
|
|
477
|
+
dataType: "string"
|
|
478
|
+
}
|
|
479
|
+
]
|
|
480
|
+
});
|
|
481
|
+
return sdkResponse;
|
|
482
|
+
}
|
|
483
|
+
catch (err) {
|
|
484
|
+
throw err;
|
|
485
|
+
}
|
|
486
|
+
});
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* Provides the bulk upload file template.
|
|
490
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
491
|
+
* @param GetBulkUploadTemplateRequest
|
|
492
|
+
* @return GetBulkUploadTemplateResponse
|
|
493
|
+
* @throws OciError when an error occurs
|
|
494
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/GetBulkUploadTemplate.ts.html |here} to see how to use GetBulkUploadTemplate API.
|
|
495
|
+
*/
|
|
496
|
+
getBulkUploadTemplate(getBulkUploadTemplateRequest) {
|
|
497
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
498
|
+
if (this.logger)
|
|
499
|
+
this.logger.debug("Calling operation LicenseManagerClient#getBulkUploadTemplate.");
|
|
500
|
+
const operationName = "getBulkUploadTemplate";
|
|
501
|
+
const apiReferenceLink = "";
|
|
502
|
+
const pathParams = {};
|
|
503
|
+
const queryParams = {};
|
|
504
|
+
let headerParams = {
|
|
505
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
506
|
+
"opc-request-id": getBulkUploadTemplateRequest.opcRequestId
|
|
507
|
+
};
|
|
508
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
509
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBulkUploadTemplateRequest.retryConfiguration, specRetryConfiguration);
|
|
510
|
+
if (this.logger)
|
|
511
|
+
retrier.logger = this.logger;
|
|
512
|
+
const request = yield oci_common_1.composeRequest({
|
|
513
|
+
baseEndpoint: this._endpoint,
|
|
514
|
+
defaultHeaders: this._defaultHeaders,
|
|
515
|
+
path: "/licenses/actions/bulkUploadTemplate",
|
|
516
|
+
method: "GET",
|
|
517
|
+
pathParams: pathParams,
|
|
518
|
+
headerParams: headerParams,
|
|
519
|
+
queryParams: queryParams
|
|
520
|
+
});
|
|
521
|
+
try {
|
|
522
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
523
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
524
|
+
responseObject: {},
|
|
525
|
+
body: yield response.json(),
|
|
526
|
+
bodyKey: "bulkUploadTemplate",
|
|
527
|
+
bodyModel: model.BulkUploadTemplate,
|
|
528
|
+
type: "model.BulkUploadTemplate",
|
|
529
|
+
responseHeaders: [
|
|
530
|
+
{
|
|
531
|
+
value: response.headers.get("opc-request-id"),
|
|
532
|
+
key: "opcRequestId",
|
|
533
|
+
dataType: "string"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
value: response.headers.get("opc-next-page"),
|
|
537
|
+
key: "opcNextPage",
|
|
538
|
+
dataType: "string"
|
|
539
|
+
}
|
|
540
|
+
]
|
|
541
|
+
});
|
|
542
|
+
return sdkResponse;
|
|
543
|
+
}
|
|
544
|
+
catch (err) {
|
|
545
|
+
throw err;
|
|
546
|
+
}
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
/**
|
|
550
|
+
* Retrieves configuration for a compartment.
|
|
551
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
552
|
+
* @param GetConfigurationRequest
|
|
553
|
+
* @return GetConfigurationResponse
|
|
554
|
+
* @throws OciError when an error occurs
|
|
555
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
556
|
+
*/
|
|
557
|
+
getConfiguration(getConfigurationRequest) {
|
|
558
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
559
|
+
if (this.logger)
|
|
560
|
+
this.logger.debug("Calling operation LicenseManagerClient#getConfiguration.");
|
|
561
|
+
const operationName = "getConfiguration";
|
|
562
|
+
const apiReferenceLink = "";
|
|
563
|
+
const pathParams = {};
|
|
564
|
+
const queryParams = {
|
|
565
|
+
"compartmentId": getConfigurationRequest.compartmentId
|
|
566
|
+
};
|
|
567
|
+
let headerParams = {
|
|
568
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
569
|
+
"opc-request-id": getConfigurationRequest.opcRequestId
|
|
570
|
+
};
|
|
571
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
572
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
573
|
+
if (this.logger)
|
|
574
|
+
retrier.logger = this.logger;
|
|
575
|
+
const request = yield oci_common_1.composeRequest({
|
|
576
|
+
baseEndpoint: this._endpoint,
|
|
577
|
+
defaultHeaders: this._defaultHeaders,
|
|
578
|
+
path: "/configuration",
|
|
579
|
+
method: "GET",
|
|
580
|
+
pathParams: pathParams,
|
|
581
|
+
headerParams: headerParams,
|
|
582
|
+
queryParams: queryParams
|
|
583
|
+
});
|
|
584
|
+
try {
|
|
585
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
586
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
587
|
+
responseObject: {},
|
|
588
|
+
body: yield response.json(),
|
|
589
|
+
bodyKey: "configuration",
|
|
590
|
+
bodyModel: model.Configuration,
|
|
591
|
+
type: "model.Configuration",
|
|
592
|
+
responseHeaders: [
|
|
593
|
+
{
|
|
594
|
+
value: response.headers.get("etag"),
|
|
595
|
+
key: "etag",
|
|
596
|
+
dataType: "string"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
value: response.headers.get("opc-request-id"),
|
|
600
|
+
key: "opcRequestId",
|
|
601
|
+
dataType: "string"
|
|
602
|
+
}
|
|
603
|
+
]
|
|
604
|
+
});
|
|
605
|
+
return sdkResponse;
|
|
606
|
+
}
|
|
607
|
+
catch (err) {
|
|
608
|
+
throw err;
|
|
609
|
+
}
|
|
610
|
+
});
|
|
611
|
+
}
|
|
612
|
+
/**
|
|
613
|
+
* Retrieves the license metrics for a given compartment.
|
|
614
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
615
|
+
* @param GetLicenseMetricRequest
|
|
616
|
+
* @return GetLicenseMetricResponse
|
|
617
|
+
* @throws OciError when an error occurs
|
|
618
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/GetLicenseMetric.ts.html |here} to see how to use GetLicenseMetric API.
|
|
619
|
+
*/
|
|
620
|
+
getLicenseMetric(getLicenseMetricRequest) {
|
|
621
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
622
|
+
if (this.logger)
|
|
623
|
+
this.logger.debug("Calling operation LicenseManagerClient#getLicenseMetric.");
|
|
624
|
+
const operationName = "getLicenseMetric";
|
|
625
|
+
const apiReferenceLink = "";
|
|
626
|
+
const pathParams = {};
|
|
627
|
+
const queryParams = {
|
|
628
|
+
"compartmentId": getLicenseMetricRequest.compartmentId,
|
|
629
|
+
"isCompartmentIdInSubtree": getLicenseMetricRequest.isCompartmentIdInSubtree
|
|
630
|
+
};
|
|
631
|
+
let headerParams = {
|
|
632
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
633
|
+
"opc-request-id": getLicenseMetricRequest.opcRequestId
|
|
634
|
+
};
|
|
635
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
636
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLicenseMetricRequest.retryConfiguration, specRetryConfiguration);
|
|
637
|
+
if (this.logger)
|
|
638
|
+
retrier.logger = this.logger;
|
|
639
|
+
const request = yield oci_common_1.composeRequest({
|
|
640
|
+
baseEndpoint: this._endpoint,
|
|
641
|
+
defaultHeaders: this._defaultHeaders,
|
|
642
|
+
path: "/licenseMetrics",
|
|
643
|
+
method: "GET",
|
|
644
|
+
pathParams: pathParams,
|
|
645
|
+
headerParams: headerParams,
|
|
646
|
+
queryParams: queryParams
|
|
647
|
+
});
|
|
648
|
+
try {
|
|
649
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
650
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
651
|
+
responseObject: {},
|
|
652
|
+
body: yield response.json(),
|
|
653
|
+
bodyKey: "licenseMetric",
|
|
654
|
+
bodyModel: model.LicenseMetric,
|
|
655
|
+
type: "model.LicenseMetric",
|
|
656
|
+
responseHeaders: [
|
|
657
|
+
{
|
|
658
|
+
value: response.headers.get("etag"),
|
|
659
|
+
key: "etag",
|
|
660
|
+
dataType: "string"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
value: response.headers.get("opc-request-id"),
|
|
664
|
+
key: "opcRequestId",
|
|
665
|
+
dataType: "string"
|
|
666
|
+
}
|
|
667
|
+
]
|
|
668
|
+
});
|
|
669
|
+
return sdkResponse;
|
|
670
|
+
}
|
|
671
|
+
catch (err) {
|
|
672
|
+
throw err;
|
|
673
|
+
}
|
|
674
|
+
});
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* Retrieves license record details by the license record ID in a given compartment.
|
|
678
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
679
|
+
* @param GetLicenseRecordRequest
|
|
680
|
+
* @return GetLicenseRecordResponse
|
|
681
|
+
* @throws OciError when an error occurs
|
|
682
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/GetLicenseRecord.ts.html |here} to see how to use GetLicenseRecord API.
|
|
683
|
+
*/
|
|
684
|
+
getLicenseRecord(getLicenseRecordRequest) {
|
|
685
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
686
|
+
if (this.logger)
|
|
687
|
+
this.logger.debug("Calling operation LicenseManagerClient#getLicenseRecord.");
|
|
688
|
+
const operationName = "getLicenseRecord";
|
|
689
|
+
const apiReferenceLink = "";
|
|
690
|
+
const pathParams = {
|
|
691
|
+
"{licenseRecordId}": getLicenseRecordRequest.licenseRecordId
|
|
692
|
+
};
|
|
693
|
+
const queryParams = {};
|
|
694
|
+
let headerParams = {
|
|
695
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
696
|
+
"opc-request-id": getLicenseRecordRequest.opcRequestId
|
|
697
|
+
};
|
|
698
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
699
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLicenseRecordRequest.retryConfiguration, specRetryConfiguration);
|
|
700
|
+
if (this.logger)
|
|
701
|
+
retrier.logger = this.logger;
|
|
702
|
+
const request = yield oci_common_1.composeRequest({
|
|
703
|
+
baseEndpoint: this._endpoint,
|
|
704
|
+
defaultHeaders: this._defaultHeaders,
|
|
705
|
+
path: "/licenseRecords/{licenseRecordId}",
|
|
706
|
+
method: "GET",
|
|
707
|
+
pathParams: pathParams,
|
|
708
|
+
headerParams: headerParams,
|
|
709
|
+
queryParams: queryParams
|
|
710
|
+
});
|
|
711
|
+
try {
|
|
712
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
713
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
714
|
+
responseObject: {},
|
|
715
|
+
body: yield response.json(),
|
|
716
|
+
bodyKey: "licenseRecord",
|
|
717
|
+
bodyModel: model.LicenseRecord,
|
|
718
|
+
type: "model.LicenseRecord",
|
|
719
|
+
responseHeaders: [
|
|
720
|
+
{
|
|
721
|
+
value: response.headers.get("etag"),
|
|
722
|
+
key: "etag",
|
|
723
|
+
dataType: "string"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
value: response.headers.get("opc-request-id"),
|
|
727
|
+
key: "opcRequestId",
|
|
728
|
+
dataType: "string"
|
|
729
|
+
}
|
|
730
|
+
]
|
|
731
|
+
});
|
|
732
|
+
return sdkResponse;
|
|
733
|
+
}
|
|
734
|
+
catch (err) {
|
|
735
|
+
throw err;
|
|
736
|
+
}
|
|
737
|
+
});
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* Retrieves product license details by product license ID in a given compartment.
|
|
741
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
742
|
+
* @param GetProductLicenseRequest
|
|
743
|
+
* @return GetProductLicenseResponse
|
|
744
|
+
* @throws OciError when an error occurs
|
|
745
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/GetProductLicense.ts.html |here} to see how to use GetProductLicense API.
|
|
746
|
+
*/
|
|
747
|
+
getProductLicense(getProductLicenseRequest) {
|
|
748
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
749
|
+
if (this.logger)
|
|
750
|
+
this.logger.debug("Calling operation LicenseManagerClient#getProductLicense.");
|
|
751
|
+
const operationName = "getProductLicense";
|
|
752
|
+
const apiReferenceLink = "";
|
|
753
|
+
const pathParams = {
|
|
754
|
+
"{productLicenseId}": getProductLicenseRequest.productLicenseId
|
|
755
|
+
};
|
|
756
|
+
const queryParams = {};
|
|
757
|
+
let headerParams = {
|
|
758
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
759
|
+
"opc-request-id": getProductLicenseRequest.opcRequestId
|
|
760
|
+
};
|
|
761
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
762
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProductLicenseRequest.retryConfiguration, specRetryConfiguration);
|
|
763
|
+
if (this.logger)
|
|
764
|
+
retrier.logger = this.logger;
|
|
765
|
+
const request = yield oci_common_1.composeRequest({
|
|
766
|
+
baseEndpoint: this._endpoint,
|
|
767
|
+
defaultHeaders: this._defaultHeaders,
|
|
768
|
+
path: "/productLicenses/{productLicenseId}",
|
|
769
|
+
method: "GET",
|
|
770
|
+
pathParams: pathParams,
|
|
771
|
+
headerParams: headerParams,
|
|
772
|
+
queryParams: queryParams
|
|
773
|
+
});
|
|
774
|
+
try {
|
|
775
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
776
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
777
|
+
responseObject: {},
|
|
778
|
+
body: yield response.json(),
|
|
779
|
+
bodyKey: "productLicense",
|
|
780
|
+
bodyModel: model.ProductLicense,
|
|
781
|
+
type: "model.ProductLicense",
|
|
782
|
+
responseHeaders: [
|
|
783
|
+
{
|
|
784
|
+
value: response.headers.get("etag"),
|
|
785
|
+
key: "etag",
|
|
786
|
+
dataType: "string"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
value: response.headers.get("opc-request-id"),
|
|
790
|
+
key: "opcRequestId",
|
|
791
|
+
dataType: "string"
|
|
792
|
+
}
|
|
793
|
+
]
|
|
794
|
+
});
|
|
795
|
+
return sdkResponse;
|
|
796
|
+
}
|
|
797
|
+
catch (err) {
|
|
798
|
+
throw err;
|
|
799
|
+
}
|
|
800
|
+
});
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* Retrieves all license records for a given product license ID.
|
|
804
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
805
|
+
* @param ListLicenseRecordsRequest
|
|
806
|
+
* @return ListLicenseRecordsResponse
|
|
807
|
+
* @throws OciError when an error occurs
|
|
808
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/ListLicenseRecords.ts.html |here} to see how to use ListLicenseRecords API.
|
|
809
|
+
*/
|
|
810
|
+
listLicenseRecords(listLicenseRecordsRequest) {
|
|
811
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
812
|
+
if (this.logger)
|
|
813
|
+
this.logger.debug("Calling operation LicenseManagerClient#listLicenseRecords.");
|
|
814
|
+
const operationName = "listLicenseRecords";
|
|
815
|
+
const apiReferenceLink = "";
|
|
816
|
+
const pathParams = {};
|
|
817
|
+
const queryParams = {
|
|
818
|
+
"limit": listLicenseRecordsRequest.limit,
|
|
819
|
+
"page": listLicenseRecordsRequest.page,
|
|
820
|
+
"productLicenseId": listLicenseRecordsRequest.productLicenseId,
|
|
821
|
+
"sortOrder": listLicenseRecordsRequest.sortOrder,
|
|
822
|
+
"sortBy": listLicenseRecordsRequest.sortBy
|
|
823
|
+
};
|
|
824
|
+
let headerParams = {
|
|
825
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
826
|
+
"opc-request-id": listLicenseRecordsRequest.opcRequestId
|
|
827
|
+
};
|
|
828
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
829
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLicenseRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
830
|
+
if (this.logger)
|
|
831
|
+
retrier.logger = this.logger;
|
|
832
|
+
const request = yield oci_common_1.composeRequest({
|
|
833
|
+
baseEndpoint: this._endpoint,
|
|
834
|
+
defaultHeaders: this._defaultHeaders,
|
|
835
|
+
path: "/licenseRecords",
|
|
836
|
+
method: "GET",
|
|
837
|
+
pathParams: pathParams,
|
|
838
|
+
headerParams: headerParams,
|
|
839
|
+
queryParams: queryParams
|
|
840
|
+
});
|
|
841
|
+
try {
|
|
842
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
843
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
844
|
+
responseObject: {},
|
|
845
|
+
body: yield response.json(),
|
|
846
|
+
bodyKey: "licenseRecordCollection",
|
|
847
|
+
bodyModel: model.LicenseRecordCollection,
|
|
848
|
+
type: "model.LicenseRecordCollection",
|
|
849
|
+
responseHeaders: [
|
|
850
|
+
{
|
|
851
|
+
value: response.headers.get("opc-request-id"),
|
|
852
|
+
key: "opcRequestId",
|
|
853
|
+
dataType: "string"
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
value: response.headers.get("opc-next-page"),
|
|
857
|
+
key: "opcNextPage",
|
|
858
|
+
dataType: "string"
|
|
859
|
+
}
|
|
860
|
+
]
|
|
861
|
+
});
|
|
862
|
+
return sdkResponse;
|
|
863
|
+
}
|
|
864
|
+
catch (err) {
|
|
865
|
+
throw err;
|
|
866
|
+
}
|
|
867
|
+
});
|
|
868
|
+
}
|
|
869
|
+
/**
|
|
870
|
+
* Retrieves the product license consumers for a particular product license ID.
|
|
871
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
872
|
+
* @param ListProductLicenseConsumersRequest
|
|
873
|
+
* @return ListProductLicenseConsumersResponse
|
|
874
|
+
* @throws OciError when an error occurs
|
|
875
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/ListProductLicenseConsumers.ts.html |here} to see how to use ListProductLicenseConsumers API.
|
|
876
|
+
*/
|
|
877
|
+
listProductLicenseConsumers(listProductLicenseConsumersRequest) {
|
|
878
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
879
|
+
if (this.logger)
|
|
880
|
+
this.logger.debug("Calling operation LicenseManagerClient#listProductLicenseConsumers.");
|
|
881
|
+
const operationName = "listProductLicenseConsumers";
|
|
882
|
+
const apiReferenceLink = "";
|
|
883
|
+
const pathParams = {};
|
|
884
|
+
const queryParams = {
|
|
885
|
+
"limit": listProductLicenseConsumersRequest.limit,
|
|
886
|
+
"page": listProductLicenseConsumersRequest.page,
|
|
887
|
+
"productLicenseId": listProductLicenseConsumersRequest.productLicenseId,
|
|
888
|
+
"compartmentId": listProductLicenseConsumersRequest.compartmentId,
|
|
889
|
+
"isCompartmentIdInSubtree": listProductLicenseConsumersRequest.isCompartmentIdInSubtree,
|
|
890
|
+
"sortOrder": listProductLicenseConsumersRequest.sortOrder,
|
|
891
|
+
"sortBy": listProductLicenseConsumersRequest.sortBy
|
|
892
|
+
};
|
|
893
|
+
let headerParams = {
|
|
894
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
895
|
+
"opc-request-id": listProductLicenseConsumersRequest.opcRequestId
|
|
896
|
+
};
|
|
897
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
898
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProductLicenseConsumersRequest.retryConfiguration, specRetryConfiguration);
|
|
899
|
+
if (this.logger)
|
|
900
|
+
retrier.logger = this.logger;
|
|
901
|
+
const request = yield oci_common_1.composeRequest({
|
|
902
|
+
baseEndpoint: this._endpoint,
|
|
903
|
+
defaultHeaders: this._defaultHeaders,
|
|
904
|
+
path: "/productLicenseConsumers",
|
|
905
|
+
method: "GET",
|
|
906
|
+
pathParams: pathParams,
|
|
907
|
+
headerParams: headerParams,
|
|
908
|
+
queryParams: queryParams
|
|
909
|
+
});
|
|
910
|
+
try {
|
|
911
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
912
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
913
|
+
responseObject: {},
|
|
914
|
+
body: yield response.json(),
|
|
915
|
+
bodyKey: "productLicenseConsumerCollection",
|
|
916
|
+
bodyModel: model.ProductLicenseConsumerCollection,
|
|
917
|
+
type: "model.ProductLicenseConsumerCollection",
|
|
918
|
+
responseHeaders: [
|
|
919
|
+
{
|
|
920
|
+
value: response.headers.get("opc-request-id"),
|
|
921
|
+
key: "opcRequestId",
|
|
922
|
+
dataType: "string"
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
value: response.headers.get("opc-next-page"),
|
|
926
|
+
key: "opcNextPage",
|
|
927
|
+
dataType: "string"
|
|
928
|
+
}
|
|
929
|
+
]
|
|
930
|
+
});
|
|
931
|
+
return sdkResponse;
|
|
932
|
+
}
|
|
933
|
+
catch (err) {
|
|
934
|
+
throw err;
|
|
935
|
+
}
|
|
936
|
+
});
|
|
937
|
+
}
|
|
938
|
+
/**
|
|
939
|
+
* Retrieves all the product licenses from a given compartment.
|
|
940
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
941
|
+
* @param ListProductLicensesRequest
|
|
942
|
+
* @return ListProductLicensesResponse
|
|
943
|
+
* @throws OciError when an error occurs
|
|
944
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/ListProductLicenses.ts.html |here} to see how to use ListProductLicenses API.
|
|
945
|
+
*/
|
|
946
|
+
listProductLicenses(listProductLicensesRequest) {
|
|
947
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
948
|
+
if (this.logger)
|
|
949
|
+
this.logger.debug("Calling operation LicenseManagerClient#listProductLicenses.");
|
|
950
|
+
const operationName = "listProductLicenses";
|
|
951
|
+
const apiReferenceLink = "";
|
|
952
|
+
const pathParams = {};
|
|
953
|
+
const queryParams = {
|
|
954
|
+
"limit": listProductLicensesRequest.limit,
|
|
955
|
+
"page": listProductLicensesRequest.page,
|
|
956
|
+
"compartmentId": listProductLicensesRequest.compartmentId,
|
|
957
|
+
"isCompartmentIdInSubtree": listProductLicensesRequest.isCompartmentIdInSubtree,
|
|
958
|
+
"sortOrder": listProductLicensesRequest.sortOrder,
|
|
959
|
+
"sortBy": listProductLicensesRequest.sortBy
|
|
960
|
+
};
|
|
961
|
+
let headerParams = {
|
|
962
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
963
|
+
"opc-request-id": listProductLicensesRequest.opcRequestId
|
|
964
|
+
};
|
|
965
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
966
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProductLicensesRequest.retryConfiguration, specRetryConfiguration);
|
|
967
|
+
if (this.logger)
|
|
968
|
+
retrier.logger = this.logger;
|
|
969
|
+
const request = yield oci_common_1.composeRequest({
|
|
970
|
+
baseEndpoint: this._endpoint,
|
|
971
|
+
defaultHeaders: this._defaultHeaders,
|
|
972
|
+
path: "/productLicenses",
|
|
973
|
+
method: "GET",
|
|
974
|
+
pathParams: pathParams,
|
|
975
|
+
headerParams: headerParams,
|
|
976
|
+
queryParams: queryParams
|
|
977
|
+
});
|
|
978
|
+
try {
|
|
979
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
980
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
981
|
+
responseObject: {},
|
|
982
|
+
body: yield response.json(),
|
|
983
|
+
bodyKey: "productLicenseCollection",
|
|
984
|
+
bodyModel: model.ProductLicenseCollection,
|
|
985
|
+
type: "model.ProductLicenseCollection",
|
|
986
|
+
responseHeaders: [
|
|
987
|
+
{
|
|
988
|
+
value: response.headers.get("opc-request-id"),
|
|
989
|
+
key: "opcRequestId",
|
|
990
|
+
dataType: "string"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
value: response.headers.get("opc-next-page"),
|
|
994
|
+
key: "opcNextPage",
|
|
995
|
+
dataType: "string"
|
|
996
|
+
}
|
|
997
|
+
]
|
|
998
|
+
});
|
|
999
|
+
return sdkResponse;
|
|
1000
|
+
}
|
|
1001
|
+
catch (err) {
|
|
1002
|
+
throw err;
|
|
1003
|
+
}
|
|
1004
|
+
});
|
|
1005
|
+
}
|
|
1006
|
+
/**
|
|
1007
|
+
* Retrieves the top utilized product licenses for a given compartment.
|
|
1008
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1009
|
+
* @param ListTopUtilizedProductLicensesRequest
|
|
1010
|
+
* @return ListTopUtilizedProductLicensesResponse
|
|
1011
|
+
* @throws OciError when an error occurs
|
|
1012
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/ListTopUtilizedProductLicenses.ts.html |here} to see how to use ListTopUtilizedProductLicenses API.
|
|
1013
|
+
*/
|
|
1014
|
+
listTopUtilizedProductLicenses(listTopUtilizedProductLicensesRequest) {
|
|
1015
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1016
|
+
if (this.logger)
|
|
1017
|
+
this.logger.debug("Calling operation LicenseManagerClient#listTopUtilizedProductLicenses.");
|
|
1018
|
+
const operationName = "listTopUtilizedProductLicenses";
|
|
1019
|
+
const apiReferenceLink = "";
|
|
1020
|
+
const pathParams = {};
|
|
1021
|
+
const queryParams = {
|
|
1022
|
+
"limit": listTopUtilizedProductLicensesRequest.limit,
|
|
1023
|
+
"page": listTopUtilizedProductLicensesRequest.page,
|
|
1024
|
+
"compartmentId": listTopUtilizedProductLicensesRequest.compartmentId,
|
|
1025
|
+
"isCompartmentIdInSubtree": listTopUtilizedProductLicensesRequest.isCompartmentIdInSubtree,
|
|
1026
|
+
"sortOrder": listTopUtilizedProductLicensesRequest.sortOrder,
|
|
1027
|
+
"sortBy": listTopUtilizedProductLicensesRequest.sortBy
|
|
1028
|
+
};
|
|
1029
|
+
let headerParams = {
|
|
1030
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1031
|
+
"opc-request-id": listTopUtilizedProductLicensesRequest.opcRequestId
|
|
1032
|
+
};
|
|
1033
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1034
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTopUtilizedProductLicensesRequest.retryConfiguration, specRetryConfiguration);
|
|
1035
|
+
if (this.logger)
|
|
1036
|
+
retrier.logger = this.logger;
|
|
1037
|
+
const request = yield oci_common_1.composeRequest({
|
|
1038
|
+
baseEndpoint: this._endpoint,
|
|
1039
|
+
defaultHeaders: this._defaultHeaders,
|
|
1040
|
+
path: "/topUtilizedProductLicenses",
|
|
1041
|
+
method: "GET",
|
|
1042
|
+
pathParams: pathParams,
|
|
1043
|
+
headerParams: headerParams,
|
|
1044
|
+
queryParams: queryParams
|
|
1045
|
+
});
|
|
1046
|
+
try {
|
|
1047
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1048
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1049
|
+
responseObject: {},
|
|
1050
|
+
body: yield response.json(),
|
|
1051
|
+
bodyKey: "topUtilizedProductLicenseCollection",
|
|
1052
|
+
bodyModel: model.TopUtilizedProductLicenseCollection,
|
|
1053
|
+
type: "model.TopUtilizedProductLicenseCollection",
|
|
1054
|
+
responseHeaders: [
|
|
1055
|
+
{
|
|
1056
|
+
value: response.headers.get("opc-request-id"),
|
|
1057
|
+
key: "opcRequestId",
|
|
1058
|
+
dataType: "string"
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
value: response.headers.get("opc-next-page"),
|
|
1062
|
+
key: "opcNextPage",
|
|
1063
|
+
dataType: "string"
|
|
1064
|
+
}
|
|
1065
|
+
]
|
|
1066
|
+
});
|
|
1067
|
+
return sdkResponse;
|
|
1068
|
+
}
|
|
1069
|
+
catch (err) {
|
|
1070
|
+
throw err;
|
|
1071
|
+
}
|
|
1072
|
+
});
|
|
1073
|
+
}
|
|
1074
|
+
/**
|
|
1075
|
+
* Retrieves the top utilized resources for a given compartment.
|
|
1076
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1077
|
+
* @param ListTopUtilizedResourcesRequest
|
|
1078
|
+
* @return ListTopUtilizedResourcesResponse
|
|
1079
|
+
* @throws OciError when an error occurs
|
|
1080
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/ListTopUtilizedResources.ts.html |here} to see how to use ListTopUtilizedResources API.
|
|
1081
|
+
*/
|
|
1082
|
+
listTopUtilizedResources(listTopUtilizedResourcesRequest) {
|
|
1083
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1084
|
+
if (this.logger)
|
|
1085
|
+
this.logger.debug("Calling operation LicenseManagerClient#listTopUtilizedResources.");
|
|
1086
|
+
const operationName = "listTopUtilizedResources";
|
|
1087
|
+
const apiReferenceLink = "";
|
|
1088
|
+
const pathParams = {};
|
|
1089
|
+
const queryParams = {
|
|
1090
|
+
"limit": listTopUtilizedResourcesRequest.limit,
|
|
1091
|
+
"page": listTopUtilizedResourcesRequest.page,
|
|
1092
|
+
"compartmentId": listTopUtilizedResourcesRequest.compartmentId,
|
|
1093
|
+
"isCompartmentIdInSubtree": listTopUtilizedResourcesRequest.isCompartmentIdInSubtree,
|
|
1094
|
+
"resourceUnitType": listTopUtilizedResourcesRequest.resourceUnitType,
|
|
1095
|
+
"sortOrder": listTopUtilizedResourcesRequest.sortOrder,
|
|
1096
|
+
"sortBy": listTopUtilizedResourcesRequest.sortBy
|
|
1097
|
+
};
|
|
1098
|
+
let headerParams = {
|
|
1099
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1100
|
+
"opc-request-id": listTopUtilizedResourcesRequest.opcRequestId
|
|
1101
|
+
};
|
|
1102
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1103
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTopUtilizedResourcesRequest.retryConfiguration, specRetryConfiguration);
|
|
1104
|
+
if (this.logger)
|
|
1105
|
+
retrier.logger = this.logger;
|
|
1106
|
+
const request = yield oci_common_1.composeRequest({
|
|
1107
|
+
baseEndpoint: this._endpoint,
|
|
1108
|
+
defaultHeaders: this._defaultHeaders,
|
|
1109
|
+
path: "/topUtilizedResources",
|
|
1110
|
+
method: "GET",
|
|
1111
|
+
pathParams: pathParams,
|
|
1112
|
+
headerParams: headerParams,
|
|
1113
|
+
queryParams: queryParams
|
|
1114
|
+
});
|
|
1115
|
+
try {
|
|
1116
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1117
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1118
|
+
responseObject: {},
|
|
1119
|
+
body: yield response.json(),
|
|
1120
|
+
bodyKey: "topUtilizedResourceCollection",
|
|
1121
|
+
bodyModel: model.TopUtilizedResourceCollection,
|
|
1122
|
+
type: "model.TopUtilizedResourceCollection",
|
|
1123
|
+
responseHeaders: [
|
|
1124
|
+
{
|
|
1125
|
+
value: response.headers.get("opc-request-id"),
|
|
1126
|
+
key: "opcRequestId",
|
|
1127
|
+
dataType: "string"
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
value: response.headers.get("opc-next-page"),
|
|
1131
|
+
key: "opcNextPage",
|
|
1132
|
+
dataType: "string"
|
|
1133
|
+
}
|
|
1134
|
+
]
|
|
1135
|
+
});
|
|
1136
|
+
return sdkResponse;
|
|
1137
|
+
}
|
|
1138
|
+
catch (err) {
|
|
1139
|
+
throw err;
|
|
1140
|
+
}
|
|
1141
|
+
});
|
|
1142
|
+
}
|
|
1143
|
+
/**
|
|
1144
|
+
* Updates the configuration for the compartment.
|
|
1145
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1146
|
+
* @param UpdateConfigurationRequest
|
|
1147
|
+
* @return UpdateConfigurationResponse
|
|
1148
|
+
* @throws OciError when an error occurs
|
|
1149
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
1150
|
+
*/
|
|
1151
|
+
updateConfiguration(updateConfigurationRequest) {
|
|
1152
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1153
|
+
if (this.logger)
|
|
1154
|
+
this.logger.debug("Calling operation LicenseManagerClient#updateConfiguration.");
|
|
1155
|
+
const operationName = "updateConfiguration";
|
|
1156
|
+
const apiReferenceLink = "";
|
|
1157
|
+
const pathParams = {};
|
|
1158
|
+
const queryParams = {
|
|
1159
|
+
"compartmentId": updateConfigurationRequest.compartmentId
|
|
1160
|
+
};
|
|
1161
|
+
let headerParams = {
|
|
1162
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1163
|
+
"if-match": updateConfigurationRequest.ifMatch,
|
|
1164
|
+
"opc-request-id": updateConfigurationRequest.opcRequestId
|
|
1165
|
+
};
|
|
1166
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1167
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1168
|
+
if (this.logger)
|
|
1169
|
+
retrier.logger = this.logger;
|
|
1170
|
+
const request = yield oci_common_1.composeRequest({
|
|
1171
|
+
baseEndpoint: this._endpoint,
|
|
1172
|
+
defaultHeaders: this._defaultHeaders,
|
|
1173
|
+
path: "/configuration",
|
|
1174
|
+
method: "PUT",
|
|
1175
|
+
bodyContent: common.ObjectSerializer.serialize(updateConfigurationRequest.updateConfigurationDetails, "UpdateConfigurationDetails", model.UpdateConfigurationDetails.getJsonObj),
|
|
1176
|
+
pathParams: pathParams,
|
|
1177
|
+
headerParams: headerParams,
|
|
1178
|
+
queryParams: queryParams
|
|
1179
|
+
});
|
|
1180
|
+
try {
|
|
1181
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1182
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1183
|
+
responseObject: {},
|
|
1184
|
+
body: yield response.json(),
|
|
1185
|
+
bodyKey: "configuration",
|
|
1186
|
+
bodyModel: model.Configuration,
|
|
1187
|
+
type: "model.Configuration",
|
|
1188
|
+
responseHeaders: [
|
|
1189
|
+
{
|
|
1190
|
+
value: response.headers.get("etag"),
|
|
1191
|
+
key: "etag",
|
|
1192
|
+
dataType: "string"
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
value: response.headers.get("opc-request-id"),
|
|
1196
|
+
key: "opcRequestId",
|
|
1197
|
+
dataType: "string"
|
|
1198
|
+
}
|
|
1199
|
+
]
|
|
1200
|
+
});
|
|
1201
|
+
return sdkResponse;
|
|
1202
|
+
}
|
|
1203
|
+
catch (err) {
|
|
1204
|
+
throw err;
|
|
1205
|
+
}
|
|
1206
|
+
});
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
* Updates license record entity details.
|
|
1210
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1211
|
+
* @param UpdateLicenseRecordRequest
|
|
1212
|
+
* @return UpdateLicenseRecordResponse
|
|
1213
|
+
* @throws OciError when an error occurs
|
|
1214
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/UpdateLicenseRecord.ts.html |here} to see how to use UpdateLicenseRecord API.
|
|
1215
|
+
*/
|
|
1216
|
+
updateLicenseRecord(updateLicenseRecordRequest) {
|
|
1217
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1218
|
+
if (this.logger)
|
|
1219
|
+
this.logger.debug("Calling operation LicenseManagerClient#updateLicenseRecord.");
|
|
1220
|
+
const operationName = "updateLicenseRecord";
|
|
1221
|
+
const apiReferenceLink = "";
|
|
1222
|
+
const pathParams = {
|
|
1223
|
+
"{licenseRecordId}": updateLicenseRecordRequest.licenseRecordId
|
|
1224
|
+
};
|
|
1225
|
+
const queryParams = {};
|
|
1226
|
+
let headerParams = {
|
|
1227
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1228
|
+
"if-match": updateLicenseRecordRequest.ifMatch,
|
|
1229
|
+
"opc-request-id": updateLicenseRecordRequest.opcRequestId
|
|
1230
|
+
};
|
|
1231
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1232
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLicenseRecordRequest.retryConfiguration, specRetryConfiguration);
|
|
1233
|
+
if (this.logger)
|
|
1234
|
+
retrier.logger = this.logger;
|
|
1235
|
+
const request = yield oci_common_1.composeRequest({
|
|
1236
|
+
baseEndpoint: this._endpoint,
|
|
1237
|
+
defaultHeaders: this._defaultHeaders,
|
|
1238
|
+
path: "/licenseRecords/{licenseRecordId}",
|
|
1239
|
+
method: "PUT",
|
|
1240
|
+
bodyContent: common.ObjectSerializer.serialize(updateLicenseRecordRequest.updateLicenseRecordDetails, "UpdateLicenseRecordDetails", model.UpdateLicenseRecordDetails.getJsonObj),
|
|
1241
|
+
pathParams: pathParams,
|
|
1242
|
+
headerParams: headerParams,
|
|
1243
|
+
queryParams: queryParams
|
|
1244
|
+
});
|
|
1245
|
+
try {
|
|
1246
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1247
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1248
|
+
responseObject: {},
|
|
1249
|
+
body: yield response.json(),
|
|
1250
|
+
bodyKey: "licenseRecord",
|
|
1251
|
+
bodyModel: model.LicenseRecord,
|
|
1252
|
+
type: "model.LicenseRecord",
|
|
1253
|
+
responseHeaders: [
|
|
1254
|
+
{
|
|
1255
|
+
value: response.headers.get("etag"),
|
|
1256
|
+
key: "etag",
|
|
1257
|
+
dataType: "string"
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
value: response.headers.get("opc-request-id"),
|
|
1261
|
+
key: "opcRequestId",
|
|
1262
|
+
dataType: "string"
|
|
1263
|
+
}
|
|
1264
|
+
]
|
|
1265
|
+
});
|
|
1266
|
+
return sdkResponse;
|
|
1267
|
+
}
|
|
1268
|
+
catch (err) {
|
|
1269
|
+
throw err;
|
|
1270
|
+
}
|
|
1271
|
+
});
|
|
1272
|
+
}
|
|
1273
|
+
/**
|
|
1274
|
+
* Updates the list of images for a product license.
|
|
1275
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1276
|
+
* @param UpdateProductLicenseRequest
|
|
1277
|
+
* @return UpdateProductLicenseResponse
|
|
1278
|
+
* @throws OciError when an error occurs
|
|
1279
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/licensemanager/UpdateProductLicense.ts.html |here} to see how to use UpdateProductLicense API.
|
|
1280
|
+
*/
|
|
1281
|
+
updateProductLicense(updateProductLicenseRequest) {
|
|
1282
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1283
|
+
if (this.logger)
|
|
1284
|
+
this.logger.debug("Calling operation LicenseManagerClient#updateProductLicense.");
|
|
1285
|
+
const operationName = "updateProductLicense";
|
|
1286
|
+
const apiReferenceLink = "";
|
|
1287
|
+
const pathParams = {
|
|
1288
|
+
"{productLicenseId}": updateProductLicenseRequest.productLicenseId
|
|
1289
|
+
};
|
|
1290
|
+
const queryParams = {};
|
|
1291
|
+
let headerParams = {
|
|
1292
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1293
|
+
"if-match": updateProductLicenseRequest.ifMatch,
|
|
1294
|
+
"opc-request-id": updateProductLicenseRequest.opcRequestId
|
|
1295
|
+
};
|
|
1296
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1297
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProductLicenseRequest.retryConfiguration, specRetryConfiguration);
|
|
1298
|
+
if (this.logger)
|
|
1299
|
+
retrier.logger = this.logger;
|
|
1300
|
+
const request = yield oci_common_1.composeRequest({
|
|
1301
|
+
baseEndpoint: this._endpoint,
|
|
1302
|
+
defaultHeaders: this._defaultHeaders,
|
|
1303
|
+
path: "/productLicenses/{productLicenseId}",
|
|
1304
|
+
method: "PUT",
|
|
1305
|
+
bodyContent: common.ObjectSerializer.serialize(updateProductLicenseRequest.updateProductLicenseDetails, "UpdateProductLicenseDetails", model.UpdateProductLicenseDetails.getJsonObj),
|
|
1306
|
+
pathParams: pathParams,
|
|
1307
|
+
headerParams: headerParams,
|
|
1308
|
+
queryParams: queryParams
|
|
1309
|
+
});
|
|
1310
|
+
try {
|
|
1311
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1312
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1313
|
+
responseObject: {},
|
|
1314
|
+
body: yield response.json(),
|
|
1315
|
+
bodyKey: "productLicense",
|
|
1316
|
+
bodyModel: model.ProductLicense,
|
|
1317
|
+
type: "model.ProductLicense",
|
|
1318
|
+
responseHeaders: [
|
|
1319
|
+
{
|
|
1320
|
+
value: response.headers.get("etag"),
|
|
1321
|
+
key: "etag",
|
|
1322
|
+
dataType: "string"
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
value: response.headers.get("opc-request-id"),
|
|
1326
|
+
key: "opcRequestId",
|
|
1327
|
+
dataType: "string"
|
|
1328
|
+
}
|
|
1329
|
+
]
|
|
1330
|
+
});
|
|
1331
|
+
return sdkResponse;
|
|
1332
|
+
}
|
|
1333
|
+
catch (err) {
|
|
1334
|
+
throw err;
|
|
1335
|
+
}
|
|
1336
|
+
});
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
exports.LicenseManagerClient = LicenseManagerClient;
|
|
1340
|
+
LicenseManagerClient.serviceEndpointTemplate = "https://licensemanager.{region}.oci.{secondLevelDomain}";
|
|
1341
|
+
LicenseManagerClient.endpointServiceName = "";
|
|
1342
|
+
//# sourceMappingURL=client.js.map
|