oci-ocvp 2.4.0 → 2.6.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/LICENSE.txt +6 -0
- package/lib/client.d.ts +57 -25
- package/lib/client.js +120 -46
- package/lib/client.js.map +1 -1
- package/lib/model/action-types.d.ts +1 -0
- package/lib/model/action-types.js +1 -0
- package/lib/model/action-types.js.map +1 -1
- package/lib/model/create-esxi-host-details.d.ts +10 -5
- package/lib/model/create-esxi-host-details.js.map +1 -1
- package/lib/model/create-sddc-details.d.ts +2 -4
- package/lib/model/create-sddc-details.js.map +1 -1
- package/lib/model/downgrade-hcx-details.d.ts +5 -2
- package/lib/model/downgrade-hcx-details.js.map +1 -1
- package/lib/model/esxi-host-summary.d.ts +10 -6
- package/lib/model/esxi-host-summary.js.map +1 -1
- package/lib/model/esxi-host.d.ts +10 -6
- package/lib/model/esxi-host.js.map +1 -1
- package/lib/model/hcx-license-status.d.ts +1 -1
- package/lib/model/hcx-license-status.js +1 -1
- package/lib/model/hcx-license-summary.d.ts +2 -2
- package/lib/model/sddc-summary.d.ts +2 -2
- package/lib/model/sddc.d.ts +6 -7
- package/lib/model/sddc.js.map +1 -1
- package/lib/model/supported-sku-summary-collection.d.ts +1 -2
- package/lib/model/supported-sku-summary-collection.js.map +1 -1
- package/lib/model/supported-sku-summary.d.ts +1 -2
- package/lib/model/supported-sku-summary.js.map +1 -1
- package/lib/model/update-esxi-host-details.d.ts +2 -3
- package/lib/model/update-esxi-host-details.js.map +1 -1
- package/lib/request/cancel-downgrade-hcx-request.d.ts +1 -1
- package/lib/request/change-sddc-compartment-request.d.ts +1 -1
- package/lib/request/create-esxi-host-request.d.ts +1 -1
- package/lib/request/create-sddc-request.d.ts +1 -1
- package/lib/request/delete-esxi-host-request.d.ts +1 -1
- package/lib/request/delete-sddc-request.d.ts +1 -1
- package/lib/request/downgrade-hcx-request.d.ts +2 -2
- package/lib/request/get-esxi-host-request.d.ts +1 -1
- package/lib/request/get-sddc-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-esxi-hosts-request.d.ts +1 -1
- package/lib/request/list-sddcs-request.d.ts +1 -1
- package/lib/request/list-supported-skus-request.d.ts +1 -1
- package/lib/request/list-supported-vmware-software-versions-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/refresh-hcx-license-status-request.d.ts +1 -1
- package/lib/request/update-esxi-host-request.d.ts +1 -1
- package/lib/request/update-sddc-request.d.ts +1 -1
- package/lib/request/upgrade-hcx-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -54,6 +54,9 @@ const oci_common_1 = require("oci-common");
|
|
|
54
54
|
var EsxiHostApiKeys;
|
|
55
55
|
(function (EsxiHostApiKeys) {
|
|
56
56
|
})(EsxiHostApiKeys = exports.EsxiHostApiKeys || (exports.EsxiHostApiKeys = {}));
|
|
57
|
+
/**
|
|
58
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
59
|
+
*/
|
|
57
60
|
class EsxiHostClient {
|
|
58
61
|
constructor(params, clientConfiguration) {
|
|
59
62
|
this["_endpoint"] = "";
|
|
@@ -68,6 +71,13 @@ class EsxiHostClient {
|
|
|
68
71
|
? clientConfiguration.circuitBreaker.circuit
|
|
69
72
|
: null;
|
|
70
73
|
}
|
|
74
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
75
|
+
const specCircuitBreakerEnabled = false;
|
|
76
|
+
if (!this._circuitBreaker &&
|
|
77
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
78
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
79
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
80
|
+
}
|
|
71
81
|
this._httpClient =
|
|
72
82
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
73
83
|
if (params.authenticationDetailsProvider &&
|
|
@@ -145,10 +155,11 @@ class EsxiHostClient {
|
|
|
145
155
|
Use the {@link WorkRequest} operations to track the
|
|
146
156
|
* creation of the ESXi host.
|
|
147
157
|
*
|
|
158
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
148
159
|
* @param CreateEsxiHostRequest
|
|
149
160
|
* @return CreateEsxiHostResponse
|
|
150
161
|
* @throws OciError when an error occurs
|
|
151
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
162
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/CreateEsxiHost.ts.html |here} to see how to use CreateEsxiHost API.
|
|
152
163
|
*/
|
|
153
164
|
createEsxiHost(createEsxiHostRequest) {
|
|
154
165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -161,7 +172,8 @@ class EsxiHostClient {
|
|
|
161
172
|
"opc-retry-token": createEsxiHostRequest.opcRetryToken,
|
|
162
173
|
"opc-request-id": createEsxiHostRequest.opcRequestId
|
|
163
174
|
};
|
|
164
|
-
const
|
|
175
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
176
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createEsxiHostRequest.retryConfiguration, specRetryConfiguration);
|
|
165
177
|
if (this.logger)
|
|
166
178
|
retrier.logger = this.logger;
|
|
167
179
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -214,10 +226,11 @@ class EsxiHostClient {
|
|
|
214
226
|
Use the {@link WorkRequest} operations to track the
|
|
215
227
|
* deletion of the ESXi host.
|
|
216
228
|
*
|
|
229
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
217
230
|
* @param DeleteEsxiHostRequest
|
|
218
231
|
* @return DeleteEsxiHostResponse
|
|
219
232
|
* @throws OciError when an error occurs
|
|
220
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
233
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/DeleteEsxiHost.ts.html |here} to see how to use DeleteEsxiHost API.
|
|
221
234
|
*/
|
|
222
235
|
deleteEsxiHost(deleteEsxiHostRequest) {
|
|
223
236
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -232,7 +245,8 @@ class EsxiHostClient {
|
|
|
232
245
|
"if-match": deleteEsxiHostRequest.ifMatch,
|
|
233
246
|
"opc-request-id": deleteEsxiHostRequest.opcRequestId
|
|
234
247
|
};
|
|
235
|
-
const
|
|
248
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
249
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteEsxiHostRequest.retryConfiguration, specRetryConfiguration);
|
|
236
250
|
if (this.logger)
|
|
237
251
|
retrier.logger = this.logger;
|
|
238
252
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -270,10 +284,11 @@ class EsxiHostClient {
|
|
|
270
284
|
}
|
|
271
285
|
/**
|
|
272
286
|
* Gets the specified ESXi host's information.
|
|
287
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
273
288
|
* @param GetEsxiHostRequest
|
|
274
289
|
* @return GetEsxiHostResponse
|
|
275
290
|
* @throws OciError when an error occurs
|
|
276
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
291
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/GetEsxiHost.ts.html |here} to see how to use GetEsxiHost API.
|
|
277
292
|
*/
|
|
278
293
|
getEsxiHost(getEsxiHostRequest) {
|
|
279
294
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -287,7 +302,8 @@ class EsxiHostClient {
|
|
|
287
302
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
288
303
|
"opc-request-id": getEsxiHostRequest.opcRequestId
|
|
289
304
|
};
|
|
290
|
-
const
|
|
305
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
306
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getEsxiHostRequest.retryConfiguration, specRetryConfiguration);
|
|
291
307
|
if (this.logger)
|
|
292
308
|
retrier.logger = this.logger;
|
|
293
309
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -338,10 +354,11 @@ class EsxiHostClient {
|
|
|
338
354
|
* ESXi hosts, you can specify the OCID of the Compute instance, not the
|
|
339
355
|
* ESXi host OCID.
|
|
340
356
|
*
|
|
357
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
341
358
|
* @param ListEsxiHostsRequest
|
|
342
359
|
* @return ListEsxiHostsResponse
|
|
343
360
|
* @throws OciError when an error occurs
|
|
344
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
361
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/ListEsxiHosts.ts.html |here} to see how to use ListEsxiHosts API.
|
|
345
362
|
*/
|
|
346
363
|
listEsxiHosts(listEsxiHostsRequest) {
|
|
347
364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -362,7 +379,8 @@ class EsxiHostClient {
|
|
|
362
379
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
363
380
|
"opc-request-id": listEsxiHostsRequest.opcRequestId
|
|
364
381
|
};
|
|
365
|
-
const
|
|
382
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
383
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEsxiHostsRequest.retryConfiguration, specRetryConfiguration);
|
|
366
384
|
if (this.logger)
|
|
367
385
|
retrier.logger = this.logger;
|
|
368
386
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -404,10 +422,11 @@ class EsxiHostClient {
|
|
|
404
422
|
}
|
|
405
423
|
/**
|
|
406
424
|
* Updates the specified ESXi host.
|
|
425
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
407
426
|
* @param UpdateEsxiHostRequest
|
|
408
427
|
* @return UpdateEsxiHostResponse
|
|
409
428
|
* @throws OciError when an error occurs
|
|
410
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
429
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/UpdateEsxiHost.ts.html |here} to see how to use UpdateEsxiHost API.
|
|
411
430
|
*/
|
|
412
431
|
updateEsxiHost(updateEsxiHostRequest) {
|
|
413
432
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -422,7 +441,8 @@ class EsxiHostClient {
|
|
|
422
441
|
"if-match": updateEsxiHostRequest.ifMatch,
|
|
423
442
|
"opc-request-id": updateEsxiHostRequest.opcRequestId
|
|
424
443
|
};
|
|
425
|
-
const
|
|
444
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
445
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateEsxiHostRequest.retryConfiguration, specRetryConfiguration);
|
|
426
446
|
if (this.logger)
|
|
427
447
|
retrier.logger = this.logger;
|
|
428
448
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -469,6 +489,9 @@ EsxiHostClient.serviceEndpointTemplate = "https://ocvps.{region}.oci.{secondLeve
|
|
|
469
489
|
var SddcApiKeys;
|
|
470
490
|
(function (SddcApiKeys) {
|
|
471
491
|
})(SddcApiKeys = exports.SddcApiKeys || (exports.SddcApiKeys = {}));
|
|
492
|
+
/**
|
|
493
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
494
|
+
*/
|
|
472
495
|
class SddcClient {
|
|
473
496
|
constructor(params, clientConfiguration) {
|
|
474
497
|
this["_endpoint"] = "";
|
|
@@ -483,6 +506,13 @@ class SddcClient {
|
|
|
483
506
|
? clientConfiguration.circuitBreaker.circuit
|
|
484
507
|
: null;
|
|
485
508
|
}
|
|
509
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
510
|
+
const specCircuitBreakerEnabled = false;
|
|
511
|
+
if (!this._circuitBreaker &&
|
|
512
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
513
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
514
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
515
|
+
}
|
|
486
516
|
this._httpClient =
|
|
487
517
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
488
518
|
if (params.authenticationDetailsProvider &&
|
|
@@ -553,12 +583,13 @@ class SddcClient {
|
|
|
553
583
|
throw Error("Waiters do not exist. Please create waiters.");
|
|
554
584
|
}
|
|
555
585
|
/**
|
|
556
|
-
* Cancel the pending SDDC downgrade from HCX Enterprise to HCX Advanced
|
|
586
|
+
* Cancel the pending SDDC downgrade from HCX Enterprise to HCX Advanced.
|
|
557
587
|
*
|
|
588
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
558
589
|
* @param CancelDowngradeHcxRequest
|
|
559
590
|
* @return CancelDowngradeHcxResponse
|
|
560
591
|
* @throws OciError when an error occurs
|
|
561
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
592
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/CancelDowngradeHcx.ts.html |here} to see how to use CancelDowngradeHcx API.
|
|
562
593
|
*/
|
|
563
594
|
cancelDowngradeHcx(cancelDowngradeHcxRequest) {
|
|
564
595
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -574,7 +605,8 @@ class SddcClient {
|
|
|
574
605
|
"if-match": cancelDowngradeHcxRequest.ifMatch,
|
|
575
606
|
"opc-request-id": cancelDowngradeHcxRequest.opcRequestId
|
|
576
607
|
};
|
|
577
|
-
const
|
|
608
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
609
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelDowngradeHcxRequest.retryConfiguration, specRetryConfiguration);
|
|
578
610
|
if (this.logger)
|
|
579
611
|
retrier.logger = this.logger;
|
|
580
612
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -615,10 +647,11 @@ class SddcClient {
|
|
|
615
647
|
* about moving resources between compartments, see
|
|
616
648
|
* [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
617
649
|
*
|
|
650
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
618
651
|
* @param ChangeSddcCompartmentRequest
|
|
619
652
|
* @return ChangeSddcCompartmentResponse
|
|
620
653
|
* @throws OciError when an error occurs
|
|
621
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
654
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/ChangeSddcCompartment.ts.html |here} to see how to use ChangeSddcCompartment API.
|
|
622
655
|
*/
|
|
623
656
|
changeSddcCompartment(changeSddcCompartmentRequest) {
|
|
624
657
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -634,7 +667,8 @@ class SddcClient {
|
|
|
634
667
|
"opc-request-id": changeSddcCompartmentRequest.opcRequestId,
|
|
635
668
|
"opc-retry-token": changeSddcCompartmentRequest.opcRetryToken
|
|
636
669
|
};
|
|
637
|
-
const
|
|
670
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
671
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSddcCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
638
672
|
if (this.logger)
|
|
639
673
|
retrier.logger = this.logger;
|
|
640
674
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -674,10 +708,11 @@ class SddcClient {
|
|
|
674
708
|
* <p>
|
|
675
709
|
**Important:** You must configure the SDDC's networking resources with the security rules detailed in [Security Rules for Oracle Cloud VMware Solution SDDCs](https://docs.cloud.oracle.com/iaas/Content/VMware/Reference/ocvssecurityrules.htm). Otherwise, provisioning the SDDC will fail. The rules are based on the requirements set by VMware.
|
|
676
710
|
*
|
|
711
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
677
712
|
* @param CreateSddcRequest
|
|
678
713
|
* @return CreateSddcResponse
|
|
679
714
|
* @throws OciError when an error occurs
|
|
680
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
715
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/CreateSddc.ts.html |here} to see how to use CreateSddc API.
|
|
681
716
|
*/
|
|
682
717
|
createSddc(createSddcRequest) {
|
|
683
718
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -690,7 +725,8 @@ class SddcClient {
|
|
|
690
725
|
"opc-retry-token": createSddcRequest.opcRetryToken,
|
|
691
726
|
"opc-request-id": createSddcRequest.opcRequestId
|
|
692
727
|
};
|
|
693
|
-
const
|
|
728
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
729
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSddcRequest.retryConfiguration, specRetryConfiguration);
|
|
694
730
|
if (this.logger)
|
|
695
731
|
retrier.logger = this.logger;
|
|
696
732
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -735,10 +771,11 @@ class SddcClient {
|
|
|
735
771
|
Use the {@link WorkRequest} operations to track the
|
|
736
772
|
* deletion of the SDDC.
|
|
737
773
|
*
|
|
774
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
738
775
|
* @param DeleteSddcRequest
|
|
739
776
|
* @return DeleteSddcResponse
|
|
740
777
|
* @throws OciError when an error occurs
|
|
741
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
778
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/DeleteSddc.ts.html |here} to see how to use DeleteSddc API.
|
|
742
779
|
*/
|
|
743
780
|
deleteSddc(deleteSddcRequest) {
|
|
744
781
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -753,7 +790,8 @@ class SddcClient {
|
|
|
753
790
|
"if-match": deleteSddcRequest.ifMatch,
|
|
754
791
|
"opc-request-id": deleteSddcRequest.opcRequestId
|
|
755
792
|
};
|
|
756
|
-
const
|
|
793
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
794
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSddcRequest.retryConfiguration, specRetryConfiguration);
|
|
757
795
|
if (this.logger)
|
|
758
796
|
retrier.logger = this.logger;
|
|
759
797
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -790,12 +828,16 @@ class SddcClient {
|
|
|
790
828
|
});
|
|
791
829
|
}
|
|
792
830
|
/**
|
|
793
|
-
* Downgrade the specified SDDC from HCX Enterprise to HCX Advanced
|
|
831
|
+
* Downgrade the specified SDDC from HCX Enterprise to HCX Advanced.
|
|
832
|
+
* Downgrading from HCX Enterprise to HCX Advanced reduces the number of provided license keys from 10 to 3.
|
|
833
|
+
* Downgrade remains in a `PENDING` state until the end of the current billing cycle. You can use {@link #cancelDowngradeHcx(CancelDowngradeHcxRequest) cancelDowngradeHcx}
|
|
834
|
+
* to cancel the downgrade while it's still in a `PENDING` state.
|
|
794
835
|
*
|
|
836
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
795
837
|
* @param DowngradeHcxRequest
|
|
796
838
|
* @return DowngradeHcxResponse
|
|
797
839
|
* @throws OciError when an error occurs
|
|
798
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
840
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/DowngradeHcx.ts.html |here} to see how to use DowngradeHcx API.
|
|
799
841
|
*/
|
|
800
842
|
downgradeHcx(downgradeHcxRequest) {
|
|
801
843
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -811,7 +853,8 @@ class SddcClient {
|
|
|
811
853
|
"if-match": downgradeHcxRequest.ifMatch,
|
|
812
854
|
"opc-request-id": downgradeHcxRequest.opcRequestId
|
|
813
855
|
};
|
|
814
|
-
const
|
|
856
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
857
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, downgradeHcxRequest.retryConfiguration, specRetryConfiguration);
|
|
815
858
|
if (this.logger)
|
|
816
859
|
retrier.logger = this.logger;
|
|
817
860
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -850,10 +893,11 @@ class SddcClient {
|
|
|
850
893
|
}
|
|
851
894
|
/**
|
|
852
895
|
* Gets the specified SDDC's information.
|
|
896
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
853
897
|
* @param GetSddcRequest
|
|
854
898
|
* @return GetSddcResponse
|
|
855
899
|
* @throws OciError when an error occurs
|
|
856
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
900
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/GetSddc.ts.html |here} to see how to use GetSddc API.
|
|
857
901
|
*/
|
|
858
902
|
getSddc(getSddcRequest) {
|
|
859
903
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -867,7 +911,8 @@ class SddcClient {
|
|
|
867
911
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
868
912
|
"opc-request-id": getSddcRequest.opcRequestId
|
|
869
913
|
};
|
|
870
|
-
const
|
|
914
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
915
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSddcRequest.retryConfiguration, specRetryConfiguration);
|
|
871
916
|
if (this.logger)
|
|
872
917
|
retrier.logger = this.logger;
|
|
873
918
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -911,10 +956,11 @@ class SddcClient {
|
|
|
911
956
|
* Lists the SDDCs in the specified compartment. The list can be
|
|
912
957
|
* filtered by display name or availability domain.
|
|
913
958
|
*
|
|
959
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
914
960
|
* @param ListSddcsRequest
|
|
915
961
|
* @return ListSddcsResponse
|
|
916
962
|
* @throws OciError when an error occurs
|
|
917
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
963
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/ListSddcs.ts.html |here} to see how to use ListSddcs API.
|
|
918
964
|
*/
|
|
919
965
|
listSddcs(listSddcsRequest) {
|
|
920
966
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -935,7 +981,8 @@ class SddcClient {
|
|
|
935
981
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
936
982
|
"opc-request-id": listSddcsRequest.opcRequestId
|
|
937
983
|
};
|
|
938
|
-
const
|
|
984
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
985
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSddcsRequest.retryConfiguration, specRetryConfiguration);
|
|
939
986
|
if (this.logger)
|
|
940
987
|
retrier.logger = this.logger;
|
|
941
988
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -976,13 +1023,13 @@ class SddcClient {
|
|
|
976
1023
|
});
|
|
977
1024
|
}
|
|
978
1025
|
/**
|
|
979
|
-
* Lists supported SKUs.
|
|
980
|
-
* HOUR, MONTH, ONE_YEAR, and THREE_YEARS.
|
|
1026
|
+
* Lists supported SKUs.
|
|
981
1027
|
*
|
|
1028
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
982
1029
|
* @param ListSupportedSkusRequest
|
|
983
1030
|
* @return ListSupportedSkusResponse
|
|
984
1031
|
* @throws OciError when an error occurs
|
|
985
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1032
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/ListSupportedSkus.ts.html |here} to see how to use ListSupportedSkus API.
|
|
986
1033
|
*/
|
|
987
1034
|
listSupportedSkus(listSupportedSkusRequest) {
|
|
988
1035
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -998,7 +1045,8 @@ class SddcClient {
|
|
|
998
1045
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
999
1046
|
"opc-request-id": listSupportedSkusRequest.opcRequestId
|
|
1000
1047
|
};
|
|
1001
|
-
const
|
|
1048
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1049
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSupportedSkusRequest.retryConfiguration, specRetryConfiguration);
|
|
1002
1050
|
if (this.logger)
|
|
1003
1051
|
retrier.logger = this.logger;
|
|
1004
1052
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1042,10 +1090,11 @@ class SddcClient {
|
|
|
1042
1090
|
* Lists the versions of bundled VMware software supported by the Oracle Cloud
|
|
1043
1091
|
* VMware Solution.
|
|
1044
1092
|
*
|
|
1093
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1045
1094
|
* @param ListSupportedVmwareSoftwareVersionsRequest
|
|
1046
1095
|
* @return ListSupportedVmwareSoftwareVersionsResponse
|
|
1047
1096
|
* @throws OciError when an error occurs
|
|
1048
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1097
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/ListSupportedVmwareSoftwareVersions.ts.html |here} to see how to use ListSupportedVmwareSoftwareVersions API.
|
|
1049
1098
|
*/
|
|
1050
1099
|
listSupportedVmwareSoftwareVersions(listSupportedVmwareSoftwareVersionsRequest) {
|
|
1051
1100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1061,7 +1110,8 @@ class SddcClient {
|
|
|
1061
1110
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1062
1111
|
"opc-request-id": listSupportedVmwareSoftwareVersionsRequest.opcRequestId
|
|
1063
1112
|
};
|
|
1064
|
-
const
|
|
1113
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1114
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSupportedVmwareSoftwareVersionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1065
1115
|
if (this.logger)
|
|
1066
1116
|
retrier.logger = this.logger;
|
|
1067
1117
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1103,10 +1153,11 @@ class SddcClient {
|
|
|
1103
1153
|
}
|
|
1104
1154
|
/**
|
|
1105
1155
|
* Refresh HCX on-premise licenses status of the specified SDDC.
|
|
1156
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1106
1157
|
* @param RefreshHcxLicenseStatusRequest
|
|
1107
1158
|
* @return RefreshHcxLicenseStatusResponse
|
|
1108
1159
|
* @throws OciError when an error occurs
|
|
1109
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1160
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/RefreshHcxLicenseStatus.ts.html |here} to see how to use RefreshHcxLicenseStatus API.
|
|
1110
1161
|
*/
|
|
1111
1162
|
refreshHcxLicenseStatus(refreshHcxLicenseStatusRequest) {
|
|
1112
1163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1122,7 +1173,8 @@ class SddcClient {
|
|
|
1122
1173
|
"if-match": refreshHcxLicenseStatusRequest.ifMatch,
|
|
1123
1174
|
"opc-request-id": refreshHcxLicenseStatusRequest.opcRequestId
|
|
1124
1175
|
};
|
|
1125
|
-
const
|
|
1176
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1177
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, refreshHcxLicenseStatusRequest.retryConfiguration, specRetryConfiguration);
|
|
1126
1178
|
if (this.logger)
|
|
1127
1179
|
retrier.logger = this.logger;
|
|
1128
1180
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1166,10 +1218,11 @@ class SddcClient {
|
|
|
1166
1218
|
* the SDDC. For more information, see
|
|
1167
1219
|
* {@link #updateSddcDetails(UpdateSddcDetailsRequest) updateSddcDetails}.
|
|
1168
1220
|
*
|
|
1221
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1169
1222
|
* @param UpdateSddcRequest
|
|
1170
1223
|
* @return UpdateSddcResponse
|
|
1171
1224
|
* @throws OciError when an error occurs
|
|
1172
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1225
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/UpdateSddc.ts.html |here} to see how to use UpdateSddc API.
|
|
1173
1226
|
*/
|
|
1174
1227
|
updateSddc(updateSddcRequest) {
|
|
1175
1228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1184,7 +1237,8 @@ class SddcClient {
|
|
|
1184
1237
|
"if-match": updateSddcRequest.ifMatch,
|
|
1185
1238
|
"opc-request-id": updateSddcRequest.opcRequestId
|
|
1186
1239
|
};
|
|
1187
|
-
const
|
|
1240
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1241
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSddcRequest.retryConfiguration, specRetryConfiguration);
|
|
1188
1242
|
if (this.logger)
|
|
1189
1243
|
retrier.logger = this.logger;
|
|
1190
1244
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1228,10 +1282,11 @@ class SddcClient {
|
|
|
1228
1282
|
/**
|
|
1229
1283
|
* Upgrade the specified SDDC from HCX Advanced to HCX Enterprise.
|
|
1230
1284
|
*
|
|
1285
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1231
1286
|
* @param UpgradeHcxRequest
|
|
1232
1287
|
* @return UpgradeHcxResponse
|
|
1233
1288
|
* @throws OciError when an error occurs
|
|
1234
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1289
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/UpgradeHcx.ts.html |here} to see how to use UpgradeHcx API.
|
|
1235
1290
|
*/
|
|
1236
1291
|
upgradeHcx(upgradeHcxRequest) {
|
|
1237
1292
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1247,7 +1302,8 @@ class SddcClient {
|
|
|
1247
1302
|
"if-match": upgradeHcxRequest.ifMatch,
|
|
1248
1303
|
"opc-request-id": upgradeHcxRequest.opcRequestId
|
|
1249
1304
|
};
|
|
1250
|
-
const
|
|
1305
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1306
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, upgradeHcxRequest.retryConfiguration, specRetryConfiguration);
|
|
1251
1307
|
if (this.logger)
|
|
1252
1308
|
retrier.logger = this.logger;
|
|
1253
1309
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1289,6 +1345,9 @@ SddcClient.serviceEndpointTemplate = "https://ocvps.{region}.oci.{secondLevelDom
|
|
|
1289
1345
|
var WorkRequestApiKeys;
|
|
1290
1346
|
(function (WorkRequestApiKeys) {
|
|
1291
1347
|
})(WorkRequestApiKeys = exports.WorkRequestApiKeys || (exports.WorkRequestApiKeys = {}));
|
|
1348
|
+
/**
|
|
1349
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
1350
|
+
*/
|
|
1292
1351
|
class WorkRequestClient {
|
|
1293
1352
|
constructor(params, clientConfiguration) {
|
|
1294
1353
|
this["_endpoint"] = "";
|
|
@@ -1303,6 +1362,13 @@ class WorkRequestClient {
|
|
|
1303
1362
|
? clientConfiguration.circuitBreaker.circuit
|
|
1304
1363
|
: null;
|
|
1305
1364
|
}
|
|
1365
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1366
|
+
const specCircuitBreakerEnabled = false;
|
|
1367
|
+
if (!this._circuitBreaker &&
|
|
1368
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
1369
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
1370
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
1371
|
+
}
|
|
1306
1372
|
this._httpClient =
|
|
1307
1373
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
1308
1374
|
if (params.authenticationDetailsProvider &&
|
|
@@ -1374,10 +1440,11 @@ class WorkRequestClient {
|
|
|
1374
1440
|
}
|
|
1375
1441
|
/**
|
|
1376
1442
|
* Gets the specified work request's information.
|
|
1443
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1377
1444
|
* @param GetWorkRequestRequest
|
|
1378
1445
|
* @return GetWorkRequestResponse
|
|
1379
1446
|
* @throws OciError when an error occurs
|
|
1380
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1447
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1381
1448
|
*/
|
|
1382
1449
|
getWorkRequest(getWorkRequestRequest) {
|
|
1383
1450
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1391,7 +1458,8 @@ class WorkRequestClient {
|
|
|
1391
1458
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1392
1459
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
1393
1460
|
};
|
|
1394
|
-
const
|
|
1461
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1462
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1395
1463
|
if (this.logger)
|
|
1396
1464
|
retrier.logger = this.logger;
|
|
1397
1465
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1434,10 +1502,11 @@ class WorkRequestClient {
|
|
|
1434
1502
|
/**
|
|
1435
1503
|
* Lists the errors for the specified work request.
|
|
1436
1504
|
*
|
|
1505
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1437
1506
|
* @param ListWorkRequestErrorsRequest
|
|
1438
1507
|
* @return ListWorkRequestErrorsResponse
|
|
1439
1508
|
* @throws OciError when an error occurs
|
|
1440
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1509
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1441
1510
|
*/
|
|
1442
1511
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1443
1512
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1454,7 +1523,8 @@ class WorkRequestClient {
|
|
|
1454
1523
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1455
1524
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
1456
1525
|
};
|
|
1457
|
-
const
|
|
1526
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1527
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1458
1528
|
if (this.logger)
|
|
1459
1529
|
retrier.logger = this.logger;
|
|
1460
1530
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1497,10 +1567,11 @@ class WorkRequestClient {
|
|
|
1497
1567
|
/**
|
|
1498
1568
|
* Lists the logs for the specified work request.
|
|
1499
1569
|
*
|
|
1570
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1500
1571
|
* @param ListWorkRequestLogsRequest
|
|
1501
1572
|
* @return ListWorkRequestLogsResponse
|
|
1502
1573
|
* @throws OciError when an error occurs
|
|
1503
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1574
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1504
1575
|
*/
|
|
1505
1576
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1506
1577
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1517,7 +1588,8 @@ class WorkRequestClient {
|
|
|
1517
1588
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1518
1589
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1519
1590
|
};
|
|
1520
|
-
const
|
|
1591
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1592
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1521
1593
|
if (this.logger)
|
|
1522
1594
|
retrier.logger = this.logger;
|
|
1523
1595
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1560,10 +1632,11 @@ class WorkRequestClient {
|
|
|
1560
1632
|
/**
|
|
1561
1633
|
* Lists the work requests in the specified compartment.
|
|
1562
1634
|
*
|
|
1635
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1563
1636
|
* @param ListWorkRequestsRequest
|
|
1564
1637
|
* @return ListWorkRequestsResponse
|
|
1565
1638
|
* @throws OciError when an error occurs
|
|
1566
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1639
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/ocvp/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1567
1640
|
*/
|
|
1568
1641
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1569
1642
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1580,7 +1653,8 @@ class WorkRequestClient {
|
|
|
1580
1653
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1581
1654
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1582
1655
|
};
|
|
1583
|
-
const
|
|
1656
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1657
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1584
1658
|
if (this.logger)
|
|
1585
1659
|
retrier.logger = this.logger;
|
|
1586
1660
|
const request = yield oci_common_1.composeRequest({
|