oci-databasemanagement 2.98.1 → 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 +25 -0
- package/lib/client.js +55 -0
- package/lib/client.js.map +1 -1
- package/lib/model/dbm-resource.d.ts +6 -1
- package/lib/model/dbm-resource.js +5 -0
- package/lib/model/dbm-resource.js.map +1 -1
- package/lib/model/entity-discovered.d.ts +6 -1
- package/lib/model/entity-discovered.js +5 -0
- package/lib/model/entity-discovered.js.map +1 -1
- package/lib/model/external-exadata-infrastructure-discovery-summary.d.ts +6 -1
- package/lib/model/external-exadata-infrastructure-discovery-summary.js +5 -0
- package/lib/model/external-exadata-infrastructure-discovery-summary.js.map +1 -1
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare class DbManagementClient {
|
|
|
39
39
|
protected "_region": common.Region;
|
|
40
40
|
protected _lastSetRegionOrRegionId: string;
|
|
41
41
|
protected _httpClient: common.HttpClient;
|
|
42
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
42
43
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
43
44
|
/**
|
|
44
45
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -88,6 +89,10 @@ export declare class DbManagementClient {
|
|
|
88
89
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
89
90
|
*/
|
|
90
91
|
shutdownCircuitBreaker(): void;
|
|
92
|
+
/**
|
|
93
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
94
|
+
*/
|
|
95
|
+
closeProvider(): void;
|
|
91
96
|
/**
|
|
92
97
|
* Close the client once it is no longer needed
|
|
93
98
|
*/
|
|
@@ -2368,6 +2373,7 @@ export declare class DiagnosabilityClient {
|
|
|
2368
2373
|
protected "_region": common.Region;
|
|
2369
2374
|
protected _lastSetRegionOrRegionId: string;
|
|
2370
2375
|
protected _httpClient: common.HttpClient;
|
|
2376
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
2371
2377
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
2372
2378
|
/**
|
|
2373
2379
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -2404,6 +2410,10 @@ export declare class DiagnosabilityClient {
|
|
|
2404
2410
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
2405
2411
|
*/
|
|
2406
2412
|
shutdownCircuitBreaker(): void;
|
|
2413
|
+
/**
|
|
2414
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
2415
|
+
*/
|
|
2416
|
+
closeProvider(): void;
|
|
2407
2417
|
/**
|
|
2408
2418
|
* Close the client once it is no longer needed
|
|
2409
2419
|
*/
|
|
@@ -2469,6 +2479,7 @@ export declare class ManagedMySqlDatabasesClient {
|
|
|
2469
2479
|
protected "_region": common.Region;
|
|
2470
2480
|
protected _lastSetRegionOrRegionId: string;
|
|
2471
2481
|
protected _httpClient: common.HttpClient;
|
|
2482
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
2472
2483
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
2473
2484
|
/**
|
|
2474
2485
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -2505,6 +2516,10 @@ export declare class ManagedMySqlDatabasesClient {
|
|
|
2505
2516
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
2506
2517
|
*/
|
|
2507
2518
|
shutdownCircuitBreaker(): void;
|
|
2519
|
+
/**
|
|
2520
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
2521
|
+
*/
|
|
2522
|
+
closeProvider(): void;
|
|
2508
2523
|
/**
|
|
2509
2524
|
* Close the client once it is no longer needed
|
|
2510
2525
|
*/
|
|
@@ -2600,6 +2615,7 @@ export declare class PerfhubClient {
|
|
|
2600
2615
|
protected "_region": common.Region;
|
|
2601
2616
|
protected _lastSetRegionOrRegionId: string;
|
|
2602
2617
|
protected _httpClient: common.HttpClient;
|
|
2618
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
2603
2619
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
2604
2620
|
/**
|
|
2605
2621
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -2636,6 +2652,10 @@ export declare class PerfhubClient {
|
|
|
2636
2652
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
2637
2653
|
*/
|
|
2638
2654
|
shutdownCircuitBreaker(): void;
|
|
2655
|
+
/**
|
|
2656
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
2657
|
+
*/
|
|
2658
|
+
closeProvider(): void;
|
|
2639
2659
|
/**
|
|
2640
2660
|
* Close the client once it is no longer needed
|
|
2641
2661
|
*/
|
|
@@ -2671,6 +2691,7 @@ export declare class SqlTuningClient {
|
|
|
2671
2691
|
protected "_region": common.Region;
|
|
2672
2692
|
protected _lastSetRegionOrRegionId: string;
|
|
2673
2693
|
protected _httpClient: common.HttpClient;
|
|
2694
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
2674
2695
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
2675
2696
|
/**
|
|
2676
2697
|
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
@@ -2707,6 +2728,10 @@ export declare class SqlTuningClient {
|
|
|
2707
2728
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
2708
2729
|
*/
|
|
2709
2730
|
shutdownCircuitBreaker(): void;
|
|
2731
|
+
/**
|
|
2732
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
2733
|
+
*/
|
|
2734
|
+
closeProvider(): void;
|
|
2710
2735
|
/**
|
|
2711
2736
|
* Close the client once it is no longer needed
|
|
2712
2737
|
*/
|
package/lib/client.js
CHANGED
|
@@ -72,6 +72,7 @@ class DbManagementClient {
|
|
|
72
72
|
const requestSigner = params.authenticationDetailsProvider
|
|
73
73
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
74
74
|
: null;
|
|
75
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
75
76
|
if (clientConfiguration) {
|
|
76
77
|
this._clientConfiguration = clientConfiguration;
|
|
77
78
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -193,11 +194,21 @@ class DbManagementClient {
|
|
|
193
194
|
this._circuitBreaker.shutdown();
|
|
194
195
|
}
|
|
195
196
|
}
|
|
197
|
+
/**
|
|
198
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
199
|
+
*/
|
|
200
|
+
closeProvider() {
|
|
201
|
+
if (this._authProvider) {
|
|
202
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
203
|
+
(this._authProvider).closeProvider();
|
|
204
|
+
}
|
|
205
|
+
}
|
|
196
206
|
/**
|
|
197
207
|
* Close the client once it is no longer needed
|
|
198
208
|
*/
|
|
199
209
|
close() {
|
|
200
210
|
this.shutdownCircuitBreaker();
|
|
211
|
+
this.closeProvider();
|
|
201
212
|
}
|
|
202
213
|
/**
|
|
203
214
|
* Adds data files or temp files to the tablespace.
|
|
@@ -14179,6 +14190,7 @@ class DiagnosabilityClient {
|
|
|
14179
14190
|
const requestSigner = params.authenticationDetailsProvider
|
|
14180
14191
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
14181
14192
|
: null;
|
|
14193
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
14182
14194
|
if (clientConfiguration) {
|
|
14183
14195
|
this._clientConfiguration = clientConfiguration;
|
|
14184
14196
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -14279,11 +14291,21 @@ class DiagnosabilityClient {
|
|
|
14279
14291
|
this._circuitBreaker.shutdown();
|
|
14280
14292
|
}
|
|
14281
14293
|
}
|
|
14294
|
+
/**
|
|
14295
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
14296
|
+
*/
|
|
14297
|
+
closeProvider() {
|
|
14298
|
+
if (this._authProvider) {
|
|
14299
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
14300
|
+
(this._authProvider).closeProvider();
|
|
14301
|
+
}
|
|
14302
|
+
}
|
|
14282
14303
|
/**
|
|
14283
14304
|
* Close the client once it is no longer needed
|
|
14284
14305
|
*/
|
|
14285
14306
|
close() {
|
|
14286
14307
|
this.shutdownCircuitBreaker();
|
|
14308
|
+
this.closeProvider();
|
|
14287
14309
|
}
|
|
14288
14310
|
/**
|
|
14289
14311
|
* Lists the alert logs for the specified Managed Database.
|
|
@@ -14611,6 +14633,7 @@ class ManagedMySqlDatabasesClient {
|
|
|
14611
14633
|
const requestSigner = params.authenticationDetailsProvider
|
|
14612
14634
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
14613
14635
|
: null;
|
|
14636
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
14614
14637
|
if (clientConfiguration) {
|
|
14615
14638
|
this._clientConfiguration = clientConfiguration;
|
|
14616
14639
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -14711,11 +14734,21 @@ class ManagedMySqlDatabasesClient {
|
|
|
14711
14734
|
this._circuitBreaker.shutdown();
|
|
14712
14735
|
}
|
|
14713
14736
|
}
|
|
14737
|
+
/**
|
|
14738
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
14739
|
+
*/
|
|
14740
|
+
closeProvider() {
|
|
14741
|
+
if (this._authProvider) {
|
|
14742
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
14743
|
+
(this._authProvider).closeProvider();
|
|
14744
|
+
}
|
|
14745
|
+
}
|
|
14714
14746
|
/**
|
|
14715
14747
|
* Close the client once it is no longer needed
|
|
14716
14748
|
*/
|
|
14717
14749
|
close() {
|
|
14718
14750
|
this.shutdownCircuitBreaker();
|
|
14751
|
+
this.closeProvider();
|
|
14719
14752
|
}
|
|
14720
14753
|
/**
|
|
14721
14754
|
* Gets the health metrics for a fleet of HeatWave clusters in a compartment.
|
|
@@ -15210,6 +15243,7 @@ class PerfhubClient {
|
|
|
15210
15243
|
const requestSigner = params.authenticationDetailsProvider
|
|
15211
15244
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
15212
15245
|
: null;
|
|
15246
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
15213
15247
|
if (clientConfiguration) {
|
|
15214
15248
|
this._clientConfiguration = clientConfiguration;
|
|
15215
15249
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -15310,11 +15344,21 @@ class PerfhubClient {
|
|
|
15310
15344
|
this._circuitBreaker.shutdown();
|
|
15311
15345
|
}
|
|
15312
15346
|
}
|
|
15347
|
+
/**
|
|
15348
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
15349
|
+
*/
|
|
15350
|
+
closeProvider() {
|
|
15351
|
+
if (this._authProvider) {
|
|
15352
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
15353
|
+
(this._authProvider).closeProvider();
|
|
15354
|
+
}
|
|
15355
|
+
}
|
|
15313
15356
|
/**
|
|
15314
15357
|
* Close the client once it is no longer needed
|
|
15315
15358
|
*/
|
|
15316
15359
|
close() {
|
|
15317
15360
|
this.shutdownCircuitBreaker();
|
|
15361
|
+
this.closeProvider();
|
|
15318
15362
|
}
|
|
15319
15363
|
/**
|
|
15320
15364
|
* Modifies the snapshot settings for the specified Database.
|
|
@@ -15397,6 +15441,7 @@ class SqlTuningClient {
|
|
|
15397
15441
|
const requestSigner = params.authenticationDetailsProvider
|
|
15398
15442
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
15399
15443
|
: null;
|
|
15444
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
15400
15445
|
if (clientConfiguration) {
|
|
15401
15446
|
this._clientConfiguration = clientConfiguration;
|
|
15402
15447
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -15497,11 +15542,21 @@ class SqlTuningClient {
|
|
|
15497
15542
|
this._circuitBreaker.shutdown();
|
|
15498
15543
|
}
|
|
15499
15544
|
}
|
|
15545
|
+
/**
|
|
15546
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
15547
|
+
*/
|
|
15548
|
+
closeProvider() {
|
|
15549
|
+
if (this._authProvider) {
|
|
15550
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
15551
|
+
(this._authProvider).closeProvider();
|
|
15552
|
+
}
|
|
15553
|
+
}
|
|
15500
15554
|
/**
|
|
15501
15555
|
* Close the client once it is no longer needed
|
|
15502
15556
|
*/
|
|
15503
15557
|
close() {
|
|
15504
15558
|
this.shutdownCircuitBreaker();
|
|
15559
|
+
this.closeProvider();
|
|
15505
15560
|
}
|
|
15506
15561
|
/**
|
|
15507
15562
|
* Clones and runs a SQL tuning task in the database.
|