oci-jms 2.130.0 → 2.131.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/client.js CHANGED
@@ -66,6 +66,8 @@ class JavaManagementServiceClient {
66
66
  this.targetService = "JavaManagementService";
67
67
  this._regionId = "";
68
68
  this._lastSetRegionOrRegionId = "";
69
+ this._enableDualstackEndpoint = undefined;
70
+ this._serviceUsesDualStackByDefault = false;
69
71
  const requestSigner = params.authenticationDetailsProvider
70
72
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
71
73
  : null;
@@ -162,6 +164,9 @@ class JavaManagementServiceClient {
162
164
  this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(JavaManagementServiceClient.serviceEndpointTemplate, regionId, JavaManagementServiceClient.endpointServiceName);
163
165
  this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
164
166
  }
167
+ set enableDualstackEndpoint(enableDualstackEndpoint) {
168
+ this._enableDualstackEndpoint = enableDualstackEndpoint;
169
+ }
165
170
  /**
166
171
  * Creates a new JavaManagementServiceWaiter for resources for this service.
167
172
  *
@@ -231,12 +236,15 @@ class JavaManagementServiceClient {
231
236
  "opc-retry-token": addFleetInstallationSitesRequest.opcRetryToken,
232
237
  "opc-request-id": addFleetInstallationSitesRequest.opcRequestId
233
238
  };
239
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
240
+ const requiredParams = new Set(["fleetId"]);
241
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
234
242
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
235
243
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addFleetInstallationSitesRequest.retryConfiguration, specRetryConfiguration);
236
244
  if (this.logger)
237
245
  retrier.logger = this.logger;
238
246
  const request = yield oci_common_1.composeRequest({
239
- baseEndpoint: this._endpoint,
247
+ baseEndpoint: endpoint,
240
248
  defaultHeaders: this._defaultHeaders,
241
249
  path: "/fleets/{fleetId}/actions/addInstallationSites",
242
250
  method: "POST",
@@ -292,12 +300,15 @@ class JavaManagementServiceClient {
292
300
  "opc-request-id": cancelWorkRequestRequest.opcRequestId,
293
301
  "if-match": cancelWorkRequestRequest.ifMatch
294
302
  };
303
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
304
+ const requiredParams = new Set(["workRequestId"]);
305
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
295
306
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
296
307
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
297
308
  if (this.logger)
298
309
  retrier.logger = this.logger;
299
310
  const request = yield oci_common_1.composeRequest({
300
- baseEndpoint: this._endpoint,
311
+ baseEndpoint: endpoint,
301
312
  defaultHeaders: this._defaultHeaders,
302
313
  path: "/workRequests/{workRequestId}",
303
314
  method: "DELETE",
@@ -349,12 +360,15 @@ class JavaManagementServiceClient {
349
360
  "opc-retry-token": changeFleetCompartmentRequest.opcRetryToken,
350
361
  "opc-request-id": changeFleetCompartmentRequest.opcRequestId
351
362
  };
363
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
364
+ const requiredParams = new Set(["fleetId"]);
365
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
352
366
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
353
367
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFleetCompartmentRequest.retryConfiguration, specRetryConfiguration);
354
368
  if (this.logger)
355
369
  retrier.logger = this.logger;
356
370
  const request = yield oci_common_1.composeRequest({
357
- baseEndpoint: this._endpoint,
371
+ baseEndpoint: endpoint,
358
372
  defaultHeaders: this._defaultHeaders,
359
373
  path: "/fleets/{fleetId}/actions/changeCompartment",
360
374
  method: "POST",
@@ -411,12 +425,15 @@ class JavaManagementServiceClient {
411
425
  "opc-retry-token": createBlocklistRequest.opcRetryToken,
412
426
  "opc-request-id": createBlocklistRequest.opcRequestId
413
427
  };
428
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
429
+ const requiredParams = new Set(["fleetId"]);
430
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
414
431
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
415
432
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBlocklistRequest.retryConfiguration, specRetryConfiguration);
416
433
  if (this.logger)
417
434
  retrier.logger = this.logger;
418
435
  const request = yield oci_common_1.composeRequest({
419
- baseEndpoint: this._endpoint,
436
+ baseEndpoint: endpoint,
420
437
  defaultHeaders: this._defaultHeaders,
421
438
  path: "/fleets/{fleetId}/blocklists",
422
439
  method: "POST",
@@ -478,12 +495,15 @@ class JavaManagementServiceClient {
478
495
  "if-match": createDrsFileRequest.ifMatch,
479
496
  "opc-retry-token": createDrsFileRequest.opcRetryToken
480
497
  };
498
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
499
+ const requiredParams = new Set(["fleetId"]);
500
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
481
501
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
482
502
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDrsFileRequest.retryConfiguration, specRetryConfiguration);
483
503
  if (this.logger)
484
504
  retrier.logger = this.logger;
485
505
  const request = yield oci_common_1.composeRequest({
486
- baseEndpoint: this._endpoint,
506
+ baseEndpoint: endpoint,
487
507
  defaultHeaders: this._defaultHeaders,
488
508
  path: "/fleets/{fleetId}/drsFiles",
489
509
  method: "POST",
@@ -544,12 +564,15 @@ class JavaManagementServiceClient {
544
564
  "opc-retry-token": createFleetRequest.opcRetryToken,
545
565
  "opc-request-id": createFleetRequest.opcRequestId
546
566
  };
567
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
568
+ const requiredParams = new Set([]);
569
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
547
570
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
548
571
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFleetRequest.retryConfiguration, specRetryConfiguration);
549
572
  if (this.logger)
550
573
  retrier.logger = this.logger;
551
574
  const request = yield oci_common_1.composeRequest({
552
- baseEndpoint: this._endpoint,
575
+ baseEndpoint: endpoint,
553
576
  defaultHeaders: this._defaultHeaders,
554
577
  path: "/fleets",
555
578
  method: "POST",
@@ -606,12 +629,15 @@ class JavaManagementServiceClient {
606
629
  "opc-retry-token": createJmsPluginRequest.opcRetryToken,
607
630
  "opc-request-id": createJmsPluginRequest.opcRequestId
608
631
  };
632
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
633
+ const requiredParams = new Set([]);
634
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
609
635
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
610
636
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createJmsPluginRequest.retryConfiguration, specRetryConfiguration);
611
637
  if (this.logger)
612
638
  retrier.logger = this.logger;
613
639
  const request = yield oci_common_1.composeRequest({
614
- baseEndpoint: this._endpoint,
640
+ baseEndpoint: endpoint,
615
641
  defaultHeaders: this._defaultHeaders,
616
642
  path: "/jmsPlugins",
617
643
  method: "POST",
@@ -669,12 +695,15 @@ class JavaManagementServiceClient {
669
695
  "opc-request-id": createTaskScheduleRequest.opcRequestId,
670
696
  "opc-retry-token": createTaskScheduleRequest.opcRetryToken
671
697
  };
698
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
699
+ const requiredParams = new Set([]);
700
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
672
701
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
673
702
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createTaskScheduleRequest.retryConfiguration, specRetryConfiguration);
674
703
  if (this.logger)
675
704
  retrier.logger = this.logger;
676
705
  const request = yield oci_common_1.composeRequest({
677
- baseEndpoint: this._endpoint,
706
+ baseEndpoint: endpoint,
678
707
  defaultHeaders: this._defaultHeaders,
679
708
  path: "/taskSchedules",
680
709
  method: "POST",
@@ -735,12 +764,15 @@ class JavaManagementServiceClient {
735
764
  "if-match": deleteBlocklistRequest.ifMatch,
736
765
  "opc-request-id": deleteBlocklistRequest.opcRequestId
737
766
  };
767
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
768
+ const requiredParams = new Set(["fleetId", "blocklistKey"]);
769
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
738
770
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
739
771
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBlocklistRequest.retryConfiguration, specRetryConfiguration);
740
772
  if (this.logger)
741
773
  retrier.logger = this.logger;
742
774
  const request = yield oci_common_1.composeRequest({
743
- baseEndpoint: this._endpoint,
775
+ baseEndpoint: endpoint,
744
776
  defaultHeaders: this._defaultHeaders,
745
777
  path: "/fleets/{fleetId}/blocklists/{blocklistKey}",
746
778
  method: "DELETE",
@@ -791,12 +823,15 @@ class JavaManagementServiceClient {
791
823
  "if-match": deleteCryptoAnalysisResultRequest.ifMatch,
792
824
  "opc-request-id": deleteCryptoAnalysisResultRequest.opcRequestId
793
825
  };
826
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
827
+ const requiredParams = new Set(["fleetId", "cryptoAnalysisResultId"]);
828
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
794
829
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
795
830
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteCryptoAnalysisResultRequest.retryConfiguration, specRetryConfiguration);
796
831
  if (this.logger)
797
832
  retrier.logger = this.logger;
798
833
  const request = yield oci_common_1.composeRequest({
799
- baseEndpoint: this._endpoint,
834
+ baseEndpoint: endpoint,
800
835
  defaultHeaders: this._defaultHeaders,
801
836
  path: "/fleets/{fleetId}/cryptoAnalysisResults/{cryptoAnalysisResultId}",
802
837
  method: "DELETE",
@@ -853,12 +888,15 @@ class JavaManagementServiceClient {
853
888
  "opc-request-id": deleteDrsFileRequest.opcRequestId,
854
889
  "if-match": deleteDrsFileRequest.ifMatch
855
890
  };
891
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
892
+ const requiredParams = new Set(["fleetId", "drsFileKey"]);
893
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
856
894
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
857
895
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDrsFileRequest.retryConfiguration, specRetryConfiguration);
858
896
  if (this.logger)
859
897
  retrier.logger = this.logger;
860
898
  const request = yield oci_common_1.composeRequest({
861
- baseEndpoint: this._endpoint,
899
+ baseEndpoint: endpoint,
862
900
  defaultHeaders: this._defaultHeaders,
863
901
  path: "/fleets/{fleetId}/drsFiles/{drsFileKey}",
864
902
  method: "DELETE",
@@ -913,12 +951,15 @@ class JavaManagementServiceClient {
913
951
  "if-match": deleteFleetRequest.ifMatch,
914
952
  "opc-request-id": deleteFleetRequest.opcRequestId
915
953
  };
954
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
955
+ const requiredParams = new Set(["fleetId"]);
956
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
916
957
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
917
958
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFleetRequest.retryConfiguration, specRetryConfiguration);
918
959
  if (this.logger)
919
960
  retrier.logger = this.logger;
920
961
  const request = yield oci_common_1.composeRequest({
921
- baseEndpoint: this._endpoint,
962
+ baseEndpoint: endpoint,
922
963
  defaultHeaders: this._defaultHeaders,
923
964
  path: "/fleets/{fleetId}",
924
965
  method: "DELETE",
@@ -974,12 +1015,15 @@ class JavaManagementServiceClient {
974
1015
  "if-match": deleteJavaMigrationAnalysisResultRequest.ifMatch,
975
1016
  "opc-request-id": deleteJavaMigrationAnalysisResultRequest.opcRequestId
976
1017
  };
1018
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
1019
+ const requiredParams = new Set(["fleetId", "javaMigrationAnalysisResultId"]);
1020
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
977
1021
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
978
1022
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteJavaMigrationAnalysisResultRequest.retryConfiguration, specRetryConfiguration);
979
1023
  if (this.logger)
980
1024
  retrier.logger = this.logger;
981
1025
  const request = yield oci_common_1.composeRequest({
982
- baseEndpoint: this._endpoint,
1026
+ baseEndpoint: endpoint,
983
1027
  defaultHeaders: this._defaultHeaders,
984
1028
  path: "/fleets/{fleetId}/javaMigrationAnalysisResults/{javaMigrationAnalysisResultId}",
985
1029
  method: "DELETE",
@@ -1036,12 +1080,15 @@ class JavaManagementServiceClient {
1036
1080
  "opc-request-id": deleteJmsPluginRequest.opcRequestId,
1037
1081
  "if-match": deleteJmsPluginRequest.ifMatch
1038
1082
  };
1083
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
1084
+ const requiredParams = new Set(["jmsPluginId"]);
1085
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1039
1086
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1040
1087
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteJmsPluginRequest.retryConfiguration, specRetryConfiguration);
1041
1088
  if (this.logger)
1042
1089
  retrier.logger = this.logger;
1043
1090
  const request = yield oci_common_1.composeRequest({
1044
- baseEndpoint: this._endpoint,
1091
+ baseEndpoint: endpoint,
1045
1092
  defaultHeaders: this._defaultHeaders,
1046
1093
  path: "/jmsPlugins/{jmsPluginId}",
1047
1094
  method: "DELETE",
@@ -1092,12 +1139,15 @@ class JavaManagementServiceClient {
1092
1139
  "if-match": deletePerformanceTuningAnalysisResultRequest.ifMatch,
1093
1140
  "opc-request-id": deletePerformanceTuningAnalysisResultRequest.opcRequestId
1094
1141
  };
1142
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
1143
+ const requiredParams = new Set(["fleetId", "performanceTuningAnalysisResultId"]);
1144
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1095
1145
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1096
1146
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePerformanceTuningAnalysisResultRequest.retryConfiguration, specRetryConfiguration);
1097
1147
  if (this.logger)
1098
1148
  retrier.logger = this.logger;
1099
1149
  const request = yield oci_common_1.composeRequest({
1100
- baseEndpoint: this._endpoint,
1150
+ baseEndpoint: endpoint,
1101
1151
  defaultHeaders: this._defaultHeaders,
1102
1152
  path: "/fleets/{fleetId}/performanceTuningAnalysisResults/{performanceTuningAnalysisResultId}",
1103
1153
  method: "DELETE",
@@ -1154,12 +1204,15 @@ class JavaManagementServiceClient {
1154
1204
  "if-match": deleteTaskScheduleRequest.ifMatch,
1155
1205
  "opc-request-id": deleteTaskScheduleRequest.opcRequestId
1156
1206
  };
1207
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
1208
+ const requiredParams = new Set(["taskScheduleId"]);
1209
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1157
1210
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1158
1211
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteTaskScheduleRequest.retryConfiguration, specRetryConfiguration);
1159
1212
  if (this.logger)
1160
1213
  retrier.logger = this.logger;
1161
1214
  const request = yield oci_common_1.composeRequest({
1162
- baseEndpoint: this._endpoint,
1215
+ baseEndpoint: endpoint,
1163
1216
  defaultHeaders: this._defaultHeaders,
1164
1217
  path: "/taskSchedules/{taskScheduleId}",
1165
1218
  method: "DELETE",
@@ -1211,12 +1264,15 @@ class JavaManagementServiceClient {
1211
1264
  "if-match": disableDrsRequest.ifMatch,
1212
1265
  "opc-retry-token": disableDrsRequest.opcRetryToken
1213
1266
  };
1267
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
1268
+ const requiredParams = new Set(["fleetId"]);
1269
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1214
1270
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1215
1271
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableDrsRequest.retryConfiguration, specRetryConfiguration);
1216
1272
  if (this.logger)
1217
1273
  retrier.logger = this.logger;
1218
1274
  const request = yield oci_common_1.composeRequest({
1219
- baseEndpoint: this._endpoint,
1275
+ baseEndpoint: endpoint,
1220
1276
  defaultHeaders: this._defaultHeaders,
1221
1277
  path: "/fleets/{fleetId}/actions/disableDrs",
1222
1278
  method: "POST",
@@ -1274,12 +1330,15 @@ class JavaManagementServiceClient {
1274
1330
  "if-match": enableDrsRequest.ifMatch,
1275
1331
  "opc-retry-token": enableDrsRequest.opcRetryToken
1276
1332
  };
1333
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
1334
+ const requiredParams = new Set(["fleetId"]);
1335
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1277
1336
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1278
1337
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableDrsRequest.retryConfiguration, specRetryConfiguration);
1279
1338
  if (this.logger)
1280
1339
  retrier.logger = this.logger;
1281
1340
  const request = yield oci_common_1.composeRequest({
1282
- baseEndpoint: this._endpoint,
1341
+ baseEndpoint: endpoint,
1283
1342
  defaultHeaders: this._defaultHeaders,
1284
1343
  path: "/fleets/{fleetId}/actions/enableDrs",
1285
1344
  method: "POST",
@@ -1335,12 +1394,15 @@ class JavaManagementServiceClient {
1335
1394
  "Content-Type": common.Constants.APPLICATION_JSON,
1336
1395
  "opc-request-id": generateAgentDeployScriptRequest.opcRequestId
1337
1396
  };
1397
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
1398
+ const requiredParams = new Set(["fleetId"]);
1399
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1338
1400
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1339
1401
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateAgentDeployScriptRequest.retryConfiguration, specRetryConfiguration);
1340
1402
  if (this.logger)
1341
1403
  retrier.logger = this.logger;
1342
1404
  const request = yield oci_common_1.composeRequest({
1343
- baseEndpoint: this._endpoint,
1405
+ baseEndpoint: endpoint,
1344
1406
  defaultHeaders: this._defaultHeaders,
1345
1407
  path: "/fleets/{fleetId}/actions/generateAgentDeployScript",
1346
1408
  method: "POST",
@@ -1402,12 +1464,15 @@ class JavaManagementServiceClient {
1402
1464
  "Content-Type": common.Constants.APPLICATION_JSON,
1403
1465
  "opc-request-id": generateAgentInstallerConfigurationRequest.opcRequestId
1404
1466
  };
1467
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
1468
+ const requiredParams = new Set([]);
1469
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1405
1470
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1406
1471
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateAgentInstallerConfigurationRequest.retryConfiguration, specRetryConfiguration);
1407
1472
  if (this.logger)
1408
1473
  retrier.logger = this.logger;
1409
1474
  const request = yield oci_common_1.composeRequest({
1410
- baseEndpoint: this._endpoint,
1475
+ baseEndpoint: endpoint,
1411
1476
  defaultHeaders: this._defaultHeaders,
1412
1477
  path: "/agentInstallers/actions/generateAgentInstallerConfiguration",
1413
1478
  method: "POST",
@@ -1471,12 +1536,15 @@ class JavaManagementServiceClient {
1471
1536
  "Content-Type": common.Constants.APPLICATION_JSON,
1472
1537
  "opc-request-id": generateLoadPipelineScriptRequest.opcRequestId
1473
1538
  };
1539
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
1540
+ const requiredParams = new Set(["fleetId"]);
1541
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1474
1542
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1475
1543
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateLoadPipelineScriptRequest.retryConfiguration, specRetryConfiguration);
1476
1544
  if (this.logger)
1477
1545
  retrier.logger = this.logger;
1478
1546
  const request = yield oci_common_1.composeRequest({
1479
- baseEndpoint: this._endpoint,
1547
+ baseEndpoint: endpoint,
1480
1548
  defaultHeaders: this._defaultHeaders,
1481
1549
  path: "/fleets/{fleetId}/actions/generateLoadPipelineScript",
1482
1550
  method: "POST",
@@ -1540,12 +1608,15 @@ class JavaManagementServiceClient {
1540
1608
  "Content-Type": common.Constants.APPLICATION_JSON,
1541
1609
  "opc-request-id": getCryptoAnalysisResultRequest.opcRequestId
1542
1610
  };
1611
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
1612
+ const requiredParams = new Set(["fleetId", "cryptoAnalysisResultId"]);
1613
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1543
1614
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1544
1615
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCryptoAnalysisResultRequest.retryConfiguration, specRetryConfiguration);
1545
1616
  if (this.logger)
1546
1617
  retrier.logger = this.logger;
1547
1618
  const request = yield oci_common_1.composeRequest({
1548
- baseEndpoint: this._endpoint,
1619
+ baseEndpoint: endpoint,
1549
1620
  defaultHeaders: this._defaultHeaders,
1550
1621
  path: "/fleets/{fleetId}/cryptoAnalysisResults/{cryptoAnalysisResultId}",
1551
1622
  method: "GET",
@@ -1606,12 +1677,15 @@ class JavaManagementServiceClient {
1606
1677
  "Content-Type": common.Constants.APPLICATION_JSON,
1607
1678
  "opc-request-id": getDrsFileRequest.opcRequestId
1608
1679
  };
1680
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
1681
+ const requiredParams = new Set(["fleetId", "drsFileKey"]);
1682
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1609
1683
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1610
1684
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDrsFileRequest.retryConfiguration, specRetryConfiguration);
1611
1685
  if (this.logger)
1612
1686
  retrier.logger = this.logger;
1613
1687
  const request = yield oci_common_1.composeRequest({
1614
- baseEndpoint: this._endpoint,
1688
+ baseEndpoint: endpoint,
1615
1689
  defaultHeaders: this._defaultHeaders,
1616
1690
  path: "/fleets/{fleetId}/drsFiles/{drsFileKey}",
1617
1691
  method: "GET",
@@ -1669,12 +1743,15 @@ class JavaManagementServiceClient {
1669
1743
  "Content-Type": common.Constants.APPLICATION_JSON,
1670
1744
  "opc-request-id": getExportSettingRequest.opcRequestId
1671
1745
  };
1746
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
1747
+ const requiredParams = new Set(["fleetId"]);
1748
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1672
1749
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1673
1750
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getExportSettingRequest.retryConfiguration, specRetryConfiguration);
1674
1751
  if (this.logger)
1675
1752
  retrier.logger = this.logger;
1676
1753
  const request = yield oci_common_1.composeRequest({
1677
- baseEndpoint: this._endpoint,
1754
+ baseEndpoint: endpoint,
1678
1755
  defaultHeaders: this._defaultHeaders,
1679
1756
  path: "/fleets/{fleetId}/exportSetting",
1680
1757
  method: "GET",
@@ -1732,12 +1809,15 @@ class JavaManagementServiceClient {
1732
1809
  "Content-Type": common.Constants.APPLICATION_JSON,
1733
1810
  "opc-request-id": getExportStatusRequest.opcRequestId
1734
1811
  };
1812
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
1813
+ const requiredParams = new Set(["fleetId"]);
1814
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1735
1815
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1736
1816
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getExportStatusRequest.retryConfiguration, specRetryConfiguration);
1737
1817
  if (this.logger)
1738
1818
  retrier.logger = this.logger;
1739
1819
  const request = yield oci_common_1.composeRequest({
1740
- baseEndpoint: this._endpoint,
1820
+ baseEndpoint: endpoint,
1741
1821
  defaultHeaders: this._defaultHeaders,
1742
1822
  path: "/fleets/{fleetId}/exportStatus",
1743
1823
  method: "GET",
@@ -1795,12 +1875,15 @@ class JavaManagementServiceClient {
1795
1875
  "Content-Type": common.Constants.APPLICATION_JSON,
1796
1876
  "opc-request-id": getFleetRequest.opcRequestId
1797
1877
  };
1878
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
1879
+ const requiredParams = new Set(["fleetId"]);
1880
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1798
1881
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1799
1882
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFleetRequest.retryConfiguration, specRetryConfiguration);
1800
1883
  if (this.logger)
1801
1884
  retrier.logger = this.logger;
1802
1885
  const request = yield oci_common_1.composeRequest({
1803
- baseEndpoint: this._endpoint,
1886
+ baseEndpoint: endpoint,
1804
1887
  defaultHeaders: this._defaultHeaders,
1805
1888
  path: "/fleets/{fleetId}",
1806
1889
  method: "GET",
@@ -1860,12 +1943,15 @@ class JavaManagementServiceClient {
1860
1943
  "if-match": getFleetAdvancedFeatureConfigurationRequest.ifMatch,
1861
1944
  "opc-request-id": getFleetAdvancedFeatureConfigurationRequest.opcRequestId
1862
1945
  };
1946
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
1947
+ const requiredParams = new Set(["fleetId"]);
1948
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1863
1949
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1864
1950
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFleetAdvancedFeatureConfigurationRequest.retryConfiguration, specRetryConfiguration);
1865
1951
  if (this.logger)
1866
1952
  retrier.logger = this.logger;
1867
1953
  const request = yield oci_common_1.composeRequest({
1868
- baseEndpoint: this._endpoint,
1954
+ baseEndpoint: endpoint,
1869
1955
  defaultHeaders: this._defaultHeaders,
1870
1956
  path: "/fleets/{fleetId}/advancedFeatureConfiguration",
1871
1957
  method: "GET",
@@ -1923,12 +2009,15 @@ class JavaManagementServiceClient {
1923
2009
  "Content-Type": common.Constants.APPLICATION_JSON,
1924
2010
  "opc-request-id": getFleetAgentConfigurationRequest.opcRequestId
1925
2011
  };
2012
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
2013
+ const requiredParams = new Set(["fleetId"]);
2014
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1926
2015
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1927
2016
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFleetAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
1928
2017
  if (this.logger)
1929
2018
  retrier.logger = this.logger;
1930
2019
  const request = yield oci_common_1.composeRequest({
1931
- baseEndpoint: this._endpoint,
2020
+ baseEndpoint: endpoint,
1932
2021
  defaultHeaders: this._defaultHeaders,
1933
2022
  path: "/fleets/{fleetId}/agentConfiguration",
1934
2023
  method: "GET",
@@ -1987,12 +2076,15 @@ class JavaManagementServiceClient {
1987
2076
  "Content-Type": common.Constants.APPLICATION_JSON,
1988
2077
  "opc-request-id": getJavaFamilyRequest.opcRequestId
1989
2078
  };
2079
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
2080
+ const requiredParams = new Set(["familyVersion"]);
2081
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
1990
2082
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1991
2083
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJavaFamilyRequest.retryConfiguration, specRetryConfiguration);
1992
2084
  if (this.logger)
1993
2085
  retrier.logger = this.logger;
1994
2086
  const request = yield oci_common_1.composeRequest({
1995
- baseEndpoint: this._endpoint,
2087
+ baseEndpoint: endpoint,
1996
2088
  defaultHeaders: this._defaultHeaders,
1997
2089
  path: "/javaFamilies/{familyVersion}",
1998
2090
  method: "GET",
@@ -2046,12 +2138,15 @@ class JavaManagementServiceClient {
2046
2138
  "Content-Type": common.Constants.APPLICATION_JSON,
2047
2139
  "opc-request-id": getJavaMigrationAnalysisResultRequest.opcRequestId
2048
2140
  };
2141
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
2142
+ const requiredParams = new Set(["fleetId", "javaMigrationAnalysisResultId"]);
2143
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
2049
2144
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2050
2145
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJavaMigrationAnalysisResultRequest.retryConfiguration, specRetryConfiguration);
2051
2146
  if (this.logger)
2052
2147
  retrier.logger = this.logger;
2053
2148
  const request = yield oci_common_1.composeRequest({
2054
- baseEndpoint: this._endpoint,
2149
+ baseEndpoint: endpoint,
2055
2150
  defaultHeaders: this._defaultHeaders,
2056
2151
  path: "/fleets/{fleetId}/javaMigrationAnalysisResults/{javaMigrationAnalysisResultId}",
2057
2152
  method: "GET",
@@ -2109,12 +2204,15 @@ class JavaManagementServiceClient {
2109
2204
  "Content-Type": common.Constants.APPLICATION_JSON,
2110
2205
  "opc-request-id": getJavaReleaseRequest.opcRequestId
2111
2206
  };
2207
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
2208
+ const requiredParams = new Set(["releaseVersion"]);
2209
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
2112
2210
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2113
2211
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJavaReleaseRequest.retryConfiguration, specRetryConfiguration);
2114
2212
  if (this.logger)
2115
2213
  retrier.logger = this.logger;
2116
2214
  const request = yield oci_common_1.composeRequest({
2117
- baseEndpoint: this._endpoint,
2215
+ baseEndpoint: endpoint,
2118
2216
  defaultHeaders: this._defaultHeaders,
2119
2217
  path: "/javaReleases/{releaseVersion}",
2120
2218
  method: "GET",
@@ -2167,12 +2265,15 @@ class JavaManagementServiceClient {
2167
2265
  "Content-Type": common.Constants.APPLICATION_JSON,
2168
2266
  "opc-request-id": getJmsPluginRequest.opcRequestId
2169
2267
  };
2268
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
2269
+ const requiredParams = new Set(["jmsPluginId"]);
2270
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
2170
2271
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2171
2272
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJmsPluginRequest.retryConfiguration, specRetryConfiguration);
2172
2273
  if (this.logger)
2173
2274
  retrier.logger = this.logger;
2174
2275
  const request = yield oci_common_1.composeRequest({
2175
- baseEndpoint: this._endpoint,
2276
+ baseEndpoint: endpoint,
2176
2277
  defaultHeaders: this._defaultHeaders,
2177
2278
  path: "/jmsPlugins/{jmsPluginId}",
2178
2279
  method: "GET",
@@ -2236,12 +2337,15 @@ class JavaManagementServiceClient {
2236
2337
  "Content-Type": common.Constants.APPLICATION_JSON,
2237
2338
  "opc-request-id": getPerformanceTuningAnalysisResultRequest.opcRequestId
2238
2339
  };
2340
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
2341
+ const requiredParams = new Set(["fleetId", "performanceTuningAnalysisResultId"]);
2342
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
2239
2343
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2240
2344
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPerformanceTuningAnalysisResultRequest.retryConfiguration, specRetryConfiguration);
2241
2345
  if (this.logger)
2242
2346
  retrier.logger = this.logger;
2243
2347
  const request = yield oci_common_1.composeRequest({
2244
- baseEndpoint: this._endpoint,
2348
+ baseEndpoint: endpoint,
2245
2349
  defaultHeaders: this._defaultHeaders,
2246
2350
  path: "/fleets/{fleetId}/performanceTuningAnalysisResults/{performanceTuningAnalysisResultId}",
2247
2351
  method: "GET",
@@ -2302,12 +2406,15 @@ class JavaManagementServiceClient {
2302
2406
  "Content-Type": common.Constants.APPLICATION_JSON,
2303
2407
  "opc-request-id": getTaskScheduleRequest.opcRequestId
2304
2408
  };
2409
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
2410
+ const requiredParams = new Set(["taskScheduleId"]);
2411
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
2305
2412
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2306
2413
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTaskScheduleRequest.retryConfiguration, specRetryConfiguration);
2307
2414
  if (this.logger)
2308
2415
  retrier.logger = this.logger;
2309
2416
  const request = yield oci_common_1.composeRequest({
2310
- baseEndpoint: this._endpoint,
2417
+ baseEndpoint: endpoint,
2311
2418
  defaultHeaders: this._defaultHeaders,
2312
2419
  path: "/taskSchedules/{taskScheduleId}",
2313
2420
  method: "GET",
@@ -2365,12 +2472,15 @@ class JavaManagementServiceClient {
2365
2472
  "Content-Type": common.Constants.APPLICATION_JSON,
2366
2473
  "opc-request-id": getWorkRequestRequest.opcRequestId
2367
2474
  };
2475
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
2476
+ const requiredParams = new Set(["workRequestId"]);
2477
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
2368
2478
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2369
2479
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
2370
2480
  if (this.logger)
2371
2481
  retrier.logger = this.logger;
2372
2482
  const request = yield oci_common_1.composeRequest({
2373
- baseEndpoint: this._endpoint,
2483
+ baseEndpoint: endpoint,
2374
2484
  defaultHeaders: this._defaultHeaders,
2375
2485
  path: "/workRequests/{workRequestId}",
2376
2486
  method: "GET",
@@ -2441,12 +2551,15 @@ class JavaManagementServiceClient {
2441
2551
  "Content-Type": common.Constants.APPLICATION_JSON,
2442
2552
  "opc-request-id": listAgentInstallersRequest.opcRequestId
2443
2553
  };
2554
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
2555
+ const requiredParams = new Set([]);
2556
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
2444
2557
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2445
2558
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAgentInstallersRequest.retryConfiguration, specRetryConfiguration);
2446
2559
  if (this.logger)
2447
2560
  retrier.logger = this.logger;
2448
2561
  const request = yield oci_common_1.composeRequest({
2449
- baseEndpoint: this._endpoint,
2562
+ baseEndpoint: endpoint,
2450
2563
  defaultHeaders: this._defaultHeaders,
2451
2564
  path: "/agentInstallers",
2452
2565
  method: "GET",
@@ -2510,12 +2623,15 @@ class JavaManagementServiceClient {
2510
2623
  "Content-Type": common.Constants.APPLICATION_JSON,
2511
2624
  "opc-request-id": listAnnouncementsRequest.opcRequestId
2512
2625
  };
2626
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
2627
+ const requiredParams = new Set([]);
2628
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
2513
2629
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2514
2630
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAnnouncementsRequest.retryConfiguration, specRetryConfiguration);
2515
2631
  if (this.logger)
2516
2632
  retrier.logger = this.logger;
2517
2633
  const request = yield oci_common_1.composeRequest({
2518
- baseEndpoint: this._endpoint,
2634
+ baseEndpoint: endpoint,
2519
2635
  defaultHeaders: this._defaultHeaders,
2520
2636
  path: "/announcements",
2521
2637
  method: "GET",
@@ -2581,12 +2697,15 @@ class JavaManagementServiceClient {
2581
2697
  "Content-Type": common.Constants.APPLICATION_JSON,
2582
2698
  "opc-request-id": listBlocklistsRequest.opcRequestId
2583
2699
  };
2700
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
2701
+ const requiredParams = new Set(["fleetId"]);
2702
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
2584
2703
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2585
2704
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBlocklistsRequest.retryConfiguration, specRetryConfiguration);
2586
2705
  if (this.logger)
2587
2706
  retrier.logger = this.logger;
2588
2707
  const request = yield oci_common_1.composeRequest({
2589
- baseEndpoint: this._endpoint,
2708
+ baseEndpoint: endpoint,
2590
2709
  defaultHeaders: this._defaultHeaders,
2591
2710
  path: "/fleets/{fleetId}/blocklists",
2592
2711
  method: "GET",
@@ -2656,12 +2775,15 @@ class JavaManagementServiceClient {
2656
2775
  "Content-Type": common.Constants.APPLICATION_JSON,
2657
2776
  "opc-request-id": listContainersRequest.opcRequestId
2658
2777
  };
2778
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
2779
+ const requiredParams = new Set(["fleetId"]);
2780
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
2659
2781
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2660
2782
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listContainersRequest.retryConfiguration, specRetryConfiguration);
2661
2783
  if (this.logger)
2662
2784
  retrier.logger = this.logger;
2663
2785
  const request = yield oci_common_1.composeRequest({
2664
- baseEndpoint: this._endpoint,
2786
+ baseEndpoint: endpoint,
2665
2787
  defaultHeaders: this._defaultHeaders,
2666
2788
  path: "/fleets/{fleetId}/containers",
2667
2789
  method: "GET",
@@ -2733,12 +2855,15 @@ class JavaManagementServiceClient {
2733
2855
  "Content-Type": common.Constants.APPLICATION_JSON,
2734
2856
  "opc-request-id": listCryptoAnalysisResultsRequest.opcRequestId
2735
2857
  };
2858
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
2859
+ const requiredParams = new Set(["fleetId"]);
2860
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
2736
2861
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2737
2862
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCryptoAnalysisResultsRequest.retryConfiguration, specRetryConfiguration);
2738
2863
  if (this.logger)
2739
2864
  retrier.logger = this.logger;
2740
2865
  const request = yield oci_common_1.composeRequest({
2741
- baseEndpoint: this._endpoint,
2866
+ baseEndpoint: endpoint,
2742
2867
  defaultHeaders: this._defaultHeaders,
2743
2868
  path: "/fleets/{fleetId}/cryptoAnalysisResults",
2744
2869
  method: "GET",
@@ -2801,12 +2926,15 @@ class JavaManagementServiceClient {
2801
2926
  "Content-Type": common.Constants.APPLICATION_JSON,
2802
2927
  "opc-request-id": listDrsFilesRequest.opcRequestId
2803
2928
  };
2929
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
2930
+ const requiredParams = new Set(["fleetId"]);
2931
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
2804
2932
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2805
2933
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDrsFilesRequest.retryConfiguration, specRetryConfiguration);
2806
2934
  if (this.logger)
2807
2935
  retrier.logger = this.logger;
2808
2936
  const request = yield oci_common_1.composeRequest({
2809
- baseEndpoint: this._endpoint,
2937
+ baseEndpoint: endpoint,
2810
2938
  defaultHeaders: this._defaultHeaders,
2811
2939
  path: "/fleets/{fleetId}/drsFiles",
2812
2940
  method: "GET",
@@ -2868,12 +2996,15 @@ class JavaManagementServiceClient {
2868
2996
  "Content-Type": common.Constants.APPLICATION_JSON,
2869
2997
  "opc-request-id": listFleetDiagnosesRequest.opcRequestId
2870
2998
  };
2999
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
3000
+ const requiredParams = new Set(["fleetId"]);
3001
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
2871
3002
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2872
3003
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFleetDiagnosesRequest.retryConfiguration, specRetryConfiguration);
2873
3004
  if (this.logger)
2874
3005
  retrier.logger = this.logger;
2875
3006
  const request = yield oci_common_1.composeRequest({
2876
- baseEndpoint: this._endpoint,
3007
+ baseEndpoint: endpoint,
2877
3008
  defaultHeaders: this._defaultHeaders,
2878
3009
  path: "/fleets/{fleetId}/diagnoses",
2879
3010
  method: "GET",
@@ -2941,12 +3072,15 @@ class JavaManagementServiceClient {
2941
3072
  "Content-Type": common.Constants.APPLICATION_JSON,
2942
3073
  "opc-request-id": listFleetErrorsRequest.opcRequestId
2943
3074
  };
3075
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
3076
+ const requiredParams = new Set([]);
3077
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
2944
3078
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2945
3079
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFleetErrorsRequest.retryConfiguration, specRetryConfiguration);
2946
3080
  if (this.logger)
2947
3081
  retrier.logger = this.logger;
2948
3082
  const request = yield oci_common_1.composeRequest({
2949
- baseEndpoint: this._endpoint,
3083
+ baseEndpoint: endpoint,
2950
3084
  defaultHeaders: this._defaultHeaders,
2951
3085
  path: "/fleetErrors",
2952
3086
  method: "GET",
@@ -3014,12 +3148,15 @@ class JavaManagementServiceClient {
3014
3148
  "Content-Type": common.Constants.APPLICATION_JSON,
3015
3149
  "opc-request-id": listFleetsRequest.opcRequestId
3016
3150
  };
3151
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
3152
+ const requiredParams = new Set([]);
3153
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
3017
3154
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3018
3155
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFleetsRequest.retryConfiguration, specRetryConfiguration);
3019
3156
  if (this.logger)
3020
3157
  retrier.logger = this.logger;
3021
3158
  const request = yield oci_common_1.composeRequest({
3022
- baseEndpoint: this._endpoint,
3159
+ baseEndpoint: endpoint,
3023
3160
  defaultHeaders: this._defaultHeaders,
3024
3161
  path: "/fleets",
3025
3162
  method: "GET",
@@ -3093,12 +3230,15 @@ class JavaManagementServiceClient {
3093
3230
  "Content-Type": common.Constants.APPLICATION_JSON,
3094
3231
  "opc-request-id": listInstallationSitesRequest.opcRequestId
3095
3232
  };
3233
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
3234
+ const requiredParams = new Set(["fleetId"]);
3235
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
3096
3236
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3097
3237
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listInstallationSitesRequest.retryConfiguration, specRetryConfiguration);
3098
3238
  if (this.logger)
3099
3239
  retrier.logger = this.logger;
3100
3240
  const request = yield oci_common_1.composeRequest({
3101
- baseEndpoint: this._endpoint,
3241
+ baseEndpoint: endpoint,
3102
3242
  defaultHeaders: this._defaultHeaders,
3103
3243
  path: "/fleets/{fleetId}/installationSites",
3104
3244
  method: "GET",
@@ -3164,12 +3304,15 @@ class JavaManagementServiceClient {
3164
3304
  "Content-Type": common.Constants.APPLICATION_JSON,
3165
3305
  "opc-request-id": listJavaFamiliesRequest.opcRequestId
3166
3306
  };
3307
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
3308
+ const requiredParams = new Set([]);
3309
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
3167
3310
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3168
3311
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJavaFamiliesRequest.retryConfiguration, specRetryConfiguration);
3169
3312
  if (this.logger)
3170
3313
  retrier.logger = this.logger;
3171
3314
  const request = yield oci_common_1.composeRequest({
3172
- baseEndpoint: this._endpoint,
3315
+ baseEndpoint: endpoint,
3173
3316
  defaultHeaders: this._defaultHeaders,
3174
3317
  path: "/javaFamilies",
3175
3318
  method: "GET",
@@ -3237,12 +3380,15 @@ class JavaManagementServiceClient {
3237
3380
  "Content-Type": common.Constants.APPLICATION_JSON,
3238
3381
  "opc-request-id": listJavaMigrationAnalysisResultsRequest.opcRequestId
3239
3382
  };
3383
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
3384
+ const requiredParams = new Set(["fleetId"]);
3385
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
3240
3386
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3241
3387
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJavaMigrationAnalysisResultsRequest.retryConfiguration, specRetryConfiguration);
3242
3388
  if (this.logger)
3243
3389
  retrier.logger = this.logger;
3244
3390
  const request = yield oci_common_1.composeRequest({
3245
- baseEndpoint: this._endpoint,
3391
+ baseEndpoint: endpoint,
3246
3392
  defaultHeaders: this._defaultHeaders,
3247
3393
  path: "/fleets/{fleetId}/javaMigrationAnalysisResults",
3248
3394
  method: "GET",
@@ -3309,12 +3455,15 @@ class JavaManagementServiceClient {
3309
3455
  "Content-Type": common.Constants.APPLICATION_JSON,
3310
3456
  "opc-request-id": listJavaReleasesRequest.opcRequestId
3311
3457
  };
3458
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
3459
+ const requiredParams = new Set([]);
3460
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
3312
3461
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3313
3462
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJavaReleasesRequest.retryConfiguration, specRetryConfiguration);
3314
3463
  if (this.logger)
3315
3464
  retrier.logger = this.logger;
3316
3465
  const request = yield oci_common_1.composeRequest({
3317
- baseEndpoint: this._endpoint,
3466
+ baseEndpoint: endpoint,
3318
3467
  defaultHeaders: this._defaultHeaders,
3319
3468
  path: "/javaReleases",
3320
3469
  method: "GET",
@@ -3386,12 +3535,15 @@ class JavaManagementServiceClient {
3386
3535
  "Content-Type": common.Constants.APPLICATION_JSON,
3387
3536
  "opc-request-id": listJmsPluginsRequest.opcRequestId
3388
3537
  };
3538
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
3539
+ const requiredParams = new Set([]);
3540
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
3389
3541
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3390
3542
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJmsPluginsRequest.retryConfiguration, specRetryConfiguration);
3391
3543
  if (this.logger)
3392
3544
  retrier.logger = this.logger;
3393
3545
  const request = yield oci_common_1.composeRequest({
3394
- baseEndpoint: this._endpoint,
3546
+ baseEndpoint: endpoint,
3395
3547
  defaultHeaders: this._defaultHeaders,
3396
3548
  path: "/jmsPlugins",
3397
3549
  method: "GET",
@@ -3458,12 +3610,15 @@ class JavaManagementServiceClient {
3458
3610
  "Content-Type": common.Constants.APPLICATION_JSON,
3459
3611
  "opc-request-id": listJreUsageRequest.opcRequestId
3460
3612
  };
3613
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
3614
+ const requiredParams = new Set([]);
3615
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
3461
3616
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3462
3617
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJreUsageRequest.retryConfiguration, specRetryConfiguration);
3463
3618
  if (this.logger)
3464
3619
  retrier.logger = this.logger;
3465
3620
  const request = yield oci_common_1.composeRequest({
3466
- baseEndpoint: this._endpoint,
3621
+ baseEndpoint: endpoint,
3467
3622
  defaultHeaders: this._defaultHeaders,
3468
3623
  path: "/listJreUsage",
3469
3624
  method: "GET",
@@ -3534,12 +3689,15 @@ class JavaManagementServiceClient {
3534
3689
  "Content-Type": common.Constants.APPLICATION_JSON,
3535
3690
  "opc-request-id": listLibraryApplicationUsageRequest.opcRequestId
3536
3691
  };
3692
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
3693
+ const requiredParams = new Set(["fleetId", "libraryKey"]);
3694
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
3537
3695
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3538
3696
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLibraryApplicationUsageRequest.retryConfiguration, specRetryConfiguration);
3539
3697
  if (this.logger)
3540
3698
  retrier.logger = this.logger;
3541
3699
  const request = yield oci_common_1.composeRequest({
3542
- baseEndpoint: this._endpoint,
3700
+ baseEndpoint: endpoint,
3543
3701
  defaultHeaders: this._defaultHeaders,
3544
3702
  path: "/fleets/{fleetId}/libraries/{libraryKey}/applications",
3545
3703
  method: "GET",
@@ -3610,12 +3768,15 @@ class JavaManagementServiceClient {
3610
3768
  "Content-Type": common.Constants.APPLICATION_JSON,
3611
3769
  "opc-request-id": listLibraryManagedInstanceUsageRequest.opcRequestId
3612
3770
  };
3771
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
3772
+ const requiredParams = new Set(["fleetId", "libraryKey"]);
3773
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
3613
3774
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3614
3775
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLibraryManagedInstanceUsageRequest.retryConfiguration, specRetryConfiguration);
3615
3776
  if (this.logger)
3616
3777
  retrier.logger = this.logger;
3617
3778
  const request = yield oci_common_1.composeRequest({
3618
- baseEndpoint: this._endpoint,
3779
+ baseEndpoint: endpoint,
3619
3780
  defaultHeaders: this._defaultHeaders,
3620
3781
  path: "/fleets/{fleetId}/libraries/{libraryKey}/managedInstances",
3621
3782
  method: "GET",
@@ -3684,12 +3845,15 @@ class JavaManagementServiceClient {
3684
3845
  "Content-Type": common.Constants.APPLICATION_JSON,
3685
3846
  "opc-request-id": listPerformanceTuningAnalysisResultsRequest.opcRequestId
3686
3847
  };
3848
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
3849
+ const requiredParams = new Set(["fleetId"]);
3850
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
3687
3851
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3688
3852
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPerformanceTuningAnalysisResultsRequest.retryConfiguration, specRetryConfiguration);
3689
3853
  if (this.logger)
3690
3854
  retrier.logger = this.logger;
3691
3855
  const request = yield oci_common_1.composeRequest({
3692
- baseEndpoint: this._endpoint,
3856
+ baseEndpoint: endpoint,
3693
3857
  defaultHeaders: this._defaultHeaders,
3694
3858
  path: "/fleets/{fleetId}/performanceTuningAnalysisResults",
3695
3859
  method: "GET",
@@ -3757,12 +3921,15 @@ class JavaManagementServiceClient {
3757
3921
  "Content-Type": common.Constants.APPLICATION_JSON,
3758
3922
  "opc-request-id": listPluginErrorsRequest.opcRequestId
3759
3923
  };
3924
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
3925
+ const requiredParams = new Set([]);
3926
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
3760
3927
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3761
3928
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPluginErrorsRequest.retryConfiguration, specRetryConfiguration);
3762
3929
  if (this.logger)
3763
3930
  retrier.logger = this.logger;
3764
3931
  const request = yield oci_common_1.composeRequest({
3765
- baseEndpoint: this._endpoint,
3932
+ baseEndpoint: endpoint,
3766
3933
  defaultHeaders: this._defaultHeaders,
3767
3934
  path: "/pluginErrors",
3768
3935
  method: "GET",
@@ -3829,12 +3996,15 @@ class JavaManagementServiceClient {
3829
3996
  "Content-Type": common.Constants.APPLICATION_JSON,
3830
3997
  "opc-request-id": listTaskSchedulesRequest.opcRequestId
3831
3998
  };
3999
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
4000
+ const requiredParams = new Set([]);
4001
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
3832
4002
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3833
4003
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTaskSchedulesRequest.retryConfiguration, specRetryConfiguration);
3834
4004
  if (this.logger)
3835
4005
  retrier.logger = this.logger;
3836
4006
  const request = yield oci_common_1.composeRequest({
3837
- baseEndpoint: this._endpoint,
4007
+ baseEndpoint: endpoint,
3838
4008
  defaultHeaders: this._defaultHeaders,
3839
4009
  path: "/taskSchedules",
3840
4010
  method: "GET",
@@ -3903,12 +4073,15 @@ class JavaManagementServiceClient {
3903
4073
  "Content-Type": common.Constants.APPLICATION_JSON,
3904
4074
  "opc-request-id": listUncorrelatedPackageApplicationUsageRequest.opcRequestId
3905
4075
  };
4076
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
4077
+ const requiredParams = new Set(["fleetId", "packageName"]);
4078
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
3906
4079
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3907
4080
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUncorrelatedPackageApplicationUsageRequest.retryConfiguration, specRetryConfiguration);
3908
4081
  if (this.logger)
3909
4082
  retrier.logger = this.logger;
3910
4083
  const request = yield oci_common_1.composeRequest({
3911
- baseEndpoint: this._endpoint,
4084
+ baseEndpoint: endpoint,
3912
4085
  defaultHeaders: this._defaultHeaders,
3913
4086
  path: "/fleets/{fleetId}/uncorrelatedPackages/{packageName}/applications",
3914
4087
  method: "GET",
@@ -3977,12 +4150,15 @@ class JavaManagementServiceClient {
3977
4150
  "Content-Type": common.Constants.APPLICATION_JSON,
3978
4151
  "opc-request-id": listUncorrelatedPackageManagedInstanceUsageRequest.opcRequestId
3979
4152
  };
4153
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
4154
+ const requiredParams = new Set(["fleetId", "packageName"]);
4155
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
3980
4156
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3981
4157
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUncorrelatedPackageManagedInstanceUsageRequest.retryConfiguration, specRetryConfiguration);
3982
4158
  if (this.logger)
3983
4159
  retrier.logger = this.logger;
3984
4160
  const request = yield oci_common_1.composeRequest({
3985
- baseEndpoint: this._endpoint,
4161
+ baseEndpoint: endpoint,
3986
4162
  defaultHeaders: this._defaultHeaders,
3987
4163
  path: "/fleets/{fleetId}/uncorrelatedPackages/{packageName}/managedInstances",
3988
4164
  method: "GET",
@@ -4051,12 +4227,15 @@ class JavaManagementServiceClient {
4051
4227
  "Content-Type": common.Constants.APPLICATION_JSON,
4052
4228
  "opc-request-id": listUncorrelatedPackageUsageRequest.opcRequestId
4053
4229
  };
4230
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
4231
+ const requiredParams = new Set(["fleetId"]);
4232
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
4054
4233
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4055
4234
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUncorrelatedPackageUsageRequest.retryConfiguration, specRetryConfiguration);
4056
4235
  if (this.logger)
4057
4236
  retrier.logger = this.logger;
4058
4237
  const request = yield oci_common_1.composeRequest({
4059
- baseEndpoint: this._endpoint,
4238
+ baseEndpoint: endpoint,
4060
4239
  defaultHeaders: this._defaultHeaders,
4061
4240
  path: "/fleets/{fleetId}/uncorrelatedPackages",
4062
4241
  method: "GET",
@@ -4118,12 +4297,15 @@ class JavaManagementServiceClient {
4118
4297
  "Content-Type": common.Constants.APPLICATION_JSON,
4119
4298
  "opc-request-id": listWorkItemsRequest.opcRequestId
4120
4299
  };
4300
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
4301
+ const requiredParams = new Set(["workRequestId"]);
4302
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
4121
4303
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4122
4304
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkItemsRequest.retryConfiguration, specRetryConfiguration);
4123
4305
  if (this.logger)
4124
4306
  retrier.logger = this.logger;
4125
4307
  const request = yield oci_common_1.composeRequest({
4126
- baseEndpoint: this._endpoint,
4308
+ baseEndpoint: endpoint,
4127
4309
  defaultHeaders: this._defaultHeaders,
4128
4310
  path: "/workRequests/{workRequestId}/workItems",
4129
4311
  method: "GET",
@@ -4185,12 +4367,15 @@ class JavaManagementServiceClient {
4185
4367
  "Content-Type": common.Constants.APPLICATION_JSON,
4186
4368
  "opc-request-id": listWorkRequestErrorsRequest.opcRequestId
4187
4369
  };
4370
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
4371
+ const requiredParams = new Set(["workRequestId"]);
4372
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
4188
4373
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4189
4374
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
4190
4375
  if (this.logger)
4191
4376
  retrier.logger = this.logger;
4192
4377
  const request = yield oci_common_1.composeRequest({
4193
- baseEndpoint: this._endpoint,
4378
+ baseEndpoint: endpoint,
4194
4379
  defaultHeaders: this._defaultHeaders,
4195
4380
  path: "/workRequests/{workRequestId}/errors",
4196
4381
  method: "GET",
@@ -4252,12 +4437,15 @@ class JavaManagementServiceClient {
4252
4437
  "Content-Type": common.Constants.APPLICATION_JSON,
4253
4438
  "opc-request-id": listWorkRequestLogsRequest.opcRequestId
4254
4439
  };
4440
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
4441
+ const requiredParams = new Set(["workRequestId"]);
4442
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
4255
4443
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4256
4444
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
4257
4445
  if (this.logger)
4258
4446
  retrier.logger = this.logger;
4259
4447
  const request = yield oci_common_1.composeRequest({
4260
- baseEndpoint: this._endpoint,
4448
+ baseEndpoint: endpoint,
4261
4449
  defaultHeaders: this._defaultHeaders,
4262
4450
  path: "/workRequests/{workRequestId}/logs",
4263
4451
  method: "GET",
@@ -4323,12 +4511,15 @@ class JavaManagementServiceClient {
4323
4511
  "Content-Type": common.Constants.APPLICATION_JSON,
4324
4512
  "opc-request-id": listWorkRequestsRequest.opcRequestId
4325
4513
  };
4514
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
4515
+ const requiredParams = new Set([]);
4516
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
4326
4517
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4327
4518
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
4328
4519
  if (this.logger)
4329
4520
  retrier.logger = this.logger;
4330
4521
  const request = yield oci_common_1.composeRequest({
4331
- baseEndpoint: this._endpoint,
4522
+ baseEndpoint: endpoint,
4332
4523
  defaultHeaders: this._defaultHeaders,
4333
4524
  path: "/workRequests",
4334
4525
  method: "GET",
@@ -4388,12 +4579,15 @@ class JavaManagementServiceClient {
4388
4579
  "opc-retry-token": removeFleetInstallationSitesRequest.opcRetryToken,
4389
4580
  "opc-request-id": removeFleetInstallationSitesRequest.opcRequestId
4390
4581
  };
4582
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
4583
+ const requiredParams = new Set(["fleetId"]);
4584
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
4391
4585
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4392
4586
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeFleetInstallationSitesRequest.retryConfiguration, specRetryConfiguration);
4393
4587
  if (this.logger)
4394
4588
  retrier.logger = this.logger;
4395
4589
  const request = yield oci_common_1.composeRequest({
4396
- baseEndpoint: this._endpoint,
4590
+ baseEndpoint: endpoint,
4397
4591
  defaultHeaders: this._defaultHeaders,
4398
4592
  path: "/fleets/{fleetId}/actions/removeInstallationSites",
4399
4593
  method: "POST",
@@ -4449,12 +4643,15 @@ class JavaManagementServiceClient {
4449
4643
  "Content-Type": common.Constants.APPLICATION_JSON,
4450
4644
  "opc-request-id": requestCryptoAnalysesRequest.opcRequestId
4451
4645
  };
4646
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
4647
+ const requiredParams = new Set(["fleetId"]);
4648
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
4452
4649
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4453
4650
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, requestCryptoAnalysesRequest.retryConfiguration, specRetryConfiguration);
4454
4651
  if (this.logger)
4455
4652
  retrier.logger = this.logger;
4456
4653
  const request = yield oci_common_1.composeRequest({
4457
- baseEndpoint: this._endpoint,
4654
+ baseEndpoint: endpoint,
4458
4655
  defaultHeaders: this._defaultHeaders,
4459
4656
  path: "/fleets/{fleetId}/actions/requestCryptoAnalyses",
4460
4657
  method: "POST",
@@ -4511,12 +4708,15 @@ class JavaManagementServiceClient {
4511
4708
  "Content-Type": common.Constants.APPLICATION_JSON,
4512
4709
  "opc-request-id": requestDeployedApplicationMigrationAnalysesRequest.opcRequestId
4513
4710
  };
4711
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
4712
+ const requiredParams = new Set(["fleetId"]);
4713
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
4514
4714
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4515
4715
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, requestDeployedApplicationMigrationAnalysesRequest.retryConfiguration, specRetryConfiguration);
4516
4716
  if (this.logger)
4517
4717
  retrier.logger = this.logger;
4518
4718
  const request = yield oci_common_1.composeRequest({
4519
- baseEndpoint: this._endpoint,
4719
+ baseEndpoint: endpoint,
4520
4720
  defaultHeaders: this._defaultHeaders,
4521
4721
  path: "/fleets/{fleetId}/actions/requestDeployedApplicationMigrationAnalyses",
4522
4722
  method: "POST",
@@ -4573,12 +4773,15 @@ class JavaManagementServiceClient {
4573
4773
  "Content-Type": common.Constants.APPLICATION_JSON,
4574
4774
  "opc-request-id": requestJavaMigrationAnalysesRequest.opcRequestId
4575
4775
  };
4776
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
4777
+ const requiredParams = new Set(["fleetId"]);
4778
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
4576
4779
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4577
4780
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, requestJavaMigrationAnalysesRequest.retryConfiguration, specRetryConfiguration);
4578
4781
  if (this.logger)
4579
4782
  retrier.logger = this.logger;
4580
4783
  const request = yield oci_common_1.composeRequest({
4581
- baseEndpoint: this._endpoint,
4784
+ baseEndpoint: endpoint,
4582
4785
  defaultHeaders: this._defaultHeaders,
4583
4786
  path: "/fleets/{fleetId}/actions/requestJavaMigrationAnalyses",
4584
4787
  method: "POST",
@@ -4634,12 +4837,15 @@ class JavaManagementServiceClient {
4634
4837
  "Content-Type": common.Constants.APPLICATION_JSON,
4635
4838
  "opc-request-id": requestJfrRecordingsRequest.opcRequestId
4636
4839
  };
4840
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
4841
+ const requiredParams = new Set(["fleetId"]);
4842
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
4637
4843
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4638
4844
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, requestJfrRecordingsRequest.retryConfiguration, specRetryConfiguration);
4639
4845
  if (this.logger)
4640
4846
  retrier.logger = this.logger;
4641
4847
  const request = yield oci_common_1.composeRequest({
4642
- baseEndpoint: this._endpoint,
4848
+ baseEndpoint: endpoint,
4643
4849
  defaultHeaders: this._defaultHeaders,
4644
4850
  path: "/fleets/{fleetId}/actions/requestJfrRecordings",
4645
4851
  method: "POST",
@@ -4696,12 +4902,15 @@ class JavaManagementServiceClient {
4696
4902
  "Content-Type": common.Constants.APPLICATION_JSON,
4697
4903
  "opc-request-id": requestPerformanceTuningAnalysesRequest.opcRequestId
4698
4904
  };
4905
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
4906
+ const requiredParams = new Set(["fleetId"]);
4907
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
4699
4908
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4700
4909
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, requestPerformanceTuningAnalysesRequest.retryConfiguration, specRetryConfiguration);
4701
4910
  if (this.logger)
4702
4911
  retrier.logger = this.logger;
4703
4912
  const request = yield oci_common_1.composeRequest({
4704
- baseEndpoint: this._endpoint,
4913
+ baseEndpoint: endpoint,
4705
4914
  defaultHeaders: this._defaultHeaders,
4706
4915
  path: "/fleets/{fleetId}/actions/requestPerformanceTuningAnalyses",
4707
4916
  method: "POST",
@@ -4758,12 +4967,15 @@ class JavaManagementServiceClient {
4758
4967
  "opc-retry-token": scanJavaServerUsageRequest.opcRetryToken,
4759
4968
  "opc-request-id": scanJavaServerUsageRequest.opcRequestId
4760
4969
  };
4970
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
4971
+ const requiredParams = new Set(["fleetId"]);
4972
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
4761
4973
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4762
4974
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scanJavaServerUsageRequest.retryConfiguration, specRetryConfiguration);
4763
4975
  if (this.logger)
4764
4976
  retrier.logger = this.logger;
4765
4977
  const request = yield oci_common_1.composeRequest({
4766
- baseEndpoint: this._endpoint,
4978
+ baseEndpoint: endpoint,
4767
4979
  defaultHeaders: this._defaultHeaders,
4768
4980
  path: "/fleets/{fleetId}/actions/scanJavaServerUsage",
4769
4981
  method: "POST",
@@ -4820,12 +5032,15 @@ class JavaManagementServiceClient {
4820
5032
  "opc-retry-token": scanLibraryUsageRequest.opcRetryToken,
4821
5033
  "opc-request-id": scanLibraryUsageRequest.opcRequestId
4822
5034
  };
5035
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
5036
+ const requiredParams = new Set(["fleetId"]);
5037
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
4823
5038
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4824
5039
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scanLibraryUsageRequest.retryConfiguration, specRetryConfiguration);
4825
5040
  if (this.logger)
4826
5041
  retrier.logger = this.logger;
4827
5042
  const request = yield oci_common_1.composeRequest({
4828
- baseEndpoint: this._endpoint,
5043
+ baseEndpoint: endpoint,
4829
5044
  defaultHeaders: this._defaultHeaders,
4830
5045
  path: "/fleets/{fleetId}/actions/scanLibraryUsage",
4831
5046
  method: "POST",
@@ -4901,12 +5116,15 @@ class JavaManagementServiceClient {
4901
5116
  "Content-Type": common.Constants.APPLICATION_JSON,
4902
5117
  "opc-request-id": summarizeApplicationInstallationUsageRequest.opcRequestId
4903
5118
  };
5119
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
5120
+ const requiredParams = new Set(["fleetId"]);
5121
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
4904
5122
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4905
5123
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeApplicationInstallationUsageRequest.retryConfiguration, specRetryConfiguration);
4906
5124
  if (this.logger)
4907
5125
  retrier.logger = this.logger;
4908
5126
  const request = yield oci_common_1.composeRequest({
4909
- baseEndpoint: this._endpoint,
5127
+ baseEndpoint: endpoint,
4910
5128
  defaultHeaders: this._defaultHeaders,
4911
5129
  path: "/fleets/{fleetId}/actions/summarizeApplicationInstallationUsage",
4912
5130
  method: "GET",
@@ -4983,12 +5201,15 @@ class JavaManagementServiceClient {
4983
5201
  "Content-Type": common.Constants.APPLICATION_JSON,
4984
5202
  "opc-request-id": summarizeApplicationUsageRequest.opcRequestId
4985
5203
  };
5204
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
5205
+ const requiredParams = new Set(["fleetId"]);
5206
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
4986
5207
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4987
5208
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeApplicationUsageRequest.retryConfiguration, specRetryConfiguration);
4988
5209
  if (this.logger)
4989
5210
  retrier.logger = this.logger;
4990
5211
  const request = yield oci_common_1.composeRequest({
4991
- baseEndpoint: this._endpoint,
5212
+ baseEndpoint: endpoint,
4992
5213
  defaultHeaders: this._defaultHeaders,
4993
5214
  path: "/fleets/{fleetId}/actions/summarizeApplicationUsage",
4994
5215
  method: "GET",
@@ -5063,12 +5284,15 @@ class JavaManagementServiceClient {
5063
5284
  "Content-Type": common.Constants.APPLICATION_JSON,
5064
5285
  "opc-request-id": summarizeDeployedApplicationInstallationUsageRequest.opcRequestId
5065
5286
  };
5287
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
5288
+ const requiredParams = new Set(["fleetId"]);
5289
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
5066
5290
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5067
5291
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeDeployedApplicationInstallationUsageRequest.retryConfiguration, specRetryConfiguration);
5068
5292
  if (this.logger)
5069
5293
  retrier.logger = this.logger;
5070
5294
  const request = yield oci_common_1.composeRequest({
5071
- baseEndpoint: this._endpoint,
5295
+ baseEndpoint: endpoint,
5072
5296
  defaultHeaders: this._defaultHeaders,
5073
5297
  path: "/fleets/{fleetId}/actions/summarizeDeployedApplicationInstallationUsage",
5074
5298
  method: "GET",
@@ -5141,12 +5365,15 @@ class JavaManagementServiceClient {
5141
5365
  "Content-Type": common.Constants.APPLICATION_JSON,
5142
5366
  "opc-request-id": summarizeDeployedApplicationUsageRequest.opcRequestId
5143
5367
  };
5368
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
5369
+ const requiredParams = new Set(["fleetId"]);
5370
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
5144
5371
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5145
5372
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeDeployedApplicationUsageRequest.retryConfiguration, specRetryConfiguration);
5146
5373
  if (this.logger)
5147
5374
  retrier.logger = this.logger;
5148
5375
  const request = yield oci_common_1.composeRequest({
5149
- baseEndpoint: this._endpoint,
5376
+ baseEndpoint: endpoint,
5150
5377
  defaultHeaders: this._defaultHeaders,
5151
5378
  path: "/fleets/{fleetId}/actions/summarizeDeployedApplicationUsage",
5152
5379
  method: "GET",
@@ -5207,12 +5434,15 @@ class JavaManagementServiceClient {
5207
5434
  "Content-Type": common.Constants.APPLICATION_JSON,
5208
5435
  "opc-request-id": summarizeFleetErrorsRequest.opcRequestId
5209
5436
  };
5437
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
5438
+ const requiredParams = new Set([]);
5439
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
5210
5440
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5211
5441
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeFleetErrorsRequest.retryConfiguration, specRetryConfiguration);
5212
5442
  if (this.logger)
5213
5443
  retrier.logger = this.logger;
5214
5444
  const request = yield oci_common_1.composeRequest({
5215
- baseEndpoint: this._endpoint,
5445
+ baseEndpoint: endpoint,
5216
5446
  defaultHeaders: this._defaultHeaders,
5217
5447
  path: "/fleetErrorAnalytics",
5218
5448
  method: "GET",
@@ -5280,18 +5510,22 @@ class JavaManagementServiceClient {
5280
5510
  "sortOrder": summarizeInstallationUsageRequest.sortOrder,
5281
5511
  "sortBy": summarizeInstallationUsageRequest.sortBy,
5282
5512
  "osFamily": summarizeInstallationUsageRequest.osFamily,
5283
- "pathContains": summarizeInstallationUsageRequest.pathContains
5513
+ "pathContains": summarizeInstallationUsageRequest.pathContains,
5514
+ "jreSecurityStatus": summarizeInstallationUsageRequest.jreSecurityStatus
5284
5515
  };
5285
5516
  let headerParams = {
5286
5517
  "Content-Type": common.Constants.APPLICATION_JSON,
5287
5518
  "opc-request-id": summarizeInstallationUsageRequest.opcRequestId
5288
5519
  };
5520
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
5521
+ const requiredParams = new Set(["fleetId"]);
5522
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
5289
5523
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5290
5524
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeInstallationUsageRequest.retryConfiguration, specRetryConfiguration);
5291
5525
  if (this.logger)
5292
5526
  retrier.logger = this.logger;
5293
5527
  const request = yield oci_common_1.composeRequest({
5294
- baseEndpoint: this._endpoint,
5528
+ baseEndpoint: endpoint,
5295
5529
  defaultHeaders: this._defaultHeaders,
5296
5530
  path: "/fleets/{fleetId}/actions/summarizeInstallationUsage",
5297
5531
  method: "GET",
@@ -5364,12 +5598,15 @@ class JavaManagementServiceClient {
5364
5598
  "Content-Type": common.Constants.APPLICATION_JSON,
5365
5599
  "opc-request-id": summarizeJavaServerInstanceUsageRequest.opcRequestId
5366
5600
  };
5601
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
5602
+ const requiredParams = new Set(["fleetId"]);
5603
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
5367
5604
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5368
5605
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeJavaServerInstanceUsageRequest.retryConfiguration, specRetryConfiguration);
5369
5606
  if (this.logger)
5370
5607
  retrier.logger = this.logger;
5371
5608
  const request = yield oci_common_1.composeRequest({
5372
- baseEndpoint: this._endpoint,
5609
+ baseEndpoint: endpoint,
5373
5610
  defaultHeaders: this._defaultHeaders,
5374
5611
  path: "/fleets/{fleetId}/actions/summarizeJavaServerInstanceUsage",
5375
5612
  method: "GET",
@@ -5439,12 +5676,15 @@ class JavaManagementServiceClient {
5439
5676
  "Content-Type": common.Constants.APPLICATION_JSON,
5440
5677
  "opc-request-id": summarizeJavaServerUsageRequest.opcRequestId
5441
5678
  };
5679
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
5680
+ const requiredParams = new Set(["fleetId"]);
5681
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
5442
5682
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5443
5683
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeJavaServerUsageRequest.retryConfiguration, specRetryConfiguration);
5444
5684
  if (this.logger)
5445
5685
  retrier.logger = this.logger;
5446
5686
  const request = yield oci_common_1.composeRequest({
5447
- baseEndpoint: this._endpoint,
5687
+ baseEndpoint: endpoint,
5448
5688
  defaultHeaders: this._defaultHeaders,
5449
5689
  path: "/fleets/{fleetId}/actions/summarizeJavaServerUsage",
5450
5690
  method: "GET",
@@ -5518,12 +5758,15 @@ class JavaManagementServiceClient {
5518
5758
  "Content-Type": common.Constants.APPLICATION_JSON,
5519
5759
  "opc-request-id": summarizeJreUsageRequest.opcRequestId
5520
5760
  };
5761
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
5762
+ const requiredParams = new Set(["fleetId"]);
5763
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
5521
5764
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5522
5765
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeJreUsageRequest.retryConfiguration, specRetryConfiguration);
5523
5766
  if (this.logger)
5524
5767
  retrier.logger = this.logger;
5525
5768
  const request = yield oci_common_1.composeRequest({
5526
- baseEndpoint: this._endpoint,
5769
+ baseEndpoint: endpoint,
5527
5770
  defaultHeaders: this._defaultHeaders,
5528
5771
  path: "/fleets/{fleetId}/actions/summarizeJreUsage",
5529
5772
  method: "GET",
@@ -5587,12 +5830,15 @@ class JavaManagementServiceClient {
5587
5830
  "Content-Type": common.Constants.APPLICATION_JSON,
5588
5831
  "opc-request-id": summarizeLibraryInventoryRequest.opcRequestId
5589
5832
  };
5833
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
5834
+ const requiredParams = new Set(["fleetId"]);
5835
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
5590
5836
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5591
5837
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeLibraryInventoryRequest.retryConfiguration, specRetryConfiguration);
5592
5838
  if (this.logger)
5593
5839
  retrier.logger = this.logger;
5594
5840
  const request = yield oci_common_1.composeRequest({
5595
- baseEndpoint: this._endpoint,
5841
+ baseEndpoint: endpoint,
5596
5842
  defaultHeaders: this._defaultHeaders,
5597
5843
  path: "/fleets/{fleetId}/summarizeLibraryInventory",
5598
5844
  method: "GET",
@@ -5666,12 +5912,15 @@ class JavaManagementServiceClient {
5666
5912
  "Content-Type": common.Constants.APPLICATION_JSON,
5667
5913
  "opc-request-id": summarizeLibraryUsageRequest.opcRequestId
5668
5914
  };
5915
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
5916
+ const requiredParams = new Set(["fleetId"]);
5917
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
5669
5918
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5670
5919
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeLibraryUsageRequest.retryConfiguration, specRetryConfiguration);
5671
5920
  if (this.logger)
5672
5921
  retrier.logger = this.logger;
5673
5922
  const request = yield oci_common_1.composeRequest({
5674
- baseEndpoint: this._endpoint,
5923
+ baseEndpoint: endpoint,
5675
5924
  defaultHeaders: this._defaultHeaders,
5676
5925
  path: "/fleets/{fleetId}/actions/summarizeLibraryUsage",
5677
5926
  method: "GET",
@@ -5747,12 +5996,15 @@ class JavaManagementServiceClient {
5747
5996
  "Content-Type": common.Constants.APPLICATION_JSON,
5748
5997
  "opc-request-id": summarizeManagedInstanceUsageRequest.opcRequestId
5749
5998
  };
5999
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
6000
+ const requiredParams = new Set(["fleetId"]);
6001
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
5750
6002
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5751
6003
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeManagedInstanceUsageRequest.retryConfiguration, specRetryConfiguration);
5752
6004
  if (this.logger)
5753
6005
  retrier.logger = this.logger;
5754
6006
  const request = yield oci_common_1.composeRequest({
5755
- baseEndpoint: this._endpoint,
6007
+ baseEndpoint: endpoint,
5756
6008
  defaultHeaders: this._defaultHeaders,
5757
6009
  path: "/fleets/{fleetId}/actions/summarizeManagedInstanceUsage",
5758
6010
  method: "GET",
@@ -5813,12 +6065,15 @@ class JavaManagementServiceClient {
5813
6065
  "Content-Type": common.Constants.APPLICATION_JSON,
5814
6066
  "opc-request-id": summarizePluginErrorsRequest.opcRequestId
5815
6067
  };
6068
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
6069
+ const requiredParams = new Set([]);
6070
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
5816
6071
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5817
6072
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizePluginErrorsRequest.retryConfiguration, specRetryConfiguration);
5818
6073
  if (this.logger)
5819
6074
  retrier.logger = this.logger;
5820
6075
  const request = yield oci_common_1.composeRequest({
5821
- baseEndpoint: this._endpoint,
6076
+ baseEndpoint: endpoint,
5822
6077
  defaultHeaders: this._defaultHeaders,
5823
6078
  path: "/pluginErrorAnalytics",
5824
6079
  method: "GET",
@@ -5880,12 +6135,15 @@ class JavaManagementServiceClient {
5880
6135
  "Content-Type": common.Constants.APPLICATION_JSON,
5881
6136
  "opc-request-id": summarizeResourceInventoryRequest.opcRequestId
5882
6137
  };
6138
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
6139
+ const requiredParams = new Set([]);
6140
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
5883
6141
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5884
6142
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeResourceInventoryRequest.retryConfiguration, specRetryConfiguration);
5885
6143
  if (this.logger)
5886
6144
  retrier.logger = this.logger;
5887
6145
  const request = yield oci_common_1.composeRequest({
5888
- baseEndpoint: this._endpoint,
6146
+ baseEndpoint: endpoint,
5889
6147
  defaultHeaders: this._defaultHeaders,
5890
6148
  path: "/summarizeResourceInventory",
5891
6149
  method: "GET",
@@ -5942,12 +6200,15 @@ class JavaManagementServiceClient {
5942
6200
  "if-match": updateDrsFileRequest.ifMatch,
5943
6201
  "opc-retry-token": updateDrsFileRequest.opcRetryToken
5944
6202
  };
6203
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
6204
+ const requiredParams = new Set(["fleetId", "drsFileKey"]);
6205
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
5945
6206
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5946
6207
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDrsFileRequest.retryConfiguration, specRetryConfiguration);
5947
6208
  if (this.logger)
5948
6209
  retrier.logger = this.logger;
5949
6210
  const request = yield oci_common_1.composeRequest({
5950
- baseEndpoint: this._endpoint,
6211
+ baseEndpoint: endpoint,
5951
6212
  defaultHeaders: this._defaultHeaders,
5952
6213
  path: "/fleets/{fleetId}/drsFiles/{drsFileKey}",
5953
6214
  method: "PUT",
@@ -6003,12 +6264,15 @@ class JavaManagementServiceClient {
6003
6264
  "if-match": updateExportSettingRequest.ifMatch,
6004
6265
  "opc-request-id": updateExportSettingRequest.opcRequestId
6005
6266
  };
6267
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
6268
+ const requiredParams = new Set(["fleetId"]);
6269
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
6006
6270
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
6007
6271
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateExportSettingRequest.retryConfiguration, specRetryConfiguration);
6008
6272
  if (this.logger)
6009
6273
  retrier.logger = this.logger;
6010
6274
  const request = yield oci_common_1.composeRequest({
6011
- baseEndpoint: this._endpoint,
6275
+ baseEndpoint: endpoint,
6012
6276
  defaultHeaders: this._defaultHeaders,
6013
6277
  path: "/fleets/{fleetId}/exportSetting",
6014
6278
  method: "PUT",
@@ -6068,12 +6332,15 @@ class JavaManagementServiceClient {
6068
6332
  "if-match": updateFleetRequest.ifMatch,
6069
6333
  "opc-request-id": updateFleetRequest.opcRequestId
6070
6334
  };
6335
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
6336
+ const requiredParams = new Set(["fleetId"]);
6337
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
6071
6338
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
6072
6339
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFleetRequest.retryConfiguration, specRetryConfiguration);
6073
6340
  if (this.logger)
6074
6341
  retrier.logger = this.logger;
6075
6342
  const request = yield oci_common_1.composeRequest({
6076
- baseEndpoint: this._endpoint,
6343
+ baseEndpoint: endpoint,
6077
6344
  defaultHeaders: this._defaultHeaders,
6078
6345
  path: "/fleets/{fleetId}",
6079
6346
  method: "PUT",
@@ -6132,12 +6399,15 @@ class JavaManagementServiceClient {
6132
6399
  "if-match": updateFleetAdvancedFeatureConfigurationRequest.ifMatch,
6133
6400
  "opc-request-id": updateFleetAdvancedFeatureConfigurationRequest.opcRequestId
6134
6401
  };
6402
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
6403
+ const requiredParams = new Set(["fleetId"]);
6404
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
6135
6405
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
6136
6406
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFleetAdvancedFeatureConfigurationRequest.retryConfiguration, specRetryConfiguration);
6137
6407
  if (this.logger)
6138
6408
  retrier.logger = this.logger;
6139
6409
  const request = yield oci_common_1.composeRequest({
6140
- baseEndpoint: this._endpoint,
6410
+ baseEndpoint: endpoint,
6141
6411
  defaultHeaders: this._defaultHeaders,
6142
6412
  path: "/fleets/{fleetId}/advancedFeatureConfiguration",
6143
6413
  method: "PUT",
@@ -6197,12 +6467,15 @@ class JavaManagementServiceClient {
6197
6467
  "if-match": updateFleetAgentConfigurationRequest.ifMatch,
6198
6468
  "opc-request-id": updateFleetAgentConfigurationRequest.opcRequestId
6199
6469
  };
6470
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
6471
+ const requiredParams = new Set(["fleetId"]);
6472
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
6200
6473
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
6201
6474
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFleetAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
6202
6475
  if (this.logger)
6203
6476
  retrier.logger = this.logger;
6204
6477
  const request = yield oci_common_1.composeRequest({
6205
- baseEndpoint: this._endpoint,
6478
+ baseEndpoint: endpoint,
6206
6479
  defaultHeaders: this._defaultHeaders,
6207
6480
  path: "/fleets/{fleetId}/agentConfiguration",
6208
6481
  method: "PUT",
@@ -6258,12 +6531,15 @@ class JavaManagementServiceClient {
6258
6531
  "if-match": updateJmsPluginRequest.ifMatch,
6259
6532
  "opc-request-id": updateJmsPluginRequest.opcRequestId
6260
6533
  };
6534
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
6535
+ const requiredParams = new Set(["jmsPluginId"]);
6536
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
6261
6537
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
6262
6538
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateJmsPluginRequest.retryConfiguration, specRetryConfiguration);
6263
6539
  if (this.logger)
6264
6540
  retrier.logger = this.logger;
6265
6541
  const request = yield oci_common_1.composeRequest({
6266
- baseEndpoint: this._endpoint,
6542
+ baseEndpoint: endpoint,
6267
6543
  defaultHeaders: this._defaultHeaders,
6268
6544
  path: "/jmsPlugins/{jmsPluginId}",
6269
6545
  method: "PUT",
@@ -6325,12 +6601,15 @@ class JavaManagementServiceClient {
6325
6601
  "opc-request-id": updateTaskScheduleRequest.opcRequestId,
6326
6602
  "opc-retry-token": updateTaskScheduleRequest.opcRetryToken
6327
6603
  };
6604
+ let endpoint = common.EndpointBuilder.updateEndpointTemplateForOptions(this.endpoint, this._enableDualstackEndpoint, this._serviceUsesDualStackByDefault);
6605
+ const requiredParams = new Set(["taskScheduleId"]);
6606
+ endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(endpoint, pathParams, queryParams, requiredParams);
6328
6607
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
6329
6608
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTaskScheduleRequest.retryConfiguration, specRetryConfiguration);
6330
6609
  if (this.logger)
6331
6610
  retrier.logger = this.logger;
6332
6611
  const request = yield oci_common_1.composeRequest({
6333
- baseEndpoint: this._endpoint,
6612
+ baseEndpoint: endpoint,
6334
6613
  defaultHeaders: this._defaultHeaders,
6335
6614
  path: "/taskSchedules/{taskScheduleId}",
6336
6615
  method: "PUT",
@@ -6369,6 +6648,6 @@ class JavaManagementServiceClient {
6369
6648
  }
6370
6649
  }
6371
6650
  exports.JavaManagementServiceClient = JavaManagementServiceClient;
6372
- JavaManagementServiceClient.serviceEndpointTemplate = "https://javamanagement.{region}.oci.{secondLevelDomain}";
6373
- JavaManagementServiceClient.endpointServiceName = "";
6651
+ JavaManagementServiceClient.serviceEndpointTemplate = "https://javamanagement.{region}.{dualStack?ds.:}oci.{secondLevelDomain}";
6652
+ JavaManagementServiceClient.endpointServiceName = "javamanagement";
6374
6653
  //# sourceMappingURL=client.js.map