oci-fleetappsmanagement 2.99.0 → 2.100.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.
- package/lib/client.d.ts +25 -0
- package/lib/client.js +55 -0
- package/lib/client.js.map +1 -1
- package/lib/model/compliance-record.d.ts +6 -1
- package/lib/model/compliance-record.js +5 -0
- package/lib/model/compliance-record.js.map +1 -1
- package/lib/model/fleet-target.d.ts +6 -1
- package/lib/model/fleet-target.js +5 -0
- package/lib/model/fleet-target.js.map +1 -1
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export declare class FleetAppsManagementClient {
|
|
|
41
41
|
protected "_region": common.Region;
|
|
42
42
|
protected _lastSetRegionOrRegionId: string;
|
|
43
43
|
protected _httpClient: common.HttpClient;
|
|
44
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
44
45
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
45
46
|
/**
|
|
46
47
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -90,6 +91,10 @@ export declare class FleetAppsManagementClient {
|
|
|
90
91
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
91
92
|
*/
|
|
92
93
|
shutdownCircuitBreaker(): void;
|
|
94
|
+
/**
|
|
95
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
96
|
+
*/
|
|
97
|
+
closeProvider(): void;
|
|
93
98
|
/**
|
|
94
99
|
* Close the client once it is no longer needed
|
|
95
100
|
*/
|
|
@@ -454,6 +459,7 @@ export declare class FleetAppsManagementAdminClient {
|
|
|
454
459
|
protected "_region": common.Region;
|
|
455
460
|
protected _lastSetRegionOrRegionId: string;
|
|
456
461
|
protected _httpClient: common.HttpClient;
|
|
462
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
457
463
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
458
464
|
/**
|
|
459
465
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -503,6 +509,10 @@ export declare class FleetAppsManagementAdminClient {
|
|
|
503
509
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
504
510
|
*/
|
|
505
511
|
shutdownCircuitBreaker(): void;
|
|
512
|
+
/**
|
|
513
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
514
|
+
*/
|
|
515
|
+
closeProvider(): void;
|
|
506
516
|
/**
|
|
507
517
|
* Close the client once it is no longer needed
|
|
508
518
|
*/
|
|
@@ -765,6 +775,7 @@ export declare class FleetAppsManagementMaintenanceWindowClient {
|
|
|
765
775
|
protected "_region": common.Region;
|
|
766
776
|
protected _lastSetRegionOrRegionId: string;
|
|
767
777
|
protected _httpClient: common.HttpClient;
|
|
778
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
768
779
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
769
780
|
/**
|
|
770
781
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -814,6 +825,10 @@ export declare class FleetAppsManagementMaintenanceWindowClient {
|
|
|
814
825
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
815
826
|
*/
|
|
816
827
|
shutdownCircuitBreaker(): void;
|
|
828
|
+
/**
|
|
829
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
830
|
+
*/
|
|
831
|
+
closeProvider(): void;
|
|
817
832
|
/**
|
|
818
833
|
* Close the client once it is no longer needed
|
|
819
834
|
*/
|
|
@@ -887,6 +902,7 @@ export declare class FleetAppsManagementOperationsClient {
|
|
|
887
902
|
protected "_region": common.Region;
|
|
888
903
|
protected _lastSetRegionOrRegionId: string;
|
|
889
904
|
protected _httpClient: common.HttpClient;
|
|
905
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
890
906
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
891
907
|
/**
|
|
892
908
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -936,6 +952,10 @@ export declare class FleetAppsManagementOperationsClient {
|
|
|
936
952
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
937
953
|
*/
|
|
938
954
|
shutdownCircuitBreaker(): void;
|
|
955
|
+
/**
|
|
956
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
957
|
+
*/
|
|
958
|
+
closeProvider(): void;
|
|
939
959
|
/**
|
|
940
960
|
* Close the client once it is no longer needed
|
|
941
961
|
*/
|
|
@@ -1208,6 +1228,7 @@ export declare class FleetAppsManagementRunbooksClient {
|
|
|
1208
1228
|
protected "_region": common.Region;
|
|
1209
1229
|
protected _lastSetRegionOrRegionId: string;
|
|
1210
1230
|
protected _httpClient: common.HttpClient;
|
|
1231
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
1211
1232
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
1212
1233
|
/**
|
|
1213
1234
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -1257,6 +1278,10 @@ export declare class FleetAppsManagementRunbooksClient {
|
|
|
1257
1278
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
1258
1279
|
*/
|
|
1259
1280
|
shutdownCircuitBreaker(): void;
|
|
1281
|
+
/**
|
|
1282
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
1283
|
+
*/
|
|
1284
|
+
closeProvider(): void;
|
|
1260
1285
|
/**
|
|
1261
1286
|
* Close the client once it is no longer needed
|
|
1262
1287
|
*/
|
package/lib/client.js
CHANGED
|
@@ -74,6 +74,7 @@ class FleetAppsManagementClient {
|
|
|
74
74
|
const requestSigner = params.authenticationDetailsProvider
|
|
75
75
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
76
76
|
: null;
|
|
77
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
77
78
|
if (clientConfiguration) {
|
|
78
79
|
this._clientConfiguration = clientConfiguration;
|
|
79
80
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -195,11 +196,21 @@ class FleetAppsManagementClient {
|
|
|
195
196
|
this._circuitBreaker.shutdown();
|
|
196
197
|
}
|
|
197
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
201
|
+
*/
|
|
202
|
+
closeProvider() {
|
|
203
|
+
if (this._authProvider) {
|
|
204
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
205
|
+
(this._authProvider).closeProvider();
|
|
206
|
+
}
|
|
207
|
+
}
|
|
198
208
|
/**
|
|
199
209
|
* Close the client once it is no longer needed
|
|
200
210
|
*/
|
|
201
211
|
close() {
|
|
202
212
|
this.shutdownCircuitBreaker();
|
|
213
|
+
this.closeProvider();
|
|
203
214
|
}
|
|
204
215
|
/**
|
|
205
216
|
* Check if Fleet Application Management tags can be added to the resources.
|
|
@@ -2599,6 +2610,7 @@ class FleetAppsManagementAdminClient {
|
|
|
2599
2610
|
const requestSigner = params.authenticationDetailsProvider
|
|
2600
2611
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
2601
2612
|
: null;
|
|
2613
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
2602
2614
|
if (clientConfiguration) {
|
|
2603
2615
|
this._clientConfiguration = clientConfiguration;
|
|
2604
2616
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -2720,11 +2732,21 @@ class FleetAppsManagementAdminClient {
|
|
|
2720
2732
|
this._circuitBreaker.shutdown();
|
|
2721
2733
|
}
|
|
2722
2734
|
}
|
|
2735
|
+
/**
|
|
2736
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
2737
|
+
*/
|
|
2738
|
+
closeProvider() {
|
|
2739
|
+
if (this._authProvider) {
|
|
2740
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
2741
|
+
(this._authProvider).closeProvider();
|
|
2742
|
+
}
|
|
2743
|
+
}
|
|
2723
2744
|
/**
|
|
2724
2745
|
* Close the client once it is no longer needed
|
|
2725
2746
|
*/
|
|
2726
2747
|
close() {
|
|
2727
2748
|
this.shutdownCircuitBreaker();
|
|
2749
|
+
this.closeProvider();
|
|
2728
2750
|
}
|
|
2729
2751
|
/**
|
|
2730
2752
|
* Creates a CompliancePolicyRule.
|
|
@@ -4374,6 +4396,7 @@ class FleetAppsManagementMaintenanceWindowClient {
|
|
|
4374
4396
|
const requestSigner = params.authenticationDetailsProvider
|
|
4375
4397
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
4376
4398
|
: null;
|
|
4399
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
4377
4400
|
if (clientConfiguration) {
|
|
4378
4401
|
this._clientConfiguration = clientConfiguration;
|
|
4379
4402
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -4495,11 +4518,21 @@ class FleetAppsManagementMaintenanceWindowClient {
|
|
|
4495
4518
|
this._circuitBreaker.shutdown();
|
|
4496
4519
|
}
|
|
4497
4520
|
}
|
|
4521
|
+
/**
|
|
4522
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
4523
|
+
*/
|
|
4524
|
+
closeProvider() {
|
|
4525
|
+
if (this._authProvider) {
|
|
4526
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
4527
|
+
(this._authProvider).closeProvider();
|
|
4528
|
+
}
|
|
4529
|
+
}
|
|
4498
4530
|
/**
|
|
4499
4531
|
* Close the client once it is no longer needed
|
|
4500
4532
|
*/
|
|
4501
4533
|
close() {
|
|
4502
4534
|
this.shutdownCircuitBreaker();
|
|
4535
|
+
this.closeProvider();
|
|
4503
4536
|
}
|
|
4504
4537
|
/**
|
|
4505
4538
|
* Create a maintenance window in Fleet Application Management.
|
|
@@ -4850,6 +4883,7 @@ class FleetAppsManagementOperationsClient {
|
|
|
4850
4883
|
const requestSigner = params.authenticationDetailsProvider
|
|
4851
4884
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
4852
4885
|
: null;
|
|
4886
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
4853
4887
|
if (clientConfiguration) {
|
|
4854
4888
|
this._clientConfiguration = clientConfiguration;
|
|
4855
4889
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -4971,11 +5005,21 @@ class FleetAppsManagementOperationsClient {
|
|
|
4971
5005
|
this._circuitBreaker.shutdown();
|
|
4972
5006
|
}
|
|
4973
5007
|
}
|
|
5008
|
+
/**
|
|
5009
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
5010
|
+
*/
|
|
5011
|
+
closeProvider() {
|
|
5012
|
+
if (this._authProvider) {
|
|
5013
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
5014
|
+
(this._authProvider).closeProvider();
|
|
5015
|
+
}
|
|
5016
|
+
}
|
|
4974
5017
|
/**
|
|
4975
5018
|
* Close the client once it is no longer needed
|
|
4976
5019
|
*/
|
|
4977
5020
|
close() {
|
|
4978
5021
|
this.shutdownCircuitBreaker();
|
|
5022
|
+
this.closeProvider();
|
|
4979
5023
|
}
|
|
4980
5024
|
/**
|
|
4981
5025
|
* Creates a new Patch.
|
|
@@ -6758,6 +6802,7 @@ class FleetAppsManagementRunbooksClient {
|
|
|
6758
6802
|
const requestSigner = params.authenticationDetailsProvider
|
|
6759
6803
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
6760
6804
|
: null;
|
|
6805
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
6761
6806
|
if (clientConfiguration) {
|
|
6762
6807
|
this._clientConfiguration = clientConfiguration;
|
|
6763
6808
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -6879,11 +6924,21 @@ class FleetAppsManagementRunbooksClient {
|
|
|
6879
6924
|
this._circuitBreaker.shutdown();
|
|
6880
6925
|
}
|
|
6881
6926
|
}
|
|
6927
|
+
/**
|
|
6928
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
6929
|
+
*/
|
|
6930
|
+
closeProvider() {
|
|
6931
|
+
if (this._authProvider) {
|
|
6932
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
6933
|
+
(this._authProvider).closeProvider();
|
|
6934
|
+
}
|
|
6935
|
+
}
|
|
6882
6936
|
/**
|
|
6883
6937
|
* Close the client once it is no longer needed
|
|
6884
6938
|
*/
|
|
6885
6939
|
close() {
|
|
6886
6940
|
this.shutdownCircuitBreaker();
|
|
6941
|
+
this.closeProvider();
|
|
6887
6942
|
}
|
|
6888
6943
|
/**
|
|
6889
6944
|
* Creates a new Runbook.
|