oci-jms 2.48.1 → 2.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +160 -32
- package/lib/client.js +979 -90
- package/lib/client.js.map +1 -1
- package/lib/model/add-fleet-installation-sites-details.d.ts +4 -0
- package/lib/model/add-fleet-installation-sites-details.js +10 -0
- package/lib/model/add-fleet-installation-sites-details.js.map +1 -1
- package/lib/model/advanced-usage-tracking.d.ts +25 -0
- package/lib/model/advanced-usage-tracking.js +29 -0
- package/lib/model/advanced-usage-tracking.js.map +1 -0
- package/lib/model/algorithms.d.ts +30 -0
- package/lib/model/algorithms.js +41 -0
- package/lib/model/algorithms.js.map +1 -0
- package/lib/model/create-fleet-details.d.ts +2 -1
- package/lib/model/create-fleet-details.js.map +1 -1
- package/lib/model/crypto-analysis-result-collection.d.ts +26 -0
- package/lib/model/crypto-analysis-result-collection.js +61 -0
- package/lib/model/crypto-analysis-result-collection.js.map +1 -0
- package/lib/model/crypto-analysis-result-mode.d.ts +29 -0
- package/lib/model/crypto-analysis-result-mode.js +40 -0
- package/lib/model/crypto-analysis-result-mode.js.map +1 -0
- package/lib/model/crypto-analysis-result-sort-by.d.ts +24 -0
- package/lib/model/crypto-analysis-result-sort-by.js +35 -0
- package/lib/model/crypto-analysis-result-sort-by.js.map +1 -0
- package/lib/model/crypto-analysis-result-summary.d.ts +93 -0
- package/lib/model/crypto-analysis-result-summary.js +29 -0
- package/lib/model/crypto-analysis-result-summary.js.map +1 -0
- package/lib/model/crypto-analysis-result.d.ts +93 -0
- package/lib/model/crypto-analysis-result.js +29 -0
- package/lib/model/crypto-analysis-result.js.map +1 -0
- package/lib/model/crypto-event-analysis.d.ts +27 -0
- package/lib/model/crypto-event-analysis.js +57 -0
- package/lib/model/crypto-event-analysis.js.map +1 -0
- package/lib/model/deployed-application-sort-by.d.ts +28 -0
- package/lib/model/deployed-application-sort-by.js +39 -0
- package/lib/model/deployed-application-sort-by.js.map +1 -0
- package/lib/model/deployed-application-usage-collection.d.ts +28 -0
- package/lib/model/deployed-application-usage-collection.js +61 -0
- package/lib/model/deployed-application-usage-collection.js.map +1 -0
- package/lib/model/deployed-application-usage.d.ts +76 -0
- package/lib/model/deployed-application-usage.js +29 -0
- package/lib/model/deployed-application-usage.js.map +1 -0
- package/lib/model/fleet-advanced-feature-configuration.d.ts +39 -0
- package/lib/model/fleet-advanced-feature-configuration.js +71 -0
- package/lib/model/fleet-advanced-feature-configuration.js.map +1 -0
- package/lib/model/fleet-agent-configuration.d.ts +10 -0
- package/lib/model/fleet-agent-configuration.js.map +1 -1
- package/lib/model/fleet-summary.d.ts +8 -1
- package/lib/model/fleet-summary.js.map +1 -1
- package/lib/model/fleet.d.ts +8 -1
- package/lib/model/fleet.js.map +1 -1
- package/lib/model/index.d.ts +70 -0
- package/lib/model/index.js +73 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/java-family-collection.d.ts +4 -2
- package/lib/model/java-family-collection.js.map +1 -1
- package/lib/model/java-family-summary.d.ts +2 -0
- package/lib/model/java-family-summary.js.map +1 -1
- package/lib/model/java-family.d.ts +2 -1
- package/lib/model/java-family.js.map +1 -1
- package/lib/model/java-release-collection.d.ts +1 -1
- package/lib/model/java-release-summary.d.ts +14 -0
- package/lib/model/java-release-summary.js +11 -0
- package/lib/model/java-release-summary.js.map +1 -1
- package/lib/model/java-release.d.ts +15 -1
- package/lib/model/java-release.js +11 -0
- package/lib/model/java-release.js.map +1 -1
- package/lib/model/java-server-instance-sort-by.d.ts +27 -0
- package/lib/model/java-server-instance-sort-by.js +38 -0
- package/lib/model/java-server-instance-sort-by.js.map +1 -0
- package/lib/model/java-server-instance-usage-collection.d.ts +28 -0
- package/lib/model/java-server-instance-usage-collection.js +61 -0
- package/lib/model/java-server-instance-usage-collection.js.map +1 -0
- package/lib/model/java-server-instance-usage.d.ts +116 -0
- package/lib/model/java-server-instance-usage.js +29 -0
- package/lib/model/java-server-instance-usage.js.map +1 -0
- package/lib/model/java-server-sort-by.d.ts +28 -0
- package/lib/model/java-server-sort-by.js +39 -0
- package/lib/model/java-server-sort-by.js.map +1 -0
- package/lib/model/java-server-usage-collection.d.ts +28 -0
- package/lib/model/java-server-usage-collection.js +61 -0
- package/lib/model/java-server-usage-collection.js.map +1 -0
- package/lib/model/java-server-usage.d.ts +76 -0
- package/lib/model/java-server-usage.js +29 -0
- package/lib/model/java-server-usage.js.map +1 -0
- package/lib/model/jfr-attachment-target.d.ts +36 -0
- package/lib/model/jfr-attachment-target.js +29 -0
- package/lib/model/jfr-attachment-target.js.map +1 -0
- package/lib/model/jfr-recording.d.ts +25 -0
- package/lib/model/jfr-recording.js +29 -0
- package/lib/model/jfr-recording.js.map +1 -0
- package/lib/model/key-size-algorithm.d.ts +32 -0
- package/lib/model/key-size-algorithm.js +29 -0
- package/lib/model/key-size-algorithm.js.map +1 -0
- package/lib/model/lcm.d.ts +27 -0
- package/lib/model/lcm.js +57 -0
- package/lib/model/lcm.js.map +1 -0
- package/lib/model/library-sort-by.d.ts +31 -0
- package/lib/model/library-sort-by.js +42 -0
- package/lib/model/library-sort-by.js.map +1 -0
- package/lib/model/library-usage-collection.d.ts +28 -0
- package/lib/model/library-usage-collection.js +61 -0
- package/lib/model/library-usage-collection.js.map +1 -0
- package/lib/model/library-usage.d.ts +91 -0
- package/lib/model/library-usage.js +29 -0
- package/lib/model/library-usage.js.map +1 -0
- package/lib/model/minimum-key-size-settings.d.ts +47 -0
- package/lib/model/minimum-key-size-settings.js +81 -0
- package/lib/model/minimum-key-size-settings.js.map +1 -0
- package/lib/model/new-installation-site.d.ts +5 -0
- package/lib/model/new-installation-site.js.map +1 -1
- package/lib/model/operation-type.d.ts +4 -0
- package/lib/model/operation-type.js +4 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/post-installation-action-settings.d.ts +37 -0
- package/lib/model/post-installation-action-settings.js +67 -0
- package/lib/model/post-installation-action-settings.js.map +1 -0
- package/lib/model/post-installation-actions.d.ts +27 -0
- package/lib/model/post-installation-actions.js +38 -0
- package/lib/model/post-installation-actions.js.map +1 -0
- package/lib/model/request-crypto-analyses-details.d.ts +32 -0
- package/lib/model/request-crypto-analyses-details.js +61 -0
- package/lib/model/request-crypto-analyses-details.js.map +1 -0
- package/lib/model/request-jfr-recordings-details.d.ts +52 -0
- package/lib/model/request-jfr-recordings-details.js +61 -0
- package/lib/model/request-jfr-recordings-details.js.map +1 -0
- package/lib/model/scan-java-server-usage-details.d.ts +25 -0
- package/lib/model/scan-java-server-usage-details.js +29 -0
- package/lib/model/scan-java-server-usage-details.js.map +1 -0
- package/lib/model/scan-library-usage-details.d.ts +27 -0
- package/lib/model/scan-library-usage-details.js +29 -0
- package/lib/model/scan-library-usage-details.js.map +1 -0
- package/lib/model/summarized-events-log.d.ts +30 -0
- package/lib/model/summarized-events-log.js +29 -0
- package/lib/model/summarized-events-log.js.map +1 -0
- package/lib/model/tls-versions.d.ts +28 -0
- package/lib/model/tls-versions.js +39 -0
- package/lib/model/tls-versions.js.map +1 -0
- package/lib/model/update-fleet-advanced-feature-configuration-details.d.ts +36 -0
- package/lib/model/update-fleet-advanced-feature-configuration-details.js +71 -0
- package/lib/model/update-fleet-advanced-feature-configuration-details.js.map +1 -0
- package/lib/model/update-fleet-agent-configuration-details.d.ts +10 -0
- package/lib/model/update-fleet-agent-configuration-details.js.map +1 -1
- package/lib/model/update-fleet-details.d.ts +2 -1
- package/lib/model/update-fleet-details.js.map +1 -1
- package/lib/request/add-fleet-installation-sites-request.d.ts +1 -1
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-fleet-compartment-request.d.ts +1 -1
- package/lib/request/create-blocklist-request.d.ts +1 -1
- package/lib/request/create-fleet-request.d.ts +1 -1
- package/lib/request/delete-blocklist-request.d.ts +1 -1
- package/lib/request/delete-crypto-analysis-result-request.d.ts +39 -0
- package/lib/request/delete-crypto-analysis-result-request.js +15 -0
- package/lib/request/delete-crypto-analysis-result-request.js.map +1 -0
- package/lib/request/delete-fleet-request.d.ts +1 -1
- package/lib/request/generate-agent-deploy-script-request.d.ts +1 -1
- package/lib/request/get-crypto-analysis-result-request.d.ts +30 -0
- package/lib/request/get-crypto-analysis-result-request.js +15 -0
- package/lib/request/get-crypto-analysis-result-request.js.map +1 -0
- package/lib/request/get-fleet-advanced-feature-configuration-request.d.ts +35 -0
- package/lib/request/get-fleet-advanced-feature-configuration-request.js +15 -0
- package/lib/request/get-fleet-advanced-feature-configuration-request.js.map +1 -0
- package/lib/request/get-fleet-agent-configuration-request.d.ts +1 -1
- package/lib/request/get-fleet-request.d.ts +1 -1
- package/lib/request/get-java-family-request.d.ts +1 -1
- package/lib/request/get-java-release-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +26 -0
- package/lib/request/list-blocklists-request.d.ts +1 -1
- package/lib/request/list-crypto-analysis-results-request.d.ts +63 -0
- package/lib/request/list-crypto-analysis-results-request.js +15 -0
- package/lib/request/list-crypto-analysis-results-request.js.map +1 -0
- package/lib/request/list-fleets-request.d.ts +1 -1
- package/lib/request/list-installation-sites-request.d.ts +1 -1
- package/lib/request/list-java-families-request.d.ts +1 -1
- package/lib/request/list-java-releases-request.d.ts +1 -1
- package/lib/request/list-jre-usage-request.d.ts +1 -1
- package/lib/request/list-work-items-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/remove-fleet-installation-sites-request.d.ts +1 -1
- package/lib/request/request-crypto-analyses-request.d.ts +31 -0
- package/lib/request/request-crypto-analyses-request.js +15 -0
- package/lib/request/request-crypto-analyses-request.js.map +1 -0
- package/lib/request/request-jfr-recordings-request.d.ts +31 -0
- package/lib/request/request-jfr-recordings-request.js +15 -0
- package/lib/request/request-jfr-recordings-request.js.map +1 -0
- package/lib/request/scan-java-server-usage-request.d.ts +49 -0
- package/lib/request/scan-java-server-usage-request.js +15 -0
- package/lib/request/scan-java-server-usage-request.js.map +1 -0
- package/lib/request/scan-library-usage-request.d.ts +49 -0
- package/lib/request/scan-library-usage-request.js +15 -0
- package/lib/request/scan-library-usage-request.js.map +1 -0
- package/lib/request/summarize-application-usage-request.d.ts +6 -1
- package/lib/request/summarize-deployed-application-usage-request.d.ts +87 -0
- package/lib/request/summarize-deployed-application-usage-request.js +15 -0
- package/lib/request/summarize-deployed-application-usage-request.js.map +1 -0
- package/lib/request/summarize-installation-usage-request.d.ts +1 -1
- package/lib/request/summarize-java-server-instance-usage-request.d.ts +87 -0
- package/lib/request/summarize-java-server-instance-usage-request.js +15 -0
- package/lib/request/summarize-java-server-instance-usage-request.js.map +1 -0
- package/lib/request/summarize-java-server-usage-request.d.ts +73 -0
- package/lib/request/summarize-java-server-usage-request.js +15 -0
- package/lib/request/summarize-java-server-usage-request.js.map +1 -0
- package/lib/request/summarize-jre-usage-request.d.ts +5 -1
- package/lib/request/summarize-library-usage-request.d.ts +82 -0
- package/lib/request/summarize-library-usage-request.js +15 -0
- package/lib/request/summarize-library-usage-request.js.map +1 -0
- package/lib/request/summarize-managed-instance-usage-request.d.ts +6 -1
- package/lib/request/summarize-resource-inventory-request.d.ts +1 -1
- package/lib/request/update-fleet-advanced-feature-configuration-request.d.ts +49 -0
- package/lib/request/update-fleet-advanced-feature-configuration-request.js +15 -0
- package/lib/request/update-fleet-advanced-feature-configuration-request.js.map +1 -0
- package/lib/request/update-fleet-agent-configuration-request.d.ts +1 -1
- package/lib/request/update-fleet-request.d.ts +1 -1
- package/lib/response/delete-crypto-analysis-result-response.d.ts +26 -0
- package/lib/response/delete-crypto-analysis-result-response.js +15 -0
- package/lib/response/delete-crypto-analysis-result-response.js.map +1 -0
- package/lib/response/get-crypto-analysis-result-response.d.ts +30 -0
- package/lib/response/get-crypto-analysis-result-response.js +15 -0
- package/lib/response/get-crypto-analysis-result-response.js.map +1 -0
- package/lib/response/get-fleet-advanced-feature-configuration-response.d.ts +30 -0
- package/lib/response/get-fleet-advanced-feature-configuration-response.js +15 -0
- package/lib/response/get-fleet-advanced-feature-configuration-response.js.map +1 -0
- package/lib/response/index.d.ts +26 -0
- package/lib/response/list-crypto-analysis-results-response.d.ts +32 -0
- package/lib/response/list-crypto-analysis-results-response.js +15 -0
- package/lib/response/list-crypto-analysis-results-response.js.map +1 -0
- package/lib/response/request-crypto-analyses-response.d.ts +26 -0
- package/lib/response/request-crypto-analyses-response.js +15 -0
- package/lib/response/request-crypto-analyses-response.js.map +1 -0
- package/lib/response/request-jfr-recordings-response.d.ts +26 -0
- package/lib/response/request-jfr-recordings-response.js +15 -0
- package/lib/response/request-jfr-recordings-response.js.map +1 -0
- package/lib/response/scan-java-server-usage-response.d.ts +26 -0
- package/lib/response/scan-java-server-usage-response.js +15 -0
- package/lib/response/scan-java-server-usage-response.js.map +1 -0
- package/lib/response/scan-library-usage-response.d.ts +26 -0
- package/lib/response/scan-library-usage-response.js +15 -0
- package/lib/response/scan-library-usage-response.js.map +1 -0
- package/lib/response/summarize-deployed-application-usage-response.d.ts +32 -0
- package/lib/response/summarize-deployed-application-usage-response.js +15 -0
- package/lib/response/summarize-deployed-application-usage-response.js.map +1 -0
- package/lib/response/summarize-java-server-instance-usage-response.d.ts +32 -0
- package/lib/response/summarize-java-server-instance-usage-response.js +15 -0
- package/lib/response/summarize-java-server-instance-usage-response.js.map +1 -0
- package/lib/response/summarize-java-server-usage-response.d.ts +32 -0
- package/lib/response/summarize-java-server-usage-response.js +15 -0
- package/lib/response/summarize-java-server-usage-response.js.map +1 -0
- package/lib/response/summarize-library-usage-response.d.ts +32 -0
- package/lib/response/summarize-library-usage-response.js +15 -0
- package/lib/response/summarize-library-usage-response.js.map +1 -0
- package/lib/response/update-fleet-advanced-feature-configuration-response.d.ts +30 -0
- package/lib/response/update-fleet-advanced-feature-configuration-response.js +15 -0
- package/lib/response/update-fleet-advanced-feature-configuration-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -156,7 +156,7 @@ class JavaManagementServiceClient {
|
|
|
156
156
|
* @param AddFleetInstallationSitesRequest
|
|
157
157
|
* @return AddFleetInstallationSitesResponse
|
|
158
158
|
* @throws OciError when an error occurs
|
|
159
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
159
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/AddFleetInstallationSites.ts.html |here} to see how to use AddFleetInstallationSites API.
|
|
160
160
|
*/
|
|
161
161
|
addFleetInstallationSites(addFleetInstallationSitesRequest) {
|
|
162
162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -218,7 +218,7 @@ class JavaManagementServiceClient {
|
|
|
218
218
|
* @param CancelWorkRequestRequest
|
|
219
219
|
* @return CancelWorkRequestResponse
|
|
220
220
|
* @throws OciError when an error occurs
|
|
221
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
221
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
222
222
|
*/
|
|
223
223
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
224
224
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -274,7 +274,7 @@ class JavaManagementServiceClient {
|
|
|
274
274
|
* @param ChangeFleetCompartmentRequest
|
|
275
275
|
* @return ChangeFleetCompartmentResponse
|
|
276
276
|
* @throws OciError when an error occurs
|
|
277
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
277
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/ChangeFleetCompartment.ts.html |here} to see how to use ChangeFleetCompartment API.
|
|
278
278
|
*/
|
|
279
279
|
changeFleetCompartment(changeFleetCompartmentRequest) {
|
|
280
280
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -337,7 +337,7 @@ class JavaManagementServiceClient {
|
|
|
337
337
|
* @param CreateBlocklistRequest
|
|
338
338
|
* @return CreateBlocklistResponse
|
|
339
339
|
* @throws OciError when an error occurs
|
|
340
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
340
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/CreateBlocklist.ts.html |here} to see how to use CreateBlocklist API.
|
|
341
341
|
*/
|
|
342
342
|
createBlocklist(createBlocklistRequest) {
|
|
343
343
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -409,7 +409,7 @@ class JavaManagementServiceClient {
|
|
|
409
409
|
* @param CreateFleetRequest
|
|
410
410
|
* @return CreateFleetResponse
|
|
411
411
|
* @throws OciError when an error occurs
|
|
412
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
412
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/CreateFleet.ts.html |here} to see how to use CreateFleet API.
|
|
413
413
|
*/
|
|
414
414
|
createFleet(createFleetRequest) {
|
|
415
415
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -468,7 +468,7 @@ class JavaManagementServiceClient {
|
|
|
468
468
|
* @param DeleteBlocklistRequest
|
|
469
469
|
* @return DeleteBlocklistResponse
|
|
470
470
|
* @throws OciError when an error occurs
|
|
471
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
471
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/DeleteBlocklist.ts.html |here} to see how to use DeleteBlocklist API.
|
|
472
472
|
*/
|
|
473
473
|
deleteBlocklist(deleteBlocklistRequest) {
|
|
474
474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -518,13 +518,74 @@ class JavaManagementServiceClient {
|
|
|
518
518
|
}
|
|
519
519
|
});
|
|
520
520
|
}
|
|
521
|
+
/**
|
|
522
|
+
* Deletes only the metadata of the Crypto Event Analysis result, but the file remains in the object storage.
|
|
523
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
524
|
+
* @param DeleteCryptoAnalysisResultRequest
|
|
525
|
+
* @return DeleteCryptoAnalysisResultResponse
|
|
526
|
+
* @throws OciError when an error occurs
|
|
527
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/DeleteCryptoAnalysisResult.ts.html |here} to see how to use DeleteCryptoAnalysisResult API.
|
|
528
|
+
*/
|
|
529
|
+
deleteCryptoAnalysisResult(deleteCryptoAnalysisResultRequest) {
|
|
530
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
531
|
+
if (this.logger)
|
|
532
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#deleteCryptoAnalysisResult.");
|
|
533
|
+
const operationName = "deleteCryptoAnalysisResult";
|
|
534
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/CryptoAnalysisResult/DeleteCryptoAnalysisResult";
|
|
535
|
+
const pathParams = {
|
|
536
|
+
"{fleetId}": deleteCryptoAnalysisResultRequest.fleetId,
|
|
537
|
+
"{cryptoAnalysisResultId}": deleteCryptoAnalysisResultRequest.cryptoAnalysisResultId
|
|
538
|
+
};
|
|
539
|
+
const queryParams = {};
|
|
540
|
+
let headerParams = {
|
|
541
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
542
|
+
"if-match": deleteCryptoAnalysisResultRequest.ifMatch,
|
|
543
|
+
"opc-request-id": deleteCryptoAnalysisResultRequest.opcRequestId
|
|
544
|
+
};
|
|
545
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
546
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteCryptoAnalysisResultRequest.retryConfiguration, specRetryConfiguration);
|
|
547
|
+
if (this.logger)
|
|
548
|
+
retrier.logger = this.logger;
|
|
549
|
+
const request = yield oci_common_1.composeRequest({
|
|
550
|
+
baseEndpoint: this._endpoint,
|
|
551
|
+
defaultHeaders: this._defaultHeaders,
|
|
552
|
+
path: "/fleets/{fleetId}/cryptoAnalysisResults/{cryptoAnalysisResultId}",
|
|
553
|
+
method: "DELETE",
|
|
554
|
+
pathParams: pathParams,
|
|
555
|
+
headerParams: headerParams,
|
|
556
|
+
queryParams: queryParams
|
|
557
|
+
});
|
|
558
|
+
try {
|
|
559
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
560
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
561
|
+
responseObject: {},
|
|
562
|
+
responseHeaders: [
|
|
563
|
+
{
|
|
564
|
+
value: response.headers.get("opc-work-request-id"),
|
|
565
|
+
key: "opcWorkRequestId",
|
|
566
|
+
dataType: "string"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
value: response.headers.get("opc-request-id"),
|
|
570
|
+
key: "opcRequestId",
|
|
571
|
+
dataType: "string"
|
|
572
|
+
}
|
|
573
|
+
]
|
|
574
|
+
});
|
|
575
|
+
return sdkResponse;
|
|
576
|
+
}
|
|
577
|
+
catch (err) {
|
|
578
|
+
throw err;
|
|
579
|
+
}
|
|
580
|
+
});
|
|
581
|
+
}
|
|
521
582
|
/**
|
|
522
583
|
* Deletes the Fleet specified by an identifier.
|
|
523
584
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
524
585
|
* @param DeleteFleetRequest
|
|
525
586
|
* @return DeleteFleetResponse
|
|
526
587
|
* @throws OciError when an error occurs
|
|
527
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
588
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/DeleteFleet.ts.html |here} to see how to use DeleteFleet API.
|
|
528
589
|
*/
|
|
529
590
|
deleteFleet(deleteFleetRequest) {
|
|
530
591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -585,7 +646,7 @@ class JavaManagementServiceClient {
|
|
|
585
646
|
* @param GenerateAgentDeployScriptRequest
|
|
586
647
|
* @return GenerateAgentDeployScriptResponse
|
|
587
648
|
* @throws OciError when an error occurs
|
|
588
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
649
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/GenerateAgentDeployScript.ts.html |here} to see how to use GenerateAgentDeployScript API.
|
|
589
650
|
*/
|
|
590
651
|
generateAgentDeployScript(generateAgentDeployScriptRequest) {
|
|
591
652
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -647,13 +708,77 @@ class JavaManagementServiceClient {
|
|
|
647
708
|
}
|
|
648
709
|
});
|
|
649
710
|
}
|
|
711
|
+
/**
|
|
712
|
+
* Retrieve metadata of the Crypto Event Analysis result.
|
|
713
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
714
|
+
* @param GetCryptoAnalysisResultRequest
|
|
715
|
+
* @return GetCryptoAnalysisResultResponse
|
|
716
|
+
* @throws OciError when an error occurs
|
|
717
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/GetCryptoAnalysisResult.ts.html |here} to see how to use GetCryptoAnalysisResult API.
|
|
718
|
+
*/
|
|
719
|
+
getCryptoAnalysisResult(getCryptoAnalysisResultRequest) {
|
|
720
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
721
|
+
if (this.logger)
|
|
722
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#getCryptoAnalysisResult.");
|
|
723
|
+
const operationName = "getCryptoAnalysisResult";
|
|
724
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/CryptoAnalysisResult/GetCryptoAnalysisResult";
|
|
725
|
+
const pathParams = {
|
|
726
|
+
"{fleetId}": getCryptoAnalysisResultRequest.fleetId,
|
|
727
|
+
"{cryptoAnalysisResultId}": getCryptoAnalysisResultRequest.cryptoAnalysisResultId
|
|
728
|
+
};
|
|
729
|
+
const queryParams = {};
|
|
730
|
+
let headerParams = {
|
|
731
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
732
|
+
"opc-request-id": getCryptoAnalysisResultRequest.opcRequestId
|
|
733
|
+
};
|
|
734
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
735
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCryptoAnalysisResultRequest.retryConfiguration, specRetryConfiguration);
|
|
736
|
+
if (this.logger)
|
|
737
|
+
retrier.logger = this.logger;
|
|
738
|
+
const request = yield oci_common_1.composeRequest({
|
|
739
|
+
baseEndpoint: this._endpoint,
|
|
740
|
+
defaultHeaders: this._defaultHeaders,
|
|
741
|
+
path: "/fleets/{fleetId}/cryptoAnalysisResults/{cryptoAnalysisResultId}",
|
|
742
|
+
method: "GET",
|
|
743
|
+
pathParams: pathParams,
|
|
744
|
+
headerParams: headerParams,
|
|
745
|
+
queryParams: queryParams
|
|
746
|
+
});
|
|
747
|
+
try {
|
|
748
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
749
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
750
|
+
responseObject: {},
|
|
751
|
+
body: yield response.json(),
|
|
752
|
+
bodyKey: "cryptoAnalysisResult",
|
|
753
|
+
bodyModel: model.CryptoAnalysisResult,
|
|
754
|
+
type: "model.CryptoAnalysisResult",
|
|
755
|
+
responseHeaders: [
|
|
756
|
+
{
|
|
757
|
+
value: response.headers.get("etag"),
|
|
758
|
+
key: "etag",
|
|
759
|
+
dataType: "string"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
value: response.headers.get("opc-request-id"),
|
|
763
|
+
key: "opcRequestId",
|
|
764
|
+
dataType: "string"
|
|
765
|
+
}
|
|
766
|
+
]
|
|
767
|
+
});
|
|
768
|
+
return sdkResponse;
|
|
769
|
+
}
|
|
770
|
+
catch (err) {
|
|
771
|
+
throw err;
|
|
772
|
+
}
|
|
773
|
+
});
|
|
774
|
+
}
|
|
650
775
|
/**
|
|
651
776
|
* Retrieve a Fleet with the specified identifier.
|
|
652
777
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
653
778
|
* @param GetFleetRequest
|
|
654
779
|
* @return GetFleetResponse
|
|
655
780
|
* @throws OciError when an error occurs
|
|
656
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
781
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/GetFleet.ts.html |here} to see how to use GetFleet API.
|
|
657
782
|
*/
|
|
658
783
|
getFleet(getFleetRequest) {
|
|
659
784
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -710,13 +835,78 @@ class JavaManagementServiceClient {
|
|
|
710
835
|
}
|
|
711
836
|
});
|
|
712
837
|
}
|
|
838
|
+
/**
|
|
839
|
+
* Returns fleet level advanced feature configuration
|
|
840
|
+
*
|
|
841
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
842
|
+
* @param GetFleetAdvancedFeatureConfigurationRequest
|
|
843
|
+
* @return GetFleetAdvancedFeatureConfigurationResponse
|
|
844
|
+
* @throws OciError when an error occurs
|
|
845
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/GetFleetAdvancedFeatureConfiguration.ts.html |here} to see how to use GetFleetAdvancedFeatureConfiguration API.
|
|
846
|
+
*/
|
|
847
|
+
getFleetAdvancedFeatureConfiguration(getFleetAdvancedFeatureConfigurationRequest) {
|
|
848
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
849
|
+
if (this.logger)
|
|
850
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#getFleetAdvancedFeatureConfiguration.");
|
|
851
|
+
const operationName = "getFleetAdvancedFeatureConfiguration";
|
|
852
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/FleetAdvancedFeatureConfiguration/GetFleetAdvancedFeatureConfiguration";
|
|
853
|
+
const pathParams = {
|
|
854
|
+
"{fleetId}": getFleetAdvancedFeatureConfigurationRequest.fleetId
|
|
855
|
+
};
|
|
856
|
+
const queryParams = {};
|
|
857
|
+
let headerParams = {
|
|
858
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
859
|
+
"if-match": getFleetAdvancedFeatureConfigurationRequest.ifMatch,
|
|
860
|
+
"opc-request-id": getFleetAdvancedFeatureConfigurationRequest.opcRequestId
|
|
861
|
+
};
|
|
862
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
863
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFleetAdvancedFeatureConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
864
|
+
if (this.logger)
|
|
865
|
+
retrier.logger = this.logger;
|
|
866
|
+
const request = yield oci_common_1.composeRequest({
|
|
867
|
+
baseEndpoint: this._endpoint,
|
|
868
|
+
defaultHeaders: this._defaultHeaders,
|
|
869
|
+
path: "/fleets/{fleetId}/advancedFeatureConfiguration",
|
|
870
|
+
method: "GET",
|
|
871
|
+
pathParams: pathParams,
|
|
872
|
+
headerParams: headerParams,
|
|
873
|
+
queryParams: queryParams
|
|
874
|
+
});
|
|
875
|
+
try {
|
|
876
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
877
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
878
|
+
responseObject: {},
|
|
879
|
+
body: yield response.json(),
|
|
880
|
+
bodyKey: "fleetAdvancedFeatureConfiguration",
|
|
881
|
+
bodyModel: model.FleetAdvancedFeatureConfiguration,
|
|
882
|
+
type: "model.FleetAdvancedFeatureConfiguration",
|
|
883
|
+
responseHeaders: [
|
|
884
|
+
{
|
|
885
|
+
value: response.headers.get("opc-request-id"),
|
|
886
|
+
key: "opcRequestId",
|
|
887
|
+
dataType: "string"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
value: response.headers.get("etag"),
|
|
891
|
+
key: "etag",
|
|
892
|
+
dataType: "string"
|
|
893
|
+
}
|
|
894
|
+
]
|
|
895
|
+
});
|
|
896
|
+
return sdkResponse;
|
|
897
|
+
}
|
|
898
|
+
catch (err) {
|
|
899
|
+
throw err;
|
|
900
|
+
}
|
|
901
|
+
});
|
|
902
|
+
}
|
|
713
903
|
/**
|
|
714
904
|
* Retrieve a Fleet Agent Configuration for the specified Fleet.
|
|
715
905
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
716
906
|
* @param GetFleetAgentConfigurationRequest
|
|
717
907
|
* @return GetFleetAgentConfigurationResponse
|
|
718
908
|
* @throws OciError when an error occurs
|
|
719
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
909
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/GetFleetAgentConfiguration.ts.html |here} to see how to use GetFleetAgentConfiguration API.
|
|
720
910
|
*/
|
|
721
911
|
getFleetAgentConfiguration(getFleetAgentConfigurationRequest) {
|
|
722
912
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -774,13 +964,13 @@ class JavaManagementServiceClient {
|
|
|
774
964
|
});
|
|
775
965
|
}
|
|
776
966
|
/**
|
|
777
|
-
* Returns
|
|
967
|
+
* Returns metadata associated with a specific Java release family.
|
|
778
968
|
*
|
|
779
969
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
780
970
|
* @param GetJavaFamilyRequest
|
|
781
971
|
* @return GetJavaFamilyResponse
|
|
782
972
|
* @throws OciError when an error occurs
|
|
783
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
973
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/GetJavaFamily.ts.html |here} to see how to use GetJavaFamily API.
|
|
784
974
|
*/
|
|
785
975
|
getJavaFamily(getJavaFamilyRequest) {
|
|
786
976
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -838,7 +1028,7 @@ class JavaManagementServiceClient {
|
|
|
838
1028
|
* @param GetJavaReleaseRequest
|
|
839
1029
|
* @return GetJavaReleaseResponse
|
|
840
1030
|
* @throws OciError when an error occurs
|
|
841
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1031
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/GetJavaRelease.ts.html |here} to see how to use GetJavaRelease API.
|
|
842
1032
|
*/
|
|
843
1033
|
getJavaRelease(getJavaReleaseRequest) {
|
|
844
1034
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -896,7 +1086,7 @@ class JavaManagementServiceClient {
|
|
|
896
1086
|
* @param GetWorkRequestRequest
|
|
897
1087
|
* @return GetWorkRequestResponse
|
|
898
1088
|
* @throws OciError when an error occurs
|
|
899
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1089
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
900
1090
|
*/
|
|
901
1091
|
getWorkRequest(getWorkRequestRequest) {
|
|
902
1092
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -965,7 +1155,7 @@ class JavaManagementServiceClient {
|
|
|
965
1155
|
* @param ListBlocklistsRequest
|
|
966
1156
|
* @return ListBlocklistsResponse
|
|
967
1157
|
* @throws OciError when an error occurs
|
|
968
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1158
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/ListBlocklists.ts.html |here} to see how to use ListBlocklists API.
|
|
969
1159
|
*/
|
|
970
1160
|
listBlocklists(listBlocklistsRequest) {
|
|
971
1161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1029,6 +1219,78 @@ class JavaManagementServiceClient {
|
|
|
1029
1219
|
}
|
|
1030
1220
|
});
|
|
1031
1221
|
}
|
|
1222
|
+
/**
|
|
1223
|
+
* List Crypto Event Analysis results.
|
|
1224
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1225
|
+
* @param ListCryptoAnalysisResultsRequest
|
|
1226
|
+
* @return ListCryptoAnalysisResultsResponse
|
|
1227
|
+
* @throws OciError when an error occurs
|
|
1228
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/ListCryptoAnalysisResults.ts.html |here} to see how to use ListCryptoAnalysisResults API.
|
|
1229
|
+
*/
|
|
1230
|
+
listCryptoAnalysisResults(listCryptoAnalysisResultsRequest) {
|
|
1231
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1232
|
+
if (this.logger)
|
|
1233
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#listCryptoAnalysisResults.");
|
|
1234
|
+
const operationName = "listCryptoAnalysisResults";
|
|
1235
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/CryptoAnalysisResult/ListCryptoAnalysisResults";
|
|
1236
|
+
const pathParams = {
|
|
1237
|
+
"{fleetId}": listCryptoAnalysisResultsRequest.fleetId
|
|
1238
|
+
};
|
|
1239
|
+
const queryParams = {
|
|
1240
|
+
"aggregationMode": listCryptoAnalysisResultsRequest.aggregationMode,
|
|
1241
|
+
"managedInstanceId": listCryptoAnalysisResultsRequest.managedInstanceId,
|
|
1242
|
+
"limit": listCryptoAnalysisResultsRequest.limit,
|
|
1243
|
+
"page": listCryptoAnalysisResultsRequest.page,
|
|
1244
|
+
"sortOrder": listCryptoAnalysisResultsRequest.sortOrder,
|
|
1245
|
+
"sortBy": listCryptoAnalysisResultsRequest.sortBy,
|
|
1246
|
+
"timeStart": listCryptoAnalysisResultsRequest.timeStart,
|
|
1247
|
+
"timeEnd": listCryptoAnalysisResultsRequest.timeEnd
|
|
1248
|
+
};
|
|
1249
|
+
let headerParams = {
|
|
1250
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1251
|
+
"opc-request-id": listCryptoAnalysisResultsRequest.opcRequestId
|
|
1252
|
+
};
|
|
1253
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1254
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCryptoAnalysisResultsRequest.retryConfiguration, specRetryConfiguration);
|
|
1255
|
+
if (this.logger)
|
|
1256
|
+
retrier.logger = this.logger;
|
|
1257
|
+
const request = yield oci_common_1.composeRequest({
|
|
1258
|
+
baseEndpoint: this._endpoint,
|
|
1259
|
+
defaultHeaders: this._defaultHeaders,
|
|
1260
|
+
path: "/fleets/{fleetId}/cryptoAnalysisResults",
|
|
1261
|
+
method: "GET",
|
|
1262
|
+
pathParams: pathParams,
|
|
1263
|
+
headerParams: headerParams,
|
|
1264
|
+
queryParams: queryParams
|
|
1265
|
+
});
|
|
1266
|
+
try {
|
|
1267
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1268
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1269
|
+
responseObject: {},
|
|
1270
|
+
body: yield response.json(),
|
|
1271
|
+
bodyKey: "cryptoAnalysisResultCollection",
|
|
1272
|
+
bodyModel: model.CryptoAnalysisResultCollection,
|
|
1273
|
+
type: "model.CryptoAnalysisResultCollection",
|
|
1274
|
+
responseHeaders: [
|
|
1275
|
+
{
|
|
1276
|
+
value: response.headers.get("opc-request-id"),
|
|
1277
|
+
key: "opcRequestId",
|
|
1278
|
+
dataType: "string"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
value: response.headers.get("opc-next-page"),
|
|
1282
|
+
key: "opcNextPage",
|
|
1283
|
+
dataType: "string"
|
|
1284
|
+
}
|
|
1285
|
+
]
|
|
1286
|
+
});
|
|
1287
|
+
return sdkResponse;
|
|
1288
|
+
}
|
|
1289
|
+
catch (err) {
|
|
1290
|
+
throw err;
|
|
1291
|
+
}
|
|
1292
|
+
});
|
|
1293
|
+
}
|
|
1032
1294
|
/**
|
|
1033
1295
|
* Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId`
|
|
1034
1296
|
* is required unless the query parameter `id` is specified.
|
|
@@ -1037,7 +1299,7 @@ class JavaManagementServiceClient {
|
|
|
1037
1299
|
* @param ListFleetsRequest
|
|
1038
1300
|
* @return ListFleetsResponse
|
|
1039
1301
|
* @throws OciError when an error occurs
|
|
1040
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1302
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/ListFleets.ts.html |here} to see how to use ListFleets API.
|
|
1041
1303
|
*/
|
|
1042
1304
|
listFleets(listFleetsRequest) {
|
|
1043
1305
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1108,7 +1370,7 @@ class JavaManagementServiceClient {
|
|
|
1108
1370
|
* @param ListInstallationSitesRequest
|
|
1109
1371
|
* @return ListInstallationSitesResponse
|
|
1110
1372
|
* @throws OciError when an error occurs
|
|
1111
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1373
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/ListInstallationSites.ts.html |here} to see how to use ListInstallationSites API.
|
|
1112
1374
|
*/
|
|
1113
1375
|
listInstallationSites(listInstallationSitesRequest) {
|
|
1114
1376
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1189,14 +1451,14 @@ class JavaManagementServiceClient {
|
|
|
1189
1451
|
* @param ListJavaFamiliesRequest
|
|
1190
1452
|
* @return ListJavaFamiliesResponse
|
|
1191
1453
|
* @throws OciError when an error occurs
|
|
1192
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1454
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/ListJavaFamilies.ts.html |here} to see how to use ListJavaFamilies API.
|
|
1193
1455
|
*/
|
|
1194
1456
|
listJavaFamilies(listJavaFamiliesRequest) {
|
|
1195
1457
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1196
1458
|
if (this.logger)
|
|
1197
1459
|
this.logger.debug("Calling operation JavaManagementServiceClient#listJavaFamilies.");
|
|
1198
1460
|
const operationName = "listJavaFamilies";
|
|
1199
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/
|
|
1461
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/JavaFamily/ListJavaFamilies";
|
|
1200
1462
|
const pathParams = {};
|
|
1201
1463
|
const queryParams = {
|
|
1202
1464
|
"familyVersion": listJavaFamiliesRequest.familyVersion,
|
|
@@ -1258,7 +1520,7 @@ class JavaManagementServiceClient {
|
|
|
1258
1520
|
* @param ListJavaReleasesRequest
|
|
1259
1521
|
* @return ListJavaReleasesResponse
|
|
1260
1522
|
* @throws OciError when an error occurs
|
|
1261
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1523
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/ListJavaReleases.ts.html |here} to see how to use ListJavaReleases API.
|
|
1262
1524
|
*/
|
|
1263
1525
|
listJavaReleases(listJavaReleasesRequest) {
|
|
1264
1526
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1329,7 +1591,7 @@ class JavaManagementServiceClient {
|
|
|
1329
1591
|
* @param ListJreUsageRequest
|
|
1330
1592
|
* @return ListJreUsageResponse
|
|
1331
1593
|
* @throws OciError when an error occurs
|
|
1332
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1594
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/ListJreUsage.ts.html |here} to see how to use ListJreUsage API.
|
|
1333
1595
|
*/
|
|
1334
1596
|
listJreUsage(listJreUsageRequest) {
|
|
1335
1597
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1402,7 +1664,7 @@ class JavaManagementServiceClient {
|
|
|
1402
1664
|
* @param ListWorkItemsRequest
|
|
1403
1665
|
* @return ListWorkItemsResponse
|
|
1404
1666
|
* @throws OciError when an error occurs
|
|
1405
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1667
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/ListWorkItems.ts.html |here} to see how to use ListWorkItems API.
|
|
1406
1668
|
*/
|
|
1407
1669
|
listWorkItems(listWorkItemsRequest) {
|
|
1408
1670
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1469,7 +1731,7 @@ class JavaManagementServiceClient {
|
|
|
1469
1731
|
* @param ListWorkRequestErrorsRequest
|
|
1470
1732
|
* @return ListWorkRequestErrorsResponse
|
|
1471
1733
|
* @throws OciError when an error occurs
|
|
1472
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1734
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1473
1735
|
*/
|
|
1474
1736
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1475
1737
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1536,7 +1798,7 @@ class JavaManagementServiceClient {
|
|
|
1536
1798
|
* @param ListWorkRequestLogsRequest
|
|
1537
1799
|
* @return ListWorkRequestLogsResponse
|
|
1538
1800
|
* @throws OciError when an error occurs
|
|
1539
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1801
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1540
1802
|
*/
|
|
1541
1803
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1542
1804
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1603,7 +1865,7 @@ class JavaManagementServiceClient {
|
|
|
1603
1865
|
* @param ListWorkRequestsRequest
|
|
1604
1866
|
* @return ListWorkRequestsResponse
|
|
1605
1867
|
* @throws OciError when an error occurs
|
|
1606
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1868
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1607
1869
|
*/
|
|
1608
1870
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1609
1871
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1670,7 +1932,7 @@ class JavaManagementServiceClient {
|
|
|
1670
1932
|
* @param RemoveFleetInstallationSitesRequest
|
|
1671
1933
|
* @return RemoveFleetInstallationSitesResponse
|
|
1672
1934
|
* @throws OciError when an error occurs
|
|
1673
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1935
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/RemoveFleetInstallationSites.ts.html |here} to see how to use RemoveFleetInstallationSites API.
|
|
1674
1936
|
*/
|
|
1675
1937
|
removeFleetInstallationSites(removeFleetInstallationSitesRequest) {
|
|
1676
1938
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1727,54 +1989,39 @@ class JavaManagementServiceClient {
|
|
|
1727
1989
|
});
|
|
1728
1990
|
}
|
|
1729
1991
|
/**
|
|
1730
|
-
*
|
|
1992
|
+
* Request to perform crypto analyses. The result of crypto analysis will be uploaded to the
|
|
1993
|
+
* object storage bucket desiginated when enable Crypto Event Analysis feature.
|
|
1994
|
+
*
|
|
1731
1995
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1732
|
-
* @param
|
|
1733
|
-
* @return
|
|
1996
|
+
* @param RequestCryptoAnalysesRequest
|
|
1997
|
+
* @return RequestCryptoAnalysesResponse
|
|
1734
1998
|
* @throws OciError when an error occurs
|
|
1735
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1999
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/RequestCryptoAnalyses.ts.html |here} to see how to use RequestCryptoAnalyses API.
|
|
1736
2000
|
*/
|
|
1737
|
-
|
|
2001
|
+
requestCryptoAnalyses(requestCryptoAnalysesRequest) {
|
|
1738
2002
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1739
2003
|
if (this.logger)
|
|
1740
|
-
this.logger.debug("Calling operation JavaManagementServiceClient#
|
|
1741
|
-
const operationName = "
|
|
1742
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/
|
|
2004
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#requestCryptoAnalyses.");
|
|
2005
|
+
const operationName = "requestCryptoAnalyses";
|
|
2006
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/Fleet/RequestCryptoAnalyses";
|
|
1743
2007
|
const pathParams = {
|
|
1744
|
-
"{fleetId}":
|
|
1745
|
-
};
|
|
1746
|
-
const queryParams = {
|
|
1747
|
-
"applicationId": summarizeApplicationUsageRequest.applicationId,
|
|
1748
|
-
"displayName": summarizeApplicationUsageRequest.displayName,
|
|
1749
|
-
"applicationType": summarizeApplicationUsageRequest.applicationType,
|
|
1750
|
-
"jreVendor": summarizeApplicationUsageRequest.jreVendor,
|
|
1751
|
-
"jreDistribution": summarizeApplicationUsageRequest.jreDistribution,
|
|
1752
|
-
"jreVersion": summarizeApplicationUsageRequest.jreVersion,
|
|
1753
|
-
"installationPath": summarizeApplicationUsageRequest.installationPath,
|
|
1754
|
-
"managedInstanceId": summarizeApplicationUsageRequest.managedInstanceId,
|
|
1755
|
-
"fields": summarizeApplicationUsageRequest.fields,
|
|
1756
|
-
"timeStart": summarizeApplicationUsageRequest.timeStart,
|
|
1757
|
-
"timeEnd": summarizeApplicationUsageRequest.timeEnd,
|
|
1758
|
-
"limit": summarizeApplicationUsageRequest.limit,
|
|
1759
|
-
"page": summarizeApplicationUsageRequest.page,
|
|
1760
|
-
"sortOrder": summarizeApplicationUsageRequest.sortOrder,
|
|
1761
|
-
"sortBy": summarizeApplicationUsageRequest.sortBy,
|
|
1762
|
-
"osFamily": summarizeApplicationUsageRequest.osFamily,
|
|
1763
|
-
"displayNameContains": summarizeApplicationUsageRequest.displayNameContains
|
|
2008
|
+
"{fleetId}": requestCryptoAnalysesRequest.fleetId
|
|
1764
2009
|
};
|
|
2010
|
+
const queryParams = {};
|
|
1765
2011
|
let headerParams = {
|
|
1766
2012
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1767
|
-
"opc-request-id":
|
|
2013
|
+
"opc-request-id": requestCryptoAnalysesRequest.opcRequestId
|
|
1768
2014
|
};
|
|
1769
2015
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1770
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2016
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, requestCryptoAnalysesRequest.retryConfiguration, specRetryConfiguration);
|
|
1771
2017
|
if (this.logger)
|
|
1772
2018
|
retrier.logger = this.logger;
|
|
1773
2019
|
const request = yield oci_common_1.composeRequest({
|
|
1774
2020
|
baseEndpoint: this._endpoint,
|
|
1775
2021
|
defaultHeaders: this._defaultHeaders,
|
|
1776
|
-
path: "/fleets/{fleetId}/actions/
|
|
1777
|
-
method: "
|
|
2022
|
+
path: "/fleets/{fleetId}/actions/requestCryptoAnalyses",
|
|
2023
|
+
method: "POST",
|
|
2024
|
+
bodyContent: common.ObjectSerializer.serialize(requestCryptoAnalysesRequest.requestCryptoAnalysesDetails, "RequestCryptoAnalysesDetails", model.RequestCryptoAnalysesDetails.getJsonObj),
|
|
1778
2025
|
pathParams: pathParams,
|
|
1779
2026
|
headerParams: headerParams,
|
|
1780
2027
|
queryParams: queryParams
|
|
@@ -1783,19 +2030,15 @@ class JavaManagementServiceClient {
|
|
|
1783
2030
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1784
2031
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1785
2032
|
responseObject: {},
|
|
1786
|
-
body: yield response.json(),
|
|
1787
|
-
bodyKey: "applicationUsageCollection",
|
|
1788
|
-
bodyModel: model.ApplicationUsageCollection,
|
|
1789
|
-
type: "model.ApplicationUsageCollection",
|
|
1790
2033
|
responseHeaders: [
|
|
1791
2034
|
{
|
|
1792
|
-
value: response.headers.get("opc-request-id"),
|
|
1793
|
-
key: "
|
|
2035
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2036
|
+
key: "opcWorkRequestId",
|
|
1794
2037
|
dataType: "string"
|
|
1795
2038
|
},
|
|
1796
2039
|
{
|
|
1797
|
-
value: response.headers.get("opc-
|
|
1798
|
-
key: "
|
|
2040
|
+
value: response.headers.get("opc-request-id"),
|
|
2041
|
+
key: "opcRequestId",
|
|
1799
2042
|
dataType: "string"
|
|
1800
2043
|
}
|
|
1801
2044
|
]
|
|
@@ -1808,31 +2051,377 @@ class JavaManagementServiceClient {
|
|
|
1808
2051
|
});
|
|
1809
2052
|
}
|
|
1810
2053
|
/**
|
|
1811
|
-
*
|
|
2054
|
+
* Request to collect the JFR recordings on the selected target. The JFR files are uploaded
|
|
2055
|
+
* to the object storage bucket that you designated when you enabled the recording feature.
|
|
2056
|
+
*
|
|
1812
2057
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1813
|
-
* @param
|
|
1814
|
-
* @return
|
|
2058
|
+
* @param RequestJfrRecordingsRequest
|
|
2059
|
+
* @return RequestJfrRecordingsResponse
|
|
1815
2060
|
* @throws OciError when an error occurs
|
|
1816
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2061
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/RequestJfrRecordings.ts.html |here} to see how to use RequestJfrRecordings API.
|
|
1817
2062
|
*/
|
|
1818
|
-
|
|
2063
|
+
requestJfrRecordings(requestJfrRecordingsRequest) {
|
|
1819
2064
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1820
2065
|
if (this.logger)
|
|
1821
|
-
this.logger.debug("Calling operation JavaManagementServiceClient#
|
|
1822
|
-
const operationName = "
|
|
1823
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/
|
|
2066
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#requestJfrRecordings.");
|
|
2067
|
+
const operationName = "requestJfrRecordings";
|
|
2068
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/Fleet/RequestJfrRecordings";
|
|
1824
2069
|
const pathParams = {
|
|
1825
|
-
"{fleetId}":
|
|
2070
|
+
"{fleetId}": requestJfrRecordingsRequest.fleetId
|
|
1826
2071
|
};
|
|
1827
|
-
const queryParams = {
|
|
1828
|
-
|
|
1829
|
-
"
|
|
1830
|
-
"
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
2072
|
+
const queryParams = {};
|
|
2073
|
+
let headerParams = {
|
|
2074
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2075
|
+
"opc-request-id": requestJfrRecordingsRequest.opcRequestId
|
|
2076
|
+
};
|
|
2077
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2078
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, requestJfrRecordingsRequest.retryConfiguration, specRetryConfiguration);
|
|
2079
|
+
if (this.logger)
|
|
2080
|
+
retrier.logger = this.logger;
|
|
2081
|
+
const request = yield oci_common_1.composeRequest({
|
|
2082
|
+
baseEndpoint: this._endpoint,
|
|
2083
|
+
defaultHeaders: this._defaultHeaders,
|
|
2084
|
+
path: "/fleets/{fleetId}/actions/requestJfrRecordings",
|
|
2085
|
+
method: "POST",
|
|
2086
|
+
bodyContent: common.ObjectSerializer.serialize(requestJfrRecordingsRequest.requestJfrRecordingsDetails, "RequestJfrRecordingsDetails", model.RequestJfrRecordingsDetails.getJsonObj),
|
|
2087
|
+
pathParams: pathParams,
|
|
2088
|
+
headerParams: headerParams,
|
|
2089
|
+
queryParams: queryParams
|
|
2090
|
+
});
|
|
2091
|
+
try {
|
|
2092
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2093
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2094
|
+
responseObject: {},
|
|
2095
|
+
responseHeaders: [
|
|
2096
|
+
{
|
|
2097
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2098
|
+
key: "opcWorkRequestId",
|
|
2099
|
+
dataType: "string"
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
value: response.headers.get("opc-request-id"),
|
|
2103
|
+
key: "opcRequestId",
|
|
2104
|
+
dataType: "string"
|
|
2105
|
+
}
|
|
2106
|
+
]
|
|
2107
|
+
});
|
|
2108
|
+
return sdkResponse;
|
|
2109
|
+
}
|
|
2110
|
+
catch (err) {
|
|
2111
|
+
throw err;
|
|
2112
|
+
}
|
|
2113
|
+
});
|
|
2114
|
+
}
|
|
2115
|
+
/**
|
|
2116
|
+
* Scan Java server usage in a fleet.
|
|
2117
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2118
|
+
* @param ScanJavaServerUsageRequest
|
|
2119
|
+
* @return ScanJavaServerUsageResponse
|
|
2120
|
+
* @throws OciError when an error occurs
|
|
2121
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/ScanJavaServerUsage.ts.html |here} to see how to use ScanJavaServerUsage API.
|
|
2122
|
+
*/
|
|
2123
|
+
scanJavaServerUsage(scanJavaServerUsageRequest) {
|
|
2124
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2125
|
+
if (this.logger)
|
|
2126
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#scanJavaServerUsage.");
|
|
2127
|
+
const operationName = "scanJavaServerUsage";
|
|
2128
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/JavaServerUsage/ScanJavaServerUsage";
|
|
2129
|
+
const pathParams = {
|
|
2130
|
+
"{fleetId}": scanJavaServerUsageRequest.fleetId
|
|
2131
|
+
};
|
|
2132
|
+
const queryParams = {};
|
|
2133
|
+
let headerParams = {
|
|
2134
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2135
|
+
"if-match": scanJavaServerUsageRequest.ifMatch,
|
|
2136
|
+
"opc-retry-token": scanJavaServerUsageRequest.opcRetryToken,
|
|
2137
|
+
"opc-request-id": scanJavaServerUsageRequest.opcRequestId
|
|
2138
|
+
};
|
|
2139
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2140
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scanJavaServerUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
2141
|
+
if (this.logger)
|
|
2142
|
+
retrier.logger = this.logger;
|
|
2143
|
+
const request = yield oci_common_1.composeRequest({
|
|
2144
|
+
baseEndpoint: this._endpoint,
|
|
2145
|
+
defaultHeaders: this._defaultHeaders,
|
|
2146
|
+
path: "/fleets/{fleetId}/actions/scanJavaServerUsage",
|
|
2147
|
+
method: "POST",
|
|
2148
|
+
bodyContent: common.ObjectSerializer.serialize(scanJavaServerUsageRequest.scanJavaServerUsageDetails, "ScanJavaServerUsageDetails", model.ScanJavaServerUsageDetails.getJsonObj),
|
|
2149
|
+
pathParams: pathParams,
|
|
2150
|
+
headerParams: headerParams,
|
|
2151
|
+
queryParams: queryParams
|
|
2152
|
+
});
|
|
2153
|
+
try {
|
|
2154
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2155
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2156
|
+
responseObject: {},
|
|
2157
|
+
responseHeaders: [
|
|
2158
|
+
{
|
|
2159
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2160
|
+
key: "opcWorkRequestId",
|
|
2161
|
+
dataType: "string"
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
value: response.headers.get("opc-request-id"),
|
|
2165
|
+
key: "opcRequestId",
|
|
2166
|
+
dataType: "string"
|
|
2167
|
+
}
|
|
2168
|
+
]
|
|
2169
|
+
});
|
|
2170
|
+
return sdkResponse;
|
|
2171
|
+
}
|
|
2172
|
+
catch (err) {
|
|
2173
|
+
throw err;
|
|
2174
|
+
}
|
|
2175
|
+
});
|
|
2176
|
+
}
|
|
2177
|
+
/**
|
|
2178
|
+
* Scan library usage in a fleet.
|
|
2179
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2180
|
+
* @param ScanLibraryUsageRequest
|
|
2181
|
+
* @return ScanLibraryUsageResponse
|
|
2182
|
+
* @throws OciError when an error occurs
|
|
2183
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/ScanLibraryUsage.ts.html |here} to see how to use ScanLibraryUsage API.
|
|
2184
|
+
*/
|
|
2185
|
+
scanLibraryUsage(scanLibraryUsageRequest) {
|
|
2186
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2187
|
+
if (this.logger)
|
|
2188
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#scanLibraryUsage.");
|
|
2189
|
+
const operationName = "scanLibraryUsage";
|
|
2190
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/LibraryUsage/ScanLibraryUsage";
|
|
2191
|
+
const pathParams = {
|
|
2192
|
+
"{fleetId}": scanLibraryUsageRequest.fleetId
|
|
2193
|
+
};
|
|
2194
|
+
const queryParams = {};
|
|
2195
|
+
let headerParams = {
|
|
2196
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2197
|
+
"if-match": scanLibraryUsageRequest.ifMatch,
|
|
2198
|
+
"opc-retry-token": scanLibraryUsageRequest.opcRetryToken,
|
|
2199
|
+
"opc-request-id": scanLibraryUsageRequest.opcRequestId
|
|
2200
|
+
};
|
|
2201
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2202
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scanLibraryUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
2203
|
+
if (this.logger)
|
|
2204
|
+
retrier.logger = this.logger;
|
|
2205
|
+
const request = yield oci_common_1.composeRequest({
|
|
2206
|
+
baseEndpoint: this._endpoint,
|
|
2207
|
+
defaultHeaders: this._defaultHeaders,
|
|
2208
|
+
path: "/fleets/{fleetId}/actions/scanLibraryUsage",
|
|
2209
|
+
method: "POST",
|
|
2210
|
+
bodyContent: common.ObjectSerializer.serialize(scanLibraryUsageRequest.scanLibraryUsageDetails, "ScanLibraryUsageDetails", model.ScanLibraryUsageDetails.getJsonObj),
|
|
2211
|
+
pathParams: pathParams,
|
|
2212
|
+
headerParams: headerParams,
|
|
2213
|
+
queryParams: queryParams
|
|
2214
|
+
});
|
|
2215
|
+
try {
|
|
2216
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2217
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2218
|
+
responseObject: {},
|
|
2219
|
+
responseHeaders: [
|
|
2220
|
+
{
|
|
2221
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2222
|
+
key: "opcWorkRequestId",
|
|
2223
|
+
dataType: "string"
|
|
2224
|
+
},
|
|
2225
|
+
{
|
|
2226
|
+
value: response.headers.get("opc-request-id"),
|
|
2227
|
+
key: "opcRequestId",
|
|
2228
|
+
dataType: "string"
|
|
2229
|
+
}
|
|
2230
|
+
]
|
|
2231
|
+
});
|
|
2232
|
+
return sdkResponse;
|
|
2233
|
+
}
|
|
2234
|
+
catch (err) {
|
|
2235
|
+
throw err;
|
|
2236
|
+
}
|
|
2237
|
+
});
|
|
2238
|
+
}
|
|
2239
|
+
/**
|
|
2240
|
+
* List application usage in a Fleet filtered by query parameters.
|
|
2241
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2242
|
+
* @param SummarizeApplicationUsageRequest
|
|
2243
|
+
* @return SummarizeApplicationUsageResponse
|
|
2244
|
+
* @throws OciError when an error occurs
|
|
2245
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/SummarizeApplicationUsage.ts.html |here} to see how to use SummarizeApplicationUsage API.
|
|
2246
|
+
*/
|
|
2247
|
+
summarizeApplicationUsage(summarizeApplicationUsageRequest) {
|
|
2248
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2249
|
+
if (this.logger)
|
|
2250
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#summarizeApplicationUsage.");
|
|
2251
|
+
const operationName = "summarizeApplicationUsage";
|
|
2252
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/ApplicationUsage/SummarizeApplicationUsage";
|
|
2253
|
+
const pathParams = {
|
|
2254
|
+
"{fleetId}": summarizeApplicationUsageRequest.fleetId
|
|
2255
|
+
};
|
|
2256
|
+
const queryParams = {
|
|
2257
|
+
"applicationId": summarizeApplicationUsageRequest.applicationId,
|
|
2258
|
+
"displayName": summarizeApplicationUsageRequest.displayName,
|
|
2259
|
+
"applicationType": summarizeApplicationUsageRequest.applicationType,
|
|
2260
|
+
"jreVendor": summarizeApplicationUsageRequest.jreVendor,
|
|
2261
|
+
"jreDistribution": summarizeApplicationUsageRequest.jreDistribution,
|
|
2262
|
+
"jreVersion": summarizeApplicationUsageRequest.jreVersion,
|
|
2263
|
+
"installationPath": summarizeApplicationUsageRequest.installationPath,
|
|
2264
|
+
"managedInstanceId": summarizeApplicationUsageRequest.managedInstanceId,
|
|
2265
|
+
"fields": summarizeApplicationUsageRequest.fields,
|
|
2266
|
+
"timeStart": summarizeApplicationUsageRequest.timeStart,
|
|
2267
|
+
"timeEnd": summarizeApplicationUsageRequest.timeEnd,
|
|
2268
|
+
"limit": summarizeApplicationUsageRequest.limit,
|
|
2269
|
+
"page": summarizeApplicationUsageRequest.page,
|
|
2270
|
+
"sortOrder": summarizeApplicationUsageRequest.sortOrder,
|
|
2271
|
+
"sortBy": summarizeApplicationUsageRequest.sortBy,
|
|
2272
|
+
"osFamily": summarizeApplicationUsageRequest.osFamily,
|
|
2273
|
+
"displayNameContains": summarizeApplicationUsageRequest.displayNameContains,
|
|
2274
|
+
"libraryKey": summarizeApplicationUsageRequest.libraryKey
|
|
2275
|
+
};
|
|
2276
|
+
let headerParams = {
|
|
2277
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2278
|
+
"opc-request-id": summarizeApplicationUsageRequest.opcRequestId
|
|
2279
|
+
};
|
|
2280
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2281
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeApplicationUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
2282
|
+
if (this.logger)
|
|
2283
|
+
retrier.logger = this.logger;
|
|
2284
|
+
const request = yield oci_common_1.composeRequest({
|
|
2285
|
+
baseEndpoint: this._endpoint,
|
|
2286
|
+
defaultHeaders: this._defaultHeaders,
|
|
2287
|
+
path: "/fleets/{fleetId}/actions/summarizeApplicationUsage",
|
|
2288
|
+
method: "GET",
|
|
2289
|
+
pathParams: pathParams,
|
|
2290
|
+
headerParams: headerParams,
|
|
2291
|
+
queryParams: queryParams
|
|
2292
|
+
});
|
|
2293
|
+
try {
|
|
2294
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2295
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2296
|
+
responseObject: {},
|
|
2297
|
+
body: yield response.json(),
|
|
2298
|
+
bodyKey: "applicationUsageCollection",
|
|
2299
|
+
bodyModel: model.ApplicationUsageCollection,
|
|
2300
|
+
type: "model.ApplicationUsageCollection",
|
|
2301
|
+
responseHeaders: [
|
|
2302
|
+
{
|
|
2303
|
+
value: response.headers.get("opc-request-id"),
|
|
2304
|
+
key: "opcRequestId",
|
|
2305
|
+
dataType: "string"
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
value: response.headers.get("opc-next-page"),
|
|
2309
|
+
key: "opcNextPage",
|
|
2310
|
+
dataType: "string"
|
|
2311
|
+
}
|
|
2312
|
+
]
|
|
2313
|
+
});
|
|
2314
|
+
return sdkResponse;
|
|
2315
|
+
}
|
|
2316
|
+
catch (err) {
|
|
2317
|
+
throw err;
|
|
2318
|
+
}
|
|
2319
|
+
});
|
|
2320
|
+
}
|
|
2321
|
+
/**
|
|
2322
|
+
* List deployed applications in a fleet filtered by query parameters.
|
|
2323
|
+
*
|
|
2324
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2325
|
+
* @param SummarizeDeployedApplicationUsageRequest
|
|
2326
|
+
* @return SummarizeDeployedApplicationUsageResponse
|
|
2327
|
+
* @throws OciError when an error occurs
|
|
2328
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/SummarizeDeployedApplicationUsage.ts.html |here} to see how to use SummarizeDeployedApplicationUsage API.
|
|
2329
|
+
*/
|
|
2330
|
+
summarizeDeployedApplicationUsage(summarizeDeployedApplicationUsageRequest) {
|
|
2331
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2332
|
+
if (this.logger)
|
|
2333
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#summarizeDeployedApplicationUsage.");
|
|
2334
|
+
const operationName = "summarizeDeployedApplicationUsage";
|
|
2335
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/DeployedApplicationUsage/SummarizeDeployedApplicationUsage";
|
|
2336
|
+
const pathParams = {
|
|
2337
|
+
"{fleetId}": summarizeDeployedApplicationUsageRequest.fleetId
|
|
2338
|
+
};
|
|
2339
|
+
const queryParams = {
|
|
2340
|
+
"serverKey": summarizeDeployedApplicationUsageRequest.serverKey,
|
|
2341
|
+
"serverInstanceKey": summarizeDeployedApplicationUsageRequest.serverInstanceKey,
|
|
2342
|
+
"managedInstanceId": summarizeDeployedApplicationUsageRequest.managedInstanceId,
|
|
2343
|
+
"libraryKey": summarizeDeployedApplicationUsageRequest.libraryKey,
|
|
2344
|
+
"applicationKey": summarizeDeployedApplicationUsageRequest.applicationKey,
|
|
2345
|
+
"applicationNameContains": summarizeDeployedApplicationUsageRequest.applicationNameContains,
|
|
2346
|
+
"applicationName": summarizeDeployedApplicationUsageRequest.applicationName,
|
|
2347
|
+
"timeStart": summarizeDeployedApplicationUsageRequest.timeStart,
|
|
2348
|
+
"timeEnd": summarizeDeployedApplicationUsageRequest.timeEnd,
|
|
2349
|
+
"limit": summarizeDeployedApplicationUsageRequest.limit,
|
|
2350
|
+
"page": summarizeDeployedApplicationUsageRequest.page,
|
|
2351
|
+
"sortOrder": summarizeDeployedApplicationUsageRequest.sortOrder,
|
|
2352
|
+
"sortBy": summarizeDeployedApplicationUsageRequest.sortBy
|
|
2353
|
+
};
|
|
2354
|
+
let headerParams = {
|
|
2355
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2356
|
+
"opc-request-id": summarizeDeployedApplicationUsageRequest.opcRequestId
|
|
2357
|
+
};
|
|
2358
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2359
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeDeployedApplicationUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
2360
|
+
if (this.logger)
|
|
2361
|
+
retrier.logger = this.logger;
|
|
2362
|
+
const request = yield oci_common_1.composeRequest({
|
|
2363
|
+
baseEndpoint: this._endpoint,
|
|
2364
|
+
defaultHeaders: this._defaultHeaders,
|
|
2365
|
+
path: "/fleets/{fleetId}/actions/summarizeDeployedApplicationUsage",
|
|
2366
|
+
method: "GET",
|
|
2367
|
+
pathParams: pathParams,
|
|
2368
|
+
headerParams: headerParams,
|
|
2369
|
+
queryParams: queryParams
|
|
2370
|
+
});
|
|
2371
|
+
try {
|
|
2372
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2373
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2374
|
+
responseObject: {},
|
|
2375
|
+
body: yield response.json(),
|
|
2376
|
+
bodyKey: "deployedApplicationUsageCollection",
|
|
2377
|
+
bodyModel: model.DeployedApplicationUsageCollection,
|
|
2378
|
+
type: "model.DeployedApplicationUsageCollection",
|
|
2379
|
+
responseHeaders: [
|
|
2380
|
+
{
|
|
2381
|
+
value: response.headers.get("opc-request-id"),
|
|
2382
|
+
key: "opcRequestId",
|
|
2383
|
+
dataType: "string"
|
|
2384
|
+
},
|
|
2385
|
+
{
|
|
2386
|
+
value: response.headers.get("opc-next-page"),
|
|
2387
|
+
key: "opcNextPage",
|
|
2388
|
+
dataType: "string"
|
|
2389
|
+
}
|
|
2390
|
+
]
|
|
2391
|
+
});
|
|
2392
|
+
return sdkResponse;
|
|
2393
|
+
}
|
|
2394
|
+
catch (err) {
|
|
2395
|
+
throw err;
|
|
2396
|
+
}
|
|
2397
|
+
});
|
|
2398
|
+
}
|
|
2399
|
+
/**
|
|
2400
|
+
* List Java installation usage in a Fleet filtered by query parameters.
|
|
2401
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2402
|
+
* @param SummarizeInstallationUsageRequest
|
|
2403
|
+
* @return SummarizeInstallationUsageResponse
|
|
2404
|
+
* @throws OciError when an error occurs
|
|
2405
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/SummarizeInstallationUsage.ts.html |here} to see how to use SummarizeInstallationUsage API.
|
|
2406
|
+
*/
|
|
2407
|
+
summarizeInstallationUsage(summarizeInstallationUsageRequest) {
|
|
2408
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2409
|
+
if (this.logger)
|
|
2410
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#summarizeInstallationUsage.");
|
|
2411
|
+
const operationName = "summarizeInstallationUsage";
|
|
2412
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/InstallationUsage/SummarizeInstallationUsage";
|
|
2413
|
+
const pathParams = {
|
|
2414
|
+
"{fleetId}": summarizeInstallationUsageRequest.fleetId
|
|
2415
|
+
};
|
|
2416
|
+
const queryParams = {
|
|
2417
|
+
"jreVendor": summarizeInstallationUsageRequest.jreVendor,
|
|
2418
|
+
"jreDistribution": summarizeInstallationUsageRequest.jreDistribution,
|
|
2419
|
+
"jreVersion": summarizeInstallationUsageRequest.jreVersion,
|
|
2420
|
+
"installationPath": summarizeInstallationUsageRequest.installationPath,
|
|
2421
|
+
"applicationId": summarizeInstallationUsageRequest.applicationId,
|
|
2422
|
+
"managedInstanceId": summarizeInstallationUsageRequest.managedInstanceId,
|
|
2423
|
+
"fields": summarizeInstallationUsageRequest.fields,
|
|
2424
|
+
"timeStart": summarizeInstallationUsageRequest.timeStart,
|
|
1836
2425
|
"timeEnd": summarizeInstallationUsageRequest.timeEnd,
|
|
1837
2426
|
"limit": summarizeInstallationUsageRequest.limit,
|
|
1838
2427
|
"page": summarizeInstallationUsageRequest.page,
|
|
@@ -1886,13 +2475,166 @@ class JavaManagementServiceClient {
|
|
|
1886
2475
|
}
|
|
1887
2476
|
});
|
|
1888
2477
|
}
|
|
2478
|
+
/**
|
|
2479
|
+
* List Java server instances in a fleet filtered by query parameters.
|
|
2480
|
+
*
|
|
2481
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2482
|
+
* @param SummarizeJavaServerInstanceUsageRequest
|
|
2483
|
+
* @return SummarizeJavaServerInstanceUsageResponse
|
|
2484
|
+
* @throws OciError when an error occurs
|
|
2485
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/SummarizeJavaServerInstanceUsage.ts.html |here} to see how to use SummarizeJavaServerInstanceUsage API.
|
|
2486
|
+
*/
|
|
2487
|
+
summarizeJavaServerInstanceUsage(summarizeJavaServerInstanceUsageRequest) {
|
|
2488
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2489
|
+
if (this.logger)
|
|
2490
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#summarizeJavaServerInstanceUsage.");
|
|
2491
|
+
const operationName = "summarizeJavaServerInstanceUsage";
|
|
2492
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/JavaServerInstanceUsage/SummarizeJavaServerInstanceUsage";
|
|
2493
|
+
const pathParams = {
|
|
2494
|
+
"{fleetId}": summarizeJavaServerInstanceUsageRequest.fleetId
|
|
2495
|
+
};
|
|
2496
|
+
const queryParams = {
|
|
2497
|
+
"serverKey": summarizeJavaServerInstanceUsageRequest.serverKey,
|
|
2498
|
+
"serverInstanceKey": summarizeJavaServerInstanceUsageRequest.serverInstanceKey,
|
|
2499
|
+
"managedInstanceId": summarizeJavaServerInstanceUsageRequest.managedInstanceId,
|
|
2500
|
+
"applicationKey": summarizeJavaServerInstanceUsageRequest.applicationKey,
|
|
2501
|
+
"libraryKey": summarizeJavaServerInstanceUsageRequest.libraryKey,
|
|
2502
|
+
"serverInstanceNameContains": summarizeJavaServerInstanceUsageRequest.serverInstanceNameContains,
|
|
2503
|
+
"serverInstanceName": summarizeJavaServerInstanceUsageRequest.serverInstanceName,
|
|
2504
|
+
"timeStart": summarizeJavaServerInstanceUsageRequest.timeStart,
|
|
2505
|
+
"timeEnd": summarizeJavaServerInstanceUsageRequest.timeEnd,
|
|
2506
|
+
"limit": summarizeJavaServerInstanceUsageRequest.limit,
|
|
2507
|
+
"page": summarizeJavaServerInstanceUsageRequest.page,
|
|
2508
|
+
"sortOrder": summarizeJavaServerInstanceUsageRequest.sortOrder,
|
|
2509
|
+
"sortBy": summarizeJavaServerInstanceUsageRequest.sortBy
|
|
2510
|
+
};
|
|
2511
|
+
let headerParams = {
|
|
2512
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2513
|
+
"opc-request-id": summarizeJavaServerInstanceUsageRequest.opcRequestId
|
|
2514
|
+
};
|
|
2515
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2516
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeJavaServerInstanceUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
2517
|
+
if (this.logger)
|
|
2518
|
+
retrier.logger = this.logger;
|
|
2519
|
+
const request = yield oci_common_1.composeRequest({
|
|
2520
|
+
baseEndpoint: this._endpoint,
|
|
2521
|
+
defaultHeaders: this._defaultHeaders,
|
|
2522
|
+
path: "/fleets/{fleetId}/actions/summarizeJavaServerInstanceUsage",
|
|
2523
|
+
method: "GET",
|
|
2524
|
+
pathParams: pathParams,
|
|
2525
|
+
headerParams: headerParams,
|
|
2526
|
+
queryParams: queryParams
|
|
2527
|
+
});
|
|
2528
|
+
try {
|
|
2529
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2530
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2531
|
+
responseObject: {},
|
|
2532
|
+
body: yield response.json(),
|
|
2533
|
+
bodyKey: "javaServerInstanceUsageCollection",
|
|
2534
|
+
bodyModel: model.JavaServerInstanceUsageCollection,
|
|
2535
|
+
type: "model.JavaServerInstanceUsageCollection",
|
|
2536
|
+
responseHeaders: [
|
|
2537
|
+
{
|
|
2538
|
+
value: response.headers.get("opc-request-id"),
|
|
2539
|
+
key: "opcRequestId",
|
|
2540
|
+
dataType: "string"
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
value: response.headers.get("opc-next-page"),
|
|
2544
|
+
key: "opcNextPage",
|
|
2545
|
+
dataType: "string"
|
|
2546
|
+
}
|
|
2547
|
+
]
|
|
2548
|
+
});
|
|
2549
|
+
return sdkResponse;
|
|
2550
|
+
}
|
|
2551
|
+
catch (err) {
|
|
2552
|
+
throw err;
|
|
2553
|
+
}
|
|
2554
|
+
});
|
|
2555
|
+
}
|
|
2556
|
+
/**
|
|
2557
|
+
* List Java servers in a fleet filtered by query parameters.
|
|
2558
|
+
*
|
|
2559
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2560
|
+
* @param SummarizeJavaServerUsageRequest
|
|
2561
|
+
* @return SummarizeJavaServerUsageResponse
|
|
2562
|
+
* @throws OciError when an error occurs
|
|
2563
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/SummarizeJavaServerUsage.ts.html |here} to see how to use SummarizeJavaServerUsage API.
|
|
2564
|
+
*/
|
|
2565
|
+
summarizeJavaServerUsage(summarizeJavaServerUsageRequest) {
|
|
2566
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2567
|
+
if (this.logger)
|
|
2568
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#summarizeJavaServerUsage.");
|
|
2569
|
+
const operationName = "summarizeJavaServerUsage";
|
|
2570
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/JavaServerUsage/SummarizeJavaServerUsage";
|
|
2571
|
+
const pathParams = {
|
|
2572
|
+
"{fleetId}": summarizeJavaServerUsageRequest.fleetId
|
|
2573
|
+
};
|
|
2574
|
+
const queryParams = {
|
|
2575
|
+
"serverKey": summarizeJavaServerUsageRequest.serverKey,
|
|
2576
|
+
"serverNameContains": summarizeJavaServerUsageRequest.serverNameContains,
|
|
2577
|
+
"serverName": summarizeJavaServerUsageRequest.serverName,
|
|
2578
|
+
"serverVersion": summarizeJavaServerUsageRequest.serverVersion,
|
|
2579
|
+
"timeStart": summarizeJavaServerUsageRequest.timeStart,
|
|
2580
|
+
"timeEnd": summarizeJavaServerUsageRequest.timeEnd,
|
|
2581
|
+
"limit": summarizeJavaServerUsageRequest.limit,
|
|
2582
|
+
"page": summarizeJavaServerUsageRequest.page,
|
|
2583
|
+
"sortOrder": summarizeJavaServerUsageRequest.sortOrder,
|
|
2584
|
+
"sortBy": summarizeJavaServerUsageRequest.sortBy
|
|
2585
|
+
};
|
|
2586
|
+
let headerParams = {
|
|
2587
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2588
|
+
"opc-request-id": summarizeJavaServerUsageRequest.opcRequestId
|
|
2589
|
+
};
|
|
2590
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2591
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeJavaServerUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
2592
|
+
if (this.logger)
|
|
2593
|
+
retrier.logger = this.logger;
|
|
2594
|
+
const request = yield oci_common_1.composeRequest({
|
|
2595
|
+
baseEndpoint: this._endpoint,
|
|
2596
|
+
defaultHeaders: this._defaultHeaders,
|
|
2597
|
+
path: "/fleets/{fleetId}/actions/summarizeJavaServerUsage",
|
|
2598
|
+
method: "GET",
|
|
2599
|
+
pathParams: pathParams,
|
|
2600
|
+
headerParams: headerParams,
|
|
2601
|
+
queryParams: queryParams
|
|
2602
|
+
});
|
|
2603
|
+
try {
|
|
2604
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2605
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2606
|
+
responseObject: {},
|
|
2607
|
+
body: yield response.json(),
|
|
2608
|
+
bodyKey: "javaServerUsageCollection",
|
|
2609
|
+
bodyModel: model.JavaServerUsageCollection,
|
|
2610
|
+
type: "model.JavaServerUsageCollection",
|
|
2611
|
+
responseHeaders: [
|
|
2612
|
+
{
|
|
2613
|
+
value: response.headers.get("opc-request-id"),
|
|
2614
|
+
key: "opcRequestId",
|
|
2615
|
+
dataType: "string"
|
|
2616
|
+
},
|
|
2617
|
+
{
|
|
2618
|
+
value: response.headers.get("opc-next-page"),
|
|
2619
|
+
key: "opcNextPage",
|
|
2620
|
+
dataType: "string"
|
|
2621
|
+
}
|
|
2622
|
+
]
|
|
2623
|
+
});
|
|
2624
|
+
return sdkResponse;
|
|
2625
|
+
}
|
|
2626
|
+
catch (err) {
|
|
2627
|
+
throw err;
|
|
2628
|
+
}
|
|
2629
|
+
});
|
|
2630
|
+
}
|
|
1889
2631
|
/**
|
|
1890
2632
|
* List Java Runtime usage in a specified Fleet filtered by query parameters.
|
|
1891
2633
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1892
2634
|
* @param SummarizeJreUsageRequest
|
|
1893
2635
|
* @return SummarizeJreUsageResponse
|
|
1894
2636
|
* @throws OciError when an error occurs
|
|
1895
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2637
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/SummarizeJreUsage.ts.html |here} to see how to use SummarizeJreUsage API.
|
|
1896
2638
|
*/
|
|
1897
2639
|
summarizeJreUsage(summarizeJreUsageRequest) {
|
|
1898
2640
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1904,6 +2646,7 @@ class JavaManagementServiceClient {
|
|
|
1904
2646
|
"{fleetId}": summarizeJreUsageRequest.fleetId
|
|
1905
2647
|
};
|
|
1906
2648
|
const queryParams = {
|
|
2649
|
+
"jreId": summarizeJreUsageRequest.jreId,
|
|
1907
2650
|
"jreVendor": summarizeJreUsageRequest.jreVendor,
|
|
1908
2651
|
"jreDistribution": summarizeJreUsageRequest.jreDistribution,
|
|
1909
2652
|
"jreVersion": summarizeJreUsageRequest.jreVersion,
|
|
@@ -1964,13 +2707,90 @@ class JavaManagementServiceClient {
|
|
|
1964
2707
|
}
|
|
1965
2708
|
});
|
|
1966
2709
|
}
|
|
2710
|
+
/**
|
|
2711
|
+
* List libraries in a fleet filtered by query parameters.
|
|
2712
|
+
*
|
|
2713
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2714
|
+
* @param SummarizeLibraryUsageRequest
|
|
2715
|
+
* @return SummarizeLibraryUsageResponse
|
|
2716
|
+
* @throws OciError when an error occurs
|
|
2717
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/SummarizeLibraryUsage.ts.html |here} to see how to use SummarizeLibraryUsage API.
|
|
2718
|
+
*/
|
|
2719
|
+
summarizeLibraryUsage(summarizeLibraryUsageRequest) {
|
|
2720
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2721
|
+
if (this.logger)
|
|
2722
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#summarizeLibraryUsage.");
|
|
2723
|
+
const operationName = "summarizeLibraryUsage";
|
|
2724
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/LibraryUsage/SummarizeLibraryUsage";
|
|
2725
|
+
const pathParams = {
|
|
2726
|
+
"{fleetId}": summarizeLibraryUsageRequest.fleetId
|
|
2727
|
+
};
|
|
2728
|
+
const queryParams = {
|
|
2729
|
+
"serverInstanceKey": summarizeLibraryUsageRequest.serverInstanceKey,
|
|
2730
|
+
"managedInstanceId": summarizeLibraryUsageRequest.managedInstanceId,
|
|
2731
|
+
"applicationKey": summarizeLibraryUsageRequest.applicationKey,
|
|
2732
|
+
"libraryKey": summarizeLibraryUsageRequest.libraryKey,
|
|
2733
|
+
"libraryNameContains": summarizeLibraryUsageRequest.libraryNameContains,
|
|
2734
|
+
"libraryName": summarizeLibraryUsageRequest.libraryName,
|
|
2735
|
+
"timeStart": summarizeLibraryUsageRequest.timeStart,
|
|
2736
|
+
"timeEnd": summarizeLibraryUsageRequest.timeEnd,
|
|
2737
|
+
"limit": summarizeLibraryUsageRequest.limit,
|
|
2738
|
+
"page": summarizeLibraryUsageRequest.page,
|
|
2739
|
+
"sortOrder": summarizeLibraryUsageRequest.sortOrder,
|
|
2740
|
+
"sortBy": summarizeLibraryUsageRequest.sortBy
|
|
2741
|
+
};
|
|
2742
|
+
let headerParams = {
|
|
2743
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2744
|
+
"opc-request-id": summarizeLibraryUsageRequest.opcRequestId
|
|
2745
|
+
};
|
|
2746
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2747
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeLibraryUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
2748
|
+
if (this.logger)
|
|
2749
|
+
retrier.logger = this.logger;
|
|
2750
|
+
const request = yield oci_common_1.composeRequest({
|
|
2751
|
+
baseEndpoint: this._endpoint,
|
|
2752
|
+
defaultHeaders: this._defaultHeaders,
|
|
2753
|
+
path: "/fleets/{fleetId}/actions/summarizeLibraryUsage",
|
|
2754
|
+
method: "GET",
|
|
2755
|
+
pathParams: pathParams,
|
|
2756
|
+
headerParams: headerParams,
|
|
2757
|
+
queryParams: queryParams
|
|
2758
|
+
});
|
|
2759
|
+
try {
|
|
2760
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2761
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2762
|
+
responseObject: {},
|
|
2763
|
+
body: yield response.json(),
|
|
2764
|
+
bodyKey: "libraryUsageCollection",
|
|
2765
|
+
bodyModel: model.LibraryUsageCollection,
|
|
2766
|
+
type: "model.LibraryUsageCollection",
|
|
2767
|
+
responseHeaders: [
|
|
2768
|
+
{
|
|
2769
|
+
value: response.headers.get("opc-request-id"),
|
|
2770
|
+
key: "opcRequestId",
|
|
2771
|
+
dataType: "string"
|
|
2772
|
+
},
|
|
2773
|
+
{
|
|
2774
|
+
value: response.headers.get("opc-next-page"),
|
|
2775
|
+
key: "opcNextPage",
|
|
2776
|
+
dataType: "string"
|
|
2777
|
+
}
|
|
2778
|
+
]
|
|
2779
|
+
});
|
|
2780
|
+
return sdkResponse;
|
|
2781
|
+
}
|
|
2782
|
+
catch (err) {
|
|
2783
|
+
throw err;
|
|
2784
|
+
}
|
|
2785
|
+
});
|
|
2786
|
+
}
|
|
1967
2787
|
/**
|
|
1968
2788
|
* List managed instance usage in a Fleet filtered by query parameters.
|
|
1969
2789
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1970
2790
|
* @param SummarizeManagedInstanceUsageRequest
|
|
1971
2791
|
* @return SummarizeManagedInstanceUsageResponse
|
|
1972
2792
|
* @throws OciError when an error occurs
|
|
1973
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2793
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/SummarizeManagedInstanceUsage.ts.html |here} to see how to use SummarizeManagedInstanceUsage API.
|
|
1974
2794
|
*/
|
|
1975
2795
|
summarizeManagedInstanceUsage(summarizeManagedInstanceUsageRequest) {
|
|
1976
2796
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1997,7 +2817,8 @@ class JavaManagementServiceClient {
|
|
|
1997
2817
|
"sortOrder": summarizeManagedInstanceUsageRequest.sortOrder,
|
|
1998
2818
|
"sortBy": summarizeManagedInstanceUsageRequest.sortBy,
|
|
1999
2819
|
"osFamily": summarizeManagedInstanceUsageRequest.osFamily,
|
|
2000
|
-
"hostnameContains": summarizeManagedInstanceUsageRequest.hostnameContains
|
|
2820
|
+
"hostnameContains": summarizeManagedInstanceUsageRequest.hostnameContains,
|
|
2821
|
+
"libraryKey": summarizeManagedInstanceUsageRequest.libraryKey
|
|
2001
2822
|
};
|
|
2002
2823
|
let headerParams = {
|
|
2003
2824
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
@@ -2051,7 +2872,7 @@ class JavaManagementServiceClient {
|
|
|
2051
2872
|
* @param SummarizeResourceInventoryRequest
|
|
2052
2873
|
* @return SummarizeResourceInventoryResponse
|
|
2053
2874
|
* @throws OciError when an error occurs
|
|
2054
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2875
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/SummarizeResourceInventory.ts.html |here} to see how to use SummarizeResourceInventory API.
|
|
2055
2876
|
*/
|
|
2056
2877
|
summarizeResourceInventory(summarizeResourceInventoryRequest) {
|
|
2057
2878
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2111,7 +2932,7 @@ class JavaManagementServiceClient {
|
|
|
2111
2932
|
* @param UpdateFleetRequest
|
|
2112
2933
|
* @return UpdateFleetResponse
|
|
2113
2934
|
* @throws OciError when an error occurs
|
|
2114
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2935
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/UpdateFleet.ts.html |here} to see how to use UpdateFleet API.
|
|
2115
2936
|
*/
|
|
2116
2937
|
updateFleet(updateFleetRequest) {
|
|
2117
2938
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2166,13 +2987,81 @@ class JavaManagementServiceClient {
|
|
|
2166
2987
|
}
|
|
2167
2988
|
});
|
|
2168
2989
|
}
|
|
2990
|
+
/**
|
|
2991
|
+
* Update advanced feature configurations for the fleet
|
|
2992
|
+
* Ensure that the namespace and bucket storage are created prior to turning on the JfrRecording or CryptoEventAnalysis feature
|
|
2993
|
+
*
|
|
2994
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2995
|
+
* @param UpdateFleetAdvancedFeatureConfigurationRequest
|
|
2996
|
+
* @return UpdateFleetAdvancedFeatureConfigurationResponse
|
|
2997
|
+
* @throws OciError when an error occurs
|
|
2998
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/UpdateFleetAdvancedFeatureConfiguration.ts.html |here} to see how to use UpdateFleetAdvancedFeatureConfiguration API.
|
|
2999
|
+
*/
|
|
3000
|
+
updateFleetAdvancedFeatureConfiguration(updateFleetAdvancedFeatureConfigurationRequest) {
|
|
3001
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3002
|
+
if (this.logger)
|
|
3003
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#updateFleetAdvancedFeatureConfiguration.");
|
|
3004
|
+
const operationName = "updateFleetAdvancedFeatureConfiguration";
|
|
3005
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/FleetAdvancedFeatureConfiguration/UpdateFleetAdvancedFeatureConfiguration";
|
|
3006
|
+
const pathParams = {
|
|
3007
|
+
"{fleetId}": updateFleetAdvancedFeatureConfigurationRequest.fleetId
|
|
3008
|
+
};
|
|
3009
|
+
const queryParams = {};
|
|
3010
|
+
let headerParams = {
|
|
3011
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3012
|
+
"opc-retry-token": updateFleetAdvancedFeatureConfigurationRequest.opcRetryToken,
|
|
3013
|
+
"if-match": updateFleetAdvancedFeatureConfigurationRequest.ifMatch,
|
|
3014
|
+
"opc-request-id": updateFleetAdvancedFeatureConfigurationRequest.opcRequestId
|
|
3015
|
+
};
|
|
3016
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3017
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFleetAdvancedFeatureConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
3018
|
+
if (this.logger)
|
|
3019
|
+
retrier.logger = this.logger;
|
|
3020
|
+
const request = yield oci_common_1.composeRequest({
|
|
3021
|
+
baseEndpoint: this._endpoint,
|
|
3022
|
+
defaultHeaders: this._defaultHeaders,
|
|
3023
|
+
path: "/fleets/{fleetId}/advancedFeatureConfiguration",
|
|
3024
|
+
method: "PUT",
|
|
3025
|
+
bodyContent: common.ObjectSerializer.serialize(updateFleetAdvancedFeatureConfigurationRequest.updateFleetAdvancedFeatureConfigurationDetails, "UpdateFleetAdvancedFeatureConfigurationDetails", model.UpdateFleetAdvancedFeatureConfigurationDetails.getJsonObj),
|
|
3026
|
+
pathParams: pathParams,
|
|
3027
|
+
headerParams: headerParams,
|
|
3028
|
+
queryParams: queryParams
|
|
3029
|
+
});
|
|
3030
|
+
try {
|
|
3031
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3032
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3033
|
+
responseObject: {},
|
|
3034
|
+
body: yield response.json(),
|
|
3035
|
+
bodyKey: "fleetAdvancedFeatureConfiguration",
|
|
3036
|
+
bodyModel: model.FleetAdvancedFeatureConfiguration,
|
|
3037
|
+
type: "model.FleetAdvancedFeatureConfiguration",
|
|
3038
|
+
responseHeaders: [
|
|
3039
|
+
{
|
|
3040
|
+
value: response.headers.get("opc-request-id"),
|
|
3041
|
+
key: "opcRequestId",
|
|
3042
|
+
dataType: "string"
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
value: response.headers.get("etag"),
|
|
3046
|
+
key: "etag",
|
|
3047
|
+
dataType: "string"
|
|
3048
|
+
}
|
|
3049
|
+
]
|
|
3050
|
+
});
|
|
3051
|
+
return sdkResponse;
|
|
3052
|
+
}
|
|
3053
|
+
catch (err) {
|
|
3054
|
+
throw err;
|
|
3055
|
+
}
|
|
3056
|
+
});
|
|
3057
|
+
}
|
|
2169
3058
|
/**
|
|
2170
3059
|
* Update the Fleet Agent Configuration for the specified Fleet.
|
|
2171
3060
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2172
3061
|
* @param UpdateFleetAgentConfigurationRequest
|
|
2173
3062
|
* @return UpdateFleetAgentConfigurationResponse
|
|
2174
3063
|
* @throws OciError when an error occurs
|
|
2175
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3064
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.0/jms/UpdateFleetAgentConfiguration.ts.html |here} to see how to use UpdateFleetAgentConfiguration API.
|
|
2176
3065
|
*/
|
|
2177
3066
|
updateFleetAgentConfiguration(updateFleetAgentConfigurationRequest) {
|
|
2178
3067
|
return __awaiter(this, void 0, void 0, function* () {
|