oci-ocvp 2.26.0 → 2.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +25 -22
- package/lib/client.js +91 -44
- package/lib/client.js.map +1 -1
- package/lib/model/create-esxi-host-details.d.ts +5 -0
- package/lib/model/create-esxi-host-details.js.map +1 -1
- package/lib/model/create-sddc-details.d.ts +5 -0
- package/lib/model/create-sddc-details.js.map +1 -1
- package/lib/model/esxi-host.d.ts +5 -0
- package/lib/model/esxi-host.js.map +1 -1
- package/lib/model/sddc.d.ts +5 -0
- package/lib/model/sddc.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/list-esxi-hosts-request.d.ts +1 -1
- package/lib/request/list-sddcs-request.d.ts +1 -1
- package/lib/request/list-supported-host-shapes-request.d.ts +1 -1
- package/lib/request/list-supported-skus-request.d.ts +1 -1
- package/lib/request/list-supported-vmware-software-versions-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/refresh-hcx-license-status-request.d.ts +1 -1
- package/lib/request/update-esxi-host-request.d.ts +1 -1
- package/lib/request/update-sddc-request.d.ts +1 -1
- package/lib/request/upgrade-hcx-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -64,6 +64,7 @@ class EsxiHostClient {
|
|
|
64
64
|
this["_defaultHeaders"] = {};
|
|
65
65
|
this._circuitBreaker = null;
|
|
66
66
|
this._httpOptions = undefined;
|
|
67
|
+
this.targetService = "EsxiHost";
|
|
67
68
|
const requestSigner = params.authenticationDetailsProvider
|
|
68
69
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
69
70
|
: null;
|
|
@@ -165,12 +166,14 @@ class EsxiHostClient {
|
|
|
165
166
|
* @param CreateEsxiHostRequest
|
|
166
167
|
* @return CreateEsxiHostResponse
|
|
167
168
|
* @throws OciError when an error occurs
|
|
168
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
169
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/CreateEsxiHost.ts.html |here} to see how to use CreateEsxiHost API.
|
|
169
170
|
*/
|
|
170
171
|
createEsxiHost(createEsxiHostRequest) {
|
|
171
172
|
return __awaiter(this, void 0, void 0, function* () {
|
|
172
173
|
if (this.logger)
|
|
173
174
|
this.logger.debug("Calling operation EsxiHostClient#createEsxiHost.");
|
|
175
|
+
const operationName = "createEsxiHost";
|
|
176
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/EsxiHost/CreateEsxiHost";
|
|
174
177
|
const pathParams = {};
|
|
175
178
|
const queryParams = {};
|
|
176
179
|
let headerParams = {
|
|
@@ -193,7 +196,7 @@ class EsxiHostClient {
|
|
|
193
196
|
queryParams: queryParams
|
|
194
197
|
});
|
|
195
198
|
try {
|
|
196
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
199
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
197
200
|
const sdkResponse = oci_common_1.composeResponse({
|
|
198
201
|
responseObject: {},
|
|
199
202
|
responseHeaders: [
|
|
@@ -236,12 +239,14 @@ class EsxiHostClient {
|
|
|
236
239
|
* @param DeleteEsxiHostRequest
|
|
237
240
|
* @return DeleteEsxiHostResponse
|
|
238
241
|
* @throws OciError when an error occurs
|
|
239
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
242
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/DeleteEsxiHost.ts.html |here} to see how to use DeleteEsxiHost API.
|
|
240
243
|
*/
|
|
241
244
|
deleteEsxiHost(deleteEsxiHostRequest) {
|
|
242
245
|
return __awaiter(this, void 0, void 0, function* () {
|
|
243
246
|
if (this.logger)
|
|
244
247
|
this.logger.debug("Calling operation EsxiHostClient#deleteEsxiHost.");
|
|
248
|
+
const operationName = "deleteEsxiHost";
|
|
249
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/EsxiHost/DeleteEsxiHost";
|
|
245
250
|
const pathParams = {
|
|
246
251
|
"{esxiHostId}": deleteEsxiHostRequest.esxiHostId
|
|
247
252
|
};
|
|
@@ -265,7 +270,7 @@ class EsxiHostClient {
|
|
|
265
270
|
queryParams: queryParams
|
|
266
271
|
});
|
|
267
272
|
try {
|
|
268
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
273
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
269
274
|
const sdkResponse = oci_common_1.composeResponse({
|
|
270
275
|
responseObject: {},
|
|
271
276
|
responseHeaders: [
|
|
@@ -294,12 +299,14 @@ class EsxiHostClient {
|
|
|
294
299
|
* @param GetEsxiHostRequest
|
|
295
300
|
* @return GetEsxiHostResponse
|
|
296
301
|
* @throws OciError when an error occurs
|
|
297
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
302
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/GetEsxiHost.ts.html |here} to see how to use GetEsxiHost API.
|
|
298
303
|
*/
|
|
299
304
|
getEsxiHost(getEsxiHostRequest) {
|
|
300
305
|
return __awaiter(this, void 0, void 0, function* () {
|
|
301
306
|
if (this.logger)
|
|
302
307
|
this.logger.debug("Calling operation EsxiHostClient#getEsxiHost.");
|
|
308
|
+
const operationName = "getEsxiHost";
|
|
309
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/EsxiHost/GetEsxiHost";
|
|
303
310
|
const pathParams = {
|
|
304
311
|
"{esxiHostId}": getEsxiHostRequest.esxiHostId
|
|
305
312
|
};
|
|
@@ -322,7 +329,7 @@ class EsxiHostClient {
|
|
|
322
329
|
queryParams: queryParams
|
|
323
330
|
});
|
|
324
331
|
try {
|
|
325
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
332
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
326
333
|
const sdkResponse = oci_common_1.composeResponse({
|
|
327
334
|
responseObject: {},
|
|
328
335
|
body: yield response.json(),
|
|
@@ -364,12 +371,14 @@ class EsxiHostClient {
|
|
|
364
371
|
* @param ListEsxiHostsRequest
|
|
365
372
|
* @return ListEsxiHostsResponse
|
|
366
373
|
* @throws OciError when an error occurs
|
|
367
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
374
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/ListEsxiHosts.ts.html |here} to see how to use ListEsxiHosts API.
|
|
368
375
|
*/
|
|
369
376
|
listEsxiHosts(listEsxiHostsRequest) {
|
|
370
377
|
return __awaiter(this, void 0, void 0, function* () {
|
|
371
378
|
if (this.logger)
|
|
372
379
|
this.logger.debug("Calling operation EsxiHostClient#listEsxiHosts.");
|
|
380
|
+
const operationName = "listEsxiHosts";
|
|
381
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/EsxiHostSummary/ListEsxiHosts";
|
|
373
382
|
const pathParams = {};
|
|
374
383
|
const queryParams = {
|
|
375
384
|
"sddcId": listEsxiHostsRequest.sddcId,
|
|
@@ -399,7 +408,7 @@ class EsxiHostClient {
|
|
|
399
408
|
queryParams: queryParams
|
|
400
409
|
});
|
|
401
410
|
try {
|
|
402
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
411
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
403
412
|
const sdkResponse = oci_common_1.composeResponse({
|
|
404
413
|
responseObject: {},
|
|
405
414
|
body: yield response.json(),
|
|
@@ -432,12 +441,14 @@ class EsxiHostClient {
|
|
|
432
441
|
* @param UpdateEsxiHostRequest
|
|
433
442
|
* @return UpdateEsxiHostResponse
|
|
434
443
|
* @throws OciError when an error occurs
|
|
435
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
444
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/UpdateEsxiHost.ts.html |here} to see how to use UpdateEsxiHost API.
|
|
436
445
|
*/
|
|
437
446
|
updateEsxiHost(updateEsxiHostRequest) {
|
|
438
447
|
return __awaiter(this, void 0, void 0, function* () {
|
|
439
448
|
if (this.logger)
|
|
440
449
|
this.logger.debug("Calling operation EsxiHostClient#updateEsxiHost.");
|
|
450
|
+
const operationName = "updateEsxiHost";
|
|
451
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/EsxiHost/UpdateEsxiHost";
|
|
441
452
|
const pathParams = {
|
|
442
453
|
"{esxiHostId}": updateEsxiHostRequest.esxiHostId
|
|
443
454
|
};
|
|
@@ -462,7 +473,7 @@ class EsxiHostClient {
|
|
|
462
473
|
queryParams: queryParams
|
|
463
474
|
});
|
|
464
475
|
try {
|
|
465
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
476
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
466
477
|
const sdkResponse = oci_common_1.composeResponse({
|
|
467
478
|
responseObject: {},
|
|
468
479
|
body: yield response.json(),
|
|
@@ -505,6 +516,7 @@ class SddcClient {
|
|
|
505
516
|
this["_defaultHeaders"] = {};
|
|
506
517
|
this._circuitBreaker = null;
|
|
507
518
|
this._httpOptions = undefined;
|
|
519
|
+
this.targetService = "Sddc";
|
|
508
520
|
const requestSigner = params.authenticationDetailsProvider
|
|
509
521
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
510
522
|
: null;
|
|
@@ -601,12 +613,14 @@ class SddcClient {
|
|
|
601
613
|
* @param CancelDowngradeHcxRequest
|
|
602
614
|
* @return CancelDowngradeHcxResponse
|
|
603
615
|
* @throws OciError when an error occurs
|
|
604
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
616
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/CancelDowngradeHcx.ts.html |here} to see how to use CancelDowngradeHcx API.
|
|
605
617
|
*/
|
|
606
618
|
cancelDowngradeHcx(cancelDowngradeHcxRequest) {
|
|
607
619
|
return __awaiter(this, void 0, void 0, function* () {
|
|
608
620
|
if (this.logger)
|
|
609
621
|
this.logger.debug("Calling operation SddcClient#cancelDowngradeHcx.");
|
|
622
|
+
const operationName = "cancelDowngradeHcx";
|
|
623
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/CancelDowngradeHcx";
|
|
610
624
|
const pathParams = {
|
|
611
625
|
"{sddcId}": cancelDowngradeHcxRequest.sddcId
|
|
612
626
|
};
|
|
@@ -631,7 +645,7 @@ class SddcClient {
|
|
|
631
645
|
queryParams: queryParams
|
|
632
646
|
});
|
|
633
647
|
try {
|
|
634
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
648
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
635
649
|
const sdkResponse = oci_common_1.composeResponse({
|
|
636
650
|
responseObject: {},
|
|
637
651
|
responseHeaders: [
|
|
@@ -663,12 +677,14 @@ class SddcClient {
|
|
|
663
677
|
* @param ChangeSddcCompartmentRequest
|
|
664
678
|
* @return ChangeSddcCompartmentResponse
|
|
665
679
|
* @throws OciError when an error occurs
|
|
666
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
680
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/ChangeSddcCompartment.ts.html |here} to see how to use ChangeSddcCompartment API.
|
|
667
681
|
*/
|
|
668
682
|
changeSddcCompartment(changeSddcCompartmentRequest) {
|
|
669
683
|
return __awaiter(this, void 0, void 0, function* () {
|
|
670
684
|
if (this.logger)
|
|
671
685
|
this.logger.debug("Calling operation SddcClient#changeSddcCompartment.");
|
|
686
|
+
const operationName = "changeSddcCompartment";
|
|
687
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/ChangeSddcCompartment";
|
|
672
688
|
const pathParams = {
|
|
673
689
|
"{sddcId}": changeSddcCompartmentRequest.sddcId
|
|
674
690
|
};
|
|
@@ -694,7 +710,7 @@ class SddcClient {
|
|
|
694
710
|
queryParams: queryParams
|
|
695
711
|
});
|
|
696
712
|
try {
|
|
697
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
713
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
698
714
|
const sdkResponse = oci_common_1.composeResponse({
|
|
699
715
|
responseObject: {},
|
|
700
716
|
responseHeaders: [
|
|
@@ -724,12 +740,14 @@ class SddcClient {
|
|
|
724
740
|
* @param CreateSddcRequest
|
|
725
741
|
* @return CreateSddcResponse
|
|
726
742
|
* @throws OciError when an error occurs
|
|
727
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
743
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/CreateSddc.ts.html |here} to see how to use CreateSddc API.
|
|
728
744
|
*/
|
|
729
745
|
createSddc(createSddcRequest) {
|
|
730
746
|
return __awaiter(this, void 0, void 0, function* () {
|
|
731
747
|
if (this.logger)
|
|
732
748
|
this.logger.debug("Calling operation SddcClient#createSddc.");
|
|
749
|
+
const operationName = "createSddc";
|
|
750
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/CreateSddc";
|
|
733
751
|
const pathParams = {};
|
|
734
752
|
const queryParams = {};
|
|
735
753
|
let headerParams = {
|
|
@@ -752,7 +770,7 @@ class SddcClient {
|
|
|
752
770
|
queryParams: queryParams
|
|
753
771
|
});
|
|
754
772
|
try {
|
|
755
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
773
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
756
774
|
const sdkResponse = oci_common_1.composeResponse({
|
|
757
775
|
responseObject: {},
|
|
758
776
|
responseHeaders: [
|
|
@@ -787,12 +805,14 @@ class SddcClient {
|
|
|
787
805
|
* @param DeleteSddcRequest
|
|
788
806
|
* @return DeleteSddcResponse
|
|
789
807
|
* @throws OciError when an error occurs
|
|
790
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
808
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/DeleteSddc.ts.html |here} to see how to use DeleteSddc API.
|
|
791
809
|
*/
|
|
792
810
|
deleteSddc(deleteSddcRequest) {
|
|
793
811
|
return __awaiter(this, void 0, void 0, function* () {
|
|
794
812
|
if (this.logger)
|
|
795
813
|
this.logger.debug("Calling operation SddcClient#deleteSddc.");
|
|
814
|
+
const operationName = "deleteSddc";
|
|
815
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/DeleteSddc";
|
|
796
816
|
const pathParams = {
|
|
797
817
|
"{sddcId}": deleteSddcRequest.sddcId
|
|
798
818
|
};
|
|
@@ -816,7 +836,7 @@ class SddcClient {
|
|
|
816
836
|
queryParams: queryParams
|
|
817
837
|
});
|
|
818
838
|
try {
|
|
819
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
839
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
820
840
|
const sdkResponse = oci_common_1.composeResponse({
|
|
821
841
|
responseObject: {},
|
|
822
842
|
responseHeaders: [
|
|
@@ -849,12 +869,14 @@ class SddcClient {
|
|
|
849
869
|
* @param DowngradeHcxRequest
|
|
850
870
|
* @return DowngradeHcxResponse
|
|
851
871
|
* @throws OciError when an error occurs
|
|
852
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
872
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/DowngradeHcx.ts.html |here} to see how to use DowngradeHcx API.
|
|
853
873
|
*/
|
|
854
874
|
downgradeHcx(downgradeHcxRequest) {
|
|
855
875
|
return __awaiter(this, void 0, void 0, function* () {
|
|
856
876
|
if (this.logger)
|
|
857
877
|
this.logger.debug("Calling operation SddcClient#downgradeHcx.");
|
|
878
|
+
const operationName = "downgradeHcx";
|
|
879
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/DowngradeHcx";
|
|
858
880
|
const pathParams = {
|
|
859
881
|
"{sddcId}": downgradeHcxRequest.sddcId
|
|
860
882
|
};
|
|
@@ -880,7 +902,7 @@ class SddcClient {
|
|
|
880
902
|
queryParams: queryParams
|
|
881
903
|
});
|
|
882
904
|
try {
|
|
883
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
905
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
884
906
|
const sdkResponse = oci_common_1.composeResponse({
|
|
885
907
|
responseObject: {},
|
|
886
908
|
responseHeaders: [
|
|
@@ -909,12 +931,14 @@ class SddcClient {
|
|
|
909
931
|
* @param GetSddcRequest
|
|
910
932
|
* @return GetSddcResponse
|
|
911
933
|
* @throws OciError when an error occurs
|
|
912
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
934
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/GetSddc.ts.html |here} to see how to use GetSddc API.
|
|
913
935
|
*/
|
|
914
936
|
getSddc(getSddcRequest) {
|
|
915
937
|
return __awaiter(this, void 0, void 0, function* () {
|
|
916
938
|
if (this.logger)
|
|
917
939
|
this.logger.debug("Calling operation SddcClient#getSddc.");
|
|
940
|
+
const operationName = "getSddc";
|
|
941
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/GetSddc";
|
|
918
942
|
const pathParams = {
|
|
919
943
|
"{sddcId}": getSddcRequest.sddcId
|
|
920
944
|
};
|
|
@@ -937,7 +961,7 @@ class SddcClient {
|
|
|
937
961
|
queryParams: queryParams
|
|
938
962
|
});
|
|
939
963
|
try {
|
|
940
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
964
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
941
965
|
const sdkResponse = oci_common_1.composeResponse({
|
|
942
966
|
responseObject: {},
|
|
943
967
|
body: yield response.json(),
|
|
@@ -972,12 +996,14 @@ class SddcClient {
|
|
|
972
996
|
* @param ListSddcsRequest
|
|
973
997
|
* @return ListSddcsResponse
|
|
974
998
|
* @throws OciError when an error occurs
|
|
975
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
999
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/ListSddcs.ts.html |here} to see how to use ListSddcs API.
|
|
976
1000
|
*/
|
|
977
1001
|
listSddcs(listSddcsRequest) {
|
|
978
1002
|
return __awaiter(this, void 0, void 0, function* () {
|
|
979
1003
|
if (this.logger)
|
|
980
1004
|
this.logger.debug("Calling operation SddcClient#listSddcs.");
|
|
1005
|
+
const operationName = "listSddcs";
|
|
1006
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/SddcSummary/ListSddcs";
|
|
981
1007
|
const pathParams = {};
|
|
982
1008
|
const queryParams = {
|
|
983
1009
|
"compartmentId": listSddcsRequest.compartmentId,
|
|
@@ -1007,7 +1033,7 @@ class SddcClient {
|
|
|
1007
1033
|
queryParams: queryParams
|
|
1008
1034
|
});
|
|
1009
1035
|
try {
|
|
1010
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1036
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1011
1037
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1012
1038
|
responseObject: {},
|
|
1013
1039
|
body: yield response.json(),
|
|
@@ -1041,12 +1067,14 @@ class SddcClient {
|
|
|
1041
1067
|
* @param ListSupportedHostShapesRequest
|
|
1042
1068
|
* @return ListSupportedHostShapesResponse
|
|
1043
1069
|
* @throws OciError when an error occurs
|
|
1044
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1070
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/ListSupportedHostShapes.ts.html |here} to see how to use ListSupportedHostShapes API.
|
|
1045
1071
|
*/
|
|
1046
1072
|
listSupportedHostShapes(listSupportedHostShapesRequest) {
|
|
1047
1073
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1048
1074
|
if (this.logger)
|
|
1049
1075
|
this.logger.debug("Calling operation SddcClient#listSupportedHostShapes.");
|
|
1076
|
+
const operationName = "listSupportedHostShapes";
|
|
1077
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/SupportedHostShapeSummary/ListSupportedHostShapes";
|
|
1050
1078
|
const pathParams = {};
|
|
1051
1079
|
const queryParams = {
|
|
1052
1080
|
"compartmentId": listSupportedHostShapesRequest.compartmentId,
|
|
@@ -1073,7 +1101,7 @@ class SddcClient {
|
|
|
1073
1101
|
queryParams: queryParams
|
|
1074
1102
|
});
|
|
1075
1103
|
try {
|
|
1076
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1104
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1077
1105
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1078
1106
|
responseObject: {},
|
|
1079
1107
|
body: yield response.json(),
|
|
@@ -1107,12 +1135,14 @@ class SddcClient {
|
|
|
1107
1135
|
* @param ListSupportedSkusRequest
|
|
1108
1136
|
* @return ListSupportedSkusResponse
|
|
1109
1137
|
* @throws OciError when an error occurs
|
|
1110
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1138
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/ListSupportedSkus.ts.html |here} to see how to use ListSupportedSkus API.
|
|
1111
1139
|
*/
|
|
1112
1140
|
listSupportedSkus(listSupportedSkusRequest) {
|
|
1113
1141
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1114
1142
|
if (this.logger)
|
|
1115
1143
|
this.logger.debug("Calling operation SddcClient#listSupportedSkus.");
|
|
1144
|
+
const operationName = "listSupportedSkus";
|
|
1145
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus";
|
|
1116
1146
|
const pathParams = {};
|
|
1117
1147
|
const queryParams = {
|
|
1118
1148
|
"compartmentId": listSupportedSkusRequest.compartmentId,
|
|
@@ -1137,7 +1167,7 @@ class SddcClient {
|
|
|
1137
1167
|
queryParams: queryParams
|
|
1138
1168
|
});
|
|
1139
1169
|
try {
|
|
1140
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1170
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1141
1171
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1142
1172
|
responseObject: {},
|
|
1143
1173
|
body: yield response.json(),
|
|
@@ -1172,12 +1202,14 @@ class SddcClient {
|
|
|
1172
1202
|
* @param ListSupportedVmwareSoftwareVersionsRequest
|
|
1173
1203
|
* @return ListSupportedVmwareSoftwareVersionsResponse
|
|
1174
1204
|
* @throws OciError when an error occurs
|
|
1175
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1205
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/ListSupportedVmwareSoftwareVersions.ts.html |here} to see how to use ListSupportedVmwareSoftwareVersions API.
|
|
1176
1206
|
*/
|
|
1177
1207
|
listSupportedVmwareSoftwareVersions(listSupportedVmwareSoftwareVersionsRequest) {
|
|
1178
1208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1179
1209
|
if (this.logger)
|
|
1180
1210
|
this.logger.debug("Calling operation SddcClient#listSupportedVmwareSoftwareVersions.");
|
|
1211
|
+
const operationName = "listSupportedVmwareSoftwareVersions";
|
|
1212
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/SupportedVmwareSoftwareVersionSummary/ListSupportedVmwareSoftwareVersions";
|
|
1181
1213
|
const pathParams = {};
|
|
1182
1214
|
const queryParams = {
|
|
1183
1215
|
"compartmentId": listSupportedVmwareSoftwareVersionsRequest.compartmentId,
|
|
@@ -1202,7 +1234,7 @@ class SddcClient {
|
|
|
1202
1234
|
queryParams: queryParams
|
|
1203
1235
|
});
|
|
1204
1236
|
try {
|
|
1205
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1237
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1206
1238
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1207
1239
|
responseObject: {},
|
|
1208
1240
|
body: yield response.json(),
|
|
@@ -1235,12 +1267,14 @@ class SddcClient {
|
|
|
1235
1267
|
* @param RefreshHcxLicenseStatusRequest
|
|
1236
1268
|
* @return RefreshHcxLicenseStatusResponse
|
|
1237
1269
|
* @throws OciError when an error occurs
|
|
1238
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1270
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/RefreshHcxLicenseStatus.ts.html |here} to see how to use RefreshHcxLicenseStatus API.
|
|
1239
1271
|
*/
|
|
1240
1272
|
refreshHcxLicenseStatus(refreshHcxLicenseStatusRequest) {
|
|
1241
1273
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1242
1274
|
if (this.logger)
|
|
1243
1275
|
this.logger.debug("Calling operation SddcClient#refreshHcxLicenseStatus.");
|
|
1276
|
+
const operationName = "refreshHcxLicenseStatus";
|
|
1277
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/RefreshHcxLicenseStatus";
|
|
1244
1278
|
const pathParams = {
|
|
1245
1279
|
"{sddcId}": refreshHcxLicenseStatusRequest.sddcId
|
|
1246
1280
|
};
|
|
@@ -1265,7 +1299,7 @@ class SddcClient {
|
|
|
1265
1299
|
queryParams: queryParams
|
|
1266
1300
|
});
|
|
1267
1301
|
try {
|
|
1268
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1302
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1269
1303
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1270
1304
|
responseObject: {},
|
|
1271
1305
|
responseHeaders: [
|
|
@@ -1300,12 +1334,14 @@ class SddcClient {
|
|
|
1300
1334
|
* @param UpdateSddcRequest
|
|
1301
1335
|
* @return UpdateSddcResponse
|
|
1302
1336
|
* @throws OciError when an error occurs
|
|
1303
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1337
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/UpdateSddc.ts.html |here} to see how to use UpdateSddc API.
|
|
1304
1338
|
*/
|
|
1305
1339
|
updateSddc(updateSddcRequest) {
|
|
1306
1340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1307
1341
|
if (this.logger)
|
|
1308
1342
|
this.logger.debug("Calling operation SddcClient#updateSddc.");
|
|
1343
|
+
const operationName = "updateSddc";
|
|
1344
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/UpdateSddc";
|
|
1309
1345
|
const pathParams = {
|
|
1310
1346
|
"{sddcId}": updateSddcRequest.sddcId
|
|
1311
1347
|
};
|
|
@@ -1330,7 +1366,7 @@ class SddcClient {
|
|
|
1330
1366
|
queryParams: queryParams
|
|
1331
1367
|
});
|
|
1332
1368
|
try {
|
|
1333
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1369
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1334
1370
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1335
1371
|
responseObject: {},
|
|
1336
1372
|
body: yield response.json(),
|
|
@@ -1364,12 +1400,14 @@ class SddcClient {
|
|
|
1364
1400
|
* @param UpgradeHcxRequest
|
|
1365
1401
|
* @return UpgradeHcxResponse
|
|
1366
1402
|
* @throws OciError when an error occurs
|
|
1367
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1403
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/UpgradeHcx.ts.html |here} to see how to use UpgradeHcx API.
|
|
1368
1404
|
*/
|
|
1369
1405
|
upgradeHcx(upgradeHcxRequest) {
|
|
1370
1406
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1371
1407
|
if (this.logger)
|
|
1372
1408
|
this.logger.debug("Calling operation SddcClient#upgradeHcx.");
|
|
1409
|
+
const operationName = "upgradeHcx";
|
|
1410
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/Sddc/UpgradeHcx";
|
|
1373
1411
|
const pathParams = {
|
|
1374
1412
|
"{sddcId}": upgradeHcxRequest.sddcId
|
|
1375
1413
|
};
|
|
@@ -1394,7 +1432,7 @@ class SddcClient {
|
|
|
1394
1432
|
queryParams: queryParams
|
|
1395
1433
|
});
|
|
1396
1434
|
try {
|
|
1397
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1435
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1398
1436
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1399
1437
|
responseObject: {},
|
|
1400
1438
|
responseHeaders: [
|
|
@@ -1433,6 +1471,7 @@ class WorkRequestClient {
|
|
|
1433
1471
|
this["_defaultHeaders"] = {};
|
|
1434
1472
|
this._circuitBreaker = null;
|
|
1435
1473
|
this._httpOptions = undefined;
|
|
1474
|
+
this.targetService = "WorkRequest";
|
|
1436
1475
|
const requestSigner = params.authenticationDetailsProvider
|
|
1437
1476
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
1438
1477
|
: null;
|
|
@@ -1528,12 +1567,14 @@ class WorkRequestClient {
|
|
|
1528
1567
|
* @param GetWorkRequestRequest
|
|
1529
1568
|
* @return GetWorkRequestResponse
|
|
1530
1569
|
* @throws OciError when an error occurs
|
|
1531
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1570
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1532
1571
|
*/
|
|
1533
1572
|
getWorkRequest(getWorkRequestRequest) {
|
|
1534
1573
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1535
1574
|
if (this.logger)
|
|
1536
1575
|
this.logger.debug("Calling operation WorkRequestClient#getWorkRequest.");
|
|
1576
|
+
const operationName = "getWorkRequest";
|
|
1577
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/WorkRequest/GetWorkRequest";
|
|
1537
1578
|
const pathParams = {
|
|
1538
1579
|
"{workRequestId}": getWorkRequestRequest.workRequestId
|
|
1539
1580
|
};
|
|
@@ -1556,7 +1597,7 @@ class WorkRequestClient {
|
|
|
1556
1597
|
queryParams: queryParams
|
|
1557
1598
|
});
|
|
1558
1599
|
try {
|
|
1559
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1600
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1560
1601
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1561
1602
|
responseObject: {},
|
|
1562
1603
|
body: yield response.json(),
|
|
@@ -1590,12 +1631,14 @@ class WorkRequestClient {
|
|
|
1590
1631
|
* @param ListWorkRequestErrorsRequest
|
|
1591
1632
|
* @return ListWorkRequestErrorsResponse
|
|
1592
1633
|
* @throws OciError when an error occurs
|
|
1593
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1634
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1594
1635
|
*/
|
|
1595
1636
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1596
1637
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1597
1638
|
if (this.logger)
|
|
1598
1639
|
this.logger.debug("Calling operation WorkRequestClient#listWorkRequestErrors.");
|
|
1640
|
+
const operationName = "listWorkRequestErrors";
|
|
1641
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/WorkRequestError/ListWorkRequestErrors";
|
|
1599
1642
|
const pathParams = {
|
|
1600
1643
|
"{workRequestId}": listWorkRequestErrorsRequest.workRequestId
|
|
1601
1644
|
};
|
|
@@ -1621,7 +1664,7 @@ class WorkRequestClient {
|
|
|
1621
1664
|
queryParams: queryParams
|
|
1622
1665
|
});
|
|
1623
1666
|
try {
|
|
1624
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1667
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1625
1668
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1626
1669
|
responseObject: {},
|
|
1627
1670
|
body: yield response.json(),
|
|
@@ -1655,12 +1698,14 @@ class WorkRequestClient {
|
|
|
1655
1698
|
* @param ListWorkRequestLogsRequest
|
|
1656
1699
|
* @return ListWorkRequestLogsResponse
|
|
1657
1700
|
* @throws OciError when an error occurs
|
|
1658
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1701
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1659
1702
|
*/
|
|
1660
1703
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1661
1704
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1662
1705
|
if (this.logger)
|
|
1663
1706
|
this.logger.debug("Calling operation WorkRequestClient#listWorkRequestLogs.");
|
|
1707
|
+
const operationName = "listWorkRequestLogs";
|
|
1708
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/WorkRequestLogEntry/ListWorkRequestLogs";
|
|
1664
1709
|
const pathParams = {
|
|
1665
1710
|
"{workRequestId}": listWorkRequestLogsRequest.workRequestId
|
|
1666
1711
|
};
|
|
@@ -1686,7 +1731,7 @@ class WorkRequestClient {
|
|
|
1686
1731
|
queryParams: queryParams
|
|
1687
1732
|
});
|
|
1688
1733
|
try {
|
|
1689
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1734
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1690
1735
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1691
1736
|
responseObject: {},
|
|
1692
1737
|
body: yield response.json(),
|
|
@@ -1720,12 +1765,14 @@ class WorkRequestClient {
|
|
|
1720
1765
|
* @param ListWorkRequestsRequest
|
|
1721
1766
|
* @return ListWorkRequestsResponse
|
|
1722
1767
|
* @throws OciError when an error occurs
|
|
1723
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1768
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/ocvp/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1724
1769
|
*/
|
|
1725
1770
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1726
1771
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1727
1772
|
if (this.logger)
|
|
1728
1773
|
this.logger.debug("Calling operation WorkRequestClient#listWorkRequests.");
|
|
1774
|
+
const operationName = "listWorkRequests";
|
|
1775
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/WorkRequest/ListWorkRequests";
|
|
1729
1776
|
const pathParams = {};
|
|
1730
1777
|
const queryParams = {
|
|
1731
1778
|
"compartmentId": listWorkRequestsRequest.compartmentId,
|
|
@@ -1751,7 +1798,7 @@ class WorkRequestClient {
|
|
|
1751
1798
|
queryParams: queryParams
|
|
1752
1799
|
});
|
|
1753
1800
|
try {
|
|
1754
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1801
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1755
1802
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1756
1803
|
responseObject: {},
|
|
1757
1804
|
body: yield response.json(),
|