oci-osmanagementhub 2.99.0 → 2.100.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.d.ts +50 -0
- package/lib/client.js +110 -0
- package/lib/client.js.map +1 -1
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export declare class EventClient {
|
|
|
45
45
|
protected "_region": common.Region;
|
|
46
46
|
protected _lastSetRegionOrRegionId: string;
|
|
47
47
|
protected _httpClient: common.HttpClient;
|
|
48
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
48
49
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
49
50
|
/**
|
|
50
51
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -94,6 +95,10 @@ export declare class EventClient {
|
|
|
94
95
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
95
96
|
*/
|
|
96
97
|
shutdownCircuitBreaker(): void;
|
|
98
|
+
/**
|
|
99
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
100
|
+
*/
|
|
101
|
+
closeProvider(): void;
|
|
97
102
|
/**
|
|
98
103
|
* Close the client once it is no longer needed
|
|
99
104
|
*/
|
|
@@ -198,6 +203,7 @@ export declare class LifecycleEnvironmentClient {
|
|
|
198
203
|
protected "_region": common.Region;
|
|
199
204
|
protected _lastSetRegionOrRegionId: string;
|
|
200
205
|
protected _httpClient: common.HttpClient;
|
|
206
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
201
207
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
202
208
|
/**
|
|
203
209
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -247,6 +253,10 @@ export declare class LifecycleEnvironmentClient {
|
|
|
247
253
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
248
254
|
*/
|
|
249
255
|
shutdownCircuitBreaker(): void;
|
|
256
|
+
/**
|
|
257
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
258
|
+
*/
|
|
259
|
+
closeProvider(): void;
|
|
250
260
|
/**
|
|
251
261
|
* Close the client once it is no longer needed
|
|
252
262
|
*/
|
|
@@ -394,6 +404,7 @@ export declare class ManagedInstanceClient {
|
|
|
394
404
|
protected "_region": common.Region;
|
|
395
405
|
protected _lastSetRegionOrRegionId: string;
|
|
396
406
|
protected _httpClient: common.HttpClient;
|
|
407
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
397
408
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
398
409
|
/**
|
|
399
410
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -430,6 +441,10 @@ export declare class ManagedInstanceClient {
|
|
|
430
441
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
431
442
|
*/
|
|
432
443
|
shutdownCircuitBreaker(): void;
|
|
444
|
+
/**
|
|
445
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
446
|
+
*/
|
|
447
|
+
closeProvider(): void;
|
|
433
448
|
/**
|
|
434
449
|
* Close the client once it is no longer needed
|
|
435
450
|
*/
|
|
@@ -786,6 +801,7 @@ export declare class ManagedInstanceGroupClient {
|
|
|
786
801
|
protected "_region": common.Region;
|
|
787
802
|
protected _lastSetRegionOrRegionId: string;
|
|
788
803
|
protected _httpClient: common.HttpClient;
|
|
804
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
789
805
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
790
806
|
/**
|
|
791
807
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -835,6 +851,10 @@ export declare class ManagedInstanceGroupClient {
|
|
|
835
851
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
836
852
|
*/
|
|
837
853
|
shutdownCircuitBreaker(): void;
|
|
854
|
+
/**
|
|
855
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
856
|
+
*/
|
|
857
|
+
closeProvider(): void;
|
|
838
858
|
/**
|
|
839
859
|
* Close the client once it is no longer needed
|
|
840
860
|
*/
|
|
@@ -1134,6 +1154,7 @@ export declare class ManagementStationClient {
|
|
|
1134
1154
|
protected "_region": common.Region;
|
|
1135
1155
|
protected _lastSetRegionOrRegionId: string;
|
|
1136
1156
|
protected _httpClient: common.HttpClient;
|
|
1157
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
1137
1158
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
1138
1159
|
/**
|
|
1139
1160
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -1183,6 +1204,10 @@ export declare class ManagementStationClient {
|
|
|
1183
1204
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
1184
1205
|
*/
|
|
1185
1206
|
shutdownCircuitBreaker(): void;
|
|
1207
|
+
/**
|
|
1208
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
1209
|
+
*/
|
|
1210
|
+
closeProvider(): void;
|
|
1186
1211
|
/**
|
|
1187
1212
|
* Close the client once it is no longer needed
|
|
1188
1213
|
*/
|
|
@@ -1308,6 +1333,7 @@ export declare class OnboardingClient {
|
|
|
1308
1333
|
protected "_region": common.Region;
|
|
1309
1334
|
protected _lastSetRegionOrRegionId: string;
|
|
1310
1335
|
protected _httpClient: common.HttpClient;
|
|
1336
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
1311
1337
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
1312
1338
|
/**
|
|
1313
1339
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -1357,6 +1383,10 @@ export declare class OnboardingClient {
|
|
|
1357
1383
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
1358
1384
|
*/
|
|
1359
1385
|
shutdownCircuitBreaker(): void;
|
|
1386
|
+
/**
|
|
1387
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
1388
|
+
*/
|
|
1389
|
+
closeProvider(): void;
|
|
1360
1390
|
/**
|
|
1361
1391
|
* Close the client once it is no longer needed
|
|
1362
1392
|
*/
|
|
@@ -1439,6 +1469,7 @@ export declare class ReportingManagedInstanceClient {
|
|
|
1439
1469
|
protected "_region": common.Region;
|
|
1440
1470
|
protected _lastSetRegionOrRegionId: string;
|
|
1441
1471
|
protected _httpClient: common.HttpClient;
|
|
1472
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
1442
1473
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
1443
1474
|
/**
|
|
1444
1475
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -1475,6 +1506,10 @@ export declare class ReportingManagedInstanceClient {
|
|
|
1475
1506
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
1476
1507
|
*/
|
|
1477
1508
|
shutdownCircuitBreaker(): void;
|
|
1509
|
+
/**
|
|
1510
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
1511
|
+
*/
|
|
1512
|
+
closeProvider(): void;
|
|
1478
1513
|
/**
|
|
1479
1514
|
* Close the client once it is no longer needed
|
|
1480
1515
|
*/
|
|
@@ -1531,6 +1566,7 @@ export declare class ScheduledJobClient {
|
|
|
1531
1566
|
protected "_region": common.Region;
|
|
1532
1567
|
protected _lastSetRegionOrRegionId: string;
|
|
1533
1568
|
protected _httpClient: common.HttpClient;
|
|
1569
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
1534
1570
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
1535
1571
|
/**
|
|
1536
1572
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -1580,6 +1616,10 @@ export declare class ScheduledJobClient {
|
|
|
1580
1616
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
1581
1617
|
*/
|
|
1582
1618
|
shutdownCircuitBreaker(): void;
|
|
1619
|
+
/**
|
|
1620
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
1621
|
+
*/
|
|
1622
|
+
closeProvider(): void;
|
|
1583
1623
|
/**
|
|
1584
1624
|
* Close the client once it is no longer needed
|
|
1585
1625
|
*/
|
|
@@ -1676,6 +1716,7 @@ export declare class SoftwareSourceClient {
|
|
|
1676
1716
|
protected "_region": common.Region;
|
|
1677
1717
|
protected _lastSetRegionOrRegionId: string;
|
|
1678
1718
|
protected _httpClient: common.HttpClient;
|
|
1719
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
1679
1720
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
1680
1721
|
/**
|
|
1681
1722
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -1725,6 +1766,10 @@ export declare class SoftwareSourceClient {
|
|
|
1725
1766
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
1726
1767
|
*/
|
|
1727
1768
|
shutdownCircuitBreaker(): void;
|
|
1769
|
+
/**
|
|
1770
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
1771
|
+
*/
|
|
1772
|
+
closeProvider(): void;
|
|
1728
1773
|
/**
|
|
1729
1774
|
* Close the client once it is no longer needed
|
|
1730
1775
|
*/
|
|
@@ -2033,6 +2078,7 @@ export declare class WorkRequestClient {
|
|
|
2033
2078
|
protected "_region": common.Region;
|
|
2034
2079
|
protected _lastSetRegionOrRegionId: string;
|
|
2035
2080
|
protected _httpClient: common.HttpClient;
|
|
2081
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
2036
2082
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
2037
2083
|
/**
|
|
2038
2084
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -2082,6 +2128,10 @@ export declare class WorkRequestClient {
|
|
|
2082
2128
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
2083
2129
|
*/
|
|
2084
2130
|
shutdownCircuitBreaker(): void;
|
|
2131
|
+
/**
|
|
2132
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
2133
|
+
*/
|
|
2134
|
+
closeProvider(): void;
|
|
2085
2135
|
/**
|
|
2086
2136
|
* Close the client once it is no longer needed
|
|
2087
2137
|
*/
|
package/lib/client.js
CHANGED
|
@@ -78,6 +78,7 @@ class EventClient {
|
|
|
78
78
|
const requestSigner = params.authenticationDetailsProvider
|
|
79
79
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
80
80
|
: null;
|
|
81
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
81
82
|
if (clientConfiguration) {
|
|
82
83
|
this._clientConfiguration = clientConfiguration;
|
|
83
84
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -199,11 +200,21 @@ class EventClient {
|
|
|
199
200
|
this._circuitBreaker.shutdown();
|
|
200
201
|
}
|
|
201
202
|
}
|
|
203
|
+
/**
|
|
204
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
205
|
+
*/
|
|
206
|
+
closeProvider() {
|
|
207
|
+
if (this._authProvider) {
|
|
208
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
209
|
+
(this._authProvider).closeProvider();
|
|
210
|
+
}
|
|
211
|
+
}
|
|
202
212
|
/**
|
|
203
213
|
* Close the client once it is no longer needed
|
|
204
214
|
*/
|
|
205
215
|
close() {
|
|
206
216
|
this.shutdownCircuitBreaker();
|
|
217
|
+
this.closeProvider();
|
|
207
218
|
}
|
|
208
219
|
/**
|
|
209
220
|
* Moves an event into a different compartment within the same tenancy. For information about moving resources between
|
|
@@ -736,6 +747,7 @@ class LifecycleEnvironmentClient {
|
|
|
736
747
|
const requestSigner = params.authenticationDetailsProvider
|
|
737
748
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
738
749
|
: null;
|
|
750
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
739
751
|
if (clientConfiguration) {
|
|
740
752
|
this._clientConfiguration = clientConfiguration;
|
|
741
753
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -857,11 +869,21 @@ class LifecycleEnvironmentClient {
|
|
|
857
869
|
this._circuitBreaker.shutdown();
|
|
858
870
|
}
|
|
859
871
|
}
|
|
872
|
+
/**
|
|
873
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
874
|
+
*/
|
|
875
|
+
closeProvider() {
|
|
876
|
+
if (this._authProvider) {
|
|
877
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
878
|
+
(this._authProvider).closeProvider();
|
|
879
|
+
}
|
|
880
|
+
}
|
|
860
881
|
/**
|
|
861
882
|
* Close the client once it is no longer needed
|
|
862
883
|
*/
|
|
863
884
|
close() {
|
|
864
885
|
this.shutdownCircuitBreaker();
|
|
886
|
+
this.closeProvider();
|
|
865
887
|
}
|
|
866
888
|
/**
|
|
867
889
|
* Attaches (adds) managed instances to a lifecycle stage. Once added, you can apply operations to all managed instances in the lifecycle stage.
|
|
@@ -1678,6 +1700,7 @@ class ManagedInstanceClient {
|
|
|
1678
1700
|
const requestSigner = params.authenticationDetailsProvider
|
|
1679
1701
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
1680
1702
|
: null;
|
|
1703
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
1681
1704
|
if (clientConfiguration) {
|
|
1682
1705
|
this._clientConfiguration = clientConfiguration;
|
|
1683
1706
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -1778,11 +1801,21 @@ class ManagedInstanceClient {
|
|
|
1778
1801
|
this._circuitBreaker.shutdown();
|
|
1779
1802
|
}
|
|
1780
1803
|
}
|
|
1804
|
+
/**
|
|
1805
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
1806
|
+
*/
|
|
1807
|
+
closeProvider() {
|
|
1808
|
+
if (this._authProvider) {
|
|
1809
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
1810
|
+
(this._authProvider).closeProvider();
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1781
1813
|
/**
|
|
1782
1814
|
* Close the client once it is no longer needed
|
|
1783
1815
|
*/
|
|
1784
1816
|
close() {
|
|
1785
1817
|
this.shutdownCircuitBreaker();
|
|
1818
|
+
this.closeProvider();
|
|
1786
1819
|
}
|
|
1787
1820
|
/**
|
|
1788
1821
|
* Adds profile to a managed instance. After the profile has been added,
|
|
@@ -3889,6 +3922,7 @@ class ManagedInstanceGroupClient {
|
|
|
3889
3922
|
const requestSigner = params.authenticationDetailsProvider
|
|
3890
3923
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
3891
3924
|
: null;
|
|
3925
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
3892
3926
|
if (clientConfiguration) {
|
|
3893
3927
|
this._clientConfiguration = clientConfiguration;
|
|
3894
3928
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -4010,11 +4044,21 @@ class ManagedInstanceGroupClient {
|
|
|
4010
4044
|
this._circuitBreaker.shutdown();
|
|
4011
4045
|
}
|
|
4012
4046
|
}
|
|
4047
|
+
/**
|
|
4048
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
4049
|
+
*/
|
|
4050
|
+
closeProvider() {
|
|
4051
|
+
if (this._authProvider) {
|
|
4052
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
4053
|
+
(this._authProvider).closeProvider();
|
|
4054
|
+
}
|
|
4055
|
+
}
|
|
4013
4056
|
/**
|
|
4014
4057
|
* Close the client once it is no longer needed
|
|
4015
4058
|
*/
|
|
4016
4059
|
close() {
|
|
4017
4060
|
this.shutdownCircuitBreaker();
|
|
4061
|
+
this.closeProvider();
|
|
4018
4062
|
}
|
|
4019
4063
|
/**
|
|
4020
4064
|
* Adds managed instances to the specified managed instance group. After adding instances to the group, any operation applied to the group will be applied to all instances in the group.
|
|
@@ -5690,6 +5734,7 @@ class ManagementStationClient {
|
|
|
5690
5734
|
const requestSigner = params.authenticationDetailsProvider
|
|
5691
5735
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
5692
5736
|
: null;
|
|
5737
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
5693
5738
|
if (clientConfiguration) {
|
|
5694
5739
|
this._clientConfiguration = clientConfiguration;
|
|
5695
5740
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -5811,11 +5856,21 @@ class ManagementStationClient {
|
|
|
5811
5856
|
this._circuitBreaker.shutdown();
|
|
5812
5857
|
}
|
|
5813
5858
|
}
|
|
5859
|
+
/**
|
|
5860
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
5861
|
+
*/
|
|
5862
|
+
closeProvider() {
|
|
5863
|
+
if (this._authProvider) {
|
|
5864
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
5865
|
+
(this._authProvider).closeProvider();
|
|
5866
|
+
}
|
|
5867
|
+
}
|
|
5814
5868
|
/**
|
|
5815
5869
|
* Close the client once it is no longer needed
|
|
5816
5870
|
*/
|
|
5817
5871
|
close() {
|
|
5818
5872
|
this.shutdownCircuitBreaker();
|
|
5873
|
+
this.closeProvider();
|
|
5819
5874
|
}
|
|
5820
5875
|
/**
|
|
5821
5876
|
* Moves a managment station to a different compartment.
|
|
@@ -6486,6 +6541,7 @@ class OnboardingClient {
|
|
|
6486
6541
|
const requestSigner = params.authenticationDetailsProvider
|
|
6487
6542
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
6488
6543
|
: null;
|
|
6544
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
6489
6545
|
if (clientConfiguration) {
|
|
6490
6546
|
this._clientConfiguration = clientConfiguration;
|
|
6491
6547
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -6607,11 +6663,21 @@ class OnboardingClient {
|
|
|
6607
6663
|
this._circuitBreaker.shutdown();
|
|
6608
6664
|
}
|
|
6609
6665
|
}
|
|
6666
|
+
/**
|
|
6667
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
6668
|
+
*/
|
|
6669
|
+
closeProvider() {
|
|
6670
|
+
if (this._authProvider) {
|
|
6671
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
6672
|
+
(this._authProvider).closeProvider();
|
|
6673
|
+
}
|
|
6674
|
+
}
|
|
6610
6675
|
/**
|
|
6611
6676
|
* Close the client once it is no longer needed
|
|
6612
6677
|
*/
|
|
6613
6678
|
close() {
|
|
6614
6679
|
this.shutdownCircuitBreaker();
|
|
6680
|
+
this.closeProvider();
|
|
6615
6681
|
}
|
|
6616
6682
|
/**
|
|
6617
6683
|
* Moves the profile to a different compartment.
|
|
@@ -7021,6 +7087,7 @@ class ReportingManagedInstanceClient {
|
|
|
7021
7087
|
const requestSigner = params.authenticationDetailsProvider
|
|
7022
7088
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
7023
7089
|
: null;
|
|
7090
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
7024
7091
|
if (clientConfiguration) {
|
|
7025
7092
|
this._clientConfiguration = clientConfiguration;
|
|
7026
7093
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -7121,11 +7188,21 @@ class ReportingManagedInstanceClient {
|
|
|
7121
7188
|
this._circuitBreaker.shutdown();
|
|
7122
7189
|
}
|
|
7123
7190
|
}
|
|
7191
|
+
/**
|
|
7192
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
7193
|
+
*/
|
|
7194
|
+
closeProvider() {
|
|
7195
|
+
if (this._authProvider) {
|
|
7196
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
7197
|
+
(this._authProvider).closeProvider();
|
|
7198
|
+
}
|
|
7199
|
+
}
|
|
7124
7200
|
/**
|
|
7125
7201
|
* Close the client once it is no longer needed
|
|
7126
7202
|
*/
|
|
7127
7203
|
close() {
|
|
7128
7204
|
this.shutdownCircuitBreaker();
|
|
7205
|
+
this.closeProvider();
|
|
7129
7206
|
}
|
|
7130
7207
|
/**
|
|
7131
7208
|
* Returns a report of managed instances matching the given filters. You can select CSV, XML, or JSON format.
|
|
@@ -7380,6 +7457,7 @@ class ScheduledJobClient {
|
|
|
7380
7457
|
const requestSigner = params.authenticationDetailsProvider
|
|
7381
7458
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
7382
7459
|
: null;
|
|
7460
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
7383
7461
|
if (clientConfiguration) {
|
|
7384
7462
|
this._clientConfiguration = clientConfiguration;
|
|
7385
7463
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -7501,11 +7579,21 @@ class ScheduledJobClient {
|
|
|
7501
7579
|
this._circuitBreaker.shutdown();
|
|
7502
7580
|
}
|
|
7503
7581
|
}
|
|
7582
|
+
/**
|
|
7583
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
7584
|
+
*/
|
|
7585
|
+
closeProvider() {
|
|
7586
|
+
if (this._authProvider) {
|
|
7587
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
7588
|
+
(this._authProvider).closeProvider();
|
|
7589
|
+
}
|
|
7590
|
+
}
|
|
7504
7591
|
/**
|
|
7505
7592
|
* Close the client once it is no longer needed
|
|
7506
7593
|
*/
|
|
7507
7594
|
close() {
|
|
7508
7595
|
this.shutdownCircuitBreaker();
|
|
7596
|
+
this.closeProvider();
|
|
7509
7597
|
}
|
|
7510
7598
|
/**
|
|
7511
7599
|
* Moves a scheduled job to another compartment.
|
|
@@ -7991,6 +8079,7 @@ class SoftwareSourceClient {
|
|
|
7991
8079
|
const requestSigner = params.authenticationDetailsProvider
|
|
7992
8080
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
7993
8081
|
: null;
|
|
8082
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
7994
8083
|
if (clientConfiguration) {
|
|
7995
8084
|
this._clientConfiguration = clientConfiguration;
|
|
7996
8085
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -8112,11 +8201,21 @@ class SoftwareSourceClient {
|
|
|
8112
8201
|
this._circuitBreaker.shutdown();
|
|
8113
8202
|
}
|
|
8114
8203
|
}
|
|
8204
|
+
/**
|
|
8205
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
8206
|
+
*/
|
|
8207
|
+
closeProvider() {
|
|
8208
|
+
if (this._authProvider) {
|
|
8209
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
8210
|
+
(this._authProvider).closeProvider();
|
|
8211
|
+
}
|
|
8212
|
+
}
|
|
8115
8213
|
/**
|
|
8116
8214
|
* Close the client once it is no longer needed
|
|
8117
8215
|
*/
|
|
8118
8216
|
close() {
|
|
8119
8217
|
this.shutdownCircuitBreaker();
|
|
8218
|
+
this.closeProvider();
|
|
8120
8219
|
}
|
|
8121
8220
|
/**
|
|
8122
8221
|
* Adds packages to a software source. This operation can only be done for custom and versioned custom software sources that are not created using filters.
|
|
@@ -9949,6 +10048,7 @@ class WorkRequestClient {
|
|
|
9949
10048
|
const requestSigner = params.authenticationDetailsProvider
|
|
9950
10049
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
9951
10050
|
: null;
|
|
10051
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
9952
10052
|
if (clientConfiguration) {
|
|
9953
10053
|
this._clientConfiguration = clientConfiguration;
|
|
9954
10054
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -10070,11 +10170,21 @@ class WorkRequestClient {
|
|
|
10070
10170
|
this._circuitBreaker.shutdown();
|
|
10071
10171
|
}
|
|
10072
10172
|
}
|
|
10173
|
+
/**
|
|
10174
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
10175
|
+
*/
|
|
10176
|
+
closeProvider() {
|
|
10177
|
+
if (this._authProvider) {
|
|
10178
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
10179
|
+
(this._authProvider).closeProvider();
|
|
10180
|
+
}
|
|
10181
|
+
}
|
|
10073
10182
|
/**
|
|
10074
10183
|
* Close the client once it is no longer needed
|
|
10075
10184
|
*/
|
|
10076
10185
|
close() {
|
|
10077
10186
|
this.shutdownCircuitBreaker();
|
|
10187
|
+
this.closeProvider();
|
|
10078
10188
|
}
|
|
10079
10189
|
/**
|
|
10080
10190
|
* Gets information about the specified work request.
|