oci-jms 2.8.0 → 2.11.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/index.d.ts +1 -1
- package/index.js +1 -1
- package/lib/client.d.ts +55 -35
- package/lib/client.js +183 -52
- package/lib/client.js.map +1 -1
- package/lib/javamanagementservice-waiter.d.ts +1 -1
- package/lib/javamanagementservice-waiter.js +1 -1
- package/lib/model/action-type.d.ts +1 -1
- package/lib/model/action-type.js +1 -1
- package/lib/model/application-sort-by.d.ts +1 -1
- package/lib/model/application-sort-by.js +1 -1
- package/lib/model/application-usage-collection.d.ts +1 -1
- package/lib/model/application-usage-collection.js +1 -1
- package/lib/model/application-usage.d.ts +3 -3
- package/lib/model/application-usage.js +1 -1
- package/lib/model/change-fleet-compartment-details.d.ts +1 -1
- package/lib/model/change-fleet-compartment-details.js +1 -1
- package/lib/model/create-fleet-details.d.ts +1 -1
- package/lib/model/create-fleet-details.js +1 -1
- package/lib/model/fleet-agent-configuration.d.ts +1 -1
- package/lib/model/fleet-agent-configuration.js +1 -1
- package/lib/model/fleet-agent-os-configuration.d.ts +1 -1
- package/lib/model/fleet-agent-os-configuration.js +1 -1
- package/lib/model/fleet-collection.d.ts +1 -1
- package/lib/model/fleet-collection.js +1 -1
- package/lib/model/fleet-summary.d.ts +1 -1
- package/lib/model/fleet-summary.js +1 -1
- package/lib/model/fleet.d.ts +1 -1
- package/lib/model/fleet.js +1 -1
- package/lib/model/index.d.ts +5 -1
- package/lib/model/index.js +6 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/installation-sort-by.d.ts +1 -1
- package/lib/model/installation-sort-by.js +1 -1
- package/lib/model/installation-usage-collection.d.ts +1 -1
- package/lib/model/installation-usage-collection.js +1 -1
- package/lib/model/installation-usage.d.ts +4 -4
- package/lib/model/installation-usage.js +1 -1
- package/lib/model/jre-security-status.d.ts +30 -0
- package/lib/model/jre-security-status.js +41 -0
- package/lib/model/jre-security-status.js.map +1 -0
- package/lib/model/jre-sort-by.d.ts +3 -2
- package/lib/model/jre-sort-by.js +2 -1
- package/lib/model/jre-sort-by.js.map +1 -1
- package/lib/model/jre-usage-collection.d.ts +1 -1
- package/lib/model/jre-usage-collection.js +1 -1
- package/lib/model/jre-usage.d.ts +27 -3
- package/lib/model/jre-usage.js +1 -1
- package/lib/model/jre-usage.js.map +1 -1
- package/lib/model/lifecycle-state.d.ts +1 -1
- package/lib/model/lifecycle-state.js +1 -1
- package/lib/model/managed-instance-sort-by.d.ts +1 -1
- package/lib/model/managed-instance-sort-by.js +1 -1
- package/lib/model/managed-instance-type.d.ts +1 -1
- package/lib/model/managed-instance-type.js +1 -1
- package/lib/model/managed-instance-usage-collection.d.ts +1 -1
- package/lib/model/managed-instance-usage-collection.js +1 -1
- package/lib/model/managed-instance-usage.d.ts +8 -3
- package/lib/model/managed-instance-usage.js +1 -1
- package/lib/model/managed-instance-usage.js.map +1 -1
- package/lib/model/operating-system.d.ts +2 -1
- package/lib/model/operating-system.js +1 -1
- package/lib/model/operating-system.js.map +1 -1
- package/lib/model/operation-status.d.ts +1 -1
- package/lib/model/operation-status.js +1 -1
- package/lib/model/operation-type.d.ts +1 -1
- package/lib/model/operation-type.js +1 -1
- package/lib/model/os-family.d.ts +1 -1
- package/lib/model/os-family.js +1 -1
- package/lib/model/resource-inventory.d.ts +41 -0
- package/lib/model/resource-inventory.js +29 -0
- package/lib/model/resource-inventory.js.map +1 -0
- package/lib/model/sort-by.d.ts +1 -1
- package/lib/model/sort-by.js +1 -1
- package/lib/model/sort-order.d.ts +1 -1
- package/lib/model/sort-order.js +1 -1
- package/lib/model/summarize-application-usage-fields.d.ts +1 -1
- package/lib/model/summarize-application-usage-fields.js +1 -1
- package/lib/model/summarize-installation-usage-fields.d.ts +1 -1
- package/lib/model/summarize-installation-usage-fields.js +1 -1
- package/lib/model/summarize-jre-usage-fields.d.ts +1 -1
- package/lib/model/summarize-jre-usage-fields.js +1 -1
- package/lib/model/summarize-managed-instance-usage-fields.d.ts +1 -1
- package/lib/model/summarize-managed-instance-usage-fields.js +1 -1
- package/lib/model/update-fleet-agent-configuration-details.d.ts +1 -1
- package/lib/model/update-fleet-agent-configuration-details.js +1 -1
- package/lib/model/update-fleet-details.d.ts +1 -1
- package/lib/model/update-fleet-details.js +1 -1
- package/lib/model/work-request-collection.d.ts +1 -1
- package/lib/model/work-request-collection.js +1 -1
- package/lib/model/work-request-error-collection.d.ts +1 -1
- package/lib/model/work-request-error-collection.js +1 -1
- package/lib/model/work-request-error.d.ts +1 -1
- package/lib/model/work-request-error.js +1 -1
- package/lib/model/work-request-log-entry-collection.d.ts +1 -1
- package/lib/model/work-request-log-entry-collection.js +1 -1
- package/lib/model/work-request-log-entry.d.ts +1 -1
- package/lib/model/work-request-log-entry.js +1 -1
- package/lib/model/work-request-resource.d.ts +1 -1
- package/lib/model/work-request-resource.js +1 -1
- package/lib/model/work-request.d.ts +1 -1
- package/lib/model/work-request.js +1 -1
- package/lib/request/change-fleet-compartment-request.d.ts +2 -2
- package/lib/request/change-fleet-compartment-request.js +1 -1
- package/lib/request/create-fleet-request.d.ts +2 -2
- package/lib/request/create-fleet-request.js +1 -1
- package/lib/request/delete-fleet-request.d.ts +2 -2
- package/lib/request/delete-fleet-request.js +1 -1
- package/lib/request/get-fleet-agent-configuration-request.d.ts +2 -2
- package/lib/request/get-fleet-agent-configuration-request.js +1 -1
- package/lib/request/get-fleet-request.d.ts +2 -2
- package/lib/request/get-fleet-request.js +1 -1
- package/lib/request/get-work-request-request.d.ts +2 -2
- package/lib/request/get-work-request-request.js +1 -1
- package/lib/request/index.d.ts +5 -1
- package/lib/request/index.js +1 -1
- package/lib/request/list-fleets-request.d.ts +3 -2
- package/lib/request/list-fleets-request.js +1 -1
- package/lib/request/list-jre-usage-request.d.ts +70 -0
- package/lib/request/list-jre-usage-request.js +15 -0
- package/lib/request/list-jre-usage-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +2 -2
- package/lib/request/list-work-request-errors-request.js +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +2 -2
- package/lib/request/list-work-request-logs-request.js +1 -1
- package/lib/request/list-work-requests-request.d.ts +3 -2
- package/lib/request/list-work-requests-request.js +1 -1
- package/lib/request/summarize-application-usage-request.d.ts +2 -2
- package/lib/request/summarize-application-usage-request.js +1 -1
- package/lib/request/summarize-installation-usage-request.d.ts +2 -2
- package/lib/request/summarize-installation-usage-request.js +1 -1
- package/lib/request/summarize-jre-usage-request.d.ts +6 -2
- package/lib/request/summarize-jre-usage-request.js +1 -1
- package/lib/request/summarize-managed-instance-usage-request.d.ts +2 -2
- package/lib/request/summarize-managed-instance-usage-request.js +1 -1
- package/lib/request/summarize-resource-inventory-request.d.ts +35 -0
- package/lib/request/summarize-resource-inventory-request.js +15 -0
- package/lib/request/summarize-resource-inventory-request.js.map +1 -0
- package/lib/request/update-fleet-agent-configuration-request.d.ts +2 -2
- package/lib/request/update-fleet-agent-configuration-request.js +1 -1
- package/lib/request/update-fleet-request.d.ts +2 -2
- package/lib/request/update-fleet-request.js +1 -1
- package/lib/response/change-fleet-compartment-response.d.ts +1 -1
- package/lib/response/change-fleet-compartment-response.js +1 -1
- package/lib/response/create-fleet-response.d.ts +1 -1
- package/lib/response/create-fleet-response.js +1 -1
- package/lib/response/delete-fleet-response.d.ts +1 -1
- package/lib/response/delete-fleet-response.js +1 -1
- package/lib/response/get-fleet-agent-configuration-response.d.ts +1 -1
- package/lib/response/get-fleet-agent-configuration-response.js +1 -1
- package/lib/response/get-fleet-response.d.ts +1 -1
- package/lib/response/get-fleet-response.js +1 -1
- package/lib/response/get-work-request-response.d.ts +1 -1
- package/lib/response/get-work-request-response.js +1 -1
- package/lib/response/index.d.ts +5 -1
- package/lib/response/index.js +1 -1
- package/lib/response/list-fleets-response.d.ts +1 -1
- package/lib/response/list-fleets-response.js +1 -1
- package/lib/response/list-jre-usage-response.d.ts +32 -0
- package/lib/response/list-jre-usage-response.js +15 -0
- package/lib/response/list-jre-usage-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +1 -1
- package/lib/response/list-work-request-errors-response.js +1 -1
- package/lib/response/list-work-request-logs-response.d.ts +1 -1
- package/lib/response/list-work-request-logs-response.js +1 -1
- package/lib/response/list-work-requests-response.d.ts +1 -1
- package/lib/response/list-work-requests-response.js +1 -1
- package/lib/response/summarize-application-usage-response.d.ts +1 -1
- package/lib/response/summarize-application-usage-response.js +1 -1
- package/lib/response/summarize-installation-usage-response.d.ts +1 -1
- package/lib/response/summarize-installation-usage-response.js +1 -1
- package/lib/response/summarize-jre-usage-response.d.ts +1 -1
- package/lib/response/summarize-jre-usage-response.js +1 -1
- package/lib/response/summarize-managed-instance-usage-response.d.ts +1 -1
- package/lib/response/summarize-managed-instance-usage-response.js +1 -1
- package/lib/response/summarize-resource-inventory-response.d.ts +25 -0
- package/lib/response/summarize-resource-inventory-response.js +15 -0
- package/lib/response/summarize-resource-inventory-response.js.map +1 -0
- package/lib/response/update-fleet-agent-configuration-response.d.ts +1 -1
- package/lib/response/update-fleet-agent-configuration-response.js +1 -1
- package/lib/response/update-fleet-response.d.ts +1 -1
- package/lib/response/update-fleet-response.js +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*
|
|
11
|
-
* Copyright (c) 2020,
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
12
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
13
|
*/
|
|
14
14
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -147,11 +147,11 @@ class JavaManagementServiceClient {
|
|
|
147
147
|
/**
|
|
148
148
|
* Move a specified Fleet into the compartment identified in the POST form. When provided, If-Match is checked against ETag values of the resource.
|
|
149
149
|
*
|
|
150
|
-
* This operation
|
|
150
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
151
151
|
* @param ChangeFleetCompartmentRequest
|
|
152
152
|
* @return ChangeFleetCompartmentResponse
|
|
153
153
|
* @throws OciError when an error occurs
|
|
154
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
154
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/ChangeFleetCompartment.ts.html |here} to see how to use ChangeFleetCompartment API.
|
|
155
155
|
*/
|
|
156
156
|
changeFleetCompartment(changeFleetCompartmentRequest) {
|
|
157
157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -167,7 +167,7 @@ class JavaManagementServiceClient {
|
|
|
167
167
|
"opc-retry-token": changeFleetCompartmentRequest.opcRetryToken,
|
|
168
168
|
"opc-request-id": changeFleetCompartmentRequest.opcRequestId
|
|
169
169
|
};
|
|
170
|
-
const specRetryConfiguration = common.
|
|
170
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
171
171
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFleetCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
172
172
|
if (this.logger)
|
|
173
173
|
retrier.logger = this.logger;
|
|
@@ -208,11 +208,11 @@ class JavaManagementServiceClient {
|
|
|
208
208
|
/**
|
|
209
209
|
* Create a new Fleet using the information provided.
|
|
210
210
|
*
|
|
211
|
-
* This operation
|
|
211
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
212
212
|
* @param CreateFleetRequest
|
|
213
213
|
* @return CreateFleetResponse
|
|
214
214
|
* @throws OciError when an error occurs
|
|
215
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
215
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/CreateFleet.ts.html |here} to see how to use CreateFleet API.
|
|
216
216
|
*/
|
|
217
217
|
createFleet(createFleetRequest) {
|
|
218
218
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -225,7 +225,7 @@ class JavaManagementServiceClient {
|
|
|
225
225
|
"opc-retry-token": createFleetRequest.opcRetryToken,
|
|
226
226
|
"opc-request-id": createFleetRequest.opcRequestId
|
|
227
227
|
};
|
|
228
|
-
const specRetryConfiguration = common.
|
|
228
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
229
229
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFleetRequest.retryConfiguration, specRetryConfiguration);
|
|
230
230
|
if (this.logger)
|
|
231
231
|
retrier.logger = this.logger;
|
|
@@ -265,11 +265,11 @@ class JavaManagementServiceClient {
|
|
|
265
265
|
}
|
|
266
266
|
/**
|
|
267
267
|
* Deletes the Fleet specified by an identifier.
|
|
268
|
-
* This operation
|
|
268
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
269
269
|
* @param DeleteFleetRequest
|
|
270
270
|
* @return DeleteFleetResponse
|
|
271
271
|
* @throws OciError when an error occurs
|
|
272
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
272
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/DeleteFleet.ts.html |here} to see how to use DeleteFleet API.
|
|
273
273
|
*/
|
|
274
274
|
deleteFleet(deleteFleetRequest) {
|
|
275
275
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -284,7 +284,7 @@ class JavaManagementServiceClient {
|
|
|
284
284
|
"if-match": deleteFleetRequest.ifMatch,
|
|
285
285
|
"opc-request-id": deleteFleetRequest.opcRequestId
|
|
286
286
|
};
|
|
287
|
-
const specRetryConfiguration = common.
|
|
287
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
288
288
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFleetRequest.retryConfiguration, specRetryConfiguration);
|
|
289
289
|
if (this.logger)
|
|
290
290
|
retrier.logger = this.logger;
|
|
@@ -323,11 +323,11 @@ class JavaManagementServiceClient {
|
|
|
323
323
|
}
|
|
324
324
|
/**
|
|
325
325
|
* Retrieve a Fleet with the specified identifier.
|
|
326
|
-
* This operation
|
|
326
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
327
327
|
* @param GetFleetRequest
|
|
328
328
|
* @return GetFleetResponse
|
|
329
329
|
* @throws OciError when an error occurs
|
|
330
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
330
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/GetFleet.ts.html |here} to see how to use GetFleet API.
|
|
331
331
|
*/
|
|
332
332
|
getFleet(getFleetRequest) {
|
|
333
333
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -341,7 +341,7 @@ class JavaManagementServiceClient {
|
|
|
341
341
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
342
342
|
"opc-request-id": getFleetRequest.opcRequestId
|
|
343
343
|
};
|
|
344
|
-
const specRetryConfiguration = common.
|
|
344
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
345
345
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFleetRequest.retryConfiguration, specRetryConfiguration);
|
|
346
346
|
if (this.logger)
|
|
347
347
|
retrier.logger = this.logger;
|
|
@@ -384,11 +384,11 @@ class JavaManagementServiceClient {
|
|
|
384
384
|
}
|
|
385
385
|
/**
|
|
386
386
|
* Retrieve a Fleet Agent Configuration for the specified Fleet.
|
|
387
|
-
* This operation
|
|
387
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
388
388
|
* @param GetFleetAgentConfigurationRequest
|
|
389
389
|
* @return GetFleetAgentConfigurationResponse
|
|
390
390
|
* @throws OciError when an error occurs
|
|
391
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
391
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/GetFleetAgentConfiguration.ts.html |here} to see how to use GetFleetAgentConfiguration API.
|
|
392
392
|
*/
|
|
393
393
|
getFleetAgentConfiguration(getFleetAgentConfigurationRequest) {
|
|
394
394
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -402,7 +402,7 @@ class JavaManagementServiceClient {
|
|
|
402
402
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
403
403
|
"opc-request-id": getFleetAgentConfigurationRequest.opcRequestId
|
|
404
404
|
};
|
|
405
|
-
const specRetryConfiguration = common.
|
|
405
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
406
406
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFleetAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
407
407
|
if (this.logger)
|
|
408
408
|
retrier.logger = this.logger;
|
|
@@ -445,11 +445,11 @@ class JavaManagementServiceClient {
|
|
|
445
445
|
}
|
|
446
446
|
/**
|
|
447
447
|
* Retrieve the details of a work request with the specified ID.
|
|
448
|
-
* This operation
|
|
448
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
449
449
|
* @param GetWorkRequestRequest
|
|
450
450
|
* @return GetWorkRequestResponse
|
|
451
451
|
* @throws OciError when an error occurs
|
|
452
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
452
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
453
453
|
*/
|
|
454
454
|
getWorkRequest(getWorkRequestRequest) {
|
|
455
455
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -463,7 +463,7 @@ class JavaManagementServiceClient {
|
|
|
463
463
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
464
464
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
465
465
|
};
|
|
466
|
-
const specRetryConfiguration = common.
|
|
466
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
467
467
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
468
468
|
if (this.logger)
|
|
469
469
|
retrier.logger = this.logger;
|
|
@@ -505,13 +505,14 @@ class JavaManagementServiceClient {
|
|
|
505
505
|
});
|
|
506
506
|
}
|
|
507
507
|
/**
|
|
508
|
-
* Returns a list of all the Fleets contained by a compartment.
|
|
508
|
+
* Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId`
|
|
509
|
+
* is required unless the query parameter `id` is specified.
|
|
509
510
|
*
|
|
510
|
-
* This operation
|
|
511
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
511
512
|
* @param ListFleetsRequest
|
|
512
513
|
* @return ListFleetsResponse
|
|
513
514
|
* @throws OciError when an error occurs
|
|
514
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
515
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/ListFleets.ts.html |here} to see how to use ListFleets API.
|
|
515
516
|
*/
|
|
516
517
|
listFleets(listFleetsRequest) {
|
|
517
518
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -532,7 +533,7 @@ class JavaManagementServiceClient {
|
|
|
532
533
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
533
534
|
"opc-request-id": listFleetsRequest.opcRequestId
|
|
534
535
|
};
|
|
535
|
-
const specRetryConfiguration = common.
|
|
536
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
536
537
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFleetsRequest.retryConfiguration, specRetryConfiguration);
|
|
537
538
|
if (this.logger)
|
|
538
539
|
retrier.logger = this.logger;
|
|
@@ -573,14 +574,84 @@ class JavaManagementServiceClient {
|
|
|
573
574
|
}
|
|
574
575
|
});
|
|
575
576
|
}
|
|
577
|
+
/**
|
|
578
|
+
* List Java Runtime usage in a specified host filtered by query parameters.
|
|
579
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
580
|
+
* @param ListJreUsageRequest
|
|
581
|
+
* @return ListJreUsageResponse
|
|
582
|
+
* @throws OciError when an error occurs
|
|
583
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/ListJreUsage.ts.html |here} to see how to use ListJreUsage API.
|
|
584
|
+
*/
|
|
585
|
+
listJreUsage(listJreUsageRequest) {
|
|
586
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
587
|
+
if (this.logger)
|
|
588
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#listJreUsage.");
|
|
589
|
+
const pathParams = {};
|
|
590
|
+
const queryParams = {
|
|
591
|
+
"compartmentId": listJreUsageRequest.compartmentId,
|
|
592
|
+
"hostId": listJreUsageRequest.hostId,
|
|
593
|
+
"applicationId": listJreUsageRequest.applicationId,
|
|
594
|
+
"applicationName": listJreUsageRequest.applicationName,
|
|
595
|
+
"timeStart": listJreUsageRequest.timeStart,
|
|
596
|
+
"timeEnd": listJreUsageRequest.timeEnd,
|
|
597
|
+
"limit": listJreUsageRequest.limit,
|
|
598
|
+
"page": listJreUsageRequest.page,
|
|
599
|
+
"sortOrder": listJreUsageRequest.sortOrder,
|
|
600
|
+
"sortBy": listJreUsageRequest.sortBy
|
|
601
|
+
};
|
|
602
|
+
let headerParams = {
|
|
603
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
604
|
+
"opc-request-id": listJreUsageRequest.opcRequestId
|
|
605
|
+
};
|
|
606
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
607
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJreUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
608
|
+
if (this.logger)
|
|
609
|
+
retrier.logger = this.logger;
|
|
610
|
+
const request = yield oci_common_1.composeRequest({
|
|
611
|
+
baseEndpoint: this._endpoint,
|
|
612
|
+
defaultHeaders: this._defaultHeaders,
|
|
613
|
+
path: "/listJreUsage",
|
|
614
|
+
method: "GET",
|
|
615
|
+
pathParams: pathParams,
|
|
616
|
+
headerParams: headerParams,
|
|
617
|
+
queryParams: queryParams
|
|
618
|
+
});
|
|
619
|
+
try {
|
|
620
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
621
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
622
|
+
responseObject: {},
|
|
623
|
+
body: yield response.json(),
|
|
624
|
+
bodyKey: "jreUsageCollection",
|
|
625
|
+
bodyModel: model.JreUsageCollection,
|
|
626
|
+
type: "model.JreUsageCollection",
|
|
627
|
+
responseHeaders: [
|
|
628
|
+
{
|
|
629
|
+
value: response.headers.get("opc-request-id"),
|
|
630
|
+
key: "opcRequestId",
|
|
631
|
+
dataType: "string"
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
value: response.headers.get("opc-next-page"),
|
|
635
|
+
key: "opcNextPage",
|
|
636
|
+
dataType: "string"
|
|
637
|
+
}
|
|
638
|
+
]
|
|
639
|
+
});
|
|
640
|
+
return sdkResponse;
|
|
641
|
+
}
|
|
642
|
+
catch (err) {
|
|
643
|
+
throw err;
|
|
644
|
+
}
|
|
645
|
+
});
|
|
646
|
+
}
|
|
576
647
|
/**
|
|
577
648
|
* Retrieve a (paginated) list of errors for a specified work request.
|
|
578
649
|
*
|
|
579
|
-
* This operation
|
|
650
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
580
651
|
* @param ListWorkRequestErrorsRequest
|
|
581
652
|
* @return ListWorkRequestErrorsResponse
|
|
582
653
|
* @throws OciError when an error occurs
|
|
583
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
654
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
584
655
|
*/
|
|
585
656
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
586
657
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -597,7 +668,7 @@ class JavaManagementServiceClient {
|
|
|
597
668
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
598
669
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
599
670
|
};
|
|
600
|
-
const specRetryConfiguration = common.
|
|
671
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
601
672
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
602
673
|
if (this.logger)
|
|
603
674
|
retrier.logger = this.logger;
|
|
@@ -641,11 +712,11 @@ class JavaManagementServiceClient {
|
|
|
641
712
|
/**
|
|
642
713
|
* Retrieve a (paginated) list of logs for a specified work request.
|
|
643
714
|
*
|
|
644
|
-
* This operation
|
|
715
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
645
716
|
* @param ListWorkRequestLogsRequest
|
|
646
717
|
* @return ListWorkRequestLogsResponse
|
|
647
718
|
* @throws OciError when an error occurs
|
|
648
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
719
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
649
720
|
*/
|
|
650
721
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
651
722
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -662,7 +733,7 @@ class JavaManagementServiceClient {
|
|
|
662
733
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
663
734
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
664
735
|
};
|
|
665
|
-
const specRetryConfiguration = common.
|
|
736
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
666
737
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
667
738
|
if (this.logger)
|
|
668
739
|
retrier.logger = this.logger;
|
|
@@ -704,13 +775,13 @@ class JavaManagementServiceClient {
|
|
|
704
775
|
});
|
|
705
776
|
}
|
|
706
777
|
/**
|
|
707
|
-
* List the work requests in a compartment.
|
|
778
|
+
* List the work requests in a compartment. The query parameter `compartmentId` is required unless the query parameter `id` is specified.
|
|
708
779
|
*
|
|
709
|
-
* This operation
|
|
780
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
710
781
|
* @param ListWorkRequestsRequest
|
|
711
782
|
* @return ListWorkRequestsResponse
|
|
712
783
|
* @throws OciError when an error occurs
|
|
713
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
784
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
714
785
|
*/
|
|
715
786
|
listWorkRequests(listWorkRequestsRequest) {
|
|
716
787
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -727,7 +798,7 @@ class JavaManagementServiceClient {
|
|
|
727
798
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
728
799
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
729
800
|
};
|
|
730
|
-
const specRetryConfiguration = common.
|
|
801
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
731
802
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
732
803
|
if (this.logger)
|
|
733
804
|
retrier.logger = this.logger;
|
|
@@ -770,11 +841,11 @@ class JavaManagementServiceClient {
|
|
|
770
841
|
}
|
|
771
842
|
/**
|
|
772
843
|
* List application usage in a Fleet filtered by query parameters.
|
|
773
|
-
* This operation
|
|
844
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
774
845
|
* @param SummarizeApplicationUsageRequest
|
|
775
846
|
* @return SummarizeApplicationUsageResponse
|
|
776
847
|
* @throws OciError when an error occurs
|
|
777
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
848
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/SummarizeApplicationUsage.ts.html |here} to see how to use SummarizeApplicationUsage API.
|
|
778
849
|
*/
|
|
779
850
|
summarizeApplicationUsage(summarizeApplicationUsageRequest) {
|
|
780
851
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -805,7 +876,7 @@ class JavaManagementServiceClient {
|
|
|
805
876
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
806
877
|
"opc-request-id": summarizeApplicationUsageRequest.opcRequestId
|
|
807
878
|
};
|
|
808
|
-
const specRetryConfiguration = common.
|
|
879
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
809
880
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeApplicationUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
810
881
|
if (this.logger)
|
|
811
882
|
retrier.logger = this.logger;
|
|
@@ -848,11 +919,11 @@ class JavaManagementServiceClient {
|
|
|
848
919
|
}
|
|
849
920
|
/**
|
|
850
921
|
* List Java installation usage in a Fleet filtered by query parameters.
|
|
851
|
-
* This operation
|
|
922
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
852
923
|
* @param SummarizeInstallationUsageRequest
|
|
853
924
|
* @return SummarizeInstallationUsageResponse
|
|
854
925
|
* @throws OciError when an error occurs
|
|
855
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
926
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/SummarizeInstallationUsage.ts.html |here} to see how to use SummarizeInstallationUsage API.
|
|
856
927
|
*/
|
|
857
928
|
summarizeInstallationUsage(summarizeInstallationUsageRequest) {
|
|
858
929
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -881,7 +952,7 @@ class JavaManagementServiceClient {
|
|
|
881
952
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
882
953
|
"opc-request-id": summarizeInstallationUsageRequest.opcRequestId
|
|
883
954
|
};
|
|
884
|
-
const specRetryConfiguration = common.
|
|
955
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
885
956
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeInstallationUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
886
957
|
if (this.logger)
|
|
887
958
|
retrier.logger = this.logger;
|
|
@@ -924,11 +995,11 @@ class JavaManagementServiceClient {
|
|
|
924
995
|
}
|
|
925
996
|
/**
|
|
926
997
|
* List Java Runtime usage in a specified Fleet filtered by query parameters.
|
|
927
|
-
* This operation
|
|
998
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
928
999
|
* @param SummarizeJreUsageRequest
|
|
929
1000
|
* @return SummarizeJreUsageResponse
|
|
930
1001
|
* @throws OciError when an error occurs
|
|
931
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1002
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/SummarizeJreUsage.ts.html |here} to see how to use SummarizeJreUsage API.
|
|
932
1003
|
*/
|
|
933
1004
|
summarizeJreUsage(summarizeJreUsageRequest) {
|
|
934
1005
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -950,13 +1021,14 @@ class JavaManagementServiceClient {
|
|
|
950
1021
|
"page": summarizeJreUsageRequest.page,
|
|
951
1022
|
"sortOrder": summarizeJreUsageRequest.sortOrder,
|
|
952
1023
|
"sortBy": summarizeJreUsageRequest.sortBy,
|
|
953
|
-
"osFamily": summarizeJreUsageRequest.osFamily
|
|
1024
|
+
"osFamily": summarizeJreUsageRequest.osFamily,
|
|
1025
|
+
"jreSecurityStatus": summarizeJreUsageRequest.jreSecurityStatus
|
|
954
1026
|
};
|
|
955
1027
|
let headerParams = {
|
|
956
1028
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
957
1029
|
"opc-request-id": summarizeJreUsageRequest.opcRequestId
|
|
958
1030
|
};
|
|
959
|
-
const specRetryConfiguration = common.
|
|
1031
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
960
1032
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeJreUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
961
1033
|
if (this.logger)
|
|
962
1034
|
retrier.logger = this.logger;
|
|
@@ -999,11 +1071,11 @@ class JavaManagementServiceClient {
|
|
|
999
1071
|
}
|
|
1000
1072
|
/**
|
|
1001
1073
|
* List managed instance usage in a Fleet filtered by query parameters.
|
|
1002
|
-
* This operation
|
|
1074
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1003
1075
|
* @param SummarizeManagedInstanceUsageRequest
|
|
1004
1076
|
* @return SummarizeManagedInstanceUsageResponse
|
|
1005
1077
|
* @throws OciError when an error occurs
|
|
1006
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1078
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/SummarizeManagedInstanceUsage.ts.html |here} to see how to use SummarizeManagedInstanceUsage API.
|
|
1007
1079
|
*/
|
|
1008
1080
|
summarizeManagedInstanceUsage(summarizeManagedInstanceUsageRequest) {
|
|
1009
1081
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1033,7 +1105,7 @@ class JavaManagementServiceClient {
|
|
|
1033
1105
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1034
1106
|
"opc-request-id": summarizeManagedInstanceUsageRequest.opcRequestId
|
|
1035
1107
|
};
|
|
1036
|
-
const specRetryConfiguration = common.
|
|
1108
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1037
1109
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeManagedInstanceUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
1038
1110
|
if (this.logger)
|
|
1039
1111
|
retrier.logger = this.logger;
|
|
@@ -1074,13 +1146,72 @@ class JavaManagementServiceClient {
|
|
|
1074
1146
|
}
|
|
1075
1147
|
});
|
|
1076
1148
|
}
|
|
1149
|
+
/**
|
|
1150
|
+
* Retrieve the inventory of JMS resources in the specified compartment: a list of the number of _active_ fleets, managed instances, Java Runtimes, Java installations, and applications.
|
|
1151
|
+
*
|
|
1152
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1153
|
+
* @param SummarizeResourceInventoryRequest
|
|
1154
|
+
* @return SummarizeResourceInventoryResponse
|
|
1155
|
+
* @throws OciError when an error occurs
|
|
1156
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/SummarizeResourceInventory.ts.html |here} to see how to use SummarizeResourceInventory API.
|
|
1157
|
+
*/
|
|
1158
|
+
summarizeResourceInventory(summarizeResourceInventoryRequest) {
|
|
1159
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1160
|
+
if (this.logger)
|
|
1161
|
+
this.logger.debug("Calling operation JavaManagementServiceClient#summarizeResourceInventory.");
|
|
1162
|
+
const pathParams = {};
|
|
1163
|
+
const queryParams = {
|
|
1164
|
+
"compartmentId": summarizeResourceInventoryRequest.compartmentId,
|
|
1165
|
+
"timeStart": summarizeResourceInventoryRequest.timeStart,
|
|
1166
|
+
"timeEnd": summarizeResourceInventoryRequest.timeEnd
|
|
1167
|
+
};
|
|
1168
|
+
let headerParams = {
|
|
1169
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1170
|
+
"opc-request-id": summarizeResourceInventoryRequest.opcRequestId
|
|
1171
|
+
};
|
|
1172
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1173
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeResourceInventoryRequest.retryConfiguration, specRetryConfiguration);
|
|
1174
|
+
if (this.logger)
|
|
1175
|
+
retrier.logger = this.logger;
|
|
1176
|
+
const request = yield oci_common_1.composeRequest({
|
|
1177
|
+
baseEndpoint: this._endpoint,
|
|
1178
|
+
defaultHeaders: this._defaultHeaders,
|
|
1179
|
+
path: "/summarizeResourceInventory",
|
|
1180
|
+
method: "GET",
|
|
1181
|
+
pathParams: pathParams,
|
|
1182
|
+
headerParams: headerParams,
|
|
1183
|
+
queryParams: queryParams
|
|
1184
|
+
});
|
|
1185
|
+
try {
|
|
1186
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1187
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1188
|
+
responseObject: {},
|
|
1189
|
+
body: yield response.json(),
|
|
1190
|
+
bodyKey: "resourceInventory",
|
|
1191
|
+
bodyModel: model.ResourceInventory,
|
|
1192
|
+
type: "model.ResourceInventory",
|
|
1193
|
+
responseHeaders: [
|
|
1194
|
+
{
|
|
1195
|
+
value: response.headers.get("opc-request-id"),
|
|
1196
|
+
key: "opcRequestId",
|
|
1197
|
+
dataType: "string"
|
|
1198
|
+
}
|
|
1199
|
+
]
|
|
1200
|
+
});
|
|
1201
|
+
return sdkResponse;
|
|
1202
|
+
}
|
|
1203
|
+
catch (err) {
|
|
1204
|
+
throw err;
|
|
1205
|
+
}
|
|
1206
|
+
});
|
|
1207
|
+
}
|
|
1077
1208
|
/**
|
|
1078
1209
|
* Update the Fleet specified by an identifier.
|
|
1079
|
-
* This operation
|
|
1210
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1080
1211
|
* @param UpdateFleetRequest
|
|
1081
1212
|
* @return UpdateFleetResponse
|
|
1082
1213
|
* @throws OciError when an error occurs
|
|
1083
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1214
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/UpdateFleet.ts.html |here} to see how to use UpdateFleet API.
|
|
1084
1215
|
*/
|
|
1085
1216
|
updateFleet(updateFleetRequest) {
|
|
1086
1217
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1095,7 +1226,7 @@ class JavaManagementServiceClient {
|
|
|
1095
1226
|
"if-match": updateFleetRequest.ifMatch,
|
|
1096
1227
|
"opc-request-id": updateFleetRequest.opcRequestId
|
|
1097
1228
|
};
|
|
1098
|
-
const specRetryConfiguration = common.
|
|
1229
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1099
1230
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFleetRequest.retryConfiguration, specRetryConfiguration);
|
|
1100
1231
|
if (this.logger)
|
|
1101
1232
|
retrier.logger = this.logger;
|
|
@@ -1135,11 +1266,11 @@ class JavaManagementServiceClient {
|
|
|
1135
1266
|
}
|
|
1136
1267
|
/**
|
|
1137
1268
|
* Update the Fleet Agent Configuration for the specified Fleet.
|
|
1138
|
-
* This operation
|
|
1269
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1139
1270
|
* @param UpdateFleetAgentConfigurationRequest
|
|
1140
1271
|
* @return UpdateFleetAgentConfigurationResponse
|
|
1141
1272
|
* @throws OciError when an error occurs
|
|
1142
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1273
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/jms/UpdateFleetAgentConfiguration.ts.html |here} to see how to use UpdateFleetAgentConfiguration API.
|
|
1143
1274
|
*/
|
|
1144
1275
|
updateFleetAgentConfiguration(updateFleetAgentConfigurationRequest) {
|
|
1145
1276
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1154,7 +1285,7 @@ class JavaManagementServiceClient {
|
|
|
1154
1285
|
"if-match": updateFleetAgentConfigurationRequest.ifMatch,
|
|
1155
1286
|
"opc-request-id": updateFleetAgentConfigurationRequest.opcRequestId
|
|
1156
1287
|
};
|
|
1157
|
-
const specRetryConfiguration = common.
|
|
1288
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1158
1289
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFleetAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1159
1290
|
if (this.logger)
|
|
1160
1291
|
retrier.logger = this.logger;
|