oci-ocvp 2.79.0 → 2.79.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +31 -35
- package/lib/client.js +70 -183
- package/lib/client.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-cluster-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-cluster-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-cluster-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/inplace-upgrade-request.d.ts +1 -1
- package/lib/request/list-clusters-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-commitments-request.d.ts +1 -1
- package/lib/request/list-supported-host-shapes-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/replace-host-request.d.ts +1 -1
- package/lib/request/retrieve-password-request.d.ts +1 -1
- package/lib/request/swap-billing-request.d.ts +1 -1
- package/lib/request/update-cluster-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
|
@@ -121,11 +121,7 @@ class ClusterClient {
|
|
|
121
121
|
set endpoint(endpoint) {
|
|
122
122
|
this._endpoint = endpoint;
|
|
123
123
|
this._endpoint = this._endpoint + "/20230701";
|
|
124
|
-
|
|
125
|
-
this.logger.info(`ClusterClient endpoint set to ${this._endpoint}`);
|
|
126
|
-
}
|
|
127
|
-
get logger() {
|
|
128
|
-
return common.LOG.logger;
|
|
124
|
+
oci_common_1.logger.info(`ClusterClient endpoint set to ${this._endpoint}`);
|
|
129
125
|
}
|
|
130
126
|
/**
|
|
131
127
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -134,8 +130,7 @@ class ClusterClient {
|
|
|
134
130
|
*/
|
|
135
131
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
136
132
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
137
|
-
|
|
138
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
133
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
139
134
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
140
135
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ClusterClient.serviceEndpointTemplate, this._region, ClusterClient.endpointServiceName);
|
|
141
136
|
}
|
|
@@ -207,12 +202,11 @@ class ClusterClient {
|
|
|
207
202
|
* @param CreateClusterRequest
|
|
208
203
|
* @return CreateClusterResponse
|
|
209
204
|
* @throws OciError when an error occurs
|
|
210
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
205
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/CreateCluster.ts.html |here} to see how to use CreateCluster API.
|
|
211
206
|
*/
|
|
212
207
|
createCluster(createClusterRequest) {
|
|
213
208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
214
|
-
|
|
215
|
-
this.logger.debug("Calling operation ClusterClient#createCluster.");
|
|
209
|
+
oci_common_1.logger.debug("Calling operation ClusterClient#createCluster.");
|
|
216
210
|
const operationName = "createCluster";
|
|
217
211
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Cluster/CreateCluster";
|
|
218
212
|
const pathParams = {};
|
|
@@ -224,8 +218,6 @@ class ClusterClient {
|
|
|
224
218
|
};
|
|
225
219
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
226
220
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
227
|
-
if (this.logger)
|
|
228
|
-
retrier.logger = this.logger;
|
|
229
221
|
const request = yield oci_common_1.composeRequest({
|
|
230
222
|
baseEndpoint: this._endpoint,
|
|
231
223
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -272,12 +264,11 @@ class ClusterClient {
|
|
|
272
264
|
* @param DeleteClusterRequest
|
|
273
265
|
* @return DeleteClusterResponse
|
|
274
266
|
* @throws OciError when an error occurs
|
|
275
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
267
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/DeleteCluster.ts.html |here} to see how to use DeleteCluster API.
|
|
276
268
|
*/
|
|
277
269
|
deleteCluster(deleteClusterRequest) {
|
|
278
270
|
return __awaiter(this, void 0, void 0, function* () {
|
|
279
|
-
|
|
280
|
-
this.logger.debug("Calling operation ClusterClient#deleteCluster.");
|
|
271
|
+
oci_common_1.logger.debug("Calling operation ClusterClient#deleteCluster.");
|
|
281
272
|
const operationName = "deleteCluster";
|
|
282
273
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Cluster/DeleteCluster";
|
|
283
274
|
const pathParams = {
|
|
@@ -291,8 +282,6 @@ class ClusterClient {
|
|
|
291
282
|
};
|
|
292
283
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
293
284
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
294
|
-
if (this.logger)
|
|
295
|
-
retrier.logger = this.logger;
|
|
296
285
|
const request = yield oci_common_1.composeRequest({
|
|
297
286
|
baseEndpoint: this._endpoint,
|
|
298
287
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -332,12 +321,11 @@ class ClusterClient {
|
|
|
332
321
|
* @param GetClusterRequest
|
|
333
322
|
* @return GetClusterResponse
|
|
334
323
|
* @throws OciError when an error occurs
|
|
335
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
324
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/GetCluster.ts.html |here} to see how to use GetCluster API.
|
|
336
325
|
*/
|
|
337
326
|
getCluster(getClusterRequest) {
|
|
338
327
|
return __awaiter(this, void 0, void 0, function* () {
|
|
339
|
-
|
|
340
|
-
this.logger.debug("Calling operation ClusterClient#getCluster.");
|
|
328
|
+
oci_common_1.logger.debug("Calling operation ClusterClient#getCluster.");
|
|
341
329
|
const operationName = "getCluster";
|
|
342
330
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Cluster/GetCluster";
|
|
343
331
|
const pathParams = {
|
|
@@ -350,8 +338,6 @@ class ClusterClient {
|
|
|
350
338
|
};
|
|
351
339
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
352
340
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
353
|
-
if (this.logger)
|
|
354
|
-
retrier.logger = this.logger;
|
|
355
341
|
const request = yield oci_common_1.composeRequest({
|
|
356
342
|
baseEndpoint: this._endpoint,
|
|
357
343
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -396,12 +382,11 @@ class ClusterClient {
|
|
|
396
382
|
* @param ListClustersRequest
|
|
397
383
|
* @return ListClustersResponse
|
|
398
384
|
* @throws OciError when an error occurs
|
|
399
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
385
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/ListClusters.ts.html |here} to see how to use ListClusters API.
|
|
400
386
|
*/
|
|
401
387
|
listClusters(listClustersRequest) {
|
|
402
388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
403
|
-
|
|
404
|
-
this.logger.debug("Calling operation ClusterClient#listClusters.");
|
|
389
|
+
oci_common_1.logger.debug("Calling operation ClusterClient#listClusters.");
|
|
405
390
|
const operationName = "listClusters";
|
|
406
391
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/ClusterSummary/ListClusters";
|
|
407
392
|
const pathParams = {};
|
|
@@ -421,8 +406,6 @@ class ClusterClient {
|
|
|
421
406
|
};
|
|
422
407
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
423
408
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listClustersRequest.retryConfiguration, specRetryConfiguration);
|
|
424
|
-
if (this.logger)
|
|
425
|
-
retrier.logger = this.logger;
|
|
426
409
|
const request = yield oci_common_1.composeRequest({
|
|
427
410
|
baseEndpoint: this._endpoint,
|
|
428
411
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -471,12 +454,11 @@ class ClusterClient {
|
|
|
471
454
|
* @param UpdateClusterRequest
|
|
472
455
|
* @return UpdateClusterResponse
|
|
473
456
|
* @throws OciError when an error occurs
|
|
474
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
457
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/UpdateCluster.ts.html |here} to see how to use UpdateCluster API.
|
|
475
458
|
*/
|
|
476
459
|
updateCluster(updateClusterRequest) {
|
|
477
460
|
return __awaiter(this, void 0, void 0, function* () {
|
|
478
|
-
|
|
479
|
-
this.logger.debug("Calling operation ClusterClient#updateCluster.");
|
|
461
|
+
oci_common_1.logger.debug("Calling operation ClusterClient#updateCluster.");
|
|
480
462
|
const operationName = "updateCluster";
|
|
481
463
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Cluster/UpdateCluster";
|
|
482
464
|
const pathParams = {
|
|
@@ -490,8 +472,6 @@ class ClusterClient {
|
|
|
490
472
|
};
|
|
491
473
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
492
474
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
493
|
-
if (this.logger)
|
|
494
|
-
retrier.logger = this.logger;
|
|
495
475
|
const request = yield oci_common_1.composeRequest({
|
|
496
476
|
baseEndpoint: this._endpoint,
|
|
497
477
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -601,11 +581,7 @@ class EsxiHostClient {
|
|
|
601
581
|
set endpoint(endpoint) {
|
|
602
582
|
this._endpoint = endpoint;
|
|
603
583
|
this._endpoint = this._endpoint + "/20230701";
|
|
604
|
-
|
|
605
|
-
this.logger.info(`EsxiHostClient endpoint set to ${this._endpoint}`);
|
|
606
|
-
}
|
|
607
|
-
get logger() {
|
|
608
|
-
return common.LOG.logger;
|
|
584
|
+
oci_common_1.logger.info(`EsxiHostClient endpoint set to ${this._endpoint}`);
|
|
609
585
|
}
|
|
610
586
|
/**
|
|
611
587
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -614,8 +590,7 @@ class EsxiHostClient {
|
|
|
614
590
|
*/
|
|
615
591
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
616
592
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
617
|
-
|
|
618
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
593
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
619
594
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
620
595
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(EsxiHostClient.serviceEndpointTemplate, this._region, EsxiHostClient.endpointServiceName);
|
|
621
596
|
}
|
|
@@ -687,12 +662,11 @@ class EsxiHostClient {
|
|
|
687
662
|
* @param CreateEsxiHostRequest
|
|
688
663
|
* @return CreateEsxiHostResponse
|
|
689
664
|
* @throws OciError when an error occurs
|
|
690
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
665
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/CreateEsxiHost.ts.html |here} to see how to use CreateEsxiHost API.
|
|
691
666
|
*/
|
|
692
667
|
createEsxiHost(createEsxiHostRequest) {
|
|
693
668
|
return __awaiter(this, void 0, void 0, function* () {
|
|
694
|
-
|
|
695
|
-
this.logger.debug("Calling operation EsxiHostClient#createEsxiHost.");
|
|
669
|
+
oci_common_1.logger.debug("Calling operation EsxiHostClient#createEsxiHost.");
|
|
696
670
|
const operationName = "createEsxiHost";
|
|
697
671
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHost/CreateEsxiHost";
|
|
698
672
|
const pathParams = {};
|
|
@@ -704,8 +678,6 @@ class EsxiHostClient {
|
|
|
704
678
|
};
|
|
705
679
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
706
680
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createEsxiHostRequest.retryConfiguration, specRetryConfiguration);
|
|
707
|
-
if (this.logger)
|
|
708
|
-
retrier.logger = this.logger;
|
|
709
681
|
const request = yield oci_common_1.composeRequest({
|
|
710
682
|
baseEndpoint: this._endpoint,
|
|
711
683
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -760,12 +732,11 @@ class EsxiHostClient {
|
|
|
760
732
|
* @param DeleteEsxiHostRequest
|
|
761
733
|
* @return DeleteEsxiHostResponse
|
|
762
734
|
* @throws OciError when an error occurs
|
|
763
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
735
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/DeleteEsxiHost.ts.html |here} to see how to use DeleteEsxiHost API.
|
|
764
736
|
*/
|
|
765
737
|
deleteEsxiHost(deleteEsxiHostRequest) {
|
|
766
738
|
return __awaiter(this, void 0, void 0, function* () {
|
|
767
|
-
|
|
768
|
-
this.logger.debug("Calling operation EsxiHostClient#deleteEsxiHost.");
|
|
739
|
+
oci_common_1.logger.debug("Calling operation EsxiHostClient#deleteEsxiHost.");
|
|
769
740
|
const operationName = "deleteEsxiHost";
|
|
770
741
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHost/DeleteEsxiHost";
|
|
771
742
|
const pathParams = {
|
|
@@ -779,8 +750,6 @@ class EsxiHostClient {
|
|
|
779
750
|
};
|
|
780
751
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
781
752
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteEsxiHostRequest.retryConfiguration, specRetryConfiguration);
|
|
782
|
-
if (this.logger)
|
|
783
|
-
retrier.logger = this.logger;
|
|
784
753
|
const request = yield oci_common_1.composeRequest({
|
|
785
754
|
baseEndpoint: this._endpoint,
|
|
786
755
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -820,12 +789,11 @@ class EsxiHostClient {
|
|
|
820
789
|
* @param GetEsxiHostRequest
|
|
821
790
|
* @return GetEsxiHostResponse
|
|
822
791
|
* @throws OciError when an error occurs
|
|
823
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
792
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/GetEsxiHost.ts.html |here} to see how to use GetEsxiHost API.
|
|
824
793
|
*/
|
|
825
794
|
getEsxiHost(getEsxiHostRequest) {
|
|
826
795
|
return __awaiter(this, void 0, void 0, function* () {
|
|
827
|
-
|
|
828
|
-
this.logger.debug("Calling operation EsxiHostClient#getEsxiHost.");
|
|
796
|
+
oci_common_1.logger.debug("Calling operation EsxiHostClient#getEsxiHost.");
|
|
829
797
|
const operationName = "getEsxiHost";
|
|
830
798
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHost/GetEsxiHost";
|
|
831
799
|
const pathParams = {
|
|
@@ -838,8 +806,6 @@ class EsxiHostClient {
|
|
|
838
806
|
};
|
|
839
807
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
840
808
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getEsxiHostRequest.retryConfiguration, specRetryConfiguration);
|
|
841
|
-
if (this.logger)
|
|
842
|
-
retrier.logger = this.logger;
|
|
843
809
|
const request = yield oci_common_1.composeRequest({
|
|
844
810
|
baseEndpoint: this._endpoint,
|
|
845
811
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -884,12 +850,11 @@ class EsxiHostClient {
|
|
|
884
850
|
* @param InplaceUpgradeRequest
|
|
885
851
|
* @return InplaceUpgradeResponse
|
|
886
852
|
* @throws OciError when an error occurs
|
|
887
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
853
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/InplaceUpgrade.ts.html |here} to see how to use InplaceUpgrade API.
|
|
888
854
|
*/
|
|
889
855
|
inplaceUpgrade(inplaceUpgradeRequest) {
|
|
890
856
|
return __awaiter(this, void 0, void 0, function* () {
|
|
891
|
-
|
|
892
|
-
this.logger.debug("Calling operation EsxiHostClient#inplaceUpgrade.");
|
|
857
|
+
oci_common_1.logger.debug("Calling operation EsxiHostClient#inplaceUpgrade.");
|
|
893
858
|
const operationName = "inplaceUpgrade";
|
|
894
859
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHost/InplaceUpgrade";
|
|
895
860
|
const pathParams = {
|
|
@@ -904,8 +869,6 @@ class EsxiHostClient {
|
|
|
904
869
|
};
|
|
905
870
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
906
871
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, inplaceUpgradeRequest.retryConfiguration, specRetryConfiguration);
|
|
907
|
-
if (this.logger)
|
|
908
|
-
retrier.logger = this.logger;
|
|
909
872
|
const request = yield oci_common_1.composeRequest({
|
|
910
873
|
baseEndpoint: this._endpoint,
|
|
911
874
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -954,12 +917,11 @@ class EsxiHostClient {
|
|
|
954
917
|
* @param ListEsxiHostsRequest
|
|
955
918
|
* @return ListEsxiHostsResponse
|
|
956
919
|
* @throws OciError when an error occurs
|
|
957
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
920
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/ListEsxiHosts.ts.html |here} to see how to use ListEsxiHosts API.
|
|
958
921
|
*/
|
|
959
922
|
listEsxiHosts(listEsxiHostsRequest) {
|
|
960
923
|
return __awaiter(this, void 0, void 0, function* () {
|
|
961
|
-
|
|
962
|
-
this.logger.debug("Calling operation EsxiHostClient#listEsxiHosts.");
|
|
924
|
+
oci_common_1.logger.debug("Calling operation EsxiHostClient#listEsxiHosts.");
|
|
963
925
|
const operationName = "listEsxiHosts";
|
|
964
926
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHostSummary/ListEsxiHosts";
|
|
965
927
|
const pathParams = {};
|
|
@@ -983,8 +945,6 @@ class EsxiHostClient {
|
|
|
983
945
|
};
|
|
984
946
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
985
947
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEsxiHostsRequest.retryConfiguration, specRetryConfiguration);
|
|
986
|
-
if (this.logger)
|
|
987
|
-
retrier.logger = this.logger;
|
|
988
948
|
const request = yield oci_common_1.composeRequest({
|
|
989
949
|
baseEndpoint: this._endpoint,
|
|
990
950
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1029,12 +989,11 @@ class EsxiHostClient {
|
|
|
1029
989
|
* @param ReplaceHostRequest
|
|
1030
990
|
* @return ReplaceHostResponse
|
|
1031
991
|
* @throws OciError when an error occurs
|
|
1032
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
992
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/ReplaceHost.ts.html |here} to see how to use ReplaceHost API.
|
|
1033
993
|
*/
|
|
1034
994
|
replaceHost(replaceHostRequest) {
|
|
1035
995
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1036
|
-
|
|
1037
|
-
this.logger.debug("Calling operation EsxiHostClient#replaceHost.");
|
|
996
|
+
oci_common_1.logger.debug("Calling operation EsxiHostClient#replaceHost.");
|
|
1038
997
|
const operationName = "replaceHost";
|
|
1039
998
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHost/ReplaceHost";
|
|
1040
999
|
const pathParams = {
|
|
@@ -1049,8 +1008,6 @@ class EsxiHostClient {
|
|
|
1049
1008
|
};
|
|
1050
1009
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1051
1010
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, replaceHostRequest.retryConfiguration, specRetryConfiguration);
|
|
1052
|
-
if (this.logger)
|
|
1053
|
-
retrier.logger = this.logger;
|
|
1054
1011
|
const request = yield oci_common_1.composeRequest({
|
|
1055
1012
|
baseEndpoint: this._endpoint,
|
|
1056
1013
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1092,12 +1049,11 @@ class EsxiHostClient {
|
|
|
1092
1049
|
* @param SwapBillingRequest
|
|
1093
1050
|
* @return SwapBillingResponse
|
|
1094
1051
|
* @throws OciError when an error occurs
|
|
1095
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1052
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/SwapBilling.ts.html |here} to see how to use SwapBilling API.
|
|
1096
1053
|
*/
|
|
1097
1054
|
swapBilling(swapBillingRequest) {
|
|
1098
1055
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1099
|
-
|
|
1100
|
-
this.logger.debug("Calling operation EsxiHostClient#swapBilling.");
|
|
1056
|
+
oci_common_1.logger.debug("Calling operation EsxiHostClient#swapBilling.");
|
|
1101
1057
|
const operationName = "swapBilling";
|
|
1102
1058
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHost/SwapBilling";
|
|
1103
1059
|
const pathParams = {
|
|
@@ -1114,8 +1070,6 @@ class EsxiHostClient {
|
|
|
1114
1070
|
};
|
|
1115
1071
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1116
1072
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, swapBillingRequest.retryConfiguration, specRetryConfiguration);
|
|
1117
|
-
if (this.logger)
|
|
1118
|
-
retrier.logger = this.logger;
|
|
1119
1073
|
const request = yield oci_common_1.composeRequest({
|
|
1120
1074
|
baseEndpoint: this._endpoint,
|
|
1121
1075
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1155,12 +1109,11 @@ class EsxiHostClient {
|
|
|
1155
1109
|
* @param UpdateEsxiHostRequest
|
|
1156
1110
|
* @return UpdateEsxiHostResponse
|
|
1157
1111
|
* @throws OciError when an error occurs
|
|
1158
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1112
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/UpdateEsxiHost.ts.html |here} to see how to use UpdateEsxiHost API.
|
|
1159
1113
|
*/
|
|
1160
1114
|
updateEsxiHost(updateEsxiHostRequest) {
|
|
1161
1115
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1162
|
-
|
|
1163
|
-
this.logger.debug("Calling operation EsxiHostClient#updateEsxiHost.");
|
|
1116
|
+
oci_common_1.logger.debug("Calling operation EsxiHostClient#updateEsxiHost.");
|
|
1164
1117
|
const operationName = "updateEsxiHost";
|
|
1165
1118
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/EsxiHost/UpdateEsxiHost";
|
|
1166
1119
|
const pathParams = {
|
|
@@ -1174,8 +1127,6 @@ class EsxiHostClient {
|
|
|
1174
1127
|
};
|
|
1175
1128
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1176
1129
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateEsxiHostRequest.retryConfiguration, specRetryConfiguration);
|
|
1177
|
-
if (this.logger)
|
|
1178
|
-
retrier.logger = this.logger;
|
|
1179
1130
|
const request = yield oci_common_1.composeRequest({
|
|
1180
1131
|
baseEndpoint: this._endpoint,
|
|
1181
1132
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1285,11 +1236,7 @@ class SddcClient {
|
|
|
1285
1236
|
set endpoint(endpoint) {
|
|
1286
1237
|
this._endpoint = endpoint;
|
|
1287
1238
|
this._endpoint = this._endpoint + "/20230701";
|
|
1288
|
-
|
|
1289
|
-
this.logger.info(`SddcClient endpoint set to ${this._endpoint}`);
|
|
1290
|
-
}
|
|
1291
|
-
get logger() {
|
|
1292
|
-
return common.LOG.logger;
|
|
1239
|
+
oci_common_1.logger.info(`SddcClient endpoint set to ${this._endpoint}`);
|
|
1293
1240
|
}
|
|
1294
1241
|
/**
|
|
1295
1242
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -1298,8 +1245,7 @@ class SddcClient {
|
|
|
1298
1245
|
*/
|
|
1299
1246
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
1300
1247
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
1301
|
-
|
|
1302
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
1248
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
1303
1249
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
1304
1250
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(SddcClient.serviceEndpointTemplate, this._region, SddcClient.endpointServiceName);
|
|
1305
1251
|
}
|
|
@@ -1366,12 +1312,11 @@ class SddcClient {
|
|
|
1366
1312
|
* @param CancelDowngradeHcxRequest
|
|
1367
1313
|
* @return CancelDowngradeHcxResponse
|
|
1368
1314
|
* @throws OciError when an error occurs
|
|
1369
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1315
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/CancelDowngradeHcx.ts.html |here} to see how to use CancelDowngradeHcx API.
|
|
1370
1316
|
*/
|
|
1371
1317
|
cancelDowngradeHcx(cancelDowngradeHcxRequest) {
|
|
1372
1318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1373
|
-
|
|
1374
|
-
this.logger.debug("Calling operation SddcClient#cancelDowngradeHcx.");
|
|
1319
|
+
oci_common_1.logger.debug("Calling operation SddcClient#cancelDowngradeHcx.");
|
|
1375
1320
|
const operationName = "cancelDowngradeHcx";
|
|
1376
1321
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/CancelDowngradeHcx";
|
|
1377
1322
|
const pathParams = {
|
|
@@ -1386,8 +1331,6 @@ class SddcClient {
|
|
|
1386
1331
|
};
|
|
1387
1332
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1388
1333
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelDowngradeHcxRequest.retryConfiguration, specRetryConfiguration);
|
|
1389
|
-
if (this.logger)
|
|
1390
|
-
retrier.logger = this.logger;
|
|
1391
1334
|
const request = yield oci_common_1.composeRequest({
|
|
1392
1335
|
baseEndpoint: this._endpoint,
|
|
1393
1336
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1430,12 +1373,11 @@ class SddcClient {
|
|
|
1430
1373
|
* @param ChangeSddcCompartmentRequest
|
|
1431
1374
|
* @return ChangeSddcCompartmentResponse
|
|
1432
1375
|
* @throws OciError when an error occurs
|
|
1433
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1376
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/ChangeSddcCompartment.ts.html |here} to see how to use ChangeSddcCompartment API.
|
|
1434
1377
|
*/
|
|
1435
1378
|
changeSddcCompartment(changeSddcCompartmentRequest) {
|
|
1436
1379
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1437
|
-
|
|
1438
|
-
this.logger.debug("Calling operation SddcClient#changeSddcCompartment.");
|
|
1380
|
+
oci_common_1.logger.debug("Calling operation SddcClient#changeSddcCompartment.");
|
|
1439
1381
|
const operationName = "changeSddcCompartment";
|
|
1440
1382
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/ChangeSddcCompartment";
|
|
1441
1383
|
const pathParams = {
|
|
@@ -1450,8 +1392,6 @@ class SddcClient {
|
|
|
1450
1392
|
};
|
|
1451
1393
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1452
1394
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSddcCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1453
|
-
if (this.logger)
|
|
1454
|
-
retrier.logger = this.logger;
|
|
1455
1395
|
const request = yield oci_common_1.composeRequest({
|
|
1456
1396
|
baseEndpoint: this._endpoint,
|
|
1457
1397
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1493,12 +1433,11 @@ class SddcClient {
|
|
|
1493
1433
|
* @param CreateSddcRequest
|
|
1494
1434
|
* @return CreateSddcResponse
|
|
1495
1435
|
* @throws OciError when an error occurs
|
|
1496
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1436
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/CreateSddc.ts.html |here} to see how to use CreateSddc API.
|
|
1497
1437
|
*/
|
|
1498
1438
|
createSddc(createSddcRequest) {
|
|
1499
1439
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1500
|
-
|
|
1501
|
-
this.logger.debug("Calling operation SddcClient#createSddc.");
|
|
1440
|
+
oci_common_1.logger.debug("Calling operation SddcClient#createSddc.");
|
|
1502
1441
|
const operationName = "createSddc";
|
|
1503
1442
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/CreateSddc";
|
|
1504
1443
|
const pathParams = {};
|
|
@@ -1510,8 +1449,6 @@ class SddcClient {
|
|
|
1510
1449
|
};
|
|
1511
1450
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1512
1451
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSddcRequest.retryConfiguration, specRetryConfiguration);
|
|
1513
|
-
if (this.logger)
|
|
1514
|
-
retrier.logger = this.logger;
|
|
1515
1452
|
const request = yield oci_common_1.composeRequest({
|
|
1516
1453
|
baseEndpoint: this._endpoint,
|
|
1517
1454
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1558,12 +1495,11 @@ class SddcClient {
|
|
|
1558
1495
|
* @param DeleteSddcRequest
|
|
1559
1496
|
* @return DeleteSddcResponse
|
|
1560
1497
|
* @throws OciError when an error occurs
|
|
1561
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1498
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/DeleteSddc.ts.html |here} to see how to use DeleteSddc API.
|
|
1562
1499
|
*/
|
|
1563
1500
|
deleteSddc(deleteSddcRequest) {
|
|
1564
1501
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1565
|
-
|
|
1566
|
-
this.logger.debug("Calling operation SddcClient#deleteSddc.");
|
|
1502
|
+
oci_common_1.logger.debug("Calling operation SddcClient#deleteSddc.");
|
|
1567
1503
|
const operationName = "deleteSddc";
|
|
1568
1504
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/DeleteSddc";
|
|
1569
1505
|
const pathParams = {
|
|
@@ -1577,8 +1513,6 @@ class SddcClient {
|
|
|
1577
1513
|
};
|
|
1578
1514
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1579
1515
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSddcRequest.retryConfiguration, specRetryConfiguration);
|
|
1580
|
-
if (this.logger)
|
|
1581
|
-
retrier.logger = this.logger;
|
|
1582
1516
|
const request = yield oci_common_1.composeRequest({
|
|
1583
1517
|
baseEndpoint: this._endpoint,
|
|
1584
1518
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1623,12 +1557,11 @@ class SddcClient {
|
|
|
1623
1557
|
* @param DowngradeHcxRequest
|
|
1624
1558
|
* @return DowngradeHcxResponse
|
|
1625
1559
|
* @throws OciError when an error occurs
|
|
1626
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1560
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/DowngradeHcx.ts.html |here} to see how to use DowngradeHcx API.
|
|
1627
1561
|
*/
|
|
1628
1562
|
downgradeHcx(downgradeHcxRequest) {
|
|
1629
1563
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1630
|
-
|
|
1631
|
-
this.logger.debug("Calling operation SddcClient#downgradeHcx.");
|
|
1564
|
+
oci_common_1.logger.debug("Calling operation SddcClient#downgradeHcx.");
|
|
1632
1565
|
const operationName = "downgradeHcx";
|
|
1633
1566
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/DowngradeHcx";
|
|
1634
1567
|
const pathParams = {
|
|
@@ -1643,8 +1576,6 @@ class SddcClient {
|
|
|
1643
1576
|
};
|
|
1644
1577
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1645
1578
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, downgradeHcxRequest.retryConfiguration, specRetryConfiguration);
|
|
1646
|
-
if (this.logger)
|
|
1647
|
-
retrier.logger = this.logger;
|
|
1648
1579
|
const request = yield oci_common_1.composeRequest({
|
|
1649
1580
|
baseEndpoint: this._endpoint,
|
|
1650
1581
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1685,12 +1616,11 @@ class SddcClient {
|
|
|
1685
1616
|
* @param GetSddcRequest
|
|
1686
1617
|
* @return GetSddcResponse
|
|
1687
1618
|
* @throws OciError when an error occurs
|
|
1688
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1619
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/GetSddc.ts.html |here} to see how to use GetSddc API.
|
|
1689
1620
|
*/
|
|
1690
1621
|
getSddc(getSddcRequest) {
|
|
1691
1622
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1692
|
-
|
|
1693
|
-
this.logger.debug("Calling operation SddcClient#getSddc.");
|
|
1623
|
+
oci_common_1.logger.debug("Calling operation SddcClient#getSddc.");
|
|
1694
1624
|
const operationName = "getSddc";
|
|
1695
1625
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/GetSddc";
|
|
1696
1626
|
const pathParams = {
|
|
@@ -1703,8 +1633,6 @@ class SddcClient {
|
|
|
1703
1633
|
};
|
|
1704
1634
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1705
1635
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSddcRequest.retryConfiguration, specRetryConfiguration);
|
|
1706
|
-
if (this.logger)
|
|
1707
|
-
retrier.logger = this.logger;
|
|
1708
1636
|
const request = yield oci_common_1.composeRequest({
|
|
1709
1637
|
baseEndpoint: this._endpoint,
|
|
1710
1638
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1750,12 +1678,11 @@ class SddcClient {
|
|
|
1750
1678
|
* @param ListSddcsRequest
|
|
1751
1679
|
* @return ListSddcsResponse
|
|
1752
1680
|
* @throws OciError when an error occurs
|
|
1753
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1681
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/ListSddcs.ts.html |here} to see how to use ListSddcs API.
|
|
1754
1682
|
*/
|
|
1755
1683
|
listSddcs(listSddcsRequest) {
|
|
1756
1684
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1757
|
-
|
|
1758
|
-
this.logger.debug("Calling operation SddcClient#listSddcs.");
|
|
1685
|
+
oci_common_1.logger.debug("Calling operation SddcClient#listSddcs.");
|
|
1759
1686
|
const operationName = "listSddcs";
|
|
1760
1687
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/SddcSummary/ListSddcs";
|
|
1761
1688
|
const pathParams = {};
|
|
@@ -1775,8 +1702,6 @@ class SddcClient {
|
|
|
1775
1702
|
};
|
|
1776
1703
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1777
1704
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSddcsRequest.retryConfiguration, specRetryConfiguration);
|
|
1778
|
-
if (this.logger)
|
|
1779
|
-
retrier.logger = this.logger;
|
|
1780
1705
|
const request = yield oci_common_1.composeRequest({
|
|
1781
1706
|
baseEndpoint: this._endpoint,
|
|
1782
1707
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1821,12 +1746,11 @@ class SddcClient {
|
|
|
1821
1746
|
* @param ListSupportedCommitmentsRequest
|
|
1822
1747
|
* @return ListSupportedCommitmentsResponse
|
|
1823
1748
|
* @throws OciError when an error occurs
|
|
1824
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1749
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/ListSupportedCommitments.ts.html |here} to see how to use ListSupportedCommitments API.
|
|
1825
1750
|
*/
|
|
1826
1751
|
listSupportedCommitments(listSupportedCommitmentsRequest) {
|
|
1827
1752
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1828
|
-
|
|
1829
|
-
this.logger.debug("Calling operation SddcClient#listSupportedCommitments.");
|
|
1753
|
+
oci_common_1.logger.debug("Calling operation SddcClient#listSupportedCommitments.");
|
|
1830
1754
|
const operationName = "listSupportedCommitments";
|
|
1831
1755
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/SupportedCommitmentSummary/ListSupportedCommitments";
|
|
1832
1756
|
const pathParams = {};
|
|
@@ -1842,8 +1766,6 @@ class SddcClient {
|
|
|
1842
1766
|
};
|
|
1843
1767
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1844
1768
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSupportedCommitmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
1845
|
-
if (this.logger)
|
|
1846
|
-
retrier.logger = this.logger;
|
|
1847
1769
|
const request = yield oci_common_1.composeRequest({
|
|
1848
1770
|
baseEndpoint: this._endpoint,
|
|
1849
1771
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1888,12 +1810,11 @@ class SddcClient {
|
|
|
1888
1810
|
* @param ListSupportedHostShapesRequest
|
|
1889
1811
|
* @return ListSupportedHostShapesResponse
|
|
1890
1812
|
* @throws OciError when an error occurs
|
|
1891
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1813
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/ListSupportedHostShapes.ts.html |here} to see how to use ListSupportedHostShapes API.
|
|
1892
1814
|
*/
|
|
1893
1815
|
listSupportedHostShapes(listSupportedHostShapesRequest) {
|
|
1894
1816
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1895
|
-
|
|
1896
|
-
this.logger.debug("Calling operation SddcClient#listSupportedHostShapes.");
|
|
1817
|
+
oci_common_1.logger.debug("Calling operation SddcClient#listSupportedHostShapes.");
|
|
1897
1818
|
const operationName = "listSupportedHostShapes";
|
|
1898
1819
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/SupportedHostShapeSummary/ListSupportedHostShapes";
|
|
1899
1820
|
const pathParams = {};
|
|
@@ -1911,8 +1832,6 @@ class SddcClient {
|
|
|
1911
1832
|
};
|
|
1912
1833
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1913
1834
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSupportedHostShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
1914
|
-
if (this.logger)
|
|
1915
|
-
retrier.logger = this.logger;
|
|
1916
1835
|
const request = yield oci_common_1.composeRequest({
|
|
1917
1836
|
baseEndpoint: this._endpoint,
|
|
1918
1837
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1958,12 +1877,11 @@ class SddcClient {
|
|
|
1958
1877
|
* @param ListSupportedVmwareSoftwareVersionsRequest
|
|
1959
1878
|
* @return ListSupportedVmwareSoftwareVersionsResponse
|
|
1960
1879
|
* @throws OciError when an error occurs
|
|
1961
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1880
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/ListSupportedVmwareSoftwareVersions.ts.html |here} to see how to use ListSupportedVmwareSoftwareVersions API.
|
|
1962
1881
|
*/
|
|
1963
1882
|
listSupportedVmwareSoftwareVersions(listSupportedVmwareSoftwareVersionsRequest) {
|
|
1964
1883
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1965
|
-
|
|
1966
|
-
this.logger.debug("Calling operation SddcClient#listSupportedVmwareSoftwareVersions.");
|
|
1884
|
+
oci_common_1.logger.debug("Calling operation SddcClient#listSupportedVmwareSoftwareVersions.");
|
|
1967
1885
|
const operationName = "listSupportedVmwareSoftwareVersions";
|
|
1968
1886
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/SupportedVmwareSoftwareVersionSummary/ListSupportedVmwareSoftwareVersions";
|
|
1969
1887
|
const pathParams = {};
|
|
@@ -1980,8 +1898,6 @@ class SddcClient {
|
|
|
1980
1898
|
};
|
|
1981
1899
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1982
1900
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSupportedVmwareSoftwareVersionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1983
|
-
if (this.logger)
|
|
1984
|
-
retrier.logger = this.logger;
|
|
1985
1901
|
const request = yield oci_common_1.composeRequest({
|
|
1986
1902
|
baseEndpoint: this._endpoint,
|
|
1987
1903
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2025,12 +1941,11 @@ class SddcClient {
|
|
|
2025
1941
|
* @param RefreshHcxLicenseStatusRequest
|
|
2026
1942
|
* @return RefreshHcxLicenseStatusResponse
|
|
2027
1943
|
* @throws OciError when an error occurs
|
|
2028
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1944
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/RefreshHcxLicenseStatus.ts.html |here} to see how to use RefreshHcxLicenseStatus API.
|
|
2029
1945
|
*/
|
|
2030
1946
|
refreshHcxLicenseStatus(refreshHcxLicenseStatusRequest) {
|
|
2031
1947
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2032
|
-
|
|
2033
|
-
this.logger.debug("Calling operation SddcClient#refreshHcxLicenseStatus.");
|
|
1948
|
+
oci_common_1.logger.debug("Calling operation SddcClient#refreshHcxLicenseStatus.");
|
|
2034
1949
|
const operationName = "refreshHcxLicenseStatus";
|
|
2035
1950
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/RefreshHcxLicenseStatus";
|
|
2036
1951
|
const pathParams = {
|
|
@@ -2045,8 +1960,6 @@ class SddcClient {
|
|
|
2045
1960
|
};
|
|
2046
1961
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2047
1962
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, refreshHcxLicenseStatusRequest.retryConfiguration, specRetryConfiguration);
|
|
2048
|
-
if (this.logger)
|
|
2049
|
-
retrier.logger = this.logger;
|
|
2050
1963
|
const request = yield oci_common_1.composeRequest({
|
|
2051
1964
|
baseEndpoint: this._endpoint,
|
|
2052
1965
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2087,12 +2000,11 @@ class SddcClient {
|
|
|
2087
2000
|
* @param RetrievePasswordRequest
|
|
2088
2001
|
* @return RetrievePasswordResponse
|
|
2089
2002
|
* @throws OciError when an error occurs
|
|
2090
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2003
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/RetrievePassword.ts.html |here} to see how to use RetrievePassword API.
|
|
2091
2004
|
*/
|
|
2092
2005
|
retrievePassword(retrievePasswordRequest) {
|
|
2093
2006
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2094
|
-
|
|
2095
|
-
this.logger.debug("Calling operation SddcClient#retrievePassword.");
|
|
2007
|
+
oci_common_1.logger.debug("Calling operation SddcClient#retrievePassword.");
|
|
2096
2008
|
const operationName = "retrievePassword";
|
|
2097
2009
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/RetrievePassword";
|
|
2098
2010
|
const pathParams = {
|
|
@@ -2109,8 +2021,6 @@ class SddcClient {
|
|
|
2109
2021
|
};
|
|
2110
2022
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2111
2023
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retrievePasswordRequest.retryConfiguration, specRetryConfiguration);
|
|
2112
|
-
if (this.logger)
|
|
2113
|
-
retrier.logger = this.logger;
|
|
2114
2024
|
const request = yield oci_common_1.composeRequest({
|
|
2115
2025
|
baseEndpoint: this._endpoint,
|
|
2116
2026
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2160,12 +2070,11 @@ class SddcClient {
|
|
|
2160
2070
|
* @param UpdateSddcRequest
|
|
2161
2071
|
* @return UpdateSddcResponse
|
|
2162
2072
|
* @throws OciError when an error occurs
|
|
2163
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2073
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/UpdateSddc.ts.html |here} to see how to use UpdateSddc API.
|
|
2164
2074
|
*/
|
|
2165
2075
|
updateSddc(updateSddcRequest) {
|
|
2166
2076
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2167
|
-
|
|
2168
|
-
this.logger.debug("Calling operation SddcClient#updateSddc.");
|
|
2077
|
+
oci_common_1.logger.debug("Calling operation SddcClient#updateSddc.");
|
|
2169
2078
|
const operationName = "updateSddc";
|
|
2170
2079
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/UpdateSddc";
|
|
2171
2080
|
const pathParams = {
|
|
@@ -2179,8 +2088,6 @@ class SddcClient {
|
|
|
2179
2088
|
};
|
|
2180
2089
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2181
2090
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSddcRequest.retryConfiguration, specRetryConfiguration);
|
|
2182
|
-
if (this.logger)
|
|
2183
|
-
retrier.logger = this.logger;
|
|
2184
2091
|
const request = yield oci_common_1.composeRequest({
|
|
2185
2092
|
baseEndpoint: this._endpoint,
|
|
2186
2093
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2226,12 +2133,11 @@ class SddcClient {
|
|
|
2226
2133
|
* @param UpgradeHcxRequest
|
|
2227
2134
|
* @return UpgradeHcxResponse
|
|
2228
2135
|
* @throws OciError when an error occurs
|
|
2229
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2136
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/UpgradeHcx.ts.html |here} to see how to use UpgradeHcx API.
|
|
2230
2137
|
*/
|
|
2231
2138
|
upgradeHcx(upgradeHcxRequest) {
|
|
2232
2139
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2233
|
-
|
|
2234
|
-
this.logger.debug("Calling operation SddcClient#upgradeHcx.");
|
|
2140
|
+
oci_common_1.logger.debug("Calling operation SddcClient#upgradeHcx.");
|
|
2235
2141
|
const operationName = "upgradeHcx";
|
|
2236
2142
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/UpgradeHcx";
|
|
2237
2143
|
const pathParams = {
|
|
@@ -2246,8 +2152,6 @@ class SddcClient {
|
|
|
2246
2152
|
};
|
|
2247
2153
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2248
2154
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, upgradeHcxRequest.retryConfiguration, specRetryConfiguration);
|
|
2249
|
-
if (this.logger)
|
|
2250
|
-
retrier.logger = this.logger;
|
|
2251
2155
|
const request = yield oci_common_1.composeRequest({
|
|
2252
2156
|
baseEndpoint: this._endpoint,
|
|
2253
2157
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2352,11 +2256,7 @@ class WorkRequestClient {
|
|
|
2352
2256
|
set endpoint(endpoint) {
|
|
2353
2257
|
this._endpoint = endpoint;
|
|
2354
2258
|
this._endpoint = this._endpoint + "/20230701";
|
|
2355
|
-
|
|
2356
|
-
this.logger.info(`WorkRequestClient endpoint set to ${this._endpoint}`);
|
|
2357
|
-
}
|
|
2358
|
-
get logger() {
|
|
2359
|
-
return common.LOG.logger;
|
|
2259
|
+
oci_common_1.logger.info(`WorkRequestClient endpoint set to ${this._endpoint}`);
|
|
2360
2260
|
}
|
|
2361
2261
|
/**
|
|
2362
2262
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -2365,8 +2265,7 @@ class WorkRequestClient {
|
|
|
2365
2265
|
*/
|
|
2366
2266
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
2367
2267
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
2368
|
-
|
|
2369
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
2268
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
2370
2269
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
2371
2270
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(WorkRequestClient.serviceEndpointTemplate, this._region, WorkRequestClient.endpointServiceName);
|
|
2372
2271
|
}
|
|
@@ -2432,12 +2331,11 @@ class WorkRequestClient {
|
|
|
2432
2331
|
* @param GetWorkRequestRequest
|
|
2433
2332
|
* @return GetWorkRequestResponse
|
|
2434
2333
|
* @throws OciError when an error occurs
|
|
2435
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2334
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2436
2335
|
*/
|
|
2437
2336
|
getWorkRequest(getWorkRequestRequest) {
|
|
2438
2337
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2439
|
-
|
|
2440
|
-
this.logger.debug("Calling operation WorkRequestClient#getWorkRequest.");
|
|
2338
|
+
oci_common_1.logger.debug("Calling operation WorkRequestClient#getWorkRequest.");
|
|
2441
2339
|
const operationName = "getWorkRequest";
|
|
2442
2340
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/WorkRequest/GetWorkRequest";
|
|
2443
2341
|
const pathParams = {
|
|
@@ -2450,8 +2348,6 @@ class WorkRequestClient {
|
|
|
2450
2348
|
};
|
|
2451
2349
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2452
2350
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
2453
|
-
if (this.logger)
|
|
2454
|
-
retrier.logger = this.logger;
|
|
2455
2351
|
const request = yield oci_common_1.composeRequest({
|
|
2456
2352
|
baseEndpoint: this._endpoint,
|
|
2457
2353
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2496,12 +2392,11 @@ class WorkRequestClient {
|
|
|
2496
2392
|
* @param ListWorkRequestErrorsRequest
|
|
2497
2393
|
* @return ListWorkRequestErrorsResponse
|
|
2498
2394
|
* @throws OciError when an error occurs
|
|
2499
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2395
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2500
2396
|
*/
|
|
2501
2397
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2502
2398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2503
|
-
|
|
2504
|
-
this.logger.debug("Calling operation WorkRequestClient#listWorkRequestErrors.");
|
|
2399
|
+
oci_common_1.logger.debug("Calling operation WorkRequestClient#listWorkRequestErrors.");
|
|
2505
2400
|
const operationName = "listWorkRequestErrors";
|
|
2506
2401
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/WorkRequestError/ListWorkRequestErrors";
|
|
2507
2402
|
const pathParams = {
|
|
@@ -2517,8 +2412,6 @@ class WorkRequestClient {
|
|
|
2517
2412
|
};
|
|
2518
2413
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2519
2414
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
2520
|
-
if (this.logger)
|
|
2521
|
-
retrier.logger = this.logger;
|
|
2522
2415
|
const request = yield oci_common_1.composeRequest({
|
|
2523
2416
|
baseEndpoint: this._endpoint,
|
|
2524
2417
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2563,12 +2456,11 @@ class WorkRequestClient {
|
|
|
2563
2456
|
* @param ListWorkRequestLogsRequest
|
|
2564
2457
|
* @return ListWorkRequestLogsResponse
|
|
2565
2458
|
* @throws OciError when an error occurs
|
|
2566
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2459
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2567
2460
|
*/
|
|
2568
2461
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2569
2462
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2570
|
-
|
|
2571
|
-
this.logger.debug("Calling operation WorkRequestClient#listWorkRequestLogs.");
|
|
2463
|
+
oci_common_1.logger.debug("Calling operation WorkRequestClient#listWorkRequestLogs.");
|
|
2572
2464
|
const operationName = "listWorkRequestLogs";
|
|
2573
2465
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/WorkRequestLogEntry/ListWorkRequestLogs";
|
|
2574
2466
|
const pathParams = {
|
|
@@ -2584,8 +2476,6 @@ class WorkRequestClient {
|
|
|
2584
2476
|
};
|
|
2585
2477
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2586
2478
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
2587
|
-
if (this.logger)
|
|
2588
|
-
retrier.logger = this.logger;
|
|
2589
2479
|
const request = yield oci_common_1.composeRequest({
|
|
2590
2480
|
baseEndpoint: this._endpoint,
|
|
2591
2481
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2630,12 +2520,11 @@ class WorkRequestClient {
|
|
|
2630
2520
|
* @param ListWorkRequestsRequest
|
|
2631
2521
|
* @return ListWorkRequestsResponse
|
|
2632
2522
|
* @throws OciError when an error occurs
|
|
2633
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2523
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ocvp/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2634
2524
|
*/
|
|
2635
2525
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2636
2526
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2637
|
-
|
|
2638
|
-
this.logger.debug("Calling operation WorkRequestClient#listWorkRequests.");
|
|
2527
|
+
oci_common_1.logger.debug("Calling operation WorkRequestClient#listWorkRequests.");
|
|
2639
2528
|
const operationName = "listWorkRequests";
|
|
2640
2529
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/WorkRequest/ListWorkRequests";
|
|
2641
2530
|
const pathParams = {};
|
|
@@ -2651,8 +2540,6 @@ class WorkRequestClient {
|
|
|
2651
2540
|
};
|
|
2652
2541
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2653
2542
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
2654
|
-
if (this.logger)
|
|
2655
|
-
retrier.logger = this.logger;
|
|
2656
2543
|
const request = yield oci_common_1.composeRequest({
|
|
2657
2544
|
baseEndpoint: this._endpoint,
|
|
2658
2545
|
defaultHeaders: this._defaultHeaders,
|