oci-jms 2.7.0 → 2.10.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.
Files changed (53) hide show
  1. package/lib/client.d.ts +39 -19
  2. package/lib/client.js +152 -21
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/index.d.ts +4 -0
  5. package/lib/model/index.js +5 -1
  6. package/lib/model/index.js.map +1 -1
  7. package/lib/model/installation-usage.d.ts +1 -1
  8. package/lib/model/jre-security-status.d.ts +30 -0
  9. package/lib/model/jre-security-status.js +41 -0
  10. package/lib/model/jre-security-status.js.map +1 -0
  11. package/lib/model/jre-sort-by.d.ts +2 -1
  12. package/lib/model/jre-sort-by.js +1 -0
  13. package/lib/model/jre-sort-by.js.map +1 -1
  14. package/lib/model/jre-usage.d.ts +24 -0
  15. package/lib/model/jre-usage.js.map +1 -1
  16. package/lib/model/managed-instance-usage.d.ts +5 -0
  17. package/lib/model/managed-instance-usage.js.map +1 -1
  18. package/lib/model/operating-system.d.ts +1 -0
  19. package/lib/model/operating-system.js.map +1 -1
  20. package/lib/model/resource-inventory.d.ts +41 -0
  21. package/lib/model/resource-inventory.js +29 -0
  22. package/lib/model/resource-inventory.js.map +1 -0
  23. package/lib/request/change-fleet-compartment-request.d.ts +1 -1
  24. package/lib/request/create-fleet-request.d.ts +1 -1
  25. package/lib/request/delete-fleet-request.d.ts +1 -1
  26. package/lib/request/get-fleet-agent-configuration-request.d.ts +1 -1
  27. package/lib/request/get-fleet-request.d.ts +1 -1
  28. package/lib/request/get-work-request-request.d.ts +1 -1
  29. package/lib/request/index.d.ts +4 -0
  30. package/lib/request/list-fleets-request.d.ts +2 -1
  31. package/lib/request/list-jre-usage-request.d.ts +70 -0
  32. package/lib/request/list-jre-usage-request.js +15 -0
  33. package/lib/request/list-jre-usage-request.js.map +1 -0
  34. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  35. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  36. package/lib/request/list-work-requests-request.d.ts +2 -1
  37. package/lib/request/summarize-application-usage-request.d.ts +1 -1
  38. package/lib/request/summarize-installation-usage-request.d.ts +1 -1
  39. package/lib/request/summarize-jre-usage-request.d.ts +5 -1
  40. package/lib/request/summarize-managed-instance-usage-request.d.ts +1 -1
  41. package/lib/request/summarize-resource-inventory-request.d.ts +35 -0
  42. package/lib/request/summarize-resource-inventory-request.js +15 -0
  43. package/lib/request/summarize-resource-inventory-request.js.map +1 -0
  44. package/lib/request/update-fleet-agent-configuration-request.d.ts +1 -1
  45. package/lib/request/update-fleet-request.d.ts +1 -1
  46. package/lib/response/index.d.ts +4 -0
  47. package/lib/response/list-jre-usage-response.d.ts +32 -0
  48. package/lib/response/list-jre-usage-response.js +15 -0
  49. package/lib/response/list-jre-usage-response.js.map +1 -0
  50. package/lib/response/summarize-resource-inventory-response.d.ts +25 -0
  51. package/lib/response/summarize-resource-inventory-response.js +15 -0
  52. package/lib/response/summarize-resource-inventory-response.js.map +1 -0
  53. package/package.json +3 -3
package/lib/client.d.ts CHANGED
@@ -17,7 +17,7 @@ import { JavaManagementServiceWaiter } from "./javamanagementservice-waiter";
17
17
  export declare enum JavaManagementServiceApiKeys {
18
18
  }
19
19
  /**
20
- * This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
20
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
21
21
  */
22
22
  export declare class JavaManagementServiceClient {
23
23
  protected static serviceEndpointTemplate: string;
@@ -73,7 +73,7 @@ export declare class JavaManagementServiceClient {
73
73
  * @param ChangeFleetCompartmentRequest
74
74
  * @return ChangeFleetCompartmentResponse
75
75
  * @throws OciError when an error occurs
76
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/ChangeFleetCompartment.ts.html |here} to see how to use ChangeFleetCompartment API.
76
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/ChangeFleetCompartment.ts.html |here} to see how to use ChangeFleetCompartment API.
77
77
  */
78
78
  changeFleetCompartment(changeFleetCompartmentRequest: requests.ChangeFleetCompartmentRequest): Promise<responses.ChangeFleetCompartmentResponse>;
79
79
  /**
@@ -83,7 +83,7 @@ export declare class JavaManagementServiceClient {
83
83
  * @param CreateFleetRequest
84
84
  * @return CreateFleetResponse
85
85
  * @throws OciError when an error occurs
86
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/CreateFleet.ts.html |here} to see how to use CreateFleet API.
86
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/CreateFleet.ts.html |here} to see how to use CreateFleet API.
87
87
  */
88
88
  createFleet(createFleetRequest: requests.CreateFleetRequest): Promise<responses.CreateFleetResponse>;
89
89
  /**
@@ -92,7 +92,7 @@ export declare class JavaManagementServiceClient {
92
92
  * @param DeleteFleetRequest
93
93
  * @return DeleteFleetResponse
94
94
  * @throws OciError when an error occurs
95
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/DeleteFleet.ts.html |here} to see how to use DeleteFleet API.
95
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/DeleteFleet.ts.html |here} to see how to use DeleteFleet API.
96
96
  */
97
97
  deleteFleet(deleteFleetRequest: requests.DeleteFleetRequest): Promise<responses.DeleteFleetResponse>;
98
98
  /**
@@ -101,7 +101,7 @@ export declare class JavaManagementServiceClient {
101
101
  * @param GetFleetRequest
102
102
  * @return GetFleetResponse
103
103
  * @throws OciError when an error occurs
104
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/GetFleet.ts.html |here} to see how to use GetFleet API.
104
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/GetFleet.ts.html |here} to see how to use GetFleet API.
105
105
  */
106
106
  getFleet(getFleetRequest: requests.GetFleetRequest): Promise<responses.GetFleetResponse>;
107
107
  /**
@@ -110,7 +110,7 @@ export declare class JavaManagementServiceClient {
110
110
  * @param GetFleetAgentConfigurationRequest
111
111
  * @return GetFleetAgentConfigurationResponse
112
112
  * @throws OciError when an error occurs
113
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/GetFleetAgentConfiguration.ts.html |here} to see how to use GetFleetAgentConfiguration API.
113
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/GetFleetAgentConfiguration.ts.html |here} to see how to use GetFleetAgentConfiguration API.
114
114
  */
115
115
  getFleetAgentConfiguration(getFleetAgentConfigurationRequest: requests.GetFleetAgentConfigurationRequest): Promise<responses.GetFleetAgentConfigurationResponse>;
116
116
  /**
@@ -119,19 +119,29 @@ export declare class JavaManagementServiceClient {
119
119
  * @param GetWorkRequestRequest
120
120
  * @return GetWorkRequestResponse
121
121
  * @throws OciError when an error occurs
122
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
122
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
123
123
  */
124
124
  getWorkRequest(getWorkRequestRequest: requests.GetWorkRequestRequest): Promise<responses.GetWorkRequestResponse>;
125
125
  /**
126
- * Returns a list of all the Fleets contained by a compartment.
126
+ * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId`
127
+ * is required unless the query parameter `id` is specified.
127
128
  *
128
129
  * This operation does not retry by default if the user has not defined a retry configuration.
129
130
  * @param ListFleetsRequest
130
131
  * @return ListFleetsResponse
131
132
  * @throws OciError when an error occurs
132
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/ListFleets.ts.html |here} to see how to use ListFleets API.
133
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/ListFleets.ts.html |here} to see how to use ListFleets API.
133
134
  */
134
135
  listFleets(listFleetsRequest: requests.ListFleetsRequest): Promise<responses.ListFleetsResponse>;
136
+ /**
137
+ * List Java Runtime usage in a specified host filtered by query parameters.
138
+ * This operation does not retry by default if the user has not defined a retry configuration.
139
+ * @param ListJreUsageRequest
140
+ * @return ListJreUsageResponse
141
+ * @throws OciError when an error occurs
142
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/ListJreUsage.ts.html |here} to see how to use ListJreUsage API.
143
+ */
144
+ listJreUsage(listJreUsageRequest: requests.ListJreUsageRequest): Promise<responses.ListJreUsageResponse>;
135
145
  /**
136
146
  * Retrieve a (paginated) list of errors for a specified work request.
137
147
  *
@@ -139,7 +149,7 @@ export declare class JavaManagementServiceClient {
139
149
  * @param ListWorkRequestErrorsRequest
140
150
  * @return ListWorkRequestErrorsResponse
141
151
  * @throws OciError when an error occurs
142
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
152
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
143
153
  */
144
154
  listWorkRequestErrors(listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest): Promise<responses.ListWorkRequestErrorsResponse>;
145
155
  /**
@@ -149,17 +159,17 @@ export declare class JavaManagementServiceClient {
149
159
  * @param ListWorkRequestLogsRequest
150
160
  * @return ListWorkRequestLogsResponse
151
161
  * @throws OciError when an error occurs
152
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
162
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
153
163
  */
154
164
  listWorkRequestLogs(listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest): Promise<responses.ListWorkRequestLogsResponse>;
155
165
  /**
156
- * List the work requests in a compartment.
166
+ * List the work requests in a compartment. The query parameter `compartmentId` is required unless the query parameter `id` is specified.
157
167
  *
158
168
  * This operation does not retry by default if the user has not defined a retry configuration.
159
169
  * @param ListWorkRequestsRequest
160
170
  * @return ListWorkRequestsResponse
161
171
  * @throws OciError when an error occurs
162
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
172
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
163
173
  */
164
174
  listWorkRequests(listWorkRequestsRequest: requests.ListWorkRequestsRequest): Promise<responses.ListWorkRequestsResponse>;
165
175
  /**
@@ -168,7 +178,7 @@ export declare class JavaManagementServiceClient {
168
178
  * @param SummarizeApplicationUsageRequest
169
179
  * @return SummarizeApplicationUsageResponse
170
180
  * @throws OciError when an error occurs
171
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/SummarizeApplicationUsage.ts.html |here} to see how to use SummarizeApplicationUsage API.
181
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/SummarizeApplicationUsage.ts.html |here} to see how to use SummarizeApplicationUsage API.
172
182
  */
173
183
  summarizeApplicationUsage(summarizeApplicationUsageRequest: requests.SummarizeApplicationUsageRequest): Promise<responses.SummarizeApplicationUsageResponse>;
174
184
  /**
@@ -177,7 +187,7 @@ export declare class JavaManagementServiceClient {
177
187
  * @param SummarizeInstallationUsageRequest
178
188
  * @return SummarizeInstallationUsageResponse
179
189
  * @throws OciError when an error occurs
180
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/SummarizeInstallationUsage.ts.html |here} to see how to use SummarizeInstallationUsage API.
190
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/SummarizeInstallationUsage.ts.html |here} to see how to use SummarizeInstallationUsage API.
181
191
  */
182
192
  summarizeInstallationUsage(summarizeInstallationUsageRequest: requests.SummarizeInstallationUsageRequest): Promise<responses.SummarizeInstallationUsageResponse>;
183
193
  /**
@@ -186,7 +196,7 @@ export declare class JavaManagementServiceClient {
186
196
  * @param SummarizeJreUsageRequest
187
197
  * @return SummarizeJreUsageResponse
188
198
  * @throws OciError when an error occurs
189
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/SummarizeJreUsage.ts.html |here} to see how to use SummarizeJreUsage API.
199
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/SummarizeJreUsage.ts.html |here} to see how to use SummarizeJreUsage API.
190
200
  */
191
201
  summarizeJreUsage(summarizeJreUsageRequest: requests.SummarizeJreUsageRequest): Promise<responses.SummarizeJreUsageResponse>;
192
202
  /**
@@ -195,16 +205,26 @@ export declare class JavaManagementServiceClient {
195
205
  * @param SummarizeManagedInstanceUsageRequest
196
206
  * @return SummarizeManagedInstanceUsageResponse
197
207
  * @throws OciError when an error occurs
198
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/SummarizeManagedInstanceUsage.ts.html |here} to see how to use SummarizeManagedInstanceUsage API.
208
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/SummarizeManagedInstanceUsage.ts.html |here} to see how to use SummarizeManagedInstanceUsage API.
199
209
  */
200
210
  summarizeManagedInstanceUsage(summarizeManagedInstanceUsageRequest: requests.SummarizeManagedInstanceUsageRequest): Promise<responses.SummarizeManagedInstanceUsageResponse>;
211
+ /**
212
+ * 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.
213
+ *
214
+ * This operation does not retry by default if the user has not defined a retry configuration.
215
+ * @param SummarizeResourceInventoryRequest
216
+ * @return SummarizeResourceInventoryResponse
217
+ * @throws OciError when an error occurs
218
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/SummarizeResourceInventory.ts.html |here} to see how to use SummarizeResourceInventory API.
219
+ */
220
+ summarizeResourceInventory(summarizeResourceInventoryRequest: requests.SummarizeResourceInventoryRequest): Promise<responses.SummarizeResourceInventoryResponse>;
201
221
  /**
202
222
  * Update the Fleet specified by an identifier.
203
223
  * This operation does not retry by default if the user has not defined a retry configuration.
204
224
  * @param UpdateFleetRequest
205
225
  * @return UpdateFleetResponse
206
226
  * @throws OciError when an error occurs
207
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/UpdateFleet.ts.html |here} to see how to use UpdateFleet API.
227
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/UpdateFleet.ts.html |here} to see how to use UpdateFleet API.
208
228
  */
209
229
  updateFleet(updateFleetRequest: requests.UpdateFleetRequest): Promise<responses.UpdateFleetResponse>;
210
230
  /**
@@ -213,7 +233,7 @@ export declare class JavaManagementServiceClient {
213
233
  * @param UpdateFleetAgentConfigurationRequest
214
234
  * @return UpdateFleetAgentConfigurationResponse
215
235
  * @throws OciError when an error occurs
216
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/jms/UpdateFleetAgentConfiguration.ts.html |here} to see how to use UpdateFleetAgentConfiguration API.
236
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/jms/UpdateFleetAgentConfiguration.ts.html |here} to see how to use UpdateFleetAgentConfiguration API.
217
237
  */
218
238
  updateFleetAgentConfiguration(updateFleetAgentConfigurationRequest: requests.UpdateFleetAgentConfigurationRequest): Promise<responses.UpdateFleetAgentConfigurationResponse>;
219
239
  }
package/lib/client.js CHANGED
@@ -52,7 +52,7 @@ var JavaManagementServiceApiKeys;
52
52
  (function (JavaManagementServiceApiKeys) {
53
53
  })(JavaManagementServiceApiKeys = exports.JavaManagementServiceApiKeys || (exports.JavaManagementServiceApiKeys = {}));
54
54
  /**
55
- * This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
55
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
56
56
  */
57
57
  class JavaManagementServiceClient {
58
58
  constructor(params, clientConfiguration) {
@@ -69,7 +69,7 @@ class JavaManagementServiceClient {
69
69
  : null;
70
70
  }
71
71
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
72
- const specCircuitBreakerEnabled = false;
72
+ const specCircuitBreakerEnabled = true;
73
73
  if (!this._circuitBreaker &&
74
74
  common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
75
75
  (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
@@ -151,7 +151,7 @@ class JavaManagementServiceClient {
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.7.0/jms/ChangeFleetCompartment.ts.html |here} to see how to use ChangeFleetCompartment API.
154
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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* () {
@@ -212,7 +212,7 @@ class JavaManagementServiceClient {
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.7.0/jms/CreateFleet.ts.html |here} to see how to use CreateFleet API.
215
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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* () {
@@ -269,7 +269,7 @@ class JavaManagementServiceClient {
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.7.0/jms/DeleteFleet.ts.html |here} to see how to use DeleteFleet API.
272
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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* () {
@@ -327,7 +327,7 @@ class JavaManagementServiceClient {
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.7.0/jms/GetFleet.ts.html |here} to see how to use GetFleet API.
330
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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* () {
@@ -388,7 +388,7 @@ class JavaManagementServiceClient {
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.7.0/jms/GetFleetAgentConfiguration.ts.html |here} to see how to use GetFleetAgentConfiguration API.
391
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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* () {
@@ -449,7 +449,7 @@ class JavaManagementServiceClient {
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.7.0/jms/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
452
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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* () {
@@ -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
511
  * This operation does not retry by default if the user has not defined a retry configuration.
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.7.0/jms/ListFleets.ts.html |here} to see how to use ListFleets API.
515
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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* () {
@@ -573,6 +574,76 @@ 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 does not retry by default if the user has not defined a retry configuration.
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.10.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.NoRetryConfigurationDetails;
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
  *
@@ -580,7 +651,7 @@ class JavaManagementServiceClient {
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.7.0/jms/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
654
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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* () {
@@ -645,7 +716,7 @@ class JavaManagementServiceClient {
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.7.0/jms/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
719
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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* () {
@@ -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
780
  * This operation does not retry by default if the user has not defined a retry configuration.
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.7.0/jms/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
784
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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* () {
@@ -774,7 +845,7 @@ class JavaManagementServiceClient {
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.7.0/jms/SummarizeApplicationUsage.ts.html |here} to see how to use SummarizeApplicationUsage API.
848
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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* () {
@@ -852,7 +923,7 @@ class JavaManagementServiceClient {
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.7.0/jms/SummarizeInstallationUsage.ts.html |here} to see how to use SummarizeInstallationUsage API.
926
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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* () {
@@ -928,7 +999,7 @@ class JavaManagementServiceClient {
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.7.0/jms/SummarizeJreUsage.ts.html |here} to see how to use SummarizeJreUsage API.
1002
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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,7 +1021,8 @@ 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,
@@ -1003,7 +1075,7 @@ class JavaManagementServiceClient {
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.7.0/jms/SummarizeManagedInstanceUsage.ts.html |here} to see how to use SummarizeManagedInstanceUsage API.
1078
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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* () {
@@ -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 does not retry by default if the user has not defined a retry configuration.
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.10.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.NoRetryConfigurationDetails;
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
1210
  * This operation does not retry by default if the user has not defined a retry configuration.
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.7.0/jms/UpdateFleet.ts.html |here} to see how to use UpdateFleet API.
1214
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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* () {
@@ -1139,7 +1270,7 @@ class JavaManagementServiceClient {
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.7.0/jms/UpdateFleetAgentConfiguration.ts.html |here} to see how to use UpdateFleetAgentConfiguration API.
1273
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.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* () {