oci-jms 2.117.1 → 2.118.1
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 +117 -0
- package/lib/client.js +898 -55
- package/lib/client.js.map +1 -1
- package/lib/javamanagementservice-waiter.d.ts +8 -0
- package/lib/javamanagementservice-waiter.js +12 -0
- package/lib/javamanagementservice-waiter.js.map +1 -1
- package/lib/model/add-installation-site-task-details.d.ts +25 -0
- package/lib/model/add-installation-site-task-details.js +62 -0
- package/lib/model/add-installation-site-task-details.js.map +1 -0
- package/lib/model/agent-type.d.ts +3 -1
- package/lib/model/agent-type.js +3 -1
- package/lib/model/agent-type.js.map +1 -1
- package/lib/model/application-work-item-details.d.ts +13 -0
- package/lib/model/application-work-item-details.js +10 -2
- package/lib/model/application-work-item-details.js.map +1 -1
- package/lib/model/cluster-details.d.ts +46 -0
- package/lib/model/cluster-details.js +39 -0
- package/lib/model/cluster-details.js.map +1 -0
- package/lib/model/confidence-level.d.ts +30 -0
- package/lib/model/confidence-level.js +41 -0
- package/lib/model/confidence-level.js.map +1 -0
- package/lib/model/container-collection.d.ts +27 -0
- package/lib/model/container-collection.js +61 -0
- package/lib/model/container-collection.js.map +1 -0
- package/lib/model/container-sort-by.d.ts +28 -0
- package/lib/model/container-sort-by.js +39 -0
- package/lib/model/container-sort-by.js.map +1 -0
- package/lib/model/container-summary.d.ts +75 -0
- package/lib/model/container-summary.js +29 -0
- package/lib/model/container-summary.js.map +1 -0
- package/lib/model/create-jms-plugin-details.d.ts +9 -2
- package/lib/model/create-jms-plugin-details.js.map +1 -1
- package/lib/model/create-task-schedule-details.d.ts +33 -0
- package/lib/model/create-task-schedule-details.js +55 -0
- package/lib/model/create-task-schedule-details.js.map +1 -0
- package/lib/model/crypto-task-details.d.ts +25 -0
- package/lib/model/crypto-task-details.js +60 -0
- package/lib/model/crypto-task-details.js.map +1 -0
- package/lib/model/deployed-application-migration-analyses-target.d.ts +7 -2
- package/lib/model/deployed-application-migration-analyses-target.js.map +1 -1
- package/lib/model/deployed-application-migration-task-details.d.ts +25 -0
- package/lib/model/deployed-application-migration-task-details.js +62 -0
- package/lib/model/deployed-application-migration-task-details.js.map +1 -0
- package/lib/model/export-data-filters.d.ts +63 -0
- package/lib/model/export-data-filters.js +42 -0
- package/lib/model/export-data-filters.js.map +1 -0
- package/lib/model/export-setting.d.ts +1 -0
- package/lib/model/export-setting.js +30 -2
- package/lib/model/export-setting.js.map +1 -1
- 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 +12 -0
- package/lib/model/fleet-summary.js.map +1 -1
- package/lib/model/fleet.d.ts +12 -0
- package/lib/model/fleet.js.map +1 -1
- package/lib/model/generate-agent-installer-configuration-details.d.ts +5 -0
- package/lib/model/generate-agent-installer-configuration-details.js.map +1 -1
- package/lib/model/index.d.ts +82 -0
- package/lib/model/index.js +87 -5
- package/lib/model/index.js.map +1 -1
- package/lib/model/installation-sort-by.d.ts +2 -1
- package/lib/model/installation-sort-by.js +1 -0
- package/lib/model/installation-sort-by.js.map +1 -1
- package/lib/model/installation-usage.d.ts +4 -0
- package/lib/model/installation-usage.js.map +1 -1
- package/lib/model/java-family-summary.d.ts +4 -0
- package/lib/model/java-family-summary.js +34 -2
- package/lib/model/java-family-summary.js.map +1 -1
- package/lib/model/java-family.d.ts +4 -0
- package/lib/model/java-family.js +10 -0
- package/lib/model/java-family.js.map +1 -1
- package/lib/model/java-migration-analysis-target.d.ts +6 -2
- package/lib/model/java-migration-analysis-target.js.map +1 -1
- package/lib/model/java-migration-application-work-item-details.d.ts +44 -0
- package/lib/model/java-migration-application-work-item-details.js +54 -0
- package/lib/model/java-migration-application-work-item-details.js.map +1 -0
- package/lib/model/java-migration-deployed-application-work-item-details.d.ts +44 -0
- package/lib/model/java-migration-deployed-application-work-item-details.js +54 -0
- package/lib/model/java-migration-deployed-application-work-item-details.js.map +1 -0
- package/lib/model/java-migration-task-details.d.ts +25 -0
- package/lib/model/java-migration-task-details.js +60 -0
- package/lib/model/java-migration-task-details.js.map +1 -0
- package/lib/model/jfr-attachment-target.d.ts +6 -1
- package/lib/model/jfr-attachment-target.js.map +1 -1
- package/lib/model/jfr-task-details.d.ts +25 -0
- package/lib/model/jfr-task-details.js +60 -0
- package/lib/model/jfr-task-details.js.map +1 -0
- package/lib/model/jms-plugin-summary.d.ts +4 -2
- package/lib/model/jms-plugin-summary.js.map +1 -1
- package/lib/model/jms-plugin.d.ts +4 -2
- package/lib/model/jms-plugin.js.map +1 -1
- package/lib/model/library-application-sort-by.d.ts +27 -0
- package/lib/model/library-application-sort-by.js +38 -0
- package/lib/model/library-application-sort-by.js.map +1 -0
- package/lib/model/library-application-usage-collection.d.ts +28 -0
- package/lib/model/library-application-usage-collection.js +61 -0
- package/lib/model/library-application-usage-collection.js.map +1 -0
- package/lib/model/library-application-usage-summary.d.ts +52 -0
- package/lib/model/library-application-usage-summary.js +29 -0
- package/lib/model/library-application-usage-summary.js.map +1 -0
- package/lib/model/library-inventory.d.ts +45 -0
- package/lib/model/library-inventory.js +29 -0
- package/lib/model/library-inventory.js.map +1 -0
- package/lib/model/library-managed-instance-sort-by.d.ts +27 -0
- package/lib/model/library-managed-instance-sort-by.js +38 -0
- package/lib/model/library-managed-instance-sort-by.js.map +1 -0
- package/lib/model/library-managed-instance-usage-collection.d.ts +28 -0
- package/lib/model/library-managed-instance-usage-collection.js +61 -0
- package/lib/model/library-managed-instance-usage-collection.js.map +1 -0
- package/lib/model/library-managed-instance-usage-summary.d.ts +51 -0
- package/lib/model/library-managed-instance-usage-summary.js +29 -0
- package/lib/model/library-managed-instance-usage-summary.js.map +1 -0
- package/lib/model/library-sort-by.d.ts +3 -1
- package/lib/model/library-sort-by.js +2 -0
- package/lib/model/library-sort-by.js.map +1 -1
- package/lib/model/library-usage.d.ts +23 -1
- package/lib/model/library-usage.js +34 -2
- package/lib/model/library-usage.js.map +1 -1
- package/lib/model/library-vulnerability.d.ts +29 -0
- package/lib/model/library-vulnerability.js +29 -0
- package/lib/model/library-vulnerability.js.map +1 -0
- package/lib/model/managed-instance-type.d.ts +1 -0
- package/lib/model/managed-instance-type.js +1 -0
- package/lib/model/managed-instance-type.js.map +1 -1
- package/lib/model/managed-instance-usage.d.ts +13 -0
- package/lib/model/managed-instance-usage.js +8 -2
- package/lib/model/managed-instance-usage.js.map +1 -1
- package/lib/model/operating-system.d.ts +4 -0
- package/lib/model/operating-system.js.map +1 -1
- package/lib/model/operation-type.d.ts +1 -0
- package/lib/model/operation-type.js +1 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/package-sort-by.d.ts +26 -0
- package/lib/model/package-sort-by.js +37 -0
- package/lib/model/package-sort-by.js.map +1 -0
- package/lib/model/performance-tuning-task-details.d.ts +25 -0
- package/lib/model/performance-tuning-task-details.js +62 -0
- package/lib/model/performance-tuning-task-details.js.map +1 -0
- package/lib/model/post-installation-actions.d.ts +6 -1
- package/lib/model/post-installation-actions.js +5 -0
- package/lib/model/post-installation-actions.js.map +1 -1
- package/lib/model/remove-installation-site-task-details.d.ts +25 -0
- package/lib/model/remove-installation-site-task-details.js +62 -0
- package/lib/model/remove-installation-site-task-details.js.map +1 -0
- package/lib/model/scan-java-server-task-details.d.ts +25 -0
- package/lib/model/scan-java-server-task-details.js +60 -0
- package/lib/model/scan-java-server-task-details.js.map +1 -0
- package/lib/model/scan-library-task-details.d.ts +25 -0
- package/lib/model/scan-library-task-details.js +60 -0
- package/lib/model/scan-library-task-details.js.map +1 -0
- package/lib/model/scan-library-usage-details.d.ts +10 -0
- package/lib/model/scan-library-usage-details.js.map +1 -1
- package/lib/model/task-details.d.ts +22 -0
- package/lib/model/task-details.js +100 -0
- package/lib/model/task-details.js.map +1 -0
- package/lib/model/task-schedule-collection.d.ts +26 -0
- package/lib/model/task-schedule-collection.js +61 -0
- package/lib/model/task-schedule-collection.js.map +1 -0
- package/lib/model/task-schedule-sort-by.d.ts +26 -0
- package/lib/model/task-schedule-sort-by.js +37 -0
- package/lib/model/task-schedule-sort-by.js.map +1 -0
- package/lib/model/task-schedule-summary.d.ts +65 -0
- package/lib/model/task-schedule-summary.js +55 -0
- package/lib/model/task-schedule-summary.js.map +1 -0
- package/lib/model/task-schedule.d.ts +74 -0
- package/lib/model/task-schedule.js +65 -0
- package/lib/model/task-schedule.js.map +1 -0
- package/lib/model/uncorrelated-package-application-sort-by.d.ts +25 -0
- package/lib/model/uncorrelated-package-application-sort-by.js +36 -0
- package/lib/model/uncorrelated-package-application-sort-by.js.map +1 -0
- package/lib/model/uncorrelated-package-application-usage-collection.d.ts +26 -0
- package/lib/model/uncorrelated-package-application-usage-collection.js +61 -0
- package/lib/model/uncorrelated-package-application-usage-collection.js.map +1 -0
- package/lib/model/uncorrelated-package-application-usage-summary.d.ts +42 -0
- package/lib/model/uncorrelated-package-application-usage-summary.js +29 -0
- package/lib/model/uncorrelated-package-application-usage-summary.js.map +1 -0
- package/lib/model/uncorrelated-package-managed-instance-sort-by.d.ts +25 -0
- package/lib/model/uncorrelated-package-managed-instance-sort-by.js +36 -0
- package/lib/model/uncorrelated-package-managed-instance-sort-by.js.map +1 -0
- package/lib/model/uncorrelated-package-managed-instance-usage-collection.d.ts +26 -0
- package/lib/model/uncorrelated-package-managed-instance-usage-collection.js +61 -0
- package/lib/model/uncorrelated-package-managed-instance-usage-collection.js.map +1 -0
- package/lib/model/uncorrelated-package-managed-instance-usage-summary.d.ts +41 -0
- package/lib/model/uncorrelated-package-managed-instance-usage-summary.js +29 -0
- package/lib/model/uncorrelated-package-managed-instance-usage-summary.js.map +1 -0
- package/lib/model/uncorrelated-package-usage-collection.d.ts +26 -0
- package/lib/model/uncorrelated-package-usage-collection.js +61 -0
- package/lib/model/uncorrelated-package-usage-collection.js.map +1 -0
- package/lib/model/uncorrelated-package-usage-summary.d.ts +38 -0
- package/lib/model/uncorrelated-package-usage-summary.js +29 -0
- package/lib/model/uncorrelated-package-usage-summary.js.map +1 -0
- package/lib/model/update-export-setting-details.d.ts +1 -0
- package/lib/model/update-export-setting-details.js +30 -2
- package/lib/model/update-export-setting-details.js.map +1 -1
- 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-task-schedule-details.d.ts +33 -0
- package/lib/model/update-task-schedule-details.js +55 -0
- package/lib/model/update-task-schedule-details.js.map +1 -0
- package/lib/model/work-item-details.js +8 -0
- package/lib/model/work-item-details.js.map +1 -1
- package/lib/model/work-item-summary.d.ts +1 -1
- package/lib/model/work-item-summary.js.map +1 -1
- package/lib/model/work-item-type.d.ts +1 -0
- package/lib/model/work-item-type.js +1 -0
- package/lib/model/work-item-type.js.map +1 -1
- package/lib/request/create-task-schedule-request.d.ts +36 -0
- package/lib/request/create-task-schedule-request.js +15 -0
- package/lib/request/create-task-schedule-request.js.map +1 -0
- package/lib/request/delete-task-schedule-request.d.ts +39 -0
- package/lib/request/delete-task-schedule-request.js +15 -0
- package/lib/request/delete-task-schedule-request.js.map +1 -0
- package/lib/request/get-task-schedule-request.d.ts +30 -0
- package/lib/request/get-task-schedule-request.js +15 -0
- package/lib/request/get-task-schedule-request.js.map +1 -0
- package/lib/request/index.d.ts +24 -0
- package/lib/request/list-containers-request.d.ts +75 -0
- package/lib/request/list-containers-request.js +15 -0
- package/lib/request/list-containers-request.js.map +1 -0
- package/lib/request/list-jms-plugins-request.d.ts +3 -1
- package/lib/request/list-library-application-usage-request.d.ts +74 -0
- package/lib/request/list-library-application-usage-request.js +15 -0
- package/lib/request/list-library-application-usage-request.js.map +1 -0
- package/lib/request/list-library-managed-instance-usage-request.d.ts +74 -0
- package/lib/request/list-library-managed-instance-usage-request.js +15 -0
- package/lib/request/list-library-managed-instance-usage-request.js.map +1 -0
- package/lib/request/list-task-schedules-request.d.ts +63 -0
- package/lib/request/list-task-schedules-request.js +15 -0
- package/lib/request/list-task-schedules-request.js.map +1 -0
- package/lib/request/list-uncorrelated-package-application-usage-request.d.ts +65 -0
- package/lib/request/list-uncorrelated-package-application-usage-request.js +15 -0
- package/lib/request/list-uncorrelated-package-application-usage-request.js.map +1 -0
- package/lib/request/list-uncorrelated-package-managed-instance-usage-request.d.ts +65 -0
- package/lib/request/list-uncorrelated-package-managed-instance-usage-request.js +15 -0
- package/lib/request/list-uncorrelated-package-managed-instance-usage-request.js.map +1 -0
- package/lib/request/list-uncorrelated-package-usage-request.d.ts +65 -0
- package/lib/request/list-uncorrelated-package-usage-request.js +15 -0
- package/lib/request/list-uncorrelated-package-usage-request.js.map +1 -0
- package/lib/request/summarize-library-inventory-request.d.ts +42 -0
- package/lib/request/summarize-library-inventory-request.js +15 -0
- package/lib/request/summarize-library-inventory-request.js.map +1 -0
- package/lib/request/update-task-schedule-request.d.ts +49 -0
- package/lib/request/update-task-schedule-request.js +15 -0
- package/lib/request/update-task-schedule-request.js.map +1 -0
- package/lib/response/create-task-schedule-response.d.ts +30 -0
- package/lib/response/create-task-schedule-response.js +15 -0
- package/lib/response/create-task-schedule-response.js.map +1 -0
- package/lib/response/delete-task-schedule-response.d.ts +20 -0
- package/lib/response/delete-task-schedule-response.js +15 -0
- package/lib/response/delete-task-schedule-response.js.map +1 -0
- package/lib/response/get-task-schedule-response.d.ts +30 -0
- package/lib/response/get-task-schedule-response.js +15 -0
- package/lib/response/get-task-schedule-response.js.map +1 -0
- package/lib/response/index.d.ts +24 -0
- package/lib/response/list-containers-response.d.ts +32 -0
- package/lib/response/list-containers-response.js +15 -0
- package/lib/response/list-containers-response.js.map +1 -0
- package/lib/response/list-library-application-usage-response.d.ts +32 -0
- package/lib/response/list-library-application-usage-response.js +15 -0
- package/lib/response/list-library-application-usage-response.js.map +1 -0
- package/lib/response/list-library-managed-instance-usage-response.d.ts +32 -0
- package/lib/response/list-library-managed-instance-usage-response.js +15 -0
- package/lib/response/list-library-managed-instance-usage-response.js.map +1 -0
- package/lib/response/list-task-schedules-response.d.ts +32 -0
- package/lib/response/list-task-schedules-response.js +15 -0
- package/lib/response/list-task-schedules-response.js.map +1 -0
- package/lib/response/list-uncorrelated-package-application-usage-response.d.ts +32 -0
- package/lib/response/list-uncorrelated-package-application-usage-response.js +15 -0
- package/lib/response/list-uncorrelated-package-application-usage-response.js.map +1 -0
- package/lib/response/list-uncorrelated-package-managed-instance-usage-response.d.ts +32 -0
- package/lib/response/list-uncorrelated-package-managed-instance-usage-response.js +15 -0
- package/lib/response/list-uncorrelated-package-managed-instance-usage-response.js.map +1 -0
- package/lib/response/list-uncorrelated-package-usage-response.d.ts +32 -0
- package/lib/response/list-uncorrelated-package-usage-response.js +15 -0
- package/lib/response/list-uncorrelated-package-usage-response.js.map +1 -0
- package/lib/response/summarize-library-inventory-response.d.ts +32 -0
- package/lib/response/summarize-library-inventory-response.js +15 -0
- package/lib/response/summarize-library-inventory-response.js.map +1 -0
- package/lib/response/update-task-schedule-response.d.ts +30 -0
- package/lib/response/update-task-schedule-response.js +15 -0
- package/lib/response/update-task-schedule-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -648,6 +648,69 @@ class JavaManagementServiceClient {
|
|
|
648
648
|
}
|
|
649
649
|
});
|
|
650
650
|
}
|
|
651
|
+
/**
|
|
652
|
+
* Create a task schedule using the information provided.
|
|
653
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
654
|
+
* @param CreateTaskScheduleRequest
|
|
655
|
+
* @return CreateTaskScheduleResponse
|
|
656
|
+
* @throws OciError when an error occurs
|
|
657
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/CreateTaskSchedule.ts.html |here} to see how to use CreateTaskSchedule API.
|
|
658
|
+
*/
|
|
659
|
+
createTaskSchedule(createTaskScheduleRequest) {
|
|
660
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
661
|
+
if (this.logger)
|
|
662
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#createTaskSchedule.");
|
|
663
|
+
const operationName = "createTaskSchedule";
|
|
664
|
+
const apiReferenceLink = "";
|
|
665
|
+
const pathParams = {};
|
|
666
|
+
const queryParams = {};
|
|
667
|
+
let headerParams = {
|
|
668
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
669
|
+
"opc-request-id": createTaskScheduleRequest.opcRequestId,
|
|
670
|
+
"opc-retry-token": createTaskScheduleRequest.opcRetryToken
|
|
671
|
+
};
|
|
672
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
673
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createTaskScheduleRequest.retryConfiguration, specRetryConfiguration);
|
|
674
|
+
if (this.logger)
|
|
675
|
+
retrier.logger = this.logger;
|
|
676
|
+
const request = yield oci_common_1.composeRequest({
|
|
677
|
+
baseEndpoint: this._endpoint,
|
|
678
|
+
defaultHeaders: this._defaultHeaders,
|
|
679
|
+
path: "/taskSchedules",
|
|
680
|
+
method: "POST",
|
|
681
|
+
bodyContent: common.ObjectSerializer.serialize(createTaskScheduleRequest.createTaskScheduleDetails, "CreateTaskScheduleDetails", model.CreateTaskScheduleDetails.getJsonObj),
|
|
682
|
+
pathParams: pathParams,
|
|
683
|
+
headerParams: headerParams,
|
|
684
|
+
queryParams: queryParams
|
|
685
|
+
});
|
|
686
|
+
try {
|
|
687
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
688
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
689
|
+
responseObject: {},
|
|
690
|
+
body: yield response.json(),
|
|
691
|
+
bodyKey: "taskSchedule",
|
|
692
|
+
bodyModel: model.TaskSchedule,
|
|
693
|
+
type: "model.TaskSchedule",
|
|
694
|
+
responseHeaders: [
|
|
695
|
+
{
|
|
696
|
+
value: response.headers.get("opc-request-id"),
|
|
697
|
+
key: "opcRequestId",
|
|
698
|
+
dataType: "string"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
value: response.headers.get("etag"),
|
|
702
|
+
key: "etag",
|
|
703
|
+
dataType: "string"
|
|
704
|
+
}
|
|
705
|
+
]
|
|
706
|
+
});
|
|
707
|
+
return sdkResponse;
|
|
708
|
+
}
|
|
709
|
+
catch (err) {
|
|
710
|
+
throw err;
|
|
711
|
+
}
|
|
712
|
+
});
|
|
713
|
+
}
|
|
651
714
|
/**
|
|
652
715
|
* Deletes the blocklist record specified by an identifier.
|
|
653
716
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -1066,6 +1129,63 @@ class JavaManagementServiceClient {
|
|
|
1066
1129
|
}
|
|
1067
1130
|
});
|
|
1068
1131
|
}
|
|
1132
|
+
/**
|
|
1133
|
+
* Deletes the task schedule record specified by an identifier.
|
|
1134
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1135
|
+
* @param DeleteTaskScheduleRequest
|
|
1136
|
+
* @return DeleteTaskScheduleResponse
|
|
1137
|
+
* @throws OciError when an error occurs
|
|
1138
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/DeleteTaskSchedule.ts.html |here} to see how to use DeleteTaskSchedule API.
|
|
1139
|
+
*/
|
|
1140
|
+
deleteTaskSchedule(deleteTaskScheduleRequest) {
|
|
1141
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1142
|
+
if (this.logger)
|
|
1143
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#deleteTaskSchedule.");
|
|
1144
|
+
const operationName = "deleteTaskSchedule";
|
|
1145
|
+
const apiReferenceLink = "";
|
|
1146
|
+
const pathParams = {
|
|
1147
|
+
"{taskScheduleId}": deleteTaskScheduleRequest.taskScheduleId
|
|
1148
|
+
};
|
|
1149
|
+
const queryParams = {
|
|
1150
|
+
"fleetId": deleteTaskScheduleRequest.fleetId
|
|
1151
|
+
};
|
|
1152
|
+
let headerParams = {
|
|
1153
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1154
|
+
"if-match": deleteTaskScheduleRequest.ifMatch,
|
|
1155
|
+
"opc-request-id": deleteTaskScheduleRequest.opcRequestId
|
|
1156
|
+
};
|
|
1157
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1158
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteTaskScheduleRequest.retryConfiguration, specRetryConfiguration);
|
|
1159
|
+
if (this.logger)
|
|
1160
|
+
retrier.logger = this.logger;
|
|
1161
|
+
const request = yield oci_common_1.composeRequest({
|
|
1162
|
+
baseEndpoint: this._endpoint,
|
|
1163
|
+
defaultHeaders: this._defaultHeaders,
|
|
1164
|
+
path: "/taskSchedules/{taskScheduleId}",
|
|
1165
|
+
method: "DELETE",
|
|
1166
|
+
pathParams: pathParams,
|
|
1167
|
+
headerParams: headerParams,
|
|
1168
|
+
queryParams: queryParams
|
|
1169
|
+
});
|
|
1170
|
+
try {
|
|
1171
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1172
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1173
|
+
responseObject: {},
|
|
1174
|
+
responseHeaders: [
|
|
1175
|
+
{
|
|
1176
|
+
value: response.headers.get("opc-request-id"),
|
|
1177
|
+
key: "opcRequestId",
|
|
1178
|
+
dataType: "string"
|
|
1179
|
+
}
|
|
1180
|
+
]
|
|
1181
|
+
});
|
|
1182
|
+
return sdkResponse;
|
|
1183
|
+
}
|
|
1184
|
+
catch (err) {
|
|
1185
|
+
throw err;
|
|
1186
|
+
}
|
|
1187
|
+
});
|
|
1188
|
+
}
|
|
1069
1189
|
/**
|
|
1070
1190
|
* Request to disable the DRS in the selected target in the Fleet.
|
|
1071
1191
|
*
|
|
@@ -2157,6 +2277,72 @@ class JavaManagementServiceClient {
|
|
|
2157
2277
|
}
|
|
2158
2278
|
});
|
|
2159
2279
|
}
|
|
2280
|
+
/**
|
|
2281
|
+
* Returns a task schedule.
|
|
2282
|
+
*
|
|
2283
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2284
|
+
* @param GetTaskScheduleRequest
|
|
2285
|
+
* @return GetTaskScheduleResponse
|
|
2286
|
+
* @throws OciError when an error occurs
|
|
2287
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/GetTaskSchedule.ts.html |here} to see how to use GetTaskSchedule API.
|
|
2288
|
+
*/
|
|
2289
|
+
getTaskSchedule(getTaskScheduleRequest) {
|
|
2290
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2291
|
+
if (this.logger)
|
|
2292
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#getTaskSchedule.");
|
|
2293
|
+
const operationName = "getTaskSchedule";
|
|
2294
|
+
const apiReferenceLink = "";
|
|
2295
|
+
const pathParams = {
|
|
2296
|
+
"{taskScheduleId}": getTaskScheduleRequest.taskScheduleId
|
|
2297
|
+
};
|
|
2298
|
+
const queryParams = {
|
|
2299
|
+
"fleetId": getTaskScheduleRequest.fleetId
|
|
2300
|
+
};
|
|
2301
|
+
let headerParams = {
|
|
2302
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2303
|
+
"opc-request-id": getTaskScheduleRequest.opcRequestId
|
|
2304
|
+
};
|
|
2305
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2306
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTaskScheduleRequest.retryConfiguration, specRetryConfiguration);
|
|
2307
|
+
if (this.logger)
|
|
2308
|
+
retrier.logger = this.logger;
|
|
2309
|
+
const request = yield oci_common_1.composeRequest({
|
|
2310
|
+
baseEndpoint: this._endpoint,
|
|
2311
|
+
defaultHeaders: this._defaultHeaders,
|
|
2312
|
+
path: "/taskSchedules/{taskScheduleId}",
|
|
2313
|
+
method: "GET",
|
|
2314
|
+
pathParams: pathParams,
|
|
2315
|
+
headerParams: headerParams,
|
|
2316
|
+
queryParams: queryParams
|
|
2317
|
+
});
|
|
2318
|
+
try {
|
|
2319
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2320
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2321
|
+
responseObject: {},
|
|
2322
|
+
body: yield response.json(),
|
|
2323
|
+
bodyKey: "taskSchedule",
|
|
2324
|
+
bodyModel: model.TaskSchedule,
|
|
2325
|
+
type: "model.TaskSchedule",
|
|
2326
|
+
responseHeaders: [
|
|
2327
|
+
{
|
|
2328
|
+
value: response.headers.get("etag"),
|
|
2329
|
+
key: "etag",
|
|
2330
|
+
dataType: "string"
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
value: response.headers.get("opc-request-id"),
|
|
2334
|
+
key: "opcRequestId",
|
|
2335
|
+
dataType: "string"
|
|
2336
|
+
}
|
|
2337
|
+
]
|
|
2338
|
+
});
|
|
2339
|
+
return sdkResponse;
|
|
2340
|
+
}
|
|
2341
|
+
catch (err) {
|
|
2342
|
+
throw err;
|
|
2343
|
+
}
|
|
2344
|
+
});
|
|
2345
|
+
}
|
|
2160
2346
|
/**
|
|
2161
2347
|
* Retrieve the details of a work request with the specified ID.
|
|
2162
2348
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -2436,6 +2622,81 @@ class JavaManagementServiceClient {
|
|
|
2436
2622
|
}
|
|
2437
2623
|
});
|
|
2438
2624
|
}
|
|
2625
|
+
/**
|
|
2626
|
+
* List containers in a fleet filtered by query parameters.
|
|
2627
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2628
|
+
* @param ListContainersRequest
|
|
2629
|
+
* @return ListContainersResponse
|
|
2630
|
+
* @throws OciError when an error occurs
|
|
2631
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListContainers.ts.html |here} to see how to use ListContainers API.
|
|
2632
|
+
*/
|
|
2633
|
+
listContainers(listContainersRequest) {
|
|
2634
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2635
|
+
if (this.logger)
|
|
2636
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#listContainers.");
|
|
2637
|
+
const operationName = "listContainers";
|
|
2638
|
+
const apiReferenceLink = "";
|
|
2639
|
+
const pathParams = {
|
|
2640
|
+
"{fleetId}": listContainersRequest.fleetId
|
|
2641
|
+
};
|
|
2642
|
+
const queryParams = {
|
|
2643
|
+
"managedInstanceId": listContainersRequest.managedInstanceId,
|
|
2644
|
+
"displayName": listContainersRequest.displayName,
|
|
2645
|
+
"applicationName": listContainersRequest.applicationName,
|
|
2646
|
+
"jreVersion": listContainersRequest.jreVersion,
|
|
2647
|
+
"jreSecurityStatus": listContainersRequest.jreSecurityStatus,
|
|
2648
|
+
"timeStartedGreaterThanOrEqualTo": listContainersRequest.timeStartedGreaterThanOrEqualTo,
|
|
2649
|
+
"timeStartedLessThanOrEqualTo": listContainersRequest.timeStartedLessThanOrEqualTo,
|
|
2650
|
+
"limit": listContainersRequest.limit,
|
|
2651
|
+
"page": listContainersRequest.page,
|
|
2652
|
+
"sortOrder": listContainersRequest.sortOrder,
|
|
2653
|
+
"sortBy": listContainersRequest.sortBy
|
|
2654
|
+
};
|
|
2655
|
+
let headerParams = {
|
|
2656
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2657
|
+
"opc-request-id": listContainersRequest.opcRequestId
|
|
2658
|
+
};
|
|
2659
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2660
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listContainersRequest.retryConfiguration, specRetryConfiguration);
|
|
2661
|
+
if (this.logger)
|
|
2662
|
+
retrier.logger = this.logger;
|
|
2663
|
+
const request = yield oci_common_1.composeRequest({
|
|
2664
|
+
baseEndpoint: this._endpoint,
|
|
2665
|
+
defaultHeaders: this._defaultHeaders,
|
|
2666
|
+
path: "/fleets/{fleetId}/containers",
|
|
2667
|
+
method: "GET",
|
|
2668
|
+
pathParams: pathParams,
|
|
2669
|
+
headerParams: headerParams,
|
|
2670
|
+
queryParams: queryParams
|
|
2671
|
+
});
|
|
2672
|
+
try {
|
|
2673
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2674
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2675
|
+
responseObject: {},
|
|
2676
|
+
body: yield response.json(),
|
|
2677
|
+
bodyKey: "containerCollection",
|
|
2678
|
+
bodyModel: model.ContainerCollection,
|
|
2679
|
+
type: "model.ContainerCollection",
|
|
2680
|
+
responseHeaders: [
|
|
2681
|
+
{
|
|
2682
|
+
value: response.headers.get("opc-request-id"),
|
|
2683
|
+
key: "opcRequestId",
|
|
2684
|
+
dataType: "string"
|
|
2685
|
+
},
|
|
2686
|
+
{
|
|
2687
|
+
value: response.headers.get("opc-next-page"),
|
|
2688
|
+
key: "opcNextPage",
|
|
2689
|
+
dataType: "string"
|
|
2690
|
+
}
|
|
2691
|
+
]
|
|
2692
|
+
});
|
|
2693
|
+
return sdkResponse;
|
|
2694
|
+
}
|
|
2695
|
+
catch (err) {
|
|
2696
|
+
throw err;
|
|
2697
|
+
}
|
|
2698
|
+
});
|
|
2699
|
+
}
|
|
2439
2700
|
/**
|
|
2440
2701
|
* Lists the results of a Crypto event analysis.
|
|
2441
2702
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -3239,46 +3500,48 @@ class JavaManagementServiceClient {
|
|
|
3239
3500
|
});
|
|
3240
3501
|
}
|
|
3241
3502
|
/**
|
|
3242
|
-
* List
|
|
3503
|
+
* List applications where a library has been detected filtered by query parameters.
|
|
3504
|
+
*
|
|
3243
3505
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3244
|
-
* @param
|
|
3245
|
-
* @return
|
|
3506
|
+
* @param ListLibraryApplicationUsageRequest
|
|
3507
|
+
* @return ListLibraryApplicationUsageResponse
|
|
3246
3508
|
* @throws OciError when an error occurs
|
|
3247
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/
|
|
3509
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListLibraryApplicationUsage.ts.html |here} to see how to use ListLibraryApplicationUsage API.
|
|
3248
3510
|
*/
|
|
3249
|
-
|
|
3511
|
+
listLibraryApplicationUsage(listLibraryApplicationUsageRequest) {
|
|
3250
3512
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3251
3513
|
if (this.logger)
|
|
3252
|
-
this.logger.debug("Calling operation JavaManagementServiceClient#
|
|
3253
|
-
const operationName = "
|
|
3514
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#listLibraryApplicationUsage.");
|
|
3515
|
+
const operationName = "listLibraryApplicationUsage";
|
|
3254
3516
|
const apiReferenceLink = "";
|
|
3255
3517
|
const pathParams = {
|
|
3256
|
-
"{fleetId}":
|
|
3518
|
+
"{fleetId}": listLibraryApplicationUsageRequest.fleetId,
|
|
3519
|
+
"{libraryKey}": listLibraryApplicationUsageRequest.libraryKey
|
|
3257
3520
|
};
|
|
3258
3521
|
const queryParams = {
|
|
3259
|
-
"
|
|
3260
|
-
"
|
|
3261
|
-
"applicationName":
|
|
3262
|
-
"
|
|
3263
|
-
"timeStart":
|
|
3264
|
-
"timeEnd":
|
|
3265
|
-
"limit":
|
|
3266
|
-
"page":
|
|
3267
|
-
"
|
|
3268
|
-
"
|
|
3522
|
+
"applicationId": listLibraryApplicationUsageRequest.applicationId,
|
|
3523
|
+
"managedInstanceId": listLibraryApplicationUsageRequest.managedInstanceId,
|
|
3524
|
+
"applicationName": listLibraryApplicationUsageRequest.applicationName,
|
|
3525
|
+
"applicationNameContains": listLibraryApplicationUsageRequest.applicationNameContains,
|
|
3526
|
+
"timeStart": listLibraryApplicationUsageRequest.timeStart,
|
|
3527
|
+
"timeEnd": listLibraryApplicationUsageRequest.timeEnd,
|
|
3528
|
+
"limit": listLibraryApplicationUsageRequest.limit,
|
|
3529
|
+
"page": listLibraryApplicationUsageRequest.page,
|
|
3530
|
+
"sortBy": listLibraryApplicationUsageRequest.sortBy,
|
|
3531
|
+
"sortOrder": listLibraryApplicationUsageRequest.sortOrder
|
|
3269
3532
|
};
|
|
3270
3533
|
let headerParams = {
|
|
3271
3534
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3272
|
-
"opc-request-id":
|
|
3535
|
+
"opc-request-id": listLibraryApplicationUsageRequest.opcRequestId
|
|
3273
3536
|
};
|
|
3274
3537
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3275
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3538
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLibraryApplicationUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
3276
3539
|
if (this.logger)
|
|
3277
3540
|
retrier.logger = this.logger;
|
|
3278
3541
|
const request = yield oci_common_1.composeRequest({
|
|
3279
3542
|
baseEndpoint: this._endpoint,
|
|
3280
3543
|
defaultHeaders: this._defaultHeaders,
|
|
3281
|
-
path: "/fleets/{fleetId}/
|
|
3544
|
+
path: "/fleets/{fleetId}/libraries/{libraryKey}/applications",
|
|
3282
3545
|
method: "GET",
|
|
3283
3546
|
pathParams: pathParams,
|
|
3284
3547
|
headerParams: headerParams,
|
|
@@ -3289,9 +3552,9 @@ class JavaManagementServiceClient {
|
|
|
3289
3552
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3290
3553
|
responseObject: {},
|
|
3291
3554
|
body: yield response.json(),
|
|
3292
|
-
bodyKey: "
|
|
3293
|
-
bodyModel: model.
|
|
3294
|
-
type: "model.
|
|
3555
|
+
bodyKey: "libraryApplicationUsageCollection",
|
|
3556
|
+
bodyModel: model.LibraryApplicationUsageCollection,
|
|
3557
|
+
type: "model.LibraryApplicationUsageCollection",
|
|
3295
3558
|
responseHeaders: [
|
|
3296
3559
|
{
|
|
3297
3560
|
value: response.headers.get("opc-request-id"),
|
|
@@ -3313,45 +3576,48 @@ class JavaManagementServiceClient {
|
|
|
3313
3576
|
});
|
|
3314
3577
|
}
|
|
3315
3578
|
/**
|
|
3316
|
-
*
|
|
3579
|
+
* List managed instances where a library has been detected, filtered by query parameters.
|
|
3580
|
+
*
|
|
3317
3581
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3318
|
-
* @param
|
|
3319
|
-
* @return
|
|
3582
|
+
* @param ListLibraryManagedInstanceUsageRequest
|
|
3583
|
+
* @return ListLibraryManagedInstanceUsageResponse
|
|
3320
3584
|
* @throws OciError when an error occurs
|
|
3321
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/
|
|
3585
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListLibraryManagedInstanceUsage.ts.html |here} to see how to use ListLibraryManagedInstanceUsage API.
|
|
3322
3586
|
*/
|
|
3323
|
-
|
|
3587
|
+
listLibraryManagedInstanceUsage(listLibraryManagedInstanceUsageRequest) {
|
|
3324
3588
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3325
3589
|
if (this.logger)
|
|
3326
|
-
this.logger.debug("Calling operation JavaManagementServiceClient#
|
|
3327
|
-
const operationName = "
|
|
3590
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#listLibraryManagedInstanceUsage.");
|
|
3591
|
+
const operationName = "listLibraryManagedInstanceUsage";
|
|
3328
3592
|
const apiReferenceLink = "";
|
|
3329
|
-
const pathParams = {
|
|
3593
|
+
const pathParams = {
|
|
3594
|
+
"{fleetId}": listLibraryManagedInstanceUsageRequest.fleetId,
|
|
3595
|
+
"{libraryKey}": listLibraryManagedInstanceUsageRequest.libraryKey
|
|
3596
|
+
};
|
|
3330
3597
|
const queryParams = {
|
|
3331
|
-
"
|
|
3332
|
-
"
|
|
3333
|
-
"
|
|
3334
|
-
"
|
|
3335
|
-
"
|
|
3336
|
-
"
|
|
3337
|
-
"
|
|
3338
|
-
"
|
|
3339
|
-
"
|
|
3340
|
-
"
|
|
3341
|
-
"sortOrder": listPluginErrorsRequest.sortOrder
|
|
3598
|
+
"applicationId": listLibraryManagedInstanceUsageRequest.applicationId,
|
|
3599
|
+
"managedInstanceId": listLibraryManagedInstanceUsageRequest.managedInstanceId,
|
|
3600
|
+
"hostName": listLibraryManagedInstanceUsageRequest.hostName,
|
|
3601
|
+
"hostnameContains": listLibraryManagedInstanceUsageRequest.hostnameContains,
|
|
3602
|
+
"timeStart": listLibraryManagedInstanceUsageRequest.timeStart,
|
|
3603
|
+
"timeEnd": listLibraryManagedInstanceUsageRequest.timeEnd,
|
|
3604
|
+
"limit": listLibraryManagedInstanceUsageRequest.limit,
|
|
3605
|
+
"page": listLibraryManagedInstanceUsageRequest.page,
|
|
3606
|
+
"sortBy": listLibraryManagedInstanceUsageRequest.sortBy,
|
|
3607
|
+
"sortOrder": listLibraryManagedInstanceUsageRequest.sortOrder
|
|
3342
3608
|
};
|
|
3343
3609
|
let headerParams = {
|
|
3344
3610
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3345
|
-
"opc-request-id":
|
|
3611
|
+
"opc-request-id": listLibraryManagedInstanceUsageRequest.opcRequestId
|
|
3346
3612
|
};
|
|
3347
3613
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3348
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3614
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLibraryManagedInstanceUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
3349
3615
|
if (this.logger)
|
|
3350
3616
|
retrier.logger = this.logger;
|
|
3351
3617
|
const request = yield oci_common_1.composeRequest({
|
|
3352
3618
|
baseEndpoint: this._endpoint,
|
|
3353
3619
|
defaultHeaders: this._defaultHeaders,
|
|
3354
|
-
path: "/
|
|
3620
|
+
path: "/fleets/{fleetId}/libraries/{libraryKey}/managedInstances",
|
|
3355
3621
|
method: "GET",
|
|
3356
3622
|
pathParams: pathParams,
|
|
3357
3623
|
headerParams: headerParams,
|
|
@@ -3362,9 +3628,9 @@ class JavaManagementServiceClient {
|
|
|
3362
3628
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3363
3629
|
responseObject: {},
|
|
3364
3630
|
body: yield response.json(),
|
|
3365
|
-
bodyKey: "
|
|
3366
|
-
bodyModel: model.
|
|
3367
|
-
type: "model.
|
|
3631
|
+
bodyKey: "libraryManagedInstanceUsageCollection",
|
|
3632
|
+
bodyModel: model.LibraryManagedInstanceUsageCollection,
|
|
3633
|
+
type: "model.LibraryManagedInstanceUsageCollection",
|
|
3368
3634
|
responseHeaders: [
|
|
3369
3635
|
{
|
|
3370
3636
|
value: response.headers.get("opc-request-id"),
|
|
@@ -3386,15 +3652,456 @@ class JavaManagementServiceClient {
|
|
|
3386
3652
|
});
|
|
3387
3653
|
}
|
|
3388
3654
|
/**
|
|
3389
|
-
*
|
|
3390
|
-
*
|
|
3655
|
+
* List Performance Tuning Analysis results.
|
|
3391
3656
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3392
|
-
* @param
|
|
3393
|
-
* @return
|
|
3657
|
+
* @param ListPerformanceTuningAnalysisResultsRequest
|
|
3658
|
+
* @return ListPerformanceTuningAnalysisResultsResponse
|
|
3394
3659
|
* @throws OciError when an error occurs
|
|
3395
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/
|
|
3660
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListPerformanceTuningAnalysisResults.ts.html |here} to see how to use ListPerformanceTuningAnalysisResults API.
|
|
3396
3661
|
*/
|
|
3397
|
-
|
|
3662
|
+
listPerformanceTuningAnalysisResults(listPerformanceTuningAnalysisResultsRequest) {
|
|
3663
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3664
|
+
if (this.logger)
|
|
3665
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#listPerformanceTuningAnalysisResults.");
|
|
3666
|
+
const operationName = "listPerformanceTuningAnalysisResults";
|
|
3667
|
+
const apiReferenceLink = "";
|
|
3668
|
+
const pathParams = {
|
|
3669
|
+
"{fleetId}": listPerformanceTuningAnalysisResultsRequest.fleetId
|
|
3670
|
+
};
|
|
3671
|
+
const queryParams = {
|
|
3672
|
+
"managedInstanceId": listPerformanceTuningAnalysisResultsRequest.managedInstanceId,
|
|
3673
|
+
"applicationId": listPerformanceTuningAnalysisResultsRequest.applicationId,
|
|
3674
|
+
"applicationName": listPerformanceTuningAnalysisResultsRequest.applicationName,
|
|
3675
|
+
"hostName": listPerformanceTuningAnalysisResultsRequest.hostName,
|
|
3676
|
+
"timeStart": listPerformanceTuningAnalysisResultsRequest.timeStart,
|
|
3677
|
+
"timeEnd": listPerformanceTuningAnalysisResultsRequest.timeEnd,
|
|
3678
|
+
"limit": listPerformanceTuningAnalysisResultsRequest.limit,
|
|
3679
|
+
"page": listPerformanceTuningAnalysisResultsRequest.page,
|
|
3680
|
+
"sortOrder": listPerformanceTuningAnalysisResultsRequest.sortOrder,
|
|
3681
|
+
"sortBy": listPerformanceTuningAnalysisResultsRequest.sortBy
|
|
3682
|
+
};
|
|
3683
|
+
let headerParams = {
|
|
3684
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3685
|
+
"opc-request-id": listPerformanceTuningAnalysisResultsRequest.opcRequestId
|
|
3686
|
+
};
|
|
3687
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3688
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPerformanceTuningAnalysisResultsRequest.retryConfiguration, specRetryConfiguration);
|
|
3689
|
+
if (this.logger)
|
|
3690
|
+
retrier.logger = this.logger;
|
|
3691
|
+
const request = yield oci_common_1.composeRequest({
|
|
3692
|
+
baseEndpoint: this._endpoint,
|
|
3693
|
+
defaultHeaders: this._defaultHeaders,
|
|
3694
|
+
path: "/fleets/{fleetId}/performanceTuningAnalysisResults",
|
|
3695
|
+
method: "GET",
|
|
3696
|
+
pathParams: pathParams,
|
|
3697
|
+
headerParams: headerParams,
|
|
3698
|
+
queryParams: queryParams
|
|
3699
|
+
});
|
|
3700
|
+
try {
|
|
3701
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3702
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3703
|
+
responseObject: {},
|
|
3704
|
+
body: yield response.json(),
|
|
3705
|
+
bodyKey: "performanceTuningAnalysisResultCollection",
|
|
3706
|
+
bodyModel: model.PerformanceTuningAnalysisResultCollection,
|
|
3707
|
+
type: "model.PerformanceTuningAnalysisResultCollection",
|
|
3708
|
+
responseHeaders: [
|
|
3709
|
+
{
|
|
3710
|
+
value: response.headers.get("opc-request-id"),
|
|
3711
|
+
key: "opcRequestId",
|
|
3712
|
+
dataType: "string"
|
|
3713
|
+
},
|
|
3714
|
+
{
|
|
3715
|
+
value: response.headers.get("opc-next-page"),
|
|
3716
|
+
key: "opcNextPage",
|
|
3717
|
+
dataType: "string"
|
|
3718
|
+
}
|
|
3719
|
+
]
|
|
3720
|
+
});
|
|
3721
|
+
return sdkResponse;
|
|
3722
|
+
}
|
|
3723
|
+
catch (err) {
|
|
3724
|
+
throw err;
|
|
3725
|
+
}
|
|
3726
|
+
});
|
|
3727
|
+
}
|
|
3728
|
+
/**
|
|
3729
|
+
* Returns a list of plugin errors that describe all detected errors.
|
|
3730
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3731
|
+
* @param ListPluginErrorsRequest
|
|
3732
|
+
* @return ListPluginErrorsResponse
|
|
3733
|
+
* @throws OciError when an error occurs
|
|
3734
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListPluginErrors.ts.html |here} to see how to use ListPluginErrors API.
|
|
3735
|
+
*/
|
|
3736
|
+
listPluginErrors(listPluginErrorsRequest) {
|
|
3737
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3738
|
+
if (this.logger)
|
|
3739
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#listPluginErrors.");
|
|
3740
|
+
const operationName = "listPluginErrors";
|
|
3741
|
+
const apiReferenceLink = "";
|
|
3742
|
+
const pathParams = {};
|
|
3743
|
+
const queryParams = {
|
|
3744
|
+
"compartmentId": listPluginErrorsRequest.compartmentId,
|
|
3745
|
+
"compartmentIdInSubtree": listPluginErrorsRequest.compartmentIdInSubtree,
|
|
3746
|
+
"managedInstanceId": listPluginErrorsRequest.managedInstanceId,
|
|
3747
|
+
"timeFirstSeenLessThanOrEqualTo": listPluginErrorsRequest.timeFirstSeenLessThanOrEqualTo,
|
|
3748
|
+
"timeFirstSeenGreaterThanOrEqualTo": listPluginErrorsRequest.timeFirstSeenGreaterThanOrEqualTo,
|
|
3749
|
+
"timeLastSeenLessThanOrEqualTo": listPluginErrorsRequest.timeLastSeenLessThanOrEqualTo,
|
|
3750
|
+
"timeLastSeenGreaterThanOrEqualTo": listPluginErrorsRequest.timeLastSeenGreaterThanOrEqualTo,
|
|
3751
|
+
"limit": listPluginErrorsRequest.limit,
|
|
3752
|
+
"page": listPluginErrorsRequest.page,
|
|
3753
|
+
"sortBy": listPluginErrorsRequest.sortBy,
|
|
3754
|
+
"sortOrder": listPluginErrorsRequest.sortOrder
|
|
3755
|
+
};
|
|
3756
|
+
let headerParams = {
|
|
3757
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3758
|
+
"opc-request-id": listPluginErrorsRequest.opcRequestId
|
|
3759
|
+
};
|
|
3760
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3761
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPluginErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
3762
|
+
if (this.logger)
|
|
3763
|
+
retrier.logger = this.logger;
|
|
3764
|
+
const request = yield oci_common_1.composeRequest({
|
|
3765
|
+
baseEndpoint: this._endpoint,
|
|
3766
|
+
defaultHeaders: this._defaultHeaders,
|
|
3767
|
+
path: "/pluginErrors",
|
|
3768
|
+
method: "GET",
|
|
3769
|
+
pathParams: pathParams,
|
|
3770
|
+
headerParams: headerParams,
|
|
3771
|
+
queryParams: queryParams
|
|
3772
|
+
});
|
|
3773
|
+
try {
|
|
3774
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3775
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3776
|
+
responseObject: {},
|
|
3777
|
+
body: yield response.json(),
|
|
3778
|
+
bodyKey: "pluginErrorCollection",
|
|
3779
|
+
bodyModel: model.PluginErrorCollection,
|
|
3780
|
+
type: "model.PluginErrorCollection",
|
|
3781
|
+
responseHeaders: [
|
|
3782
|
+
{
|
|
3783
|
+
value: response.headers.get("opc-request-id"),
|
|
3784
|
+
key: "opcRequestId",
|
|
3785
|
+
dataType: "string"
|
|
3786
|
+
},
|
|
3787
|
+
{
|
|
3788
|
+
value: response.headers.get("opc-next-page"),
|
|
3789
|
+
key: "opcNextPage",
|
|
3790
|
+
dataType: "string"
|
|
3791
|
+
}
|
|
3792
|
+
]
|
|
3793
|
+
});
|
|
3794
|
+
return sdkResponse;
|
|
3795
|
+
}
|
|
3796
|
+
catch (err) {
|
|
3797
|
+
throw err;
|
|
3798
|
+
}
|
|
3799
|
+
});
|
|
3800
|
+
}
|
|
3801
|
+
/**
|
|
3802
|
+
* Returns a list of task schedules.
|
|
3803
|
+
*
|
|
3804
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3805
|
+
* @param ListTaskSchedulesRequest
|
|
3806
|
+
* @return ListTaskSchedulesResponse
|
|
3807
|
+
* @throws OciError when an error occurs
|
|
3808
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListTaskSchedules.ts.html |here} to see how to use ListTaskSchedules API.
|
|
3809
|
+
*/
|
|
3810
|
+
listTaskSchedules(listTaskSchedulesRequest) {
|
|
3811
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3812
|
+
if (this.logger)
|
|
3813
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#listTaskSchedules.");
|
|
3814
|
+
const operationName = "listTaskSchedules";
|
|
3815
|
+
const apiReferenceLink = "";
|
|
3816
|
+
const pathParams = {};
|
|
3817
|
+
const queryParams = {
|
|
3818
|
+
"fleetId": listTaskSchedulesRequest.fleetId,
|
|
3819
|
+
"id": listTaskSchedulesRequest.id,
|
|
3820
|
+
"managedInstanceId": listTaskSchedulesRequest.managedInstanceId,
|
|
3821
|
+
"name": listTaskSchedulesRequest.name,
|
|
3822
|
+
"taskScheduleNameContains": listTaskSchedulesRequest.taskScheduleNameContains,
|
|
3823
|
+
"limit": listTaskSchedulesRequest.limit,
|
|
3824
|
+
"page": listTaskSchedulesRequest.page,
|
|
3825
|
+
"sortOrder": listTaskSchedulesRequest.sortOrder,
|
|
3826
|
+
"sortBy": listTaskSchedulesRequest.sortBy
|
|
3827
|
+
};
|
|
3828
|
+
let headerParams = {
|
|
3829
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3830
|
+
"opc-request-id": listTaskSchedulesRequest.opcRequestId
|
|
3831
|
+
};
|
|
3832
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3833
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTaskSchedulesRequest.retryConfiguration, specRetryConfiguration);
|
|
3834
|
+
if (this.logger)
|
|
3835
|
+
retrier.logger = this.logger;
|
|
3836
|
+
const request = yield oci_common_1.composeRequest({
|
|
3837
|
+
baseEndpoint: this._endpoint,
|
|
3838
|
+
defaultHeaders: this._defaultHeaders,
|
|
3839
|
+
path: "/taskSchedules",
|
|
3840
|
+
method: "GET",
|
|
3841
|
+
pathParams: pathParams,
|
|
3842
|
+
headerParams: headerParams,
|
|
3843
|
+
queryParams: queryParams
|
|
3844
|
+
});
|
|
3845
|
+
try {
|
|
3846
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3847
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3848
|
+
responseObject: {},
|
|
3849
|
+
body: yield response.json(),
|
|
3850
|
+
bodyKey: "taskScheduleCollection",
|
|
3851
|
+
bodyModel: model.TaskScheduleCollection,
|
|
3852
|
+
type: "model.TaskScheduleCollection",
|
|
3853
|
+
responseHeaders: [
|
|
3854
|
+
{
|
|
3855
|
+
value: response.headers.get("opc-request-id"),
|
|
3856
|
+
key: "opcRequestId",
|
|
3857
|
+
dataType: "string"
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
value: response.headers.get("opc-next-page"),
|
|
3861
|
+
key: "opcNextPage",
|
|
3862
|
+
dataType: "string"
|
|
3863
|
+
}
|
|
3864
|
+
]
|
|
3865
|
+
});
|
|
3866
|
+
return sdkResponse;
|
|
3867
|
+
}
|
|
3868
|
+
catch (err) {
|
|
3869
|
+
throw err;
|
|
3870
|
+
}
|
|
3871
|
+
});
|
|
3872
|
+
}
|
|
3873
|
+
/**
|
|
3874
|
+
* List applications where an uncorrelated package has been detected, filtered by query parameters.
|
|
3875
|
+
*
|
|
3876
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3877
|
+
* @param ListUncorrelatedPackageApplicationUsageRequest
|
|
3878
|
+
* @return ListUncorrelatedPackageApplicationUsageResponse
|
|
3879
|
+
* @throws OciError when an error occurs
|
|
3880
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListUncorrelatedPackageApplicationUsage.ts.html |here} to see how to use ListUncorrelatedPackageApplicationUsage API.
|
|
3881
|
+
*/
|
|
3882
|
+
listUncorrelatedPackageApplicationUsage(listUncorrelatedPackageApplicationUsageRequest) {
|
|
3883
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3884
|
+
if (this.logger)
|
|
3885
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#listUncorrelatedPackageApplicationUsage.");
|
|
3886
|
+
const operationName = "listUncorrelatedPackageApplicationUsage";
|
|
3887
|
+
const apiReferenceLink = "";
|
|
3888
|
+
const pathParams = {
|
|
3889
|
+
"{fleetId}": listUncorrelatedPackageApplicationUsageRequest.fleetId,
|
|
3890
|
+
"{packageName}": listUncorrelatedPackageApplicationUsageRequest.packageName
|
|
3891
|
+
};
|
|
3892
|
+
const queryParams = {
|
|
3893
|
+
"applicationId": listUncorrelatedPackageApplicationUsageRequest.applicationId,
|
|
3894
|
+
"managedInstanceId": listUncorrelatedPackageApplicationUsageRequest.managedInstanceId,
|
|
3895
|
+
"timeStart": listUncorrelatedPackageApplicationUsageRequest.timeStart,
|
|
3896
|
+
"timeEnd": listUncorrelatedPackageApplicationUsageRequest.timeEnd,
|
|
3897
|
+
"limit": listUncorrelatedPackageApplicationUsageRequest.limit,
|
|
3898
|
+
"page": listUncorrelatedPackageApplicationUsageRequest.page,
|
|
3899
|
+
"sortBy": listUncorrelatedPackageApplicationUsageRequest.sortBy,
|
|
3900
|
+
"sortOrder": listUncorrelatedPackageApplicationUsageRequest.sortOrder
|
|
3901
|
+
};
|
|
3902
|
+
let headerParams = {
|
|
3903
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3904
|
+
"opc-request-id": listUncorrelatedPackageApplicationUsageRequest.opcRequestId
|
|
3905
|
+
};
|
|
3906
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3907
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUncorrelatedPackageApplicationUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
3908
|
+
if (this.logger)
|
|
3909
|
+
retrier.logger = this.logger;
|
|
3910
|
+
const request = yield oci_common_1.composeRequest({
|
|
3911
|
+
baseEndpoint: this._endpoint,
|
|
3912
|
+
defaultHeaders: this._defaultHeaders,
|
|
3913
|
+
path: "/fleets/{fleetId}/uncorrelatedPackages/{packageName}/applications",
|
|
3914
|
+
method: "GET",
|
|
3915
|
+
pathParams: pathParams,
|
|
3916
|
+
headerParams: headerParams,
|
|
3917
|
+
queryParams: queryParams
|
|
3918
|
+
});
|
|
3919
|
+
try {
|
|
3920
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3921
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3922
|
+
responseObject: {},
|
|
3923
|
+
body: yield response.json(),
|
|
3924
|
+
bodyKey: "uncorrelatedPackageApplicationUsageCollection",
|
|
3925
|
+
bodyModel: model.UncorrelatedPackageApplicationUsageCollection,
|
|
3926
|
+
type: "model.UncorrelatedPackageApplicationUsageCollection",
|
|
3927
|
+
responseHeaders: [
|
|
3928
|
+
{
|
|
3929
|
+
value: response.headers.get("opc-request-id"),
|
|
3930
|
+
key: "opcRequestId",
|
|
3931
|
+
dataType: "string"
|
|
3932
|
+
},
|
|
3933
|
+
{
|
|
3934
|
+
value: response.headers.get("opc-next-page"),
|
|
3935
|
+
key: "opcNextPage",
|
|
3936
|
+
dataType: "string"
|
|
3937
|
+
}
|
|
3938
|
+
]
|
|
3939
|
+
});
|
|
3940
|
+
return sdkResponse;
|
|
3941
|
+
}
|
|
3942
|
+
catch (err) {
|
|
3943
|
+
throw err;
|
|
3944
|
+
}
|
|
3945
|
+
});
|
|
3946
|
+
}
|
|
3947
|
+
/**
|
|
3948
|
+
* List managed instances where an uncorrelated package has been detected, filtered by query parameters.
|
|
3949
|
+
*
|
|
3950
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3951
|
+
* @param ListUncorrelatedPackageManagedInstanceUsageRequest
|
|
3952
|
+
* @return ListUncorrelatedPackageManagedInstanceUsageResponse
|
|
3953
|
+
* @throws OciError when an error occurs
|
|
3954
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListUncorrelatedPackageManagedInstanceUsage.ts.html |here} to see how to use ListUncorrelatedPackageManagedInstanceUsage API.
|
|
3955
|
+
*/
|
|
3956
|
+
listUncorrelatedPackageManagedInstanceUsage(listUncorrelatedPackageManagedInstanceUsageRequest) {
|
|
3957
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3958
|
+
if (this.logger)
|
|
3959
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#listUncorrelatedPackageManagedInstanceUsage.");
|
|
3960
|
+
const operationName = "listUncorrelatedPackageManagedInstanceUsage";
|
|
3961
|
+
const apiReferenceLink = "";
|
|
3962
|
+
const pathParams = {
|
|
3963
|
+
"{fleetId}": listUncorrelatedPackageManagedInstanceUsageRequest.fleetId,
|
|
3964
|
+
"{packageName}": listUncorrelatedPackageManagedInstanceUsageRequest.packageName
|
|
3965
|
+
};
|
|
3966
|
+
const queryParams = {
|
|
3967
|
+
"applicationId": listUncorrelatedPackageManagedInstanceUsageRequest.applicationId,
|
|
3968
|
+
"managedInstanceId": listUncorrelatedPackageManagedInstanceUsageRequest.managedInstanceId,
|
|
3969
|
+
"timeStart": listUncorrelatedPackageManagedInstanceUsageRequest.timeStart,
|
|
3970
|
+
"timeEnd": listUncorrelatedPackageManagedInstanceUsageRequest.timeEnd,
|
|
3971
|
+
"limit": listUncorrelatedPackageManagedInstanceUsageRequest.limit,
|
|
3972
|
+
"page": listUncorrelatedPackageManagedInstanceUsageRequest.page,
|
|
3973
|
+
"sortBy": listUncorrelatedPackageManagedInstanceUsageRequest.sortBy,
|
|
3974
|
+
"sortOrder": listUncorrelatedPackageManagedInstanceUsageRequest.sortOrder
|
|
3975
|
+
};
|
|
3976
|
+
let headerParams = {
|
|
3977
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3978
|
+
"opc-request-id": listUncorrelatedPackageManagedInstanceUsageRequest.opcRequestId
|
|
3979
|
+
};
|
|
3980
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3981
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUncorrelatedPackageManagedInstanceUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
3982
|
+
if (this.logger)
|
|
3983
|
+
retrier.logger = this.logger;
|
|
3984
|
+
const request = yield oci_common_1.composeRequest({
|
|
3985
|
+
baseEndpoint: this._endpoint,
|
|
3986
|
+
defaultHeaders: this._defaultHeaders,
|
|
3987
|
+
path: "/fleets/{fleetId}/uncorrelatedPackages/{packageName}/managedInstances",
|
|
3988
|
+
method: "GET",
|
|
3989
|
+
pathParams: pathParams,
|
|
3990
|
+
headerParams: headerParams,
|
|
3991
|
+
queryParams: queryParams
|
|
3992
|
+
});
|
|
3993
|
+
try {
|
|
3994
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3995
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3996
|
+
responseObject: {},
|
|
3997
|
+
body: yield response.json(),
|
|
3998
|
+
bodyKey: "uncorrelatedPackageManagedInstanceUsageCollection",
|
|
3999
|
+
bodyModel: model.UncorrelatedPackageManagedInstanceUsageCollection,
|
|
4000
|
+
type: "model.UncorrelatedPackageManagedInstanceUsageCollection",
|
|
4001
|
+
responseHeaders: [
|
|
4002
|
+
{
|
|
4003
|
+
value: response.headers.get("opc-request-id"),
|
|
4004
|
+
key: "opcRequestId",
|
|
4005
|
+
dataType: "string"
|
|
4006
|
+
},
|
|
4007
|
+
{
|
|
4008
|
+
value: response.headers.get("opc-next-page"),
|
|
4009
|
+
key: "opcNextPage",
|
|
4010
|
+
dataType: "string"
|
|
4011
|
+
}
|
|
4012
|
+
]
|
|
4013
|
+
});
|
|
4014
|
+
return sdkResponse;
|
|
4015
|
+
}
|
|
4016
|
+
catch (err) {
|
|
4017
|
+
throw err;
|
|
4018
|
+
}
|
|
4019
|
+
});
|
|
4020
|
+
}
|
|
4021
|
+
/**
|
|
4022
|
+
* List uncorrelated package summaries in a fleet, filtered by query parameters. Uncorrelated packages are Java packages which can't be accurately correlated to a library during a library scan.
|
|
4023
|
+
*
|
|
4024
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4025
|
+
* @param ListUncorrelatedPackageUsageRequest
|
|
4026
|
+
* @return ListUncorrelatedPackageUsageResponse
|
|
4027
|
+
* @throws OciError when an error occurs
|
|
4028
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListUncorrelatedPackageUsage.ts.html |here} to see how to use ListUncorrelatedPackageUsage API.
|
|
4029
|
+
*/
|
|
4030
|
+
listUncorrelatedPackageUsage(listUncorrelatedPackageUsageRequest) {
|
|
4031
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4032
|
+
if (this.logger)
|
|
4033
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#listUncorrelatedPackageUsage.");
|
|
4034
|
+
const operationName = "listUncorrelatedPackageUsage";
|
|
4035
|
+
const apiReferenceLink = "";
|
|
4036
|
+
const pathParams = {
|
|
4037
|
+
"{fleetId}": listUncorrelatedPackageUsageRequest.fleetId
|
|
4038
|
+
};
|
|
4039
|
+
const queryParams = {
|
|
4040
|
+
"packageName": listUncorrelatedPackageUsageRequest.packageName,
|
|
4041
|
+
"managedInstanceId": listUncorrelatedPackageUsageRequest.managedInstanceId,
|
|
4042
|
+
"applicationId": listUncorrelatedPackageUsageRequest.applicationId,
|
|
4043
|
+
"timeStart": listUncorrelatedPackageUsageRequest.timeStart,
|
|
4044
|
+
"timeEnd": listUncorrelatedPackageUsageRequest.timeEnd,
|
|
4045
|
+
"limit": listUncorrelatedPackageUsageRequest.limit,
|
|
4046
|
+
"page": listUncorrelatedPackageUsageRequest.page,
|
|
4047
|
+
"sortOrder": listUncorrelatedPackageUsageRequest.sortOrder,
|
|
4048
|
+
"sortBy": listUncorrelatedPackageUsageRequest.sortBy
|
|
4049
|
+
};
|
|
4050
|
+
let headerParams = {
|
|
4051
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4052
|
+
"opc-request-id": listUncorrelatedPackageUsageRequest.opcRequestId
|
|
4053
|
+
};
|
|
4054
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4055
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUncorrelatedPackageUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
4056
|
+
if (this.logger)
|
|
4057
|
+
retrier.logger = this.logger;
|
|
4058
|
+
const request = yield oci_common_1.composeRequest({
|
|
4059
|
+
baseEndpoint: this._endpoint,
|
|
4060
|
+
defaultHeaders: this._defaultHeaders,
|
|
4061
|
+
path: "/fleets/{fleetId}/uncorrelatedPackages",
|
|
4062
|
+
method: "GET",
|
|
4063
|
+
pathParams: pathParams,
|
|
4064
|
+
headerParams: headerParams,
|
|
4065
|
+
queryParams: queryParams
|
|
4066
|
+
});
|
|
4067
|
+
try {
|
|
4068
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4069
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
4070
|
+
responseObject: {},
|
|
4071
|
+
body: yield response.json(),
|
|
4072
|
+
bodyKey: "uncorrelatedPackageUsageCollection",
|
|
4073
|
+
bodyModel: model.UncorrelatedPackageUsageCollection,
|
|
4074
|
+
type: "model.UncorrelatedPackageUsageCollection",
|
|
4075
|
+
responseHeaders: [
|
|
4076
|
+
{
|
|
4077
|
+
value: response.headers.get("opc-request-id"),
|
|
4078
|
+
key: "opcRequestId",
|
|
4079
|
+
dataType: "string"
|
|
4080
|
+
},
|
|
4081
|
+
{
|
|
4082
|
+
value: response.headers.get("opc-next-page"),
|
|
4083
|
+
key: "opcNextPage",
|
|
4084
|
+
dataType: "string"
|
|
4085
|
+
}
|
|
4086
|
+
]
|
|
4087
|
+
});
|
|
4088
|
+
return sdkResponse;
|
|
4089
|
+
}
|
|
4090
|
+
catch (err) {
|
|
4091
|
+
throw err;
|
|
4092
|
+
}
|
|
4093
|
+
});
|
|
4094
|
+
}
|
|
4095
|
+
/**
|
|
4096
|
+
* Retrieve a paginated list of work items for a specified work request.
|
|
4097
|
+
*
|
|
4098
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4099
|
+
* @param ListWorkItemsRequest
|
|
4100
|
+
* @return ListWorkItemsResponse
|
|
4101
|
+
* @throws OciError when an error occurs
|
|
4102
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListWorkItems.ts.html |here} to see how to use ListWorkItems API.
|
|
4103
|
+
*/
|
|
4104
|
+
listWorkItems(listWorkItemsRequest) {
|
|
3398
4105
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3399
4106
|
if (this.logger)
|
|
3400
4107
|
this.logger.debug("Calling operation JavaManagementServiceClient#listWorkItems.");
|
|
@@ -4852,6 +5559,75 @@ class JavaManagementServiceClient {
|
|
|
4852
5559
|
}
|
|
4853
5560
|
});
|
|
4854
5561
|
}
|
|
5562
|
+
/**
|
|
5563
|
+
* Retrieve the inventory of libraries in the specified fleet: Statically detected library count, Dynamically detected library count, Uncorrelated package count, High, Medium and Low severity library count.
|
|
5564
|
+
*
|
|
5565
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5566
|
+
* @param SummarizeLibraryInventoryRequest
|
|
5567
|
+
* @return SummarizeLibraryInventoryResponse
|
|
5568
|
+
* @throws OciError when an error occurs
|
|
5569
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/SummarizeLibraryInventory.ts.html |here} to see how to use SummarizeLibraryInventory API.
|
|
5570
|
+
*/
|
|
5571
|
+
summarizeLibraryInventory(summarizeLibraryInventoryRequest) {
|
|
5572
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5573
|
+
if (this.logger)
|
|
5574
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#summarizeLibraryInventory.");
|
|
5575
|
+
const operationName = "summarizeLibraryInventory";
|
|
5576
|
+
const apiReferenceLink = "";
|
|
5577
|
+
const pathParams = {
|
|
5578
|
+
"{fleetId}": summarizeLibraryInventoryRequest.fleetId
|
|
5579
|
+
};
|
|
5580
|
+
const queryParams = {
|
|
5581
|
+
"managedInstanceId": summarizeLibraryInventoryRequest.managedInstanceId,
|
|
5582
|
+
"applicationId": summarizeLibraryInventoryRequest.applicationId,
|
|
5583
|
+
"timeStart": summarizeLibraryInventoryRequest.timeStart,
|
|
5584
|
+
"timeEnd": summarizeLibraryInventoryRequest.timeEnd
|
|
5585
|
+
};
|
|
5586
|
+
let headerParams = {
|
|
5587
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5588
|
+
"opc-request-id": summarizeLibraryInventoryRequest.opcRequestId
|
|
5589
|
+
};
|
|
5590
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5591
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeLibraryInventoryRequest.retryConfiguration, specRetryConfiguration);
|
|
5592
|
+
if (this.logger)
|
|
5593
|
+
retrier.logger = this.logger;
|
|
5594
|
+
const request = yield oci_common_1.composeRequest({
|
|
5595
|
+
baseEndpoint: this._endpoint,
|
|
5596
|
+
defaultHeaders: this._defaultHeaders,
|
|
5597
|
+
path: "/fleets/{fleetId}/summarizeLibraryInventory",
|
|
5598
|
+
method: "GET",
|
|
5599
|
+
pathParams: pathParams,
|
|
5600
|
+
headerParams: headerParams,
|
|
5601
|
+
queryParams: queryParams
|
|
5602
|
+
});
|
|
5603
|
+
try {
|
|
5604
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5605
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
5606
|
+
responseObject: {},
|
|
5607
|
+
body: yield response.json(),
|
|
5608
|
+
bodyKey: "libraryInventory",
|
|
5609
|
+
bodyModel: model.LibraryInventory,
|
|
5610
|
+
type: "model.LibraryInventory",
|
|
5611
|
+
responseHeaders: [
|
|
5612
|
+
{
|
|
5613
|
+
value: response.headers.get("opc-request-id"),
|
|
5614
|
+
key: "opcRequestId",
|
|
5615
|
+
dataType: "string"
|
|
5616
|
+
},
|
|
5617
|
+
{
|
|
5618
|
+
value: response.headers.get("opc-next-page"),
|
|
5619
|
+
key: "opcNextPage",
|
|
5620
|
+
dataType: "string"
|
|
5621
|
+
}
|
|
5622
|
+
]
|
|
5623
|
+
});
|
|
5624
|
+
return sdkResponse;
|
|
5625
|
+
}
|
|
5626
|
+
catch (err) {
|
|
5627
|
+
throw err;
|
|
5628
|
+
}
|
|
5629
|
+
});
|
|
5630
|
+
}
|
|
4855
5631
|
/**
|
|
4856
5632
|
* List libraries in a fleet filtered by query parameters.
|
|
4857
5633
|
*
|
|
@@ -5524,6 +6300,73 @@ class JavaManagementServiceClient {
|
|
|
5524
6300
|
}
|
|
5525
6301
|
});
|
|
5526
6302
|
}
|
|
6303
|
+
/**
|
|
6304
|
+
* Update the task schedule for the given task type.
|
|
6305
|
+
*
|
|
6306
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6307
|
+
* @param UpdateTaskScheduleRequest
|
|
6308
|
+
* @return UpdateTaskScheduleResponse
|
|
6309
|
+
* @throws OciError when an error occurs
|
|
6310
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/UpdateTaskSchedule.ts.html |here} to see how to use UpdateTaskSchedule API.
|
|
6311
|
+
*/
|
|
6312
|
+
updateTaskSchedule(updateTaskScheduleRequest) {
|
|
6313
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6314
|
+
if (this.logger)
|
|
6315
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#updateTaskSchedule.");
|
|
6316
|
+
const operationName = "updateTaskSchedule";
|
|
6317
|
+
const apiReferenceLink = "";
|
|
6318
|
+
const pathParams = {
|
|
6319
|
+
"{taskScheduleId}": updateTaskScheduleRequest.taskScheduleId
|
|
6320
|
+
};
|
|
6321
|
+
const queryParams = {};
|
|
6322
|
+
let headerParams = {
|
|
6323
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6324
|
+
"if-match": updateTaskScheduleRequest.ifMatch,
|
|
6325
|
+
"opc-request-id": updateTaskScheduleRequest.opcRequestId,
|
|
6326
|
+
"opc-retry-token": updateTaskScheduleRequest.opcRetryToken
|
|
6327
|
+
};
|
|
6328
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6329
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTaskScheduleRequest.retryConfiguration, specRetryConfiguration);
|
|
6330
|
+
if (this.logger)
|
|
6331
|
+
retrier.logger = this.logger;
|
|
6332
|
+
const request = yield oci_common_1.composeRequest({
|
|
6333
|
+
baseEndpoint: this._endpoint,
|
|
6334
|
+
defaultHeaders: this._defaultHeaders,
|
|
6335
|
+
path: "/taskSchedules/{taskScheduleId}",
|
|
6336
|
+
method: "PUT",
|
|
6337
|
+
bodyContent: common.ObjectSerializer.serialize(updateTaskScheduleRequest.updateTaskScheduleDetails, "UpdateTaskScheduleDetails", model.UpdateTaskScheduleDetails.getJsonObj),
|
|
6338
|
+
pathParams: pathParams,
|
|
6339
|
+
headerParams: headerParams,
|
|
6340
|
+
queryParams: queryParams
|
|
6341
|
+
});
|
|
6342
|
+
try {
|
|
6343
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6344
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
6345
|
+
responseObject: {},
|
|
6346
|
+
body: yield response.json(),
|
|
6347
|
+
bodyKey: "taskSchedule",
|
|
6348
|
+
bodyModel: model.TaskSchedule,
|
|
6349
|
+
type: "model.TaskSchedule",
|
|
6350
|
+
responseHeaders: [
|
|
6351
|
+
{
|
|
6352
|
+
value: response.headers.get("opc-request-id"),
|
|
6353
|
+
key: "opcRequestId",
|
|
6354
|
+
dataType: "string"
|
|
6355
|
+
},
|
|
6356
|
+
{
|
|
6357
|
+
value: response.headers.get("etag"),
|
|
6358
|
+
key: "etag",
|
|
6359
|
+
dataType: "string"
|
|
6360
|
+
}
|
|
6361
|
+
]
|
|
6362
|
+
});
|
|
6363
|
+
return sdkResponse;
|
|
6364
|
+
}
|
|
6365
|
+
catch (err) {
|
|
6366
|
+
throw err;
|
|
6367
|
+
}
|
|
6368
|
+
});
|
|
6369
|
+
}
|
|
5527
6370
|
}
|
|
5528
6371
|
exports.JavaManagementServiceClient = JavaManagementServiceClient;
|
|
5529
6372
|
JavaManagementServiceClient.serviceEndpointTemplate = "https://javamanagement.{region}.oci.{secondLevelDomain}";
|