oci-cloudbridge 2.57.0 → 2.58.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/lib/client.d.ts +98 -58
  2. package/lib/client.js +150 -58
  3. package/lib/client.js.map +1 -1
  4. package/lib/request/add-agent-dependency-request.d.ts +1 -1
  5. package/lib/request/analyze-assets-request.d.ts +1 -1
  6. package/lib/request/cancel-work-request-request.d.ts +1 -1
  7. package/lib/request/change-agent-compartment-request.d.ts +1 -1
  8. package/lib/request/change-agent-dependency-compartment-request.d.ts +1 -1
  9. package/lib/request/change-asset-compartment-request.d.ts +1 -1
  10. package/lib/request/change-asset-source-compartment-request.d.ts +1 -1
  11. package/lib/request/change-asset-tags-request.d.ts +1 -1
  12. package/lib/request/change-discovery-schedule-compartment-request.d.ts +1 -1
  13. package/lib/request/change-environment-compartment-request.d.ts +1 -1
  14. package/lib/request/create-agent-dependency-request.d.ts +1 -1
  15. package/lib/request/create-agent-request.d.ts +1 -1
  16. package/lib/request/create-asset-request.d.ts +1 -1
  17. package/lib/request/create-asset-source-request.d.ts +1 -1
  18. package/lib/request/create-discovery-schedule-request.d.ts +1 -1
  19. package/lib/request/create-environment-request.d.ts +1 -1
  20. package/lib/request/create-inventory-request.d.ts +1 -1
  21. package/lib/request/delete-agent-dependency-request.d.ts +1 -1
  22. package/lib/request/delete-agent-request.d.ts +1 -1
  23. package/lib/request/delete-asset-request.d.ts +1 -1
  24. package/lib/request/delete-asset-source-request.d.ts +1 -1
  25. package/lib/request/delete-discovery-schedule-request.d.ts +1 -1
  26. package/lib/request/delete-environment-request.d.ts +1 -1
  27. package/lib/request/delete-inventory-request.d.ts +1 -1
  28. package/lib/request/get-agent-dependency-request.d.ts +1 -1
  29. package/lib/request/get-agent-request.d.ts +1 -1
  30. package/lib/request/get-asset-request.d.ts +1 -1
  31. package/lib/request/get-asset-source-request.d.ts +1 -1
  32. package/lib/request/get-discovery-schedule-request.d.ts +1 -1
  33. package/lib/request/get-environment-request.d.ts +1 -1
  34. package/lib/request/get-inventory-request.d.ts +1 -1
  35. package/lib/request/get-plugin-request.d.ts +1 -1
  36. package/lib/request/get-work-request-request.d.ts +1 -1
  37. package/lib/request/import-inventory-request.d.ts +1 -1
  38. package/lib/request/list-agent-dependencies-request.d.ts +1 -1
  39. package/lib/request/list-agents-request.d.ts +1 -1
  40. package/lib/request/list-appliance-images-request.d.ts +1 -1
  41. package/lib/request/list-asset-source-connections-request.d.ts +1 -1
  42. package/lib/request/list-asset-sources-request.d.ts +1 -1
  43. package/lib/request/list-assets-request.d.ts +1 -1
  44. package/lib/request/list-discovery-schedules-request.d.ts +1 -1
  45. package/lib/request/list-environments-request.d.ts +1 -1
  46. package/lib/request/list-historical-metrics-request.d.ts +1 -1
  47. package/lib/request/list-inventories-request.d.ts +1 -1
  48. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  49. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  50. package/lib/request/list-work-requests-request.d.ts +1 -1
  51. package/lib/request/refresh-asset-source-request.d.ts +1 -1
  52. package/lib/request/remove-agent-dependency-request.d.ts +1 -1
  53. package/lib/request/submit-historical-metrics-request.d.ts +1 -1
  54. package/lib/request/update-agent-dependency-request.d.ts +1 -1
  55. package/lib/request/update-agent-request.d.ts +1 -1
  56. package/lib/request/update-asset-request.d.ts +1 -1
  57. package/lib/request/update-asset-source-request.d.ts +1 -1
  58. package/lib/request/update-discovery-schedule-request.d.ts +1 -1
  59. package/lib/request/update-environment-request.d.ts +1 -1
  60. package/lib/request/update-inventory-request.d.ts +1 -1
  61. package/lib/request/update-plugin-request.d.ts +1 -1
  62. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -59,11 +59,14 @@ var CommonApiKeys;
59
59
  */
60
60
  class CommonClient {
61
61
  constructor(params, clientConfiguration) {
62
+ this["_realmSpecificEndpointTemplateEnabled"] = false;
62
63
  this["_endpoint"] = "";
63
64
  this["_defaultHeaders"] = {};
64
65
  this._circuitBreaker = null;
65
66
  this._httpOptions = undefined;
66
67
  this.targetService = "Common";
68
+ this._regionId = "";
69
+ this._lastSetRegionOrRegionId = "";
67
70
  const requestSigner = params.authenticationDetailsProvider
68
71
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
69
72
  : null;
@@ -113,13 +116,31 @@ class CommonClient {
113
116
  get logger() {
114
117
  return common.LOG.logger;
115
118
  }
119
+ /**
120
+ * Determines whether realm specific endpoint should be used or not.
121
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
122
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
123
+ */
124
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
125
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
126
+ if (this.logger)
127
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
128
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
129
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(CommonClient.serviceEndpointTemplate, this._region, CommonClient.endpointServiceName);
130
+ }
131
+ else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
132
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(CommonClient.serviceEndpointTemplate, this._regionId, CommonClient.endpointServiceName);
133
+ }
134
+ }
116
135
  /**
117
136
  * Sets the region to call (ex, Region.US_PHOENIX_1).
118
137
  * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
119
138
  * @param region The region of the service.
120
139
  */
121
140
  set region(region) {
141
+ this._region = region;
122
142
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(CommonClient.serviceEndpointTemplate, region, CommonClient.endpointServiceName);
143
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
123
144
  }
124
145
  /**
125
146
  * Sets the regionId to call (ex, 'us-phoenix-1').
@@ -130,7 +151,9 @@ class CommonClient {
130
151
  * @param regionId The public region ID.
131
152
  */
132
153
  set regionId(regionId) {
154
+ this._regionId = regionId;
133
155
  this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(CommonClient.serviceEndpointTemplate, regionId, CommonClient.endpointServiceName);
156
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
134
157
  }
135
158
  /**
136
159
  * Creates a new CommonWaiter for resources for this service.
@@ -159,7 +182,7 @@ class CommonClient {
159
182
  * @param CancelWorkRequestRequest
160
183
  * @return CancelWorkRequestResponse
161
184
  * @throws OciError when an error occurs
162
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
185
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
163
186
  */
164
187
  cancelWorkRequest(cancelWorkRequestRequest) {
165
188
  return __awaiter(this, void 0, void 0, function* () {
@@ -214,7 +237,7 @@ class CommonClient {
214
237
  * @param GetWorkRequestRequest
215
238
  * @return GetWorkRequestResponse
216
239
  * @throws OciError when an error occurs
217
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
240
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
218
241
  */
219
242
  getWorkRequest(getWorkRequestRequest) {
220
243
  return __awaiter(this, void 0, void 0, function* () {
@@ -283,7 +306,7 @@ class CommonClient {
283
306
  * @param ListWorkRequestErrorsRequest
284
307
  * @return ListWorkRequestErrorsResponse
285
308
  * @throws OciError when an error occurs
286
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
309
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
287
310
  */
288
311
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
289
312
  return __awaiter(this, void 0, void 0, function* () {
@@ -352,7 +375,7 @@ class CommonClient {
352
375
  * @param ListWorkRequestLogsRequest
353
376
  * @return ListWorkRequestLogsResponse
354
377
  * @throws OciError when an error occurs
355
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
378
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
356
379
  */
357
380
  listWorkRequestLogs(listWorkRequestLogsRequest) {
358
381
  return __awaiter(this, void 0, void 0, function* () {
@@ -421,7 +444,7 @@ class CommonClient {
421
444
  * @param ListWorkRequestsRequest
422
445
  * @return ListWorkRequestsResponse
423
446
  * @throws OciError when an error occurs
424
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
447
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
425
448
  */
426
449
  listWorkRequests(listWorkRequestsRequest) {
427
450
  return __awaiter(this, void 0, void 0, function* () {
@@ -497,11 +520,14 @@ var DiscoveryApiKeys;
497
520
  */
498
521
  class DiscoveryClient {
499
522
  constructor(params, clientConfiguration) {
523
+ this["_realmSpecificEndpointTemplateEnabled"] = false;
500
524
  this["_endpoint"] = "";
501
525
  this["_defaultHeaders"] = {};
502
526
  this._circuitBreaker = null;
503
527
  this._httpOptions = undefined;
504
528
  this.targetService = "Discovery";
529
+ this._regionId = "";
530
+ this._lastSetRegionOrRegionId = "";
505
531
  const requestSigner = params.authenticationDetailsProvider
506
532
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
507
533
  : null;
@@ -551,13 +577,31 @@ class DiscoveryClient {
551
577
  get logger() {
552
578
  return common.LOG.logger;
553
579
  }
580
+ /**
581
+ * Determines whether realm specific endpoint should be used or not.
582
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
583
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
584
+ */
585
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
586
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
587
+ if (this.logger)
588
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
589
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
590
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DiscoveryClient.serviceEndpointTemplate, this._region, DiscoveryClient.endpointServiceName);
591
+ }
592
+ else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
593
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(DiscoveryClient.serviceEndpointTemplate, this._regionId, DiscoveryClient.endpointServiceName);
594
+ }
595
+ }
554
596
  /**
555
597
  * Sets the region to call (ex, Region.US_PHOENIX_1).
556
598
  * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
557
599
  * @param region The region of the service.
558
600
  */
559
601
  set region(region) {
602
+ this._region = region;
560
603
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DiscoveryClient.serviceEndpointTemplate, region, DiscoveryClient.endpointServiceName);
604
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
561
605
  }
562
606
  /**
563
607
  * Sets the regionId to call (ex, 'us-phoenix-1').
@@ -568,7 +612,9 @@ class DiscoveryClient {
568
612
  * @param regionId The public region ID.
569
613
  */
570
614
  set regionId(regionId) {
615
+ this._regionId = regionId;
571
616
  this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(DiscoveryClient.serviceEndpointTemplate, regionId, DiscoveryClient.endpointServiceName);
617
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
572
618
  }
573
619
  /**
574
620
  * Creates a new DiscoveryWaiter for resources for this service.
@@ -597,7 +643,7 @@ class DiscoveryClient {
597
643
  * @param ChangeAssetSourceCompartmentRequest
598
644
  * @return ChangeAssetSourceCompartmentResponse
599
645
  * @throws OciError when an error occurs
600
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ChangeAssetSourceCompartment.ts.html |here} to see how to use ChangeAssetSourceCompartment API.
646
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ChangeAssetSourceCompartment.ts.html |here} to see how to use ChangeAssetSourceCompartment API.
601
647
  */
602
648
  changeAssetSourceCompartment(changeAssetSourceCompartmentRequest) {
603
649
  return __awaiter(this, void 0, void 0, function* () {
@@ -654,7 +700,7 @@ class DiscoveryClient {
654
700
  * @param ChangeDiscoveryScheduleCompartmentRequest
655
701
  * @return ChangeDiscoveryScheduleCompartmentResponse
656
702
  * @throws OciError when an error occurs
657
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ChangeDiscoveryScheduleCompartment.ts.html |here} to see how to use ChangeDiscoveryScheduleCompartment API.
703
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ChangeDiscoveryScheduleCompartment.ts.html |here} to see how to use ChangeDiscoveryScheduleCompartment API.
658
704
  */
659
705
  changeDiscoveryScheduleCompartment(changeDiscoveryScheduleCompartmentRequest) {
660
706
  return __awaiter(this, void 0, void 0, function* () {
@@ -712,7 +758,7 @@ class DiscoveryClient {
712
758
  * @param CreateAssetSourceRequest
713
759
  * @return CreateAssetSourceResponse
714
760
  * @throws OciError when an error occurs
715
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/CreateAssetSource.ts.html |here} to see how to use CreateAssetSource API.
761
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/CreateAssetSource.ts.html |here} to see how to use CreateAssetSource API.
716
762
  */
717
763
  createAssetSource(createAssetSourceRequest) {
718
764
  return __awaiter(this, void 0, void 0, function* () {
@@ -785,7 +831,7 @@ class DiscoveryClient {
785
831
  * @param CreateDiscoveryScheduleRequest
786
832
  * @return CreateDiscoveryScheduleResponse
787
833
  * @throws OciError when an error occurs
788
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/CreateDiscoverySchedule.ts.html |here} to see how to use CreateDiscoverySchedule API.
834
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/CreateDiscoverySchedule.ts.html |here} to see how to use CreateDiscoverySchedule API.
789
835
  */
790
836
  createDiscoverySchedule(createDiscoveryScheduleRequest) {
791
837
  return __awaiter(this, void 0, void 0, function* () {
@@ -848,7 +894,7 @@ class DiscoveryClient {
848
894
  * @param DeleteAssetSourceRequest
849
895
  * @return DeleteAssetSourceResponse
850
896
  * @throws OciError when an error occurs
851
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/DeleteAssetSource.ts.html |here} to see how to use DeleteAssetSource API.
897
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/DeleteAssetSource.ts.html |here} to see how to use DeleteAssetSource API.
852
898
  */
853
899
  deleteAssetSource(deleteAssetSourceRequest) {
854
900
  return __awaiter(this, void 0, void 0, function* () {
@@ -908,7 +954,7 @@ class DiscoveryClient {
908
954
  * @param DeleteDiscoveryScheduleRequest
909
955
  * @return DeleteDiscoveryScheduleResponse
910
956
  * @throws OciError when an error occurs
911
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/DeleteDiscoverySchedule.ts.html |here} to see how to use DeleteDiscoverySchedule API.
957
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/DeleteDiscoverySchedule.ts.html |here} to see how to use DeleteDiscoverySchedule API.
912
958
  */
913
959
  deleteDiscoverySchedule(deleteDiscoveryScheduleRequest) {
914
960
  return __awaiter(this, void 0, void 0, function* () {
@@ -963,7 +1009,7 @@ class DiscoveryClient {
963
1009
  * @param GetAssetSourceRequest
964
1010
  * @return GetAssetSourceResponse
965
1011
  * @throws OciError when an error occurs
966
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/GetAssetSource.ts.html |here} to see how to use GetAssetSource API.
1012
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/GetAssetSource.ts.html |here} to see how to use GetAssetSource API.
967
1013
  */
968
1014
  getAssetSource(getAssetSourceRequest) {
969
1015
  return __awaiter(this, void 0, void 0, function* () {
@@ -1026,7 +1072,7 @@ class DiscoveryClient {
1026
1072
  * @param GetDiscoveryScheduleRequest
1027
1073
  * @return GetDiscoveryScheduleResponse
1028
1074
  * @throws OciError when an error occurs
1029
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/GetDiscoverySchedule.ts.html |here} to see how to use GetDiscoverySchedule API.
1075
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/GetDiscoverySchedule.ts.html |here} to see how to use GetDiscoverySchedule API.
1030
1076
  */
1031
1077
  getDiscoverySchedule(getDiscoveryScheduleRequest) {
1032
1078
  return __awaiter(this, void 0, void 0, function* () {
@@ -1089,7 +1135,7 @@ class DiscoveryClient {
1089
1135
  * @param ListAssetSourceConnectionsRequest
1090
1136
  * @return ListAssetSourceConnectionsResponse
1091
1137
  * @throws OciError when an error occurs
1092
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ListAssetSourceConnections.ts.html |here} to see how to use ListAssetSourceConnections API.
1138
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ListAssetSourceConnections.ts.html |here} to see how to use ListAssetSourceConnections API.
1093
1139
  */
1094
1140
  listAssetSourceConnections(listAssetSourceConnectionsRequest) {
1095
1141
  return __awaiter(this, void 0, void 0, function* () {
@@ -1156,7 +1202,7 @@ class DiscoveryClient {
1156
1202
  * @param ListAssetSourcesRequest
1157
1203
  * @return ListAssetSourcesResponse
1158
1204
  * @throws OciError when an error occurs
1159
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ListAssetSources.ts.html |here} to see how to use ListAssetSources API.
1205
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ListAssetSources.ts.html |here} to see how to use ListAssetSources API.
1160
1206
  */
1161
1207
  listAssetSources(listAssetSourcesRequest) {
1162
1208
  return __awaiter(this, void 0, void 0, function* () {
@@ -1226,7 +1272,7 @@ class DiscoveryClient {
1226
1272
  * @param ListDiscoverySchedulesRequest
1227
1273
  * @return ListDiscoverySchedulesResponse
1228
1274
  * @throws OciError when an error occurs
1229
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ListDiscoverySchedules.ts.html |here} to see how to use ListDiscoverySchedules API.
1275
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ListDiscoverySchedules.ts.html |here} to see how to use ListDiscoverySchedules API.
1230
1276
  */
1231
1277
  listDiscoverySchedules(listDiscoverySchedulesRequest) {
1232
1278
  return __awaiter(this, void 0, void 0, function* () {
@@ -1296,7 +1342,7 @@ class DiscoveryClient {
1296
1342
  * @param RefreshAssetSourceRequest
1297
1343
  * @return RefreshAssetSourceResponse
1298
1344
  * @throws OciError when an error occurs
1299
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/RefreshAssetSource.ts.html |here} to see how to use RefreshAssetSource API.
1345
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/RefreshAssetSource.ts.html |here} to see how to use RefreshAssetSource API.
1300
1346
  */
1301
1347
  refreshAssetSource(refreshAssetSourceRequest) {
1302
1348
  return __awaiter(this, void 0, void 0, function* () {
@@ -1356,7 +1402,7 @@ class DiscoveryClient {
1356
1402
  * @param UpdateAssetSourceRequest
1357
1403
  * @return UpdateAssetSourceResponse
1358
1404
  * @throws OciError when an error occurs
1359
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/UpdateAssetSource.ts.html |here} to see how to use UpdateAssetSource API.
1405
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/UpdateAssetSource.ts.html |here} to see how to use UpdateAssetSource API.
1360
1406
  */
1361
1407
  updateAssetSource(updateAssetSourceRequest) {
1362
1408
  return __awaiter(this, void 0, void 0, function* () {
@@ -1417,7 +1463,7 @@ class DiscoveryClient {
1417
1463
  * @param UpdateDiscoveryScheduleRequest
1418
1464
  * @return UpdateDiscoveryScheduleResponse
1419
1465
  * @throws OciError when an error occurs
1420
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/UpdateDiscoverySchedule.ts.html |here} to see how to use UpdateDiscoverySchedule API.
1466
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/UpdateDiscoverySchedule.ts.html |here} to see how to use UpdateDiscoverySchedule API.
1421
1467
  */
1422
1468
  updateDiscoverySchedule(updateDiscoveryScheduleRequest) {
1423
1469
  return __awaiter(this, void 0, void 0, function* () {
@@ -1488,11 +1534,14 @@ var InventoryApiKeys;
1488
1534
  */
1489
1535
  class InventoryClient {
1490
1536
  constructor(params, clientConfiguration) {
1537
+ this["_realmSpecificEndpointTemplateEnabled"] = false;
1491
1538
  this["_endpoint"] = "";
1492
1539
  this["_defaultHeaders"] = {};
1493
1540
  this._circuitBreaker = null;
1494
1541
  this._httpOptions = undefined;
1495
1542
  this.targetService = "Inventory";
1543
+ this._regionId = "";
1544
+ this._lastSetRegionOrRegionId = "";
1496
1545
  const requestSigner = params.authenticationDetailsProvider
1497
1546
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
1498
1547
  : null;
@@ -1542,13 +1591,31 @@ class InventoryClient {
1542
1591
  get logger() {
1543
1592
  return common.LOG.logger;
1544
1593
  }
1594
+ /**
1595
+ * Determines whether realm specific endpoint should be used or not.
1596
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
1597
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
1598
+ */
1599
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
1600
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
1601
+ if (this.logger)
1602
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1603
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
1604
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(InventoryClient.serviceEndpointTemplate, this._region, InventoryClient.endpointServiceName);
1605
+ }
1606
+ else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
1607
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(InventoryClient.serviceEndpointTemplate, this._regionId, InventoryClient.endpointServiceName);
1608
+ }
1609
+ }
1545
1610
  /**
1546
1611
  * Sets the region to call (ex, Region.US_PHOENIX_1).
1547
1612
  * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
1548
1613
  * @param region The region of the service.
1549
1614
  */
1550
1615
  set region(region) {
1616
+ this._region = region;
1551
1617
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(InventoryClient.serviceEndpointTemplate, region, InventoryClient.endpointServiceName);
1618
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
1552
1619
  }
1553
1620
  /**
1554
1621
  * Sets the regionId to call (ex, 'us-phoenix-1').
@@ -1559,7 +1626,9 @@ class InventoryClient {
1559
1626
  * @param regionId The public region ID.
1560
1627
  */
1561
1628
  set regionId(regionId) {
1629
+ this._regionId = regionId;
1562
1630
  this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(InventoryClient.serviceEndpointTemplate, regionId, InventoryClient.endpointServiceName);
1631
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
1563
1632
  }
1564
1633
  /**
1565
1634
  * Creates a new InventoryWaiter for resources for this service.
@@ -1590,7 +1659,7 @@ class InventoryClient {
1590
1659
  * @param AnalyzeAssetsRequest
1591
1660
  * @return AnalyzeAssetsResponse
1592
1661
  * @throws OciError when an error occurs
1593
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/AnalyzeAssets.ts.html |here} to see how to use AnalyzeAssets API.
1662
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/AnalyzeAssets.ts.html |here} to see how to use AnalyzeAssets API.
1594
1663
  */
1595
1664
  analyzeAssets(analyzeAssetsRequest) {
1596
1665
  return __awaiter(this, void 0, void 0, function* () {
@@ -1663,7 +1732,7 @@ class InventoryClient {
1663
1732
  * @param ChangeAssetCompartmentRequest
1664
1733
  * @return ChangeAssetCompartmentResponse
1665
1734
  * @throws OciError when an error occurs
1666
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ChangeAssetCompartment.ts.html |here} to see how to use ChangeAssetCompartment API.
1735
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ChangeAssetCompartment.ts.html |here} to see how to use ChangeAssetCompartment API.
1667
1736
  */
1668
1737
  changeAssetCompartment(changeAssetCompartmentRequest) {
1669
1738
  return __awaiter(this, void 0, void 0, function* () {
@@ -1720,7 +1789,7 @@ class InventoryClient {
1720
1789
  * @param ChangeAssetTagsRequest
1721
1790
  * @return ChangeAssetTagsResponse
1722
1791
  * @throws OciError when an error occurs
1723
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ChangeAssetTags.ts.html |here} to see how to use ChangeAssetTags API.
1792
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ChangeAssetTags.ts.html |here} to see how to use ChangeAssetTags API.
1724
1793
  */
1725
1794
  changeAssetTags(changeAssetTagsRequest) {
1726
1795
  return __awaiter(this, void 0, void 0, function* () {
@@ -1786,7 +1855,7 @@ class InventoryClient {
1786
1855
  * @param CreateAssetRequest
1787
1856
  * @return CreateAssetResponse
1788
1857
  * @throws OciError when an error occurs
1789
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/CreateAsset.ts.html |here} to see how to use CreateAsset API.
1858
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/CreateAsset.ts.html |here} to see how to use CreateAsset API.
1790
1859
  */
1791
1860
  createAsset(createAssetRequest) {
1792
1861
  return __awaiter(this, void 0, void 0, function* () {
@@ -1849,7 +1918,7 @@ class InventoryClient {
1849
1918
  * @param CreateInventoryRequest
1850
1919
  * @return CreateInventoryResponse
1851
1920
  * @throws OciError when an error occurs
1852
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/CreateInventory.ts.html |here} to see how to use CreateInventory API.
1921
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/CreateInventory.ts.html |here} to see how to use CreateInventory API.
1853
1922
  */
1854
1923
  createInventory(createInventoryRequest) {
1855
1924
  return __awaiter(this, void 0, void 0, function* () {
@@ -1908,7 +1977,7 @@ class InventoryClient {
1908
1977
  * @param DeleteAssetRequest
1909
1978
  * @return DeleteAssetResponse
1910
1979
  * @throws OciError when an error occurs
1911
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/DeleteAsset.ts.html |here} to see how to use DeleteAsset API.
1980
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/DeleteAsset.ts.html |here} to see how to use DeleteAsset API.
1912
1981
  */
1913
1982
  deleteAsset(deleteAssetRequest) {
1914
1983
  return __awaiter(this, void 0, void 0, function* () {
@@ -1963,7 +2032,7 @@ class InventoryClient {
1963
2032
  * @param DeleteInventoryRequest
1964
2033
  * @return DeleteInventoryResponse
1965
2034
  * @throws OciError when an error occurs
1966
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/DeleteInventory.ts.html |here} to see how to use DeleteInventory API.
2035
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/DeleteInventory.ts.html |here} to see how to use DeleteInventory API.
1967
2036
  */
1968
2037
  deleteInventory(deleteInventoryRequest) {
1969
2038
  return __awaiter(this, void 0, void 0, function* () {
@@ -2023,7 +2092,7 @@ class InventoryClient {
2023
2092
  * @param GetAssetRequest
2024
2093
  * @return GetAssetResponse
2025
2094
  * @throws OciError when an error occurs
2026
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/GetAsset.ts.html |here} to see how to use GetAsset API.
2095
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/GetAsset.ts.html |here} to see how to use GetAsset API.
2027
2096
  */
2028
2097
  getAsset(getAssetRequest) {
2029
2098
  return __awaiter(this, void 0, void 0, function* () {
@@ -2086,7 +2155,7 @@ class InventoryClient {
2086
2155
  * @param GetInventoryRequest
2087
2156
  * @return GetInventoryResponse
2088
2157
  * @throws OciError when an error occurs
2089
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/GetInventory.ts.html |here} to see how to use GetInventory API.
2158
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/GetInventory.ts.html |here} to see how to use GetInventory API.
2090
2159
  */
2091
2160
  getInventory(getInventoryRequest) {
2092
2161
  return __awaiter(this, void 0, void 0, function* () {
@@ -2154,7 +2223,7 @@ class InventoryClient {
2154
2223
  * @param ImportInventoryRequest
2155
2224
  * @return ImportInventoryResponse
2156
2225
  * @throws OciError when an error occurs
2157
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ImportInventory.ts.html |here} to see how to use ImportInventory API.
2226
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ImportInventory.ts.html |here} to see how to use ImportInventory API.
2158
2227
  */
2159
2228
  importInventory(importInventoryRequest) {
2160
2229
  return __awaiter(this, void 0, void 0, function* () {
@@ -2216,7 +2285,7 @@ class InventoryClient {
2216
2285
  * @param ListAssetsRequest
2217
2286
  * @return ListAssetsResponse
2218
2287
  * @throws OciError when an error occurs
2219
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ListAssets.ts.html |here} to see how to use ListAssets API.
2288
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ListAssets.ts.html |here} to see how to use ListAssets API.
2220
2289
  */
2221
2290
  listAssets(listAssetsRequest) {
2222
2291
  return __awaiter(this, void 0, void 0, function* () {
@@ -2290,7 +2359,7 @@ class InventoryClient {
2290
2359
  * @param ListHistoricalMetricsRequest
2291
2360
  * @return ListHistoricalMetricsResponse
2292
2361
  * @throws OciError when an error occurs
2293
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ListHistoricalMetrics.ts.html |here} to see how to use ListHistoricalMetrics API.
2362
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ListHistoricalMetrics.ts.html |here} to see how to use ListHistoricalMetrics API.
2294
2363
  */
2295
2364
  listHistoricalMetrics(listHistoricalMetricsRequest) {
2296
2365
  return __awaiter(this, void 0, void 0, function* () {
@@ -2359,7 +2428,7 @@ class InventoryClient {
2359
2428
  * @param ListInventoriesRequest
2360
2429
  * @return ListInventoriesResponse
2361
2430
  * @throws OciError when an error occurs
2362
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ListInventories.ts.html |here} to see how to use ListInventories API.
2431
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ListInventories.ts.html |here} to see how to use ListInventories API.
2363
2432
  */
2364
2433
  listInventories(listInventoriesRequest) {
2365
2434
  return __awaiter(this, void 0, void 0, function* () {
@@ -2427,7 +2496,7 @@ class InventoryClient {
2427
2496
  * @param SubmitHistoricalMetricsRequest
2428
2497
  * @return SubmitHistoricalMetricsResponse
2429
2498
  * @throws OciError when an error occurs
2430
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/SubmitHistoricalMetrics.ts.html |here} to see how to use SubmitHistoricalMetrics API.
2499
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/SubmitHistoricalMetrics.ts.html |here} to see how to use SubmitHistoricalMetrics API.
2431
2500
  */
2432
2501
  submitHistoricalMetrics(submitHistoricalMetricsRequest) {
2433
2502
  return __awaiter(this, void 0, void 0, function* () {
@@ -2492,7 +2561,7 @@ class InventoryClient {
2492
2561
  * @param UpdateAssetRequest
2493
2562
  * @return UpdateAssetResponse
2494
2563
  * @throws OciError when an error occurs
2495
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/UpdateAsset.ts.html |here} to see how to use UpdateAsset API.
2564
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/UpdateAsset.ts.html |here} to see how to use UpdateAsset API.
2496
2565
  */
2497
2566
  updateAsset(updateAssetRequest) {
2498
2567
  return __awaiter(this, void 0, void 0, function* () {
@@ -2557,7 +2626,7 @@ class InventoryClient {
2557
2626
  * @param UpdateInventoryRequest
2558
2627
  * @return UpdateInventoryResponse
2559
2628
  * @throws OciError when an error occurs
2560
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/UpdateInventory.ts.html |here} to see how to use UpdateInventory API.
2629
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/UpdateInventory.ts.html |here} to see how to use UpdateInventory API.
2561
2630
  */
2562
2631
  updateInventory(updateInventoryRequest) {
2563
2632
  return __awaiter(this, void 0, void 0, function* () {
@@ -2628,11 +2697,14 @@ var OcbAgentSvcApiKeys;
2628
2697
  */
2629
2698
  class OcbAgentSvcClient {
2630
2699
  constructor(params, clientConfiguration) {
2700
+ this["_realmSpecificEndpointTemplateEnabled"] = false;
2631
2701
  this["_endpoint"] = "";
2632
2702
  this["_defaultHeaders"] = {};
2633
2703
  this._circuitBreaker = null;
2634
2704
  this._httpOptions = undefined;
2635
2705
  this.targetService = "OcbAgentSvc";
2706
+ this._regionId = "";
2707
+ this._lastSetRegionOrRegionId = "";
2636
2708
  const requestSigner = params.authenticationDetailsProvider
2637
2709
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
2638
2710
  : null;
@@ -2682,13 +2754,31 @@ class OcbAgentSvcClient {
2682
2754
  get logger() {
2683
2755
  return common.LOG.logger;
2684
2756
  }
2757
+ /**
2758
+ * Determines whether realm specific endpoint should be used or not.
2759
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
2760
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
2761
+ */
2762
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
2763
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
2764
+ if (this.logger)
2765
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
2766
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
2767
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OcbAgentSvcClient.serviceEndpointTemplate, this._region, OcbAgentSvcClient.endpointServiceName);
2768
+ }
2769
+ else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
2770
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(OcbAgentSvcClient.serviceEndpointTemplate, this._regionId, OcbAgentSvcClient.endpointServiceName);
2771
+ }
2772
+ }
2685
2773
  /**
2686
2774
  * Sets the region to call (ex, Region.US_PHOENIX_1).
2687
2775
  * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
2688
2776
  * @param region The region of the service.
2689
2777
  */
2690
2778
  set region(region) {
2779
+ this._region = region;
2691
2780
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OcbAgentSvcClient.serviceEndpointTemplate, region, OcbAgentSvcClient.endpointServiceName);
2781
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
2692
2782
  }
2693
2783
  /**
2694
2784
  * Sets the regionId to call (ex, 'us-phoenix-1').
@@ -2699,7 +2789,9 @@ class OcbAgentSvcClient {
2699
2789
  * @param regionId The public region ID.
2700
2790
  */
2701
2791
  set regionId(regionId) {
2792
+ this._regionId = regionId;
2702
2793
  this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(OcbAgentSvcClient.serviceEndpointTemplate, regionId, OcbAgentSvcClient.endpointServiceName);
2794
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
2703
2795
  }
2704
2796
  /**
2705
2797
  * Creates a new OcbAgentSvcWaiter for resources for this service.
@@ -2728,7 +2820,7 @@ class OcbAgentSvcClient {
2728
2820
  * @param AddAgentDependencyRequest
2729
2821
  * @return AddAgentDependencyResponse
2730
2822
  * @throws OciError when an error occurs
2731
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/AddAgentDependency.ts.html |here} to see how to use AddAgentDependency API.
2823
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/AddAgentDependency.ts.html |here} to see how to use AddAgentDependency API.
2732
2824
  */
2733
2825
  addAgentDependency(addAgentDependencyRequest) {
2734
2826
  return __awaiter(this, void 0, void 0, function* () {
@@ -2794,7 +2886,7 @@ class OcbAgentSvcClient {
2794
2886
  * @param ChangeAgentCompartmentRequest
2795
2887
  * @return ChangeAgentCompartmentResponse
2796
2888
  * @throws OciError when an error occurs
2797
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ChangeAgentCompartment.ts.html |here} to see how to use ChangeAgentCompartment API.
2889
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ChangeAgentCompartment.ts.html |here} to see how to use ChangeAgentCompartment API.
2798
2890
  */
2799
2891
  changeAgentCompartment(changeAgentCompartmentRequest) {
2800
2892
  return __awaiter(this, void 0, void 0, function* () {
@@ -2856,7 +2948,7 @@ class OcbAgentSvcClient {
2856
2948
  * @param ChangeAgentDependencyCompartmentRequest
2857
2949
  * @return ChangeAgentDependencyCompartmentResponse
2858
2950
  * @throws OciError when an error occurs
2859
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ChangeAgentDependencyCompartment.ts.html |here} to see how to use ChangeAgentDependencyCompartment API.
2951
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ChangeAgentDependencyCompartment.ts.html |here} to see how to use ChangeAgentDependencyCompartment API.
2860
2952
  */
2861
2953
  changeAgentDependencyCompartment(changeAgentDependencyCompartmentRequest) {
2862
2954
  return __awaiter(this, void 0, void 0, function* () {
@@ -2913,7 +3005,7 @@ class OcbAgentSvcClient {
2913
3005
  * @param ChangeEnvironmentCompartmentRequest
2914
3006
  * @return ChangeEnvironmentCompartmentResponse
2915
3007
  * @throws OciError when an error occurs
2916
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ChangeEnvironmentCompartment.ts.html |here} to see how to use ChangeEnvironmentCompartment API.
3008
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ChangeEnvironmentCompartment.ts.html |here} to see how to use ChangeEnvironmentCompartment API.
2917
3009
  */
2918
3010
  changeEnvironmentCompartment(changeEnvironmentCompartmentRequest) {
2919
3011
  return __awaiter(this, void 0, void 0, function* () {
@@ -2976,7 +3068,7 @@ class OcbAgentSvcClient {
2976
3068
  * @param CreateAgentRequest
2977
3069
  * @return CreateAgentResponse
2978
3070
  * @throws OciError when an error occurs
2979
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/CreateAgent.ts.html |here} to see how to use CreateAgent API.
3071
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/CreateAgent.ts.html |here} to see how to use CreateAgent API.
2980
3072
  */
2981
3073
  createAgent(createAgentRequest) {
2982
3074
  return __awaiter(this, void 0, void 0, function* () {
@@ -3040,7 +3132,7 @@ class OcbAgentSvcClient {
3040
3132
  * @param CreateAgentDependencyRequest
3041
3133
  * @return CreateAgentDependencyResponse
3042
3134
  * @throws OciError when an error occurs
3043
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/CreateAgentDependency.ts.html |here} to see how to use CreateAgentDependency API.
3135
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/CreateAgentDependency.ts.html |here} to see how to use CreateAgentDependency API.
3044
3136
  */
3045
3137
  createAgentDependency(createAgentDependencyRequest) {
3046
3138
  return __awaiter(this, void 0, void 0, function* () {
@@ -3109,7 +3201,7 @@ class OcbAgentSvcClient {
3109
3201
  * @param CreateEnvironmentRequest
3110
3202
  * @return CreateEnvironmentResponse
3111
3203
  * @throws OciError when an error occurs
3112
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/CreateEnvironment.ts.html |here} to see how to use CreateEnvironment API.
3204
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/CreateEnvironment.ts.html |here} to see how to use CreateEnvironment API.
3113
3205
  */
3114
3206
  createEnvironment(createEnvironmentRequest) {
3115
3207
  return __awaiter(this, void 0, void 0, function* () {
@@ -3172,7 +3264,7 @@ class OcbAgentSvcClient {
3172
3264
  * @param DeleteAgentRequest
3173
3265
  * @return DeleteAgentResponse
3174
3266
  * @throws OciError when an error occurs
3175
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/DeleteAgent.ts.html |here} to see how to use DeleteAgent API.
3267
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/DeleteAgent.ts.html |here} to see how to use DeleteAgent API.
3176
3268
  */
3177
3269
  deleteAgent(deleteAgentRequest) {
3178
3270
  return __awaiter(this, void 0, void 0, function* () {
@@ -3228,7 +3320,7 @@ class OcbAgentSvcClient {
3228
3320
  * @param DeleteAgentDependencyRequest
3229
3321
  * @return DeleteAgentDependencyResponse
3230
3322
  * @throws OciError when an error occurs
3231
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/DeleteAgentDependency.ts.html |here} to see how to use DeleteAgentDependency API.
3323
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/DeleteAgentDependency.ts.html |here} to see how to use DeleteAgentDependency API.
3232
3324
  */
3233
3325
  deleteAgentDependency(deleteAgentDependencyRequest) {
3234
3326
  return __awaiter(this, void 0, void 0, function* () {
@@ -3283,7 +3375,7 @@ class OcbAgentSvcClient {
3283
3375
  * @param DeleteEnvironmentRequest
3284
3376
  * @return DeleteEnvironmentResponse
3285
3377
  * @throws OciError when an error occurs
3286
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/DeleteEnvironment.ts.html |here} to see how to use DeleteEnvironment API.
3378
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/DeleteEnvironment.ts.html |here} to see how to use DeleteEnvironment API.
3287
3379
  */
3288
3380
  deleteEnvironment(deleteEnvironmentRequest) {
3289
3381
  return __awaiter(this, void 0, void 0, function* () {
@@ -3338,7 +3430,7 @@ class OcbAgentSvcClient {
3338
3430
  * @param GetAgentRequest
3339
3431
  * @return GetAgentResponse
3340
3432
  * @throws OciError when an error occurs
3341
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/GetAgent.ts.html |here} to see how to use GetAgent API.
3433
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/GetAgent.ts.html |here} to see how to use GetAgent API.
3342
3434
  */
3343
3435
  getAgent(getAgentRequest) {
3344
3436
  return __awaiter(this, void 0, void 0, function* () {
@@ -3401,7 +3493,7 @@ class OcbAgentSvcClient {
3401
3493
  * @param GetAgentDependencyRequest
3402
3494
  * @return GetAgentDependencyResponse
3403
3495
  * @throws OciError when an error occurs
3404
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/GetAgentDependency.ts.html |here} to see how to use GetAgentDependency API.
3496
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/GetAgentDependency.ts.html |here} to see how to use GetAgentDependency API.
3405
3497
  */
3406
3498
  getAgentDependency(getAgentDependencyRequest) {
3407
3499
  return __awaiter(this, void 0, void 0, function* () {
@@ -3464,7 +3556,7 @@ class OcbAgentSvcClient {
3464
3556
  * @param GetEnvironmentRequest
3465
3557
  * @return GetEnvironmentResponse
3466
3558
  * @throws OciError when an error occurs
3467
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/GetEnvironment.ts.html |here} to see how to use GetEnvironment API.
3559
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/GetEnvironment.ts.html |here} to see how to use GetEnvironment API.
3468
3560
  */
3469
3561
  getEnvironment(getEnvironmentRequest) {
3470
3562
  return __awaiter(this, void 0, void 0, function* () {
@@ -3527,7 +3619,7 @@ class OcbAgentSvcClient {
3527
3619
  * @param GetPluginRequest
3528
3620
  * @return GetPluginResponse
3529
3621
  * @throws OciError when an error occurs
3530
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/GetPlugin.ts.html |here} to see how to use GetPlugin API.
3622
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/GetPlugin.ts.html |here} to see how to use GetPlugin API.
3531
3623
  */
3532
3624
  getPlugin(getPluginRequest) {
3533
3625
  return __awaiter(this, void 0, void 0, function* () {
@@ -3592,7 +3684,7 @@ class OcbAgentSvcClient {
3592
3684
  * @param ListAgentDependenciesRequest
3593
3685
  * @return ListAgentDependenciesResponse
3594
3686
  * @throws OciError when an error occurs
3595
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ListAgentDependencies.ts.html |here} to see how to use ListAgentDependencies API.
3687
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ListAgentDependencies.ts.html |here} to see how to use ListAgentDependencies API.
3596
3688
  */
3597
3689
  listAgentDependencies(listAgentDependenciesRequest) {
3598
3690
  return __awaiter(this, void 0, void 0, function* () {
@@ -3664,7 +3756,7 @@ class OcbAgentSvcClient {
3664
3756
  * @param ListAgentsRequest
3665
3757
  * @return ListAgentsResponse
3666
3758
  * @throws OciError when an error occurs
3667
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ListAgents.ts.html |here} to see how to use ListAgents API.
3759
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ListAgents.ts.html |here} to see how to use ListAgents API.
3668
3760
  */
3669
3761
  listAgents(listAgentsRequest) {
3670
3762
  return __awaiter(this, void 0, void 0, function* () {
@@ -3736,7 +3828,7 @@ class OcbAgentSvcClient {
3736
3828
  * @param ListApplianceImagesRequest
3737
3829
  * @return ListApplianceImagesResponse
3738
3830
  * @throws OciError when an error occurs
3739
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ListApplianceImages.ts.html |here} to see how to use ListApplianceImages API.
3831
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ListApplianceImages.ts.html |here} to see how to use ListApplianceImages API.
3740
3832
  */
3741
3833
  listApplianceImages(listApplianceImagesRequest) {
3742
3834
  return __awaiter(this, void 0, void 0, function* () {
@@ -3805,7 +3897,7 @@ class OcbAgentSvcClient {
3805
3897
  * @param ListEnvironmentsRequest
3806
3898
  * @return ListEnvironmentsResponse
3807
3899
  * @throws OciError when an error occurs
3808
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/ListEnvironments.ts.html |here} to see how to use ListEnvironments API.
3900
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/ListEnvironments.ts.html |here} to see how to use ListEnvironments API.
3809
3901
  */
3810
3902
  listEnvironments(listEnvironmentsRequest) {
3811
3903
  return __awaiter(this, void 0, void 0, function* () {
@@ -3875,7 +3967,7 @@ class OcbAgentSvcClient {
3875
3967
  * @param RemoveAgentDependencyRequest
3876
3968
  * @return RemoveAgentDependencyResponse
3877
3969
  * @throws OciError when an error occurs
3878
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/RemoveAgentDependency.ts.html |here} to see how to use RemoveAgentDependency API.
3970
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/RemoveAgentDependency.ts.html |here} to see how to use RemoveAgentDependency API.
3879
3971
  */
3880
3972
  removeAgentDependency(removeAgentDependencyRequest) {
3881
3973
  return __awaiter(this, void 0, void 0, function* () {
@@ -3941,7 +4033,7 @@ class OcbAgentSvcClient {
3941
4033
  * @param UpdateAgentRequest
3942
4034
  * @return UpdateAgentResponse
3943
4035
  * @throws OciError when an error occurs
3944
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/UpdateAgent.ts.html |here} to see how to use UpdateAgent API.
4036
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/UpdateAgent.ts.html |here} to see how to use UpdateAgent API.
3945
4037
  */
3946
4038
  updateAgent(updateAgentRequest) {
3947
4039
  return __awaiter(this, void 0, void 0, function* () {
@@ -4007,7 +4099,7 @@ class OcbAgentSvcClient {
4007
4099
  * @param UpdateAgentDependencyRequest
4008
4100
  * @return UpdateAgentDependencyResponse
4009
4101
  * @throws OciError when an error occurs
4010
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/UpdateAgentDependency.ts.html |here} to see how to use UpdateAgentDependency API.
4102
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/UpdateAgentDependency.ts.html |here} to see how to use UpdateAgentDependency API.
4011
4103
  */
4012
4104
  updateAgentDependency(updateAgentDependencyRequest) {
4013
4105
  return __awaiter(this, void 0, void 0, function* () {
@@ -4069,7 +4161,7 @@ class OcbAgentSvcClient {
4069
4161
  * @param UpdateEnvironmentRequest
4070
4162
  * @return UpdateEnvironmentResponse
4071
4163
  * @throws OciError when an error occurs
4072
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/UpdateEnvironment.ts.html |here} to see how to use UpdateEnvironment API.
4164
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/UpdateEnvironment.ts.html |here} to see how to use UpdateEnvironment API.
4073
4165
  */
4074
4166
  updateEnvironment(updateEnvironmentRequest) {
4075
4167
  return __awaiter(this, void 0, void 0, function* () {
@@ -4135,7 +4227,7 @@ class OcbAgentSvcClient {
4135
4227
  * @param UpdatePluginRequest
4136
4228
  * @return UpdatePluginResponse
4137
4229
  * @throws OciError when an error occurs
4138
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/cloudbridge/UpdatePlugin.ts.html |here} to see how to use UpdatePlugin API.
4230
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/cloudbridge/UpdatePlugin.ts.html |here} to see how to use UpdatePlugin API.
4139
4231
  */
4140
4232
  updatePlugin(updatePluginRequest) {
4141
4233
  return __awaiter(this, void 0, void 0, function* () {