oci-ocvp 2.62.1 → 2.62.2
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 +32 -22
- package/lib/client.js +90 -23
- 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/esxi-host-summary.d.ts +20 -0
- package/lib/model/esxi-host-summary.js.map +1 -1
- package/lib/model/esxi-host.d.ts +20 -0
- package/lib/model/esxi-host.js.map +1 -1
- package/lib/model/operation-types.d.ts +1 -0
- package/lib/model/operation-types.js +1 -0
- package/lib/model/operation-types.js.map +1 -1
- package/lib/model/supported-host-shape-summary.d.ts +1 -0
- package/lib/model/supported-host-shape-summary.js +1 -0
- package/lib/model/supported-host-shape-summary.js.map +1 -1
- package/lib/model/update-esxi-host-details.d.ts +5 -0
- package/lib/model/update-esxi-host-details.js.map +1 -1
- package/lib/request/cancel-downgrade-hcx-request.d.ts +1 -1
- package/lib/request/change-sddc-compartment-request.d.ts +1 -1
- package/lib/request/create-esxi-host-request.d.ts +1 -1
- package/lib/request/create-sddc-request.d.ts +1 -1
- package/lib/request/delete-esxi-host-request.d.ts +1 -1
- package/lib/request/delete-sddc-request.d.ts +1 -1
- package/lib/request/downgrade-hcx-request.d.ts +1 -1
- package/lib/request/get-esxi-host-request.d.ts +1 -1
- package/lib/request/get-sddc-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +2 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-esxi-hosts-request.d.ts +15 -1
- package/lib/request/list-esxi-hosts-request.js.map +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/swap-billing-request.d.ts +52 -0
- package/lib/request/swap-billing-request.js +15 -0
- package/lib/request/swap-billing-request.js.map +1 -0
- package/lib/request/update-esxi-host-request.d.ts +1 -1
- package/lib/request/update-sddc-request.d.ts +1 -1
- package/lib/request/upgrade-hcx-request.d.ts +1 -1
- package/lib/response/index.d.ts +2 -0
- package/lib/response/swap-billing-response.d.ts +25 -0
- package/lib/response/swap-billing-response.js +15 -0
- package/lib/response/swap-billing-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -95,7 +95,7 @@ export declare class EsxiHostClient {
|
|
|
95
95
|
* @param CreateEsxiHostRequest
|
|
96
96
|
* @return CreateEsxiHostResponse
|
|
97
97
|
* @throws OciError when an error occurs
|
|
98
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
98
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/CreateEsxiHost.ts.html |here} to see how to use CreateEsxiHost API.
|
|
99
99
|
*/
|
|
100
100
|
createEsxiHost(createEsxiHostRequest: requests.CreateEsxiHostRequest): Promise<responses.CreateEsxiHostResponse>;
|
|
101
101
|
/**
|
|
@@ -118,7 +118,7 @@ export declare class EsxiHostClient {
|
|
|
118
118
|
* @param DeleteEsxiHostRequest
|
|
119
119
|
* @return DeleteEsxiHostResponse
|
|
120
120
|
* @throws OciError when an error occurs
|
|
121
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
121
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/DeleteEsxiHost.ts.html |here} to see how to use DeleteEsxiHost API.
|
|
122
122
|
*/
|
|
123
123
|
deleteEsxiHost(deleteEsxiHostRequest: requests.DeleteEsxiHostRequest): Promise<responses.DeleteEsxiHostResponse>;
|
|
124
124
|
/**
|
|
@@ -127,7 +127,7 @@ export declare class EsxiHostClient {
|
|
|
127
127
|
* @param GetEsxiHostRequest
|
|
128
128
|
* @return GetEsxiHostResponse
|
|
129
129
|
* @throws OciError when an error occurs
|
|
130
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
130
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/GetEsxiHost.ts.html |here} to see how to use GetEsxiHost API.
|
|
131
131
|
*/
|
|
132
132
|
getEsxiHost(getEsxiHostRequest: requests.GetEsxiHostRequest): Promise<responses.GetEsxiHostResponse>;
|
|
133
133
|
/**
|
|
@@ -145,16 +145,26 @@ export declare class EsxiHostClient {
|
|
|
145
145
|
* @param ListEsxiHostsRequest
|
|
146
146
|
* @return ListEsxiHostsResponse
|
|
147
147
|
* @throws OciError when an error occurs
|
|
148
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
148
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListEsxiHosts.ts.html |here} to see how to use ListEsxiHosts API.
|
|
149
149
|
*/
|
|
150
150
|
listEsxiHosts(listEsxiHostsRequest: requests.ListEsxiHostsRequest): Promise<responses.ListEsxiHostsResponse>;
|
|
151
|
+
/**
|
|
152
|
+
* Swap billing between two Active ESXi hosts.
|
|
153
|
+
*
|
|
154
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
155
|
+
* @param SwapBillingRequest
|
|
156
|
+
* @return SwapBillingResponse
|
|
157
|
+
* @throws OciError when an error occurs
|
|
158
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/SwapBilling.ts.html |here} to see how to use SwapBilling API.
|
|
159
|
+
*/
|
|
160
|
+
swapBilling(swapBillingRequest: requests.SwapBillingRequest): Promise<responses.SwapBillingResponse>;
|
|
151
161
|
/**
|
|
152
162
|
* Updates the specified ESXi host.
|
|
153
163
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
154
164
|
* @param UpdateEsxiHostRequest
|
|
155
165
|
* @return UpdateEsxiHostResponse
|
|
156
166
|
* @throws OciError when an error occurs
|
|
157
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
167
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/UpdateEsxiHost.ts.html |here} to see how to use UpdateEsxiHost API.
|
|
158
168
|
*/
|
|
159
169
|
updateEsxiHost(updateEsxiHostRequest: requests.UpdateEsxiHostRequest): Promise<responses.UpdateEsxiHostResponse>;
|
|
160
170
|
}
|
|
@@ -230,7 +240,7 @@ export declare class SddcClient {
|
|
|
230
240
|
* @param CancelDowngradeHcxRequest
|
|
231
241
|
* @return CancelDowngradeHcxResponse
|
|
232
242
|
* @throws OciError when an error occurs
|
|
233
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
243
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/CancelDowngradeHcx.ts.html |here} to see how to use CancelDowngradeHcx API.
|
|
234
244
|
*/
|
|
235
245
|
cancelDowngradeHcx(cancelDowngradeHcxRequest: requests.CancelDowngradeHcxRequest): Promise<responses.CancelDowngradeHcxResponse>;
|
|
236
246
|
/**
|
|
@@ -242,7 +252,7 @@ export declare class SddcClient {
|
|
|
242
252
|
* @param ChangeSddcCompartmentRequest
|
|
243
253
|
* @return ChangeSddcCompartmentResponse
|
|
244
254
|
* @throws OciError when an error occurs
|
|
245
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
255
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ChangeSddcCompartment.ts.html |here} to see how to use ChangeSddcCompartment API.
|
|
246
256
|
*/
|
|
247
257
|
changeSddcCompartment(changeSddcCompartmentRequest: requests.ChangeSddcCompartmentRequest): Promise<responses.ChangeSddcCompartmentResponse>;
|
|
248
258
|
/**
|
|
@@ -257,7 +267,7 @@ export declare class SddcClient {
|
|
|
257
267
|
* @param CreateSddcRequest
|
|
258
268
|
* @return CreateSddcResponse
|
|
259
269
|
* @throws OciError when an error occurs
|
|
260
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
270
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/CreateSddc.ts.html |here} to see how to use CreateSddc API.
|
|
261
271
|
*/
|
|
262
272
|
createSddc(createSddcRequest: requests.CreateSddcRequest): Promise<responses.CreateSddcResponse>;
|
|
263
273
|
/**
|
|
@@ -272,7 +282,7 @@ export declare class SddcClient {
|
|
|
272
282
|
* @param DeleteSddcRequest
|
|
273
283
|
* @return DeleteSddcResponse
|
|
274
284
|
* @throws OciError when an error occurs
|
|
275
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
285
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/DeleteSddc.ts.html |here} to see how to use DeleteSddc API.
|
|
276
286
|
*/
|
|
277
287
|
deleteSddc(deleteSddcRequest: requests.DeleteSddcRequest): Promise<responses.DeleteSddcResponse>;
|
|
278
288
|
/**
|
|
@@ -286,7 +296,7 @@ export declare class SddcClient {
|
|
|
286
296
|
* @param DowngradeHcxRequest
|
|
287
297
|
* @return DowngradeHcxResponse
|
|
288
298
|
* @throws OciError when an error occurs
|
|
289
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
299
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/DowngradeHcx.ts.html |here} to see how to use DowngradeHcx API.
|
|
290
300
|
*/
|
|
291
301
|
downgradeHcx(downgradeHcxRequest: requests.DowngradeHcxRequest): Promise<responses.DowngradeHcxResponse>;
|
|
292
302
|
/**
|
|
@@ -295,7 +305,7 @@ export declare class SddcClient {
|
|
|
295
305
|
* @param GetSddcRequest
|
|
296
306
|
* @return GetSddcResponse
|
|
297
307
|
* @throws OciError when an error occurs
|
|
298
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
308
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/GetSddc.ts.html |here} to see how to use GetSddc API.
|
|
299
309
|
*/
|
|
300
310
|
getSddc(getSddcRequest: requests.GetSddcRequest): Promise<responses.GetSddcResponse>;
|
|
301
311
|
/**
|
|
@@ -306,7 +316,7 @@ export declare class SddcClient {
|
|
|
306
316
|
* @param ListSddcsRequest
|
|
307
317
|
* @return ListSddcsResponse
|
|
308
318
|
* @throws OciError when an error occurs
|
|
309
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
319
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListSddcs.ts.html |here} to see how to use ListSddcs API.
|
|
310
320
|
*/
|
|
311
321
|
listSddcs(listSddcsRequest: requests.ListSddcsRequest): Promise<responses.ListSddcsResponse>;
|
|
312
322
|
/**
|
|
@@ -316,7 +326,7 @@ export declare class SddcClient {
|
|
|
316
326
|
* @param ListSupportedHostShapesRequest
|
|
317
327
|
* @return ListSupportedHostShapesResponse
|
|
318
328
|
* @throws OciError when an error occurs
|
|
319
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
329
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListSupportedHostShapes.ts.html |here} to see how to use ListSupportedHostShapes API.
|
|
320
330
|
*/
|
|
321
331
|
listSupportedHostShapes(listSupportedHostShapesRequest: requests.ListSupportedHostShapesRequest): Promise<responses.ListSupportedHostShapesResponse>;
|
|
322
332
|
/**
|
|
@@ -326,7 +336,7 @@ export declare class SddcClient {
|
|
|
326
336
|
* @param ListSupportedSkusRequest
|
|
327
337
|
* @return ListSupportedSkusResponse
|
|
328
338
|
* @throws OciError when an error occurs
|
|
329
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
339
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListSupportedSkus.ts.html |here} to see how to use ListSupportedSkus API.
|
|
330
340
|
*/
|
|
331
341
|
listSupportedSkus(listSupportedSkusRequest: requests.ListSupportedSkusRequest): Promise<responses.ListSupportedSkusResponse>;
|
|
332
342
|
/**
|
|
@@ -337,7 +347,7 @@ export declare class SddcClient {
|
|
|
337
347
|
* @param ListSupportedVmwareSoftwareVersionsRequest
|
|
338
348
|
* @return ListSupportedVmwareSoftwareVersionsResponse
|
|
339
349
|
* @throws OciError when an error occurs
|
|
340
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
350
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListSupportedVmwareSoftwareVersions.ts.html |here} to see how to use ListSupportedVmwareSoftwareVersions API.
|
|
341
351
|
*/
|
|
342
352
|
listSupportedVmwareSoftwareVersions(listSupportedVmwareSoftwareVersionsRequest: requests.ListSupportedVmwareSoftwareVersionsRequest): Promise<responses.ListSupportedVmwareSoftwareVersionsResponse>;
|
|
343
353
|
/**
|
|
@@ -346,7 +356,7 @@ export declare class SddcClient {
|
|
|
346
356
|
* @param RefreshHcxLicenseStatusRequest
|
|
347
357
|
* @return RefreshHcxLicenseStatusResponse
|
|
348
358
|
* @throws OciError when an error occurs
|
|
349
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
359
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/RefreshHcxLicenseStatus.ts.html |here} to see how to use RefreshHcxLicenseStatus API.
|
|
350
360
|
*/
|
|
351
361
|
refreshHcxLicenseStatus(refreshHcxLicenseStatusRequest: requests.RefreshHcxLicenseStatusRequest): Promise<responses.RefreshHcxLicenseStatusResponse>;
|
|
352
362
|
/**
|
|
@@ -361,7 +371,7 @@ export declare class SddcClient {
|
|
|
361
371
|
* @param UpdateSddcRequest
|
|
362
372
|
* @return UpdateSddcResponse
|
|
363
373
|
* @throws OciError when an error occurs
|
|
364
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
374
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/UpdateSddc.ts.html |here} to see how to use UpdateSddc API.
|
|
365
375
|
*/
|
|
366
376
|
updateSddc(updateSddcRequest: requests.UpdateSddcRequest): Promise<responses.UpdateSddcResponse>;
|
|
367
377
|
/**
|
|
@@ -371,7 +381,7 @@ export declare class SddcClient {
|
|
|
371
381
|
* @param UpgradeHcxRequest
|
|
372
382
|
* @return UpgradeHcxResponse
|
|
373
383
|
* @throws OciError when an error occurs
|
|
374
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
384
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/UpgradeHcx.ts.html |here} to see how to use UpgradeHcx API.
|
|
375
385
|
*/
|
|
376
386
|
upgradeHcx(upgradeHcxRequest: requests.UpgradeHcxRequest): Promise<responses.UpgradeHcxResponse>;
|
|
377
387
|
}
|
|
@@ -446,7 +456,7 @@ export declare class WorkRequestClient {
|
|
|
446
456
|
* @param GetWorkRequestRequest
|
|
447
457
|
* @return GetWorkRequestResponse
|
|
448
458
|
* @throws OciError when an error occurs
|
|
449
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
459
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
450
460
|
*/
|
|
451
461
|
getWorkRequest(getWorkRequestRequest: requests.GetWorkRequestRequest): Promise<responses.GetWorkRequestResponse>;
|
|
452
462
|
/**
|
|
@@ -456,7 +466,7 @@ export declare class WorkRequestClient {
|
|
|
456
466
|
* @param ListWorkRequestErrorsRequest
|
|
457
467
|
* @return ListWorkRequestErrorsResponse
|
|
458
468
|
* @throws OciError when an error occurs
|
|
459
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
469
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
460
470
|
*/
|
|
461
471
|
listWorkRequestErrors(listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest): Promise<responses.ListWorkRequestErrorsResponse>;
|
|
462
472
|
/**
|
|
@@ -466,7 +476,7 @@ export declare class WorkRequestClient {
|
|
|
466
476
|
* @param ListWorkRequestLogsRequest
|
|
467
477
|
* @return ListWorkRequestLogsResponse
|
|
468
478
|
* @throws OciError when an error occurs
|
|
469
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
479
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
470
480
|
*/
|
|
471
481
|
listWorkRequestLogs(listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest): Promise<responses.ListWorkRequestLogsResponse>;
|
|
472
482
|
/**
|
|
@@ -476,7 +486,7 @@ export declare class WorkRequestClient {
|
|
|
476
486
|
* @param ListWorkRequestsRequest
|
|
477
487
|
* @return ListWorkRequestsResponse
|
|
478
488
|
* @throws OciError when an error occurs
|
|
479
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
489
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
480
490
|
*/
|
|
481
491
|
listWorkRequests(listWorkRequestsRequest: requests.ListWorkRequestsRequest): Promise<responses.ListWorkRequestsResponse>;
|
|
482
492
|
}
|
package/lib/client.js
CHANGED
|
@@ -189,7 +189,7 @@ class EsxiHostClient {
|
|
|
189
189
|
* @param CreateEsxiHostRequest
|
|
190
190
|
* @return CreateEsxiHostResponse
|
|
191
191
|
* @throws OciError when an error occurs
|
|
192
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
192
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/CreateEsxiHost.ts.html |here} to see how to use CreateEsxiHost API.
|
|
193
193
|
*/
|
|
194
194
|
createEsxiHost(createEsxiHostRequest) {
|
|
195
195
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -262,7 +262,7 @@ class EsxiHostClient {
|
|
|
262
262
|
* @param DeleteEsxiHostRequest
|
|
263
263
|
* @return DeleteEsxiHostResponse
|
|
264
264
|
* @throws OciError when an error occurs
|
|
265
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
265
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/DeleteEsxiHost.ts.html |here} to see how to use DeleteEsxiHost API.
|
|
266
266
|
*/
|
|
267
267
|
deleteEsxiHost(deleteEsxiHostRequest) {
|
|
268
268
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -322,7 +322,7 @@ class EsxiHostClient {
|
|
|
322
322
|
* @param GetEsxiHostRequest
|
|
323
323
|
* @return GetEsxiHostResponse
|
|
324
324
|
* @throws OciError when an error occurs
|
|
325
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
325
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/GetEsxiHost.ts.html |here} to see how to use GetEsxiHost API.
|
|
326
326
|
*/
|
|
327
327
|
getEsxiHost(getEsxiHostRequest) {
|
|
328
328
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -394,7 +394,7 @@ class EsxiHostClient {
|
|
|
394
394
|
* @param ListEsxiHostsRequest
|
|
395
395
|
* @return ListEsxiHostsResponse
|
|
396
396
|
* @throws OciError when an error occurs
|
|
397
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
397
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListEsxiHosts.ts.html |here} to see how to use ListEsxiHosts API.
|
|
398
398
|
*/
|
|
399
399
|
listEsxiHosts(listEsxiHostsRequest) {
|
|
400
400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -411,7 +411,10 @@ class EsxiHostClient {
|
|
|
411
411
|
"page": listEsxiHostsRequest.page,
|
|
412
412
|
"sortOrder": listEsxiHostsRequest.sortOrder,
|
|
413
413
|
"sortBy": listEsxiHostsRequest.sortBy,
|
|
414
|
-
"lifecycleState": listEsxiHostsRequest.lifecycleState
|
|
414
|
+
"lifecycleState": listEsxiHostsRequest.lifecycleState,
|
|
415
|
+
"isBillingDonorsOnly": listEsxiHostsRequest.isBillingDonorsOnly,
|
|
416
|
+
"isSwapBillingOnly": listEsxiHostsRequest.isSwapBillingOnly,
|
|
417
|
+
"compartmentId": listEsxiHostsRequest.compartmentId
|
|
415
418
|
};
|
|
416
419
|
let headerParams = {
|
|
417
420
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
@@ -458,13 +461,77 @@ class EsxiHostClient {
|
|
|
458
461
|
}
|
|
459
462
|
});
|
|
460
463
|
}
|
|
464
|
+
/**
|
|
465
|
+
* Swap billing between two Active ESXi hosts.
|
|
466
|
+
*
|
|
467
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
468
|
+
* @param SwapBillingRequest
|
|
469
|
+
* @return SwapBillingResponse
|
|
470
|
+
* @throws OciError when an error occurs
|
|
471
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/SwapBilling.ts.html |here} to see how to use SwapBilling API.
|
|
472
|
+
*/
|
|
473
|
+
swapBilling(swapBillingRequest) {
|
|
474
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
475
|
+
if (this.logger)
|
|
476
|
+
this.logger.debug("Calling operation EsxiHostClient#swapBilling.");
|
|
477
|
+
const operationName = "swapBilling";
|
|
478
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20200501/EsxiHost/SwapBilling";
|
|
479
|
+
const pathParams = {
|
|
480
|
+
"{esxiHostId}": swapBillingRequest.esxiHostId
|
|
481
|
+
};
|
|
482
|
+
const queryParams = {
|
|
483
|
+
"swapBillingHostId": swapBillingRequest.swapBillingHostId
|
|
484
|
+
};
|
|
485
|
+
let headerParams = {
|
|
486
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
487
|
+
"opc-retry-token": swapBillingRequest.opcRetryToken,
|
|
488
|
+
"if-match": swapBillingRequest.ifMatch,
|
|
489
|
+
"opc-request-id": swapBillingRequest.opcRequestId
|
|
490
|
+
};
|
|
491
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
492
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, swapBillingRequest.retryConfiguration, specRetryConfiguration);
|
|
493
|
+
if (this.logger)
|
|
494
|
+
retrier.logger = this.logger;
|
|
495
|
+
const request = yield oci_common_1.composeRequest({
|
|
496
|
+
baseEndpoint: this._endpoint,
|
|
497
|
+
defaultHeaders: this._defaultHeaders,
|
|
498
|
+
path: "/esxiHosts/{esxiHostId}/actions/swapBilling",
|
|
499
|
+
method: "POST",
|
|
500
|
+
pathParams: pathParams,
|
|
501
|
+
headerParams: headerParams,
|
|
502
|
+
queryParams: queryParams
|
|
503
|
+
});
|
|
504
|
+
try {
|
|
505
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
506
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
507
|
+
responseObject: {},
|
|
508
|
+
responseHeaders: [
|
|
509
|
+
{
|
|
510
|
+
value: response.headers.get("opc-work-request-id"),
|
|
511
|
+
key: "opcWorkRequestId",
|
|
512
|
+
dataType: "string"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
value: response.headers.get("opc-request-id"),
|
|
516
|
+
key: "opcRequestId",
|
|
517
|
+
dataType: "string"
|
|
518
|
+
}
|
|
519
|
+
]
|
|
520
|
+
});
|
|
521
|
+
return sdkResponse;
|
|
522
|
+
}
|
|
523
|
+
catch (err) {
|
|
524
|
+
throw err;
|
|
525
|
+
}
|
|
526
|
+
});
|
|
527
|
+
}
|
|
461
528
|
/**
|
|
462
529
|
* Updates the specified ESXi host.
|
|
463
530
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
464
531
|
* @param UpdateEsxiHostRequest
|
|
465
532
|
* @return UpdateEsxiHostResponse
|
|
466
533
|
* @throws OciError when an error occurs
|
|
467
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
534
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/UpdateEsxiHost.ts.html |here} to see how to use UpdateEsxiHost API.
|
|
468
535
|
*/
|
|
469
536
|
updateEsxiHost(updateEsxiHostRequest) {
|
|
470
537
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -659,7 +726,7 @@ class SddcClient {
|
|
|
659
726
|
* @param CancelDowngradeHcxRequest
|
|
660
727
|
* @return CancelDowngradeHcxResponse
|
|
661
728
|
* @throws OciError when an error occurs
|
|
662
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
729
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/CancelDowngradeHcx.ts.html |here} to see how to use CancelDowngradeHcx API.
|
|
663
730
|
*/
|
|
664
731
|
cancelDowngradeHcx(cancelDowngradeHcxRequest) {
|
|
665
732
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -723,7 +790,7 @@ class SddcClient {
|
|
|
723
790
|
* @param ChangeSddcCompartmentRequest
|
|
724
791
|
* @return ChangeSddcCompartmentResponse
|
|
725
792
|
* @throws OciError when an error occurs
|
|
726
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
793
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ChangeSddcCompartment.ts.html |here} to see how to use ChangeSddcCompartment API.
|
|
727
794
|
*/
|
|
728
795
|
changeSddcCompartment(changeSddcCompartmentRequest) {
|
|
729
796
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -786,7 +853,7 @@ class SddcClient {
|
|
|
786
853
|
* @param CreateSddcRequest
|
|
787
854
|
* @return CreateSddcResponse
|
|
788
855
|
* @throws OciError when an error occurs
|
|
789
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
856
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/CreateSddc.ts.html |here} to see how to use CreateSddc API.
|
|
790
857
|
*/
|
|
791
858
|
createSddc(createSddcRequest) {
|
|
792
859
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -851,7 +918,7 @@ class SddcClient {
|
|
|
851
918
|
* @param DeleteSddcRequest
|
|
852
919
|
* @return DeleteSddcResponse
|
|
853
920
|
* @throws OciError when an error occurs
|
|
854
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
921
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/DeleteSddc.ts.html |here} to see how to use DeleteSddc API.
|
|
855
922
|
*/
|
|
856
923
|
deleteSddc(deleteSddcRequest) {
|
|
857
924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -916,7 +983,7 @@ class SddcClient {
|
|
|
916
983
|
* @param DowngradeHcxRequest
|
|
917
984
|
* @return DowngradeHcxResponse
|
|
918
985
|
* @throws OciError when an error occurs
|
|
919
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
986
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/DowngradeHcx.ts.html |here} to see how to use DowngradeHcx API.
|
|
920
987
|
*/
|
|
921
988
|
downgradeHcx(downgradeHcxRequest) {
|
|
922
989
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -978,7 +1045,7 @@ class SddcClient {
|
|
|
978
1045
|
* @param GetSddcRequest
|
|
979
1046
|
* @return GetSddcResponse
|
|
980
1047
|
* @throws OciError when an error occurs
|
|
981
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
1048
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/GetSddc.ts.html |here} to see how to use GetSddc API.
|
|
982
1049
|
*/
|
|
983
1050
|
getSddc(getSddcRequest) {
|
|
984
1051
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1043,7 +1110,7 @@ class SddcClient {
|
|
|
1043
1110
|
* @param ListSddcsRequest
|
|
1044
1111
|
* @return ListSddcsResponse
|
|
1045
1112
|
* @throws OciError when an error occurs
|
|
1046
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
1113
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListSddcs.ts.html |here} to see how to use ListSddcs API.
|
|
1047
1114
|
*/
|
|
1048
1115
|
listSddcs(listSddcsRequest) {
|
|
1049
1116
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1114,7 +1181,7 @@ class SddcClient {
|
|
|
1114
1181
|
* @param ListSupportedHostShapesRequest
|
|
1115
1182
|
* @return ListSupportedHostShapesResponse
|
|
1116
1183
|
* @throws OciError when an error occurs
|
|
1117
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
1184
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListSupportedHostShapes.ts.html |here} to see how to use ListSupportedHostShapes API.
|
|
1118
1185
|
*/
|
|
1119
1186
|
listSupportedHostShapes(listSupportedHostShapesRequest) {
|
|
1120
1187
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1182,7 +1249,7 @@ class SddcClient {
|
|
|
1182
1249
|
* @param ListSupportedSkusRequest
|
|
1183
1250
|
* @return ListSupportedSkusResponse
|
|
1184
1251
|
* @throws OciError when an error occurs
|
|
1185
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
1252
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListSupportedSkus.ts.html |here} to see how to use ListSupportedSkus API.
|
|
1186
1253
|
*/
|
|
1187
1254
|
listSupportedSkus(listSupportedSkusRequest) {
|
|
1188
1255
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1250,7 +1317,7 @@ class SddcClient {
|
|
|
1250
1317
|
* @param ListSupportedVmwareSoftwareVersionsRequest
|
|
1251
1318
|
* @return ListSupportedVmwareSoftwareVersionsResponse
|
|
1252
1319
|
* @throws OciError when an error occurs
|
|
1253
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
1320
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListSupportedVmwareSoftwareVersions.ts.html |here} to see how to use ListSupportedVmwareSoftwareVersions API.
|
|
1254
1321
|
*/
|
|
1255
1322
|
listSupportedVmwareSoftwareVersions(listSupportedVmwareSoftwareVersionsRequest) {
|
|
1256
1323
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1315,7 +1382,7 @@ class SddcClient {
|
|
|
1315
1382
|
* @param RefreshHcxLicenseStatusRequest
|
|
1316
1383
|
* @return RefreshHcxLicenseStatusResponse
|
|
1317
1384
|
* @throws OciError when an error occurs
|
|
1318
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
1385
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/RefreshHcxLicenseStatus.ts.html |here} to see how to use RefreshHcxLicenseStatus API.
|
|
1319
1386
|
*/
|
|
1320
1387
|
refreshHcxLicenseStatus(refreshHcxLicenseStatusRequest) {
|
|
1321
1388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1382,7 +1449,7 @@ class SddcClient {
|
|
|
1382
1449
|
* @param UpdateSddcRequest
|
|
1383
1450
|
* @return UpdateSddcResponse
|
|
1384
1451
|
* @throws OciError when an error occurs
|
|
1385
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
1452
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/UpdateSddc.ts.html |here} to see how to use UpdateSddc API.
|
|
1386
1453
|
*/
|
|
1387
1454
|
updateSddc(updateSddcRequest) {
|
|
1388
1455
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1448,7 +1515,7 @@ class SddcClient {
|
|
|
1448
1515
|
* @param UpgradeHcxRequest
|
|
1449
1516
|
* @return UpgradeHcxResponse
|
|
1450
1517
|
* @throws OciError when an error occurs
|
|
1451
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
1518
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/UpgradeHcx.ts.html |here} to see how to use UpgradeHcx API.
|
|
1452
1519
|
*/
|
|
1453
1520
|
upgradeHcx(upgradeHcxRequest) {
|
|
1454
1521
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1638,7 +1705,7 @@ class WorkRequestClient {
|
|
|
1638
1705
|
* @param GetWorkRequestRequest
|
|
1639
1706
|
* @return GetWorkRequestResponse
|
|
1640
1707
|
* @throws OciError when an error occurs
|
|
1641
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
1708
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1642
1709
|
*/
|
|
1643
1710
|
getWorkRequest(getWorkRequestRequest) {
|
|
1644
1711
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1702,7 +1769,7 @@ class WorkRequestClient {
|
|
|
1702
1769
|
* @param ListWorkRequestErrorsRequest
|
|
1703
1770
|
* @return ListWorkRequestErrorsResponse
|
|
1704
1771
|
* @throws OciError when an error occurs
|
|
1705
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
1772
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1706
1773
|
*/
|
|
1707
1774
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1708
1775
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1769,7 +1836,7 @@ class WorkRequestClient {
|
|
|
1769
1836
|
* @param ListWorkRequestLogsRequest
|
|
1770
1837
|
* @return ListWorkRequestLogsResponse
|
|
1771
1838
|
* @throws OciError when an error occurs
|
|
1772
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
1839
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1773
1840
|
*/
|
|
1774
1841
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1775
1842
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1836,7 +1903,7 @@ class WorkRequestClient {
|
|
|
1836
1903
|
* @param ListWorkRequestsRequest
|
|
1837
1904
|
* @return ListWorkRequestsResponse
|
|
1838
1905
|
* @throws OciError when an error occurs
|
|
1839
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
1906
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/ocvp/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1840
1907
|
*/
|
|
1841
1908
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1842
1909
|
return __awaiter(this, void 0, void 0, function* () {
|