oci-ocvp 2.9.1 → 2.10.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/index.d.ts +2 -1
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/lib/client.d.ts +44 -43
- package/lib/client.js +65 -64
- package/lib/client.js.map +1 -1
- package/lib/esxihost-waiter.d.ts +2 -1
- package/lib/esxihost-waiter.js +2 -1
- package/lib/esxihost-waiter.js.map +1 -1
- package/lib/model/action-types.d.ts +2 -1
- package/lib/model/action-types.js +2 -1
- package/lib/model/action-types.js.map +1 -1
- package/lib/model/change-sddc-compartment-details.d.ts +2 -1
- package/lib/model/change-sddc-compartment-details.js +2 -1
- package/lib/model/change-sddc-compartment-details.js.map +1 -1
- package/lib/model/create-esxi-host-details.d.ts +10 -1
- package/lib/model/create-esxi-host-details.js +2 -1
- package/lib/model/create-esxi-host-details.js.map +1 -1
- package/lib/model/create-sddc-details.d.ts +3 -2
- package/lib/model/create-sddc-details.js +2 -1
- package/lib/model/create-sddc-details.js.map +1 -1
- package/lib/model/downgrade-hcx-details.d.ts +2 -1
- package/lib/model/downgrade-hcx-details.js +2 -1
- package/lib/model/downgrade-hcx-details.js.map +1 -1
- package/lib/model/esxi-host-collection.d.ts +2 -1
- package/lib/model/esxi-host-collection.js +2 -1
- package/lib/model/esxi-host-collection.js.map +1 -1
- package/lib/model/esxi-host-summary.d.ts +21 -1
- package/lib/model/esxi-host-summary.js +2 -1
- package/lib/model/esxi-host-summary.js.map +1 -1
- package/lib/model/esxi-host.d.ts +21 -1
- package/lib/model/esxi-host.js +2 -1
- package/lib/model/esxi-host.js.map +1 -1
- package/lib/model/hcx-license-status.d.ts +2 -1
- package/lib/model/hcx-license-status.js +2 -1
- package/lib/model/hcx-license-status.js.map +1 -1
- package/lib/model/hcx-license-summary.d.ts +2 -1
- package/lib/model/hcx-license-summary.js +2 -1
- package/lib/model/hcx-license-summary.js.map +1 -1
- package/lib/model/index.d.ts +2 -1
- package/lib/model/index.js +2 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/lifecycle-states.d.ts +2 -1
- package/lib/model/lifecycle-states.js +2 -1
- package/lib/model/lifecycle-states.js.map +1 -1
- package/lib/model/operation-status.d.ts +2 -1
- package/lib/model/operation-status.js +2 -1
- package/lib/model/operation-status.js.map +1 -1
- package/lib/model/operation-types.d.ts +2 -1
- package/lib/model/operation-types.js +2 -1
- package/lib/model/operation-types.js.map +1 -1
- package/lib/model/sddc-collection.d.ts +2 -1
- package/lib/model/sddc-collection.js +2 -1
- package/lib/model/sddc-collection.js.map +1 -1
- package/lib/model/sddc-summary.d.ts +2 -1
- package/lib/model/sddc-summary.js +2 -1
- package/lib/model/sddc-summary.js.map +1 -1
- package/lib/model/sddc.d.ts +2 -1
- package/lib/model/sddc.js +2 -1
- package/lib/model/sddc.js.map +1 -1
- package/lib/model/sku.d.ts +2 -1
- package/lib/model/sku.js +2 -1
- package/lib/model/sku.js.map +1 -1
- package/lib/model/sort-orders.d.ts +2 -1
- package/lib/model/sort-orders.js +2 -1
- package/lib/model/sort-orders.js.map +1 -1
- package/lib/model/supported-sku-summary-collection.d.ts +2 -1
- package/lib/model/supported-sku-summary-collection.js +2 -1
- package/lib/model/supported-sku-summary-collection.js.map +1 -1
- package/lib/model/supported-sku-summary.d.ts +2 -1
- package/lib/model/supported-sku-summary.js +2 -1
- package/lib/model/supported-sku-summary.js.map +1 -1
- package/lib/model/supported-vmware-software-version-collection.d.ts +2 -1
- package/lib/model/supported-vmware-software-version-collection.js +2 -1
- package/lib/model/supported-vmware-software-version-collection.js.map +1 -1
- package/lib/model/supported-vmware-software-version-summary.d.ts +2 -1
- package/lib/model/supported-vmware-software-version-summary.js +2 -1
- package/lib/model/supported-vmware-software-version-summary.js.map +1 -1
- package/lib/model/update-esxi-host-details.d.ts +2 -1
- package/lib/model/update-esxi-host-details.js +2 -1
- package/lib/model/update-esxi-host-details.js.map +1 -1
- package/lib/model/update-sddc-details.d.ts +2 -1
- package/lib/model/update-sddc-details.js +2 -1
- package/lib/model/update-sddc-details.js.map +1 -1
- package/lib/model/work-request-collection.d.ts +2 -1
- package/lib/model/work-request-collection.js +2 -1
- package/lib/model/work-request-collection.js.map +1 -1
- package/lib/model/work-request-error-collection.d.ts +2 -1
- package/lib/model/work-request-error-collection.js +2 -1
- package/lib/model/work-request-error-collection.js.map +1 -1
- package/lib/model/work-request-error.d.ts +2 -1
- package/lib/model/work-request-error.js +2 -1
- package/lib/model/work-request-error.js.map +1 -1
- package/lib/model/work-request-log-entry-collection.d.ts +2 -1
- package/lib/model/work-request-log-entry-collection.js +2 -1
- package/lib/model/work-request-log-entry-collection.js.map +1 -1
- package/lib/model/work-request-log-entry.d.ts +2 -1
- package/lib/model/work-request-log-entry.js +2 -1
- package/lib/model/work-request-log-entry.js.map +1 -1
- package/lib/model/work-request-resource.d.ts +2 -1
- package/lib/model/work-request-resource.js +2 -1
- package/lib/model/work-request-resource.js.map +1 -1
- package/lib/model/work-request.d.ts +2 -1
- package/lib/model/work-request.js +2 -1
- package/lib/model/work-request.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 +1 -1
- 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/index.d.ts +2 -1
- package/lib/request/index.js +2 -1
- package/lib/request/index.js.map +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/lib/response/index.d.ts +2 -1
- package/lib/response/index.js +2 -1
- package/lib/response/index.js.map +1 -1
- package/lib/sddc-waiter.d.ts +2 -1
- package/lib/sddc-waiter.js +2 -1
- package/lib/sddc-waiter.js.map +1 -1
- package/lib/workrequest-waiter.d.ts +2 -1
- package/lib/workrequest-waiter.js +2 -1
- package/lib/workrequest-waiter.js.map +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Oracle Cloud VMware Solution API
|
|
4
|
-
* Use
|
|
4
|
+
* Use the Oracle Cloud VMware API to create SDDCs and manage ESXi hosts and software.
|
|
5
|
+
For more information, see [Oracle Cloud VMware Solution](/iaas/Content/VMware/Concepts/ocvsoverview.htm).
|
|
5
6
|
|
|
6
7
|
* OpenAPI spec version: 20200501
|
|
7
8
|
*
|
|
@@ -155,11 +156,11 @@ class EsxiHostClient {
|
|
|
155
156
|
Use the {@link WorkRequest} operations to track the
|
|
156
157
|
* creation of the ESXi host.
|
|
157
158
|
*
|
|
158
|
-
* This operation
|
|
159
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
159
160
|
* @param CreateEsxiHostRequest
|
|
160
161
|
* @return CreateEsxiHostResponse
|
|
161
162
|
* @throws OciError when an error occurs
|
|
162
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
163
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/CreateEsxiHost.ts.html |here} to see how to use CreateEsxiHost API.
|
|
163
164
|
*/
|
|
164
165
|
createEsxiHost(createEsxiHostRequest) {
|
|
165
166
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -172,7 +173,7 @@ class EsxiHostClient {
|
|
|
172
173
|
"opc-retry-token": createEsxiHostRequest.opcRetryToken,
|
|
173
174
|
"opc-request-id": createEsxiHostRequest.opcRequestId
|
|
174
175
|
};
|
|
175
|
-
const specRetryConfiguration = common.
|
|
176
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
176
177
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createEsxiHostRequest.retryConfiguration, specRetryConfiguration);
|
|
177
178
|
if (this.logger)
|
|
178
179
|
retrier.logger = this.logger;
|
|
@@ -226,11 +227,11 @@ class EsxiHostClient {
|
|
|
226
227
|
Use the {@link WorkRequest} operations to track the
|
|
227
228
|
* deletion of the ESXi host.
|
|
228
229
|
*
|
|
229
|
-
* This operation
|
|
230
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
230
231
|
* @param DeleteEsxiHostRequest
|
|
231
232
|
* @return DeleteEsxiHostResponse
|
|
232
233
|
* @throws OciError when an error occurs
|
|
233
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
234
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/DeleteEsxiHost.ts.html |here} to see how to use DeleteEsxiHost API.
|
|
234
235
|
*/
|
|
235
236
|
deleteEsxiHost(deleteEsxiHostRequest) {
|
|
236
237
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -245,7 +246,7 @@ class EsxiHostClient {
|
|
|
245
246
|
"if-match": deleteEsxiHostRequest.ifMatch,
|
|
246
247
|
"opc-request-id": deleteEsxiHostRequest.opcRequestId
|
|
247
248
|
};
|
|
248
|
-
const specRetryConfiguration = common.
|
|
249
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
249
250
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteEsxiHostRequest.retryConfiguration, specRetryConfiguration);
|
|
250
251
|
if (this.logger)
|
|
251
252
|
retrier.logger = this.logger;
|
|
@@ -284,11 +285,11 @@ class EsxiHostClient {
|
|
|
284
285
|
}
|
|
285
286
|
/**
|
|
286
287
|
* Gets the specified ESXi host's information.
|
|
287
|
-
* This operation
|
|
288
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
288
289
|
* @param GetEsxiHostRequest
|
|
289
290
|
* @return GetEsxiHostResponse
|
|
290
291
|
* @throws OciError when an error occurs
|
|
291
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
292
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/GetEsxiHost.ts.html |here} to see how to use GetEsxiHost API.
|
|
292
293
|
*/
|
|
293
294
|
getEsxiHost(getEsxiHostRequest) {
|
|
294
295
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -302,7 +303,7 @@ class EsxiHostClient {
|
|
|
302
303
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
303
304
|
"opc-request-id": getEsxiHostRequest.opcRequestId
|
|
304
305
|
};
|
|
305
|
-
const specRetryConfiguration = common.
|
|
306
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
306
307
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getEsxiHostRequest.retryConfiguration, specRetryConfiguration);
|
|
307
308
|
if (this.logger)
|
|
308
309
|
retrier.logger = this.logger;
|
|
@@ -354,11 +355,11 @@ class EsxiHostClient {
|
|
|
354
355
|
* ESXi hosts, you can specify the OCID of the Compute instance, not the
|
|
355
356
|
* ESXi host OCID.
|
|
356
357
|
*
|
|
357
|
-
* This operation
|
|
358
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
358
359
|
* @param ListEsxiHostsRequest
|
|
359
360
|
* @return ListEsxiHostsResponse
|
|
360
361
|
* @throws OciError when an error occurs
|
|
361
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
362
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/ListEsxiHosts.ts.html |here} to see how to use ListEsxiHosts API.
|
|
362
363
|
*/
|
|
363
364
|
listEsxiHosts(listEsxiHostsRequest) {
|
|
364
365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -379,7 +380,7 @@ class EsxiHostClient {
|
|
|
379
380
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
380
381
|
"opc-request-id": listEsxiHostsRequest.opcRequestId
|
|
381
382
|
};
|
|
382
|
-
const specRetryConfiguration = common.
|
|
383
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
383
384
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEsxiHostsRequest.retryConfiguration, specRetryConfiguration);
|
|
384
385
|
if (this.logger)
|
|
385
386
|
retrier.logger = this.logger;
|
|
@@ -422,11 +423,11 @@ class EsxiHostClient {
|
|
|
422
423
|
}
|
|
423
424
|
/**
|
|
424
425
|
* Updates the specified ESXi host.
|
|
425
|
-
* This operation
|
|
426
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
426
427
|
* @param UpdateEsxiHostRequest
|
|
427
428
|
* @return UpdateEsxiHostResponse
|
|
428
429
|
* @throws OciError when an error occurs
|
|
429
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
430
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/UpdateEsxiHost.ts.html |here} to see how to use UpdateEsxiHost API.
|
|
430
431
|
*/
|
|
431
432
|
updateEsxiHost(updateEsxiHostRequest) {
|
|
432
433
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -441,7 +442,7 @@ class EsxiHostClient {
|
|
|
441
442
|
"if-match": updateEsxiHostRequest.ifMatch,
|
|
442
443
|
"opc-request-id": updateEsxiHostRequest.opcRequestId
|
|
443
444
|
};
|
|
444
|
-
const specRetryConfiguration = common.
|
|
445
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
445
446
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateEsxiHostRequest.retryConfiguration, specRetryConfiguration);
|
|
446
447
|
if (this.logger)
|
|
447
448
|
retrier.logger = this.logger;
|
|
@@ -585,11 +586,11 @@ class SddcClient {
|
|
|
585
586
|
/**
|
|
586
587
|
* Cancel the pending SDDC downgrade from HCX Enterprise to HCX Advanced.
|
|
587
588
|
*
|
|
588
|
-
* This operation
|
|
589
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
589
590
|
* @param CancelDowngradeHcxRequest
|
|
590
591
|
* @return CancelDowngradeHcxResponse
|
|
591
592
|
* @throws OciError when an error occurs
|
|
592
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
593
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/CancelDowngradeHcx.ts.html |here} to see how to use CancelDowngradeHcx API.
|
|
593
594
|
*/
|
|
594
595
|
cancelDowngradeHcx(cancelDowngradeHcxRequest) {
|
|
595
596
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -605,7 +606,7 @@ class SddcClient {
|
|
|
605
606
|
"if-match": cancelDowngradeHcxRequest.ifMatch,
|
|
606
607
|
"opc-request-id": cancelDowngradeHcxRequest.opcRequestId
|
|
607
608
|
};
|
|
608
|
-
const specRetryConfiguration = common.
|
|
609
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
609
610
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelDowngradeHcxRequest.retryConfiguration, specRetryConfiguration);
|
|
610
611
|
if (this.logger)
|
|
611
612
|
retrier.logger = this.logger;
|
|
@@ -647,11 +648,11 @@ class SddcClient {
|
|
|
647
648
|
* about moving resources between compartments, see
|
|
648
649
|
* [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
649
650
|
*
|
|
650
|
-
* This operation
|
|
651
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
651
652
|
* @param ChangeSddcCompartmentRequest
|
|
652
653
|
* @return ChangeSddcCompartmentResponse
|
|
653
654
|
* @throws OciError when an error occurs
|
|
654
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
655
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/ChangeSddcCompartment.ts.html |here} to see how to use ChangeSddcCompartment API.
|
|
655
656
|
*/
|
|
656
657
|
changeSddcCompartment(changeSddcCompartmentRequest) {
|
|
657
658
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -667,7 +668,7 @@ class SddcClient {
|
|
|
667
668
|
"opc-request-id": changeSddcCompartmentRequest.opcRequestId,
|
|
668
669
|
"opc-retry-token": changeSddcCompartmentRequest.opcRetryToken
|
|
669
670
|
};
|
|
670
|
-
const specRetryConfiguration = common.
|
|
671
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
671
672
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSddcCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
672
673
|
if (this.logger)
|
|
673
674
|
retrier.logger = this.logger;
|
|
@@ -708,11 +709,11 @@ class SddcClient {
|
|
|
708
709
|
* <p>
|
|
709
710
|
**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.
|
|
710
711
|
*
|
|
711
|
-
* This operation
|
|
712
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
712
713
|
* @param CreateSddcRequest
|
|
713
714
|
* @return CreateSddcResponse
|
|
714
715
|
* @throws OciError when an error occurs
|
|
715
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
716
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/CreateSddc.ts.html |here} to see how to use CreateSddc API.
|
|
716
717
|
*/
|
|
717
718
|
createSddc(createSddcRequest) {
|
|
718
719
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -725,7 +726,7 @@ class SddcClient {
|
|
|
725
726
|
"opc-retry-token": createSddcRequest.opcRetryToken,
|
|
726
727
|
"opc-request-id": createSddcRequest.opcRequestId
|
|
727
728
|
};
|
|
728
|
-
const specRetryConfiguration = common.
|
|
729
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
729
730
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSddcRequest.retryConfiguration, specRetryConfiguration);
|
|
730
731
|
if (this.logger)
|
|
731
732
|
retrier.logger = this.logger;
|
|
@@ -771,11 +772,11 @@ class SddcClient {
|
|
|
771
772
|
Use the {@link WorkRequest} operations to track the
|
|
772
773
|
* deletion of the SDDC.
|
|
773
774
|
*
|
|
774
|
-
* This operation
|
|
775
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
775
776
|
* @param DeleteSddcRequest
|
|
776
777
|
* @return DeleteSddcResponse
|
|
777
778
|
* @throws OciError when an error occurs
|
|
778
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
779
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/DeleteSddc.ts.html |here} to see how to use DeleteSddc API.
|
|
779
780
|
*/
|
|
780
781
|
deleteSddc(deleteSddcRequest) {
|
|
781
782
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -790,7 +791,7 @@ class SddcClient {
|
|
|
790
791
|
"if-match": deleteSddcRequest.ifMatch,
|
|
791
792
|
"opc-request-id": deleteSddcRequest.opcRequestId
|
|
792
793
|
};
|
|
793
|
-
const specRetryConfiguration = common.
|
|
794
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
794
795
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSddcRequest.retryConfiguration, specRetryConfiguration);
|
|
795
796
|
if (this.logger)
|
|
796
797
|
retrier.logger = this.logger;
|
|
@@ -833,11 +834,11 @@ class SddcClient {
|
|
|
833
834
|
* Downgrade remains in a `PENDING` state until the end of the current billing cycle. You can use {@link #cancelDowngradeHcx(CancelDowngradeHcxRequest) cancelDowngradeHcx}
|
|
834
835
|
* to cancel the downgrade while it's still in a `PENDING` state.
|
|
835
836
|
*
|
|
836
|
-
* This operation
|
|
837
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
837
838
|
* @param DowngradeHcxRequest
|
|
838
839
|
* @return DowngradeHcxResponse
|
|
839
840
|
* @throws OciError when an error occurs
|
|
840
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
841
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/DowngradeHcx.ts.html |here} to see how to use DowngradeHcx API.
|
|
841
842
|
*/
|
|
842
843
|
downgradeHcx(downgradeHcxRequest) {
|
|
843
844
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -853,7 +854,7 @@ class SddcClient {
|
|
|
853
854
|
"if-match": downgradeHcxRequest.ifMatch,
|
|
854
855
|
"opc-request-id": downgradeHcxRequest.opcRequestId
|
|
855
856
|
};
|
|
856
|
-
const specRetryConfiguration = common.
|
|
857
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
857
858
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, downgradeHcxRequest.retryConfiguration, specRetryConfiguration);
|
|
858
859
|
if (this.logger)
|
|
859
860
|
retrier.logger = this.logger;
|
|
@@ -893,11 +894,11 @@ class SddcClient {
|
|
|
893
894
|
}
|
|
894
895
|
/**
|
|
895
896
|
* Gets the specified SDDC's information.
|
|
896
|
-
* This operation
|
|
897
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
897
898
|
* @param GetSddcRequest
|
|
898
899
|
* @return GetSddcResponse
|
|
899
900
|
* @throws OciError when an error occurs
|
|
900
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
901
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/GetSddc.ts.html |here} to see how to use GetSddc API.
|
|
901
902
|
*/
|
|
902
903
|
getSddc(getSddcRequest) {
|
|
903
904
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -911,7 +912,7 @@ class SddcClient {
|
|
|
911
912
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
912
913
|
"opc-request-id": getSddcRequest.opcRequestId
|
|
913
914
|
};
|
|
914
|
-
const specRetryConfiguration = common.
|
|
915
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
915
916
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSddcRequest.retryConfiguration, specRetryConfiguration);
|
|
916
917
|
if (this.logger)
|
|
917
918
|
retrier.logger = this.logger;
|
|
@@ -956,11 +957,11 @@ class SddcClient {
|
|
|
956
957
|
* Lists the SDDCs in the specified compartment. The list can be
|
|
957
958
|
* filtered by display name or availability domain.
|
|
958
959
|
*
|
|
959
|
-
* This operation
|
|
960
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
960
961
|
* @param ListSddcsRequest
|
|
961
962
|
* @return ListSddcsResponse
|
|
962
963
|
* @throws OciError when an error occurs
|
|
963
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
964
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/ListSddcs.ts.html |here} to see how to use ListSddcs API.
|
|
964
965
|
*/
|
|
965
966
|
listSddcs(listSddcsRequest) {
|
|
966
967
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -981,7 +982,7 @@ class SddcClient {
|
|
|
981
982
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
982
983
|
"opc-request-id": listSddcsRequest.opcRequestId
|
|
983
984
|
};
|
|
984
|
-
const specRetryConfiguration = common.
|
|
985
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
985
986
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSddcsRequest.retryConfiguration, specRetryConfiguration);
|
|
986
987
|
if (this.logger)
|
|
987
988
|
retrier.logger = this.logger;
|
|
@@ -1025,11 +1026,11 @@ class SddcClient {
|
|
|
1025
1026
|
/**
|
|
1026
1027
|
* Lists supported SKUs.
|
|
1027
1028
|
*
|
|
1028
|
-
* This operation
|
|
1029
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1029
1030
|
* @param ListSupportedSkusRequest
|
|
1030
1031
|
* @return ListSupportedSkusResponse
|
|
1031
1032
|
* @throws OciError when an error occurs
|
|
1032
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1033
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/ListSupportedSkus.ts.html |here} to see how to use ListSupportedSkus API.
|
|
1033
1034
|
*/
|
|
1034
1035
|
listSupportedSkus(listSupportedSkusRequest) {
|
|
1035
1036
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1045,7 +1046,7 @@ class SddcClient {
|
|
|
1045
1046
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1046
1047
|
"opc-request-id": listSupportedSkusRequest.opcRequestId
|
|
1047
1048
|
};
|
|
1048
|
-
const specRetryConfiguration = common.
|
|
1049
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1049
1050
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSupportedSkusRequest.retryConfiguration, specRetryConfiguration);
|
|
1050
1051
|
if (this.logger)
|
|
1051
1052
|
retrier.logger = this.logger;
|
|
@@ -1090,11 +1091,11 @@ class SddcClient {
|
|
|
1090
1091
|
* Lists the versions of bundled VMware software supported by the Oracle Cloud
|
|
1091
1092
|
* VMware Solution.
|
|
1092
1093
|
*
|
|
1093
|
-
* This operation
|
|
1094
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1094
1095
|
* @param ListSupportedVmwareSoftwareVersionsRequest
|
|
1095
1096
|
* @return ListSupportedVmwareSoftwareVersionsResponse
|
|
1096
1097
|
* @throws OciError when an error occurs
|
|
1097
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1098
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/ListSupportedVmwareSoftwareVersions.ts.html |here} to see how to use ListSupportedVmwareSoftwareVersions API.
|
|
1098
1099
|
*/
|
|
1099
1100
|
listSupportedVmwareSoftwareVersions(listSupportedVmwareSoftwareVersionsRequest) {
|
|
1100
1101
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1110,7 +1111,7 @@ class SddcClient {
|
|
|
1110
1111
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1111
1112
|
"opc-request-id": listSupportedVmwareSoftwareVersionsRequest.opcRequestId
|
|
1112
1113
|
};
|
|
1113
|
-
const specRetryConfiguration = common.
|
|
1114
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1114
1115
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSupportedVmwareSoftwareVersionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1115
1116
|
if (this.logger)
|
|
1116
1117
|
retrier.logger = this.logger;
|
|
@@ -1153,11 +1154,11 @@ class SddcClient {
|
|
|
1153
1154
|
}
|
|
1154
1155
|
/**
|
|
1155
1156
|
* Refresh HCX on-premise licenses status of the specified SDDC.
|
|
1156
|
-
* This operation
|
|
1157
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1157
1158
|
* @param RefreshHcxLicenseStatusRequest
|
|
1158
1159
|
* @return RefreshHcxLicenseStatusResponse
|
|
1159
1160
|
* @throws OciError when an error occurs
|
|
1160
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/RefreshHcxLicenseStatus.ts.html |here} to see how to use RefreshHcxLicenseStatus API.
|
|
1161
1162
|
*/
|
|
1162
1163
|
refreshHcxLicenseStatus(refreshHcxLicenseStatusRequest) {
|
|
1163
1164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1173,7 +1174,7 @@ class SddcClient {
|
|
|
1173
1174
|
"if-match": refreshHcxLicenseStatusRequest.ifMatch,
|
|
1174
1175
|
"opc-request-id": refreshHcxLicenseStatusRequest.opcRequestId
|
|
1175
1176
|
};
|
|
1176
|
-
const specRetryConfiguration = common.
|
|
1177
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1177
1178
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, refreshHcxLicenseStatusRequest.retryConfiguration, specRetryConfiguration);
|
|
1178
1179
|
if (this.logger)
|
|
1179
1180
|
retrier.logger = this.logger;
|
|
@@ -1218,11 +1219,11 @@ class SddcClient {
|
|
|
1218
1219
|
* the SDDC. For more information, see
|
|
1219
1220
|
* {@link #updateSddcDetails(UpdateSddcDetailsRequest) updateSddcDetails}.
|
|
1220
1221
|
*
|
|
1221
|
-
* This operation
|
|
1222
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1222
1223
|
* @param UpdateSddcRequest
|
|
1223
1224
|
* @return UpdateSddcResponse
|
|
1224
1225
|
* @throws OciError when an error occurs
|
|
1225
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1226
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/UpdateSddc.ts.html |here} to see how to use UpdateSddc API.
|
|
1226
1227
|
*/
|
|
1227
1228
|
updateSddc(updateSddcRequest) {
|
|
1228
1229
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1237,7 +1238,7 @@ class SddcClient {
|
|
|
1237
1238
|
"if-match": updateSddcRequest.ifMatch,
|
|
1238
1239
|
"opc-request-id": updateSddcRequest.opcRequestId
|
|
1239
1240
|
};
|
|
1240
|
-
const specRetryConfiguration = common.
|
|
1241
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1241
1242
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSddcRequest.retryConfiguration, specRetryConfiguration);
|
|
1242
1243
|
if (this.logger)
|
|
1243
1244
|
retrier.logger = this.logger;
|
|
@@ -1282,11 +1283,11 @@ class SddcClient {
|
|
|
1282
1283
|
/**
|
|
1283
1284
|
* Upgrade the specified SDDC from HCX Advanced to HCX Enterprise.
|
|
1284
1285
|
*
|
|
1285
|
-
* This operation
|
|
1286
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1286
1287
|
* @param UpgradeHcxRequest
|
|
1287
1288
|
* @return UpgradeHcxResponse
|
|
1288
1289
|
* @throws OciError when an error occurs
|
|
1289
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1290
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/UpgradeHcx.ts.html |here} to see how to use UpgradeHcx API.
|
|
1290
1291
|
*/
|
|
1291
1292
|
upgradeHcx(upgradeHcxRequest) {
|
|
1292
1293
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1302,7 +1303,7 @@ class SddcClient {
|
|
|
1302
1303
|
"if-match": upgradeHcxRequest.ifMatch,
|
|
1303
1304
|
"opc-request-id": upgradeHcxRequest.opcRequestId
|
|
1304
1305
|
};
|
|
1305
|
-
const specRetryConfiguration = common.
|
|
1306
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1306
1307
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, upgradeHcxRequest.retryConfiguration, specRetryConfiguration);
|
|
1307
1308
|
if (this.logger)
|
|
1308
1309
|
retrier.logger = this.logger;
|
|
@@ -1440,11 +1441,11 @@ class WorkRequestClient {
|
|
|
1440
1441
|
}
|
|
1441
1442
|
/**
|
|
1442
1443
|
* Gets the specified work request's information.
|
|
1443
|
-
* This operation
|
|
1444
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1444
1445
|
* @param GetWorkRequestRequest
|
|
1445
1446
|
* @return GetWorkRequestResponse
|
|
1446
1447
|
* @throws OciError when an error occurs
|
|
1447
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1448
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1448
1449
|
*/
|
|
1449
1450
|
getWorkRequest(getWorkRequestRequest) {
|
|
1450
1451
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1458,7 +1459,7 @@ class WorkRequestClient {
|
|
|
1458
1459
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1459
1460
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
1460
1461
|
};
|
|
1461
|
-
const specRetryConfiguration = common.
|
|
1462
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1462
1463
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1463
1464
|
if (this.logger)
|
|
1464
1465
|
retrier.logger = this.logger;
|
|
@@ -1502,11 +1503,11 @@ class WorkRequestClient {
|
|
|
1502
1503
|
/**
|
|
1503
1504
|
* Lists the errors for the specified work request.
|
|
1504
1505
|
*
|
|
1505
|
-
* This operation
|
|
1506
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1506
1507
|
* @param ListWorkRequestErrorsRequest
|
|
1507
1508
|
* @return ListWorkRequestErrorsResponse
|
|
1508
1509
|
* @throws OciError when an error occurs
|
|
1509
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1510
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1510
1511
|
*/
|
|
1511
1512
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1512
1513
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1523,7 +1524,7 @@ class WorkRequestClient {
|
|
|
1523
1524
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1524
1525
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
1525
1526
|
};
|
|
1526
|
-
const specRetryConfiguration = common.
|
|
1527
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1527
1528
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1528
1529
|
if (this.logger)
|
|
1529
1530
|
retrier.logger = this.logger;
|
|
@@ -1567,11 +1568,11 @@ class WorkRequestClient {
|
|
|
1567
1568
|
/**
|
|
1568
1569
|
* Lists the logs for the specified work request.
|
|
1569
1570
|
*
|
|
1570
|
-
* This operation
|
|
1571
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1571
1572
|
* @param ListWorkRequestLogsRequest
|
|
1572
1573
|
* @return ListWorkRequestLogsResponse
|
|
1573
1574
|
* @throws OciError when an error occurs
|
|
1574
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1575
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1575
1576
|
*/
|
|
1576
1577
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1577
1578
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1588,7 +1589,7 @@ class WorkRequestClient {
|
|
|
1588
1589
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1589
1590
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1590
1591
|
};
|
|
1591
|
-
const specRetryConfiguration = common.
|
|
1592
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1592
1593
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1593
1594
|
if (this.logger)
|
|
1594
1595
|
retrier.logger = this.logger;
|
|
@@ -1632,11 +1633,11 @@ class WorkRequestClient {
|
|
|
1632
1633
|
/**
|
|
1633
1634
|
* Lists the work requests in the specified compartment.
|
|
1634
1635
|
*
|
|
1635
|
-
* This operation
|
|
1636
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1636
1637
|
* @param ListWorkRequestsRequest
|
|
1637
1638
|
* @return ListWorkRequestsResponse
|
|
1638
1639
|
* @throws OciError when an error occurs
|
|
1639
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1640
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ocvp/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1640
1641
|
*/
|
|
1641
1642
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1642
1643
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1653,7 +1654,7 @@ class WorkRequestClient {
|
|
|
1653
1654
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1654
1655
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1655
1656
|
};
|
|
1656
|
-
const specRetryConfiguration = common.
|
|
1657
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1657
1658
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1658
1659
|
if (this.logger)
|
|
1659
1660
|
retrier.logger = this.logger;
|