oci-ocvp 2.75.0 → 2.76.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/index.d.ts +1 -1
- package/index.js +1 -1
- package/lib/client.d.ts +32 -32
- package/lib/client.js +48 -32
- package/lib/client.js.map +1 -1
- package/lib/cluster-waiter.d.ts +1 -1
- package/lib/cluster-waiter.js +1 -1
- package/lib/esxihost-waiter.d.ts +1 -1
- package/lib/esxihost-waiter.js +1 -1
- package/lib/model/action-types.d.ts +1 -1
- package/lib/model/action-types.js +1 -1
- package/lib/model/change-sddc-compartment-details.d.ts +1 -1
- package/lib/model/change-sddc-compartment-details.js +1 -1
- package/lib/model/cluster-collection.d.ts +1 -1
- package/lib/model/cluster-collection.js +1 -1
- package/lib/model/cluster-summary.d.ts +1 -1
- package/lib/model/cluster-summary.js +1 -1
- package/lib/model/cluster.d.ts +1 -1
- package/lib/model/cluster.js +1 -1
- package/lib/model/commitment.d.ts +1 -1
- package/lib/model/commitment.js +1 -1
- package/lib/model/create-cluster-details.d.ts +1 -1
- package/lib/model/create-cluster-details.js +1 -1
- package/lib/model/create-esxi-host-details.d.ts +1 -1
- package/lib/model/create-esxi-host-details.js +1 -1
- package/lib/model/create-sddc-details.d.ts +1 -1
- package/lib/model/create-sddc-details.js +1 -1
- package/lib/model/datastore-details.d.ts +1 -1
- package/lib/model/datastore-details.js +1 -1
- package/lib/model/datastore-info.d.ts +1 -1
- package/lib/model/datastore-info.js +1 -1
- package/lib/model/datastore-types.d.ts +1 -1
- package/lib/model/datastore-types.js +1 -1
- package/lib/model/downgrade-hcx-details.d.ts +1 -1
- package/lib/model/downgrade-hcx-details.js +1 -1
- package/lib/model/esxi-host-collection.d.ts +1 -1
- package/lib/model/esxi-host-collection.js +1 -1
- package/lib/model/esxi-host-summary.d.ts +1 -1
- package/lib/model/esxi-host-summary.js +1 -1
- package/lib/model/esxi-host.d.ts +1 -1
- package/lib/model/esxi-host.js +1 -1
- package/lib/model/hcx-license-status.d.ts +1 -1
- package/lib/model/hcx-license-status.js +1 -1
- package/lib/model/hcx-license-summary.d.ts +1 -1
- package/lib/model/hcx-license-summary.js +1 -1
- package/lib/model/hcx-modes.d.ts +1 -1
- package/lib/model/hcx-modes.js +1 -1
- package/lib/model/index.d.ts +1 -1
- package/lib/model/index.js +1 -1
- package/lib/model/initial-cluster-configuration.d.ts +1 -1
- package/lib/model/initial-cluster-configuration.js +1 -1
- package/lib/model/initial-configuration.d.ts +1 -1
- package/lib/model/initial-configuration.js +1 -1
- package/lib/model/lifecycle-states.d.ts +1 -1
- package/lib/model/lifecycle-states.js +1 -1
- package/lib/model/network-configuration.d.ts +1 -1
- package/lib/model/network-configuration.js +1 -1
- package/lib/model/operation-status.d.ts +1 -1
- package/lib/model/operation-status.js +1 -1
- package/lib/model/operation-types.d.ts +1 -1
- package/lib/model/operation-types.js +1 -1
- package/lib/model/password-types.d.ts +1 -1
- package/lib/model/password-types.js +1 -1
- package/lib/model/replace-host-details.d.ts +1 -1
- package/lib/model/replace-host-details.js +1 -1
- package/lib/model/sddc-collection.d.ts +1 -1
- package/lib/model/sddc-collection.js +1 -1
- package/lib/model/sddc-password.d.ts +1 -1
- package/lib/model/sddc-password.js +1 -1
- package/lib/model/sddc-summary.d.ts +1 -1
- package/lib/model/sddc-summary.js +1 -1
- package/lib/model/sddc.d.ts +1 -1
- package/lib/model/sddc.js +1 -1
- package/lib/model/sort-orders.d.ts +1 -1
- package/lib/model/sort-orders.js +1 -1
- package/lib/model/supported-commitment-summary-collection.d.ts +1 -1
- package/lib/model/supported-commitment-summary-collection.js +1 -1
- package/lib/model/supported-commitment-summary.d.ts +1 -1
- package/lib/model/supported-commitment-summary.js +1 -1
- package/lib/model/supported-esxi-software-version-summary.d.ts +1 -1
- package/lib/model/supported-esxi-software-version-summary.js +1 -1
- package/lib/model/supported-host-shape-collection.d.ts +1 -1
- package/lib/model/supported-host-shape-collection.js +1 -1
- package/lib/model/supported-host-shape-summary.d.ts +1 -1
- package/lib/model/supported-host-shape-summary.js +1 -1
- package/lib/model/supported-vmware-software-version-collection.d.ts +1 -1
- package/lib/model/supported-vmware-software-version-collection.js +1 -1
- package/lib/model/supported-vmware-software-version-summary.d.ts +1 -1
- package/lib/model/supported-vmware-software-version-summary.js +1 -1
- package/lib/model/update-cluster-details.d.ts +1 -1
- package/lib/model/update-cluster-details.js +1 -1
- package/lib/model/update-esxi-host-details.d.ts +1 -1
- package/lib/model/update-esxi-host-details.js +1 -1
- package/lib/model/update-sddc-details.d.ts +1 -1
- package/lib/model/update-sddc-details.js +1 -1
- package/lib/model/vsphere-license.d.ts +1 -1
- package/lib/model/vsphere-license.js +1 -1
- package/lib/model/vsphere-types.d.ts +1 -1
- package/lib/model/vsphere-types.js +1 -1
- package/lib/model/vsphere-upgrade-object.d.ts +1 -1
- package/lib/model/vsphere-upgrade-object.js +1 -1
- package/lib/model/work-request-collection.d.ts +1 -1
- package/lib/model/work-request-collection.js +1 -1
- package/lib/model/work-request-error-collection.d.ts +1 -1
- package/lib/model/work-request-error-collection.js +1 -1
- package/lib/model/work-request-error.d.ts +1 -1
- package/lib/model/work-request-error.js +1 -1
- package/lib/model/work-request-log-entry-collection.d.ts +1 -1
- package/lib/model/work-request-log-entry-collection.js +1 -1
- package/lib/model/work-request-log-entry.d.ts +1 -1
- package/lib/model/work-request-log-entry.js +1 -1
- package/lib/model/work-request-resource.d.ts +1 -1
- package/lib/model/work-request-resource.js +1 -1
- package/lib/model/work-request.d.ts +1 -1
- package/lib/model/work-request.js +1 -1
- package/lib/request/cancel-downgrade-hcx-request.d.ts +2 -2
- package/lib/request/cancel-downgrade-hcx-request.js +1 -1
- package/lib/request/change-sddc-compartment-request.d.ts +2 -2
- package/lib/request/change-sddc-compartment-request.js +1 -1
- package/lib/request/create-cluster-request.d.ts +2 -2
- package/lib/request/create-cluster-request.js +1 -1
- package/lib/request/create-esxi-host-request.d.ts +2 -2
- package/lib/request/create-esxi-host-request.js +1 -1
- package/lib/request/create-sddc-request.d.ts +2 -2
- package/lib/request/create-sddc-request.js +1 -1
- package/lib/request/delete-cluster-request.d.ts +2 -2
- package/lib/request/delete-cluster-request.js +1 -1
- package/lib/request/delete-esxi-host-request.d.ts +2 -2
- package/lib/request/delete-esxi-host-request.js +1 -1
- package/lib/request/delete-sddc-request.d.ts +2 -2
- package/lib/request/delete-sddc-request.js +1 -1
- package/lib/request/downgrade-hcx-request.d.ts +2 -2
- package/lib/request/downgrade-hcx-request.js +1 -1
- package/lib/request/get-cluster-request.d.ts +2 -2
- package/lib/request/get-cluster-request.js +1 -1
- package/lib/request/get-esxi-host-request.d.ts +2 -2
- package/lib/request/get-esxi-host-request.js +1 -1
- package/lib/request/get-sddc-request.d.ts +2 -2
- package/lib/request/get-sddc-request.js +1 -1
- package/lib/request/get-work-request-request.d.ts +2 -2
- package/lib/request/get-work-request-request.js +1 -1
- package/lib/request/index.d.ts +1 -1
- package/lib/request/index.js +1 -1
- package/lib/request/inplace-upgrade-request.d.ts +2 -2
- package/lib/request/inplace-upgrade-request.js +1 -1
- package/lib/request/list-clusters-request.d.ts +2 -2
- package/lib/request/list-clusters-request.js +1 -1
- package/lib/request/list-esxi-hosts-request.d.ts +2 -2
- package/lib/request/list-esxi-hosts-request.js +1 -1
- package/lib/request/list-sddcs-request.d.ts +2 -2
- package/lib/request/list-sddcs-request.js +1 -1
- package/lib/request/list-supported-commitments-request.d.ts +2 -2
- package/lib/request/list-supported-commitments-request.js +1 -1
- package/lib/request/list-supported-host-shapes-request.d.ts +2 -2
- package/lib/request/list-supported-host-shapes-request.js +1 -1
- package/lib/request/list-supported-vmware-software-versions-request.d.ts +2 -2
- package/lib/request/list-supported-vmware-software-versions-request.js +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +2 -2
- package/lib/request/list-work-request-errors-request.js +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +2 -2
- package/lib/request/list-work-request-logs-request.js +1 -1
- package/lib/request/list-work-requests-request.d.ts +2 -2
- package/lib/request/list-work-requests-request.js +1 -1
- package/lib/request/refresh-hcx-license-status-request.d.ts +2 -2
- package/lib/request/refresh-hcx-license-status-request.js +1 -1
- package/lib/request/replace-host-request.d.ts +2 -2
- package/lib/request/replace-host-request.js +1 -1
- package/lib/request/retrieve-password-request.d.ts +2 -2
- package/lib/request/retrieve-password-request.js +1 -1
- package/lib/request/swap-billing-request.d.ts +2 -2
- package/lib/request/swap-billing-request.js +1 -1
- package/lib/request/update-cluster-request.d.ts +2 -2
- package/lib/request/update-cluster-request.js +1 -1
- package/lib/request/update-esxi-host-request.d.ts +2 -2
- package/lib/request/update-esxi-host-request.js +1 -1
- package/lib/request/update-sddc-request.d.ts +2 -2
- package/lib/request/update-sddc-request.js +1 -1
- package/lib/request/upgrade-hcx-request.d.ts +2 -2
- package/lib/request/upgrade-hcx-request.js +1 -1
- package/lib/response/cancel-downgrade-hcx-response.d.ts +1 -1
- package/lib/response/cancel-downgrade-hcx-response.js +1 -1
- package/lib/response/change-sddc-compartment-response.d.ts +1 -1
- package/lib/response/change-sddc-compartment-response.js +1 -1
- package/lib/response/create-cluster-response.d.ts +1 -1
- package/lib/response/create-cluster-response.js +1 -1
- package/lib/response/create-esxi-host-response.d.ts +1 -1
- package/lib/response/create-esxi-host-response.js +1 -1
- package/lib/response/create-sddc-response.d.ts +1 -1
- package/lib/response/create-sddc-response.js +1 -1
- package/lib/response/delete-cluster-response.d.ts +1 -1
- package/lib/response/delete-cluster-response.js +1 -1
- package/lib/response/delete-esxi-host-response.d.ts +1 -1
- package/lib/response/delete-esxi-host-response.js +1 -1
- package/lib/response/delete-sddc-response.d.ts +1 -1
- package/lib/response/delete-sddc-response.js +1 -1
- package/lib/response/downgrade-hcx-response.d.ts +1 -1
- package/lib/response/downgrade-hcx-response.js +1 -1
- package/lib/response/get-cluster-response.d.ts +1 -1
- package/lib/response/get-cluster-response.js +1 -1
- package/lib/response/get-esxi-host-response.d.ts +1 -1
- package/lib/response/get-esxi-host-response.js +1 -1
- package/lib/response/get-sddc-response.d.ts +1 -1
- package/lib/response/get-sddc-response.js +1 -1
- package/lib/response/get-work-request-response.d.ts +1 -1
- package/lib/response/get-work-request-response.js +1 -1
- package/lib/response/index.d.ts +1 -1
- package/lib/response/index.js +1 -1
- package/lib/response/inplace-upgrade-response.d.ts +1 -1
- package/lib/response/inplace-upgrade-response.js +1 -1
- package/lib/response/list-clusters-response.d.ts +1 -1
- package/lib/response/list-clusters-response.js +1 -1
- package/lib/response/list-esxi-hosts-response.d.ts +1 -1
- package/lib/response/list-esxi-hosts-response.js +1 -1
- package/lib/response/list-sddcs-response.d.ts +1 -1
- package/lib/response/list-sddcs-response.js +1 -1
- package/lib/response/list-supported-commitments-response.d.ts +1 -1
- package/lib/response/list-supported-commitments-response.js +1 -1
- package/lib/response/list-supported-host-shapes-response.d.ts +1 -1
- package/lib/response/list-supported-host-shapes-response.js +1 -1
- package/lib/response/list-supported-vmware-software-versions-response.d.ts +1 -1
- package/lib/response/list-supported-vmware-software-versions-response.js +1 -1
- package/lib/response/list-work-request-errors-response.d.ts +1 -1
- package/lib/response/list-work-request-errors-response.js +1 -1
- package/lib/response/list-work-request-logs-response.d.ts +1 -1
- package/lib/response/list-work-request-logs-response.js +1 -1
- package/lib/response/list-work-requests-response.d.ts +1 -1
- package/lib/response/list-work-requests-response.js +1 -1
- package/lib/response/refresh-hcx-license-status-response.d.ts +1 -1
- package/lib/response/refresh-hcx-license-status-response.js +1 -1
- package/lib/response/replace-host-response.d.ts +1 -1
- package/lib/response/replace-host-response.js +1 -1
- package/lib/response/retrieve-password-response.d.ts +1 -1
- package/lib/response/retrieve-password-response.js +1 -1
- package/lib/response/swap-billing-response.d.ts +1 -1
- package/lib/response/swap-billing-response.js +1 -1
- package/lib/response/update-cluster-response.d.ts +1 -1
- package/lib/response/update-cluster-response.js +1 -1
- package/lib/response/update-esxi-host-response.d.ts +1 -1
- package/lib/response/update-esxi-host-response.js +1 -1
- package/lib/response/update-sddc-response.d.ts +1 -1
- package/lib/response/update-sddc-response.js +1 -1
- package/lib/response/upgrade-hcx-response.d.ts +1 -1
- package/lib/response/upgrade-hcx-response.js +1 -1
- package/lib/sddc-waiter.d.ts +1 -1
- package/lib/sddc-waiter.js +1 -1
- package/lib/workrequest-waiter.d.ts +1 -1
- package/lib/workrequest-waiter.js +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -10,7 +10,7 @@ For more information, see [Oracle Cloud VMware Solution](/iaas/Content/VMware/Co
|
|
|
10
10
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*
|
|
13
|
-
* Copyright (c) 2020,
|
|
13
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
14
14
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
15
|
*/
|
|
16
16
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -85,6 +85,10 @@ class ClusterClient {
|
|
|
85
85
|
? clientConfiguration.bodyDuplexMode
|
|
86
86
|
: undefined;
|
|
87
87
|
}
|
|
88
|
+
if (!oci_common_1.developerToolConfiguration.isServiceEnabled("ocvp")) {
|
|
89
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
90
|
+
throw errmsg.concat("ocvp");
|
|
91
|
+
}
|
|
88
92
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
89
93
|
const specCircuitBreakerEnabled = true;
|
|
90
94
|
if (!this._circuitBreaker &&
|
|
@@ -194,7 +198,7 @@ class ClusterClient {
|
|
|
194
198
|
* @param CreateClusterRequest
|
|
195
199
|
* @return CreateClusterResponse
|
|
196
200
|
* @throws OciError when an error occurs
|
|
197
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
201
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/CreateCluster.ts.html |here} to see how to use CreateCluster API.
|
|
198
202
|
*/
|
|
199
203
|
createCluster(createClusterRequest) {
|
|
200
204
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -259,7 +263,7 @@ class ClusterClient {
|
|
|
259
263
|
* @param DeleteClusterRequest
|
|
260
264
|
* @return DeleteClusterResponse
|
|
261
265
|
* @throws OciError when an error occurs
|
|
262
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
266
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/DeleteCluster.ts.html |here} to see how to use DeleteCluster API.
|
|
263
267
|
*/
|
|
264
268
|
deleteCluster(deleteClusterRequest) {
|
|
265
269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -319,7 +323,7 @@ class ClusterClient {
|
|
|
319
323
|
* @param GetClusterRequest
|
|
320
324
|
* @return GetClusterResponse
|
|
321
325
|
* @throws OciError when an error occurs
|
|
322
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
326
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/GetCluster.ts.html |here} to see how to use GetCluster API.
|
|
323
327
|
*/
|
|
324
328
|
getCluster(getClusterRequest) {
|
|
325
329
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -383,7 +387,7 @@ class ClusterClient {
|
|
|
383
387
|
* @param ListClustersRequest
|
|
384
388
|
* @return ListClustersResponse
|
|
385
389
|
* @throws OciError when an error occurs
|
|
386
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
390
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/ListClusters.ts.html |here} to see how to use ListClusters API.
|
|
387
391
|
*/
|
|
388
392
|
listClusters(listClustersRequest) {
|
|
389
393
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -458,7 +462,7 @@ class ClusterClient {
|
|
|
458
462
|
* @param UpdateClusterRequest
|
|
459
463
|
* @return UpdateClusterResponse
|
|
460
464
|
* @throws OciError when an error occurs
|
|
461
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
465
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/UpdateCluster.ts.html |here} to see how to use UpdateCluster API.
|
|
462
466
|
*/
|
|
463
467
|
updateCluster(updateClusterRequest) {
|
|
464
468
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -553,6 +557,10 @@ class EsxiHostClient {
|
|
|
553
557
|
? clientConfiguration.bodyDuplexMode
|
|
554
558
|
: undefined;
|
|
555
559
|
}
|
|
560
|
+
if (!oci_common_1.developerToolConfiguration.isServiceEnabled("ocvp")) {
|
|
561
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
562
|
+
throw errmsg.concat("ocvp");
|
|
563
|
+
}
|
|
556
564
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
557
565
|
const specCircuitBreakerEnabled = true;
|
|
558
566
|
if (!this._circuitBreaker &&
|
|
@@ -662,7 +670,7 @@ class EsxiHostClient {
|
|
|
662
670
|
* @param CreateEsxiHostRequest
|
|
663
671
|
* @return CreateEsxiHostResponse
|
|
664
672
|
* @throws OciError when an error occurs
|
|
665
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
673
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/CreateEsxiHost.ts.html |here} to see how to use CreateEsxiHost API.
|
|
666
674
|
*/
|
|
667
675
|
createEsxiHost(createEsxiHostRequest) {
|
|
668
676
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -735,7 +743,7 @@ class EsxiHostClient {
|
|
|
735
743
|
* @param DeleteEsxiHostRequest
|
|
736
744
|
* @return DeleteEsxiHostResponse
|
|
737
745
|
* @throws OciError when an error occurs
|
|
738
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
746
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/DeleteEsxiHost.ts.html |here} to see how to use DeleteEsxiHost API.
|
|
739
747
|
*/
|
|
740
748
|
deleteEsxiHost(deleteEsxiHostRequest) {
|
|
741
749
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -795,7 +803,7 @@ class EsxiHostClient {
|
|
|
795
803
|
* @param GetEsxiHostRequest
|
|
796
804
|
* @return GetEsxiHostResponse
|
|
797
805
|
* @throws OciError when an error occurs
|
|
798
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
806
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/GetEsxiHost.ts.html |here} to see how to use GetEsxiHost API.
|
|
799
807
|
*/
|
|
800
808
|
getEsxiHost(getEsxiHostRequest) {
|
|
801
809
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -859,7 +867,7 @@ class EsxiHostClient {
|
|
|
859
867
|
* @param InplaceUpgradeRequest
|
|
860
868
|
* @return InplaceUpgradeResponse
|
|
861
869
|
* @throws OciError when an error occurs
|
|
862
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
870
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/InplaceUpgrade.ts.html |here} to see how to use InplaceUpgrade API.
|
|
863
871
|
*/
|
|
864
872
|
inplaceUpgrade(inplaceUpgradeRequest) {
|
|
865
873
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -929,7 +937,7 @@ class EsxiHostClient {
|
|
|
929
937
|
* @param ListEsxiHostsRequest
|
|
930
938
|
* @return ListEsxiHostsResponse
|
|
931
939
|
* @throws OciError when an error occurs
|
|
932
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
940
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/ListEsxiHosts.ts.html |here} to see how to use ListEsxiHosts API.
|
|
933
941
|
*/
|
|
934
942
|
listEsxiHosts(listEsxiHostsRequest) {
|
|
935
943
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1004,7 +1012,7 @@ class EsxiHostClient {
|
|
|
1004
1012
|
* @param ReplaceHostRequest
|
|
1005
1013
|
* @return ReplaceHostResponse
|
|
1006
1014
|
* @throws OciError when an error occurs
|
|
1007
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1015
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/ReplaceHost.ts.html |here} to see how to use ReplaceHost API.
|
|
1008
1016
|
*/
|
|
1009
1017
|
replaceHost(replaceHostRequest) {
|
|
1010
1018
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1067,7 +1075,7 @@ class EsxiHostClient {
|
|
|
1067
1075
|
* @param SwapBillingRequest
|
|
1068
1076
|
* @return SwapBillingResponse
|
|
1069
1077
|
* @throws OciError when an error occurs
|
|
1070
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1078
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/SwapBilling.ts.html |here} to see how to use SwapBilling API.
|
|
1071
1079
|
*/
|
|
1072
1080
|
swapBilling(swapBillingRequest) {
|
|
1073
1081
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1130,7 +1138,7 @@ class EsxiHostClient {
|
|
|
1130
1138
|
* @param UpdateEsxiHostRequest
|
|
1131
1139
|
* @return UpdateEsxiHostResponse
|
|
1132
1140
|
* @throws OciError when an error occurs
|
|
1133
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1141
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/UpdateEsxiHost.ts.html |here} to see how to use UpdateEsxiHost API.
|
|
1134
1142
|
*/
|
|
1135
1143
|
updateEsxiHost(updateEsxiHostRequest) {
|
|
1136
1144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1225,6 +1233,10 @@ class SddcClient {
|
|
|
1225
1233
|
? clientConfiguration.bodyDuplexMode
|
|
1226
1234
|
: undefined;
|
|
1227
1235
|
}
|
|
1236
|
+
if (!oci_common_1.developerToolConfiguration.isServiceEnabled("ocvp")) {
|
|
1237
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
1238
|
+
throw errmsg.concat("ocvp");
|
|
1239
|
+
}
|
|
1228
1240
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1229
1241
|
const specCircuitBreakerEnabled = true;
|
|
1230
1242
|
if (!this._circuitBreaker &&
|
|
@@ -1329,7 +1341,7 @@ class SddcClient {
|
|
|
1329
1341
|
* @param CancelDowngradeHcxRequest
|
|
1330
1342
|
* @return CancelDowngradeHcxResponse
|
|
1331
1343
|
* @throws OciError when an error occurs
|
|
1332
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1344
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/CancelDowngradeHcx.ts.html |here} to see how to use CancelDowngradeHcx API.
|
|
1333
1345
|
*/
|
|
1334
1346
|
cancelDowngradeHcx(cancelDowngradeHcxRequest) {
|
|
1335
1347
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1393,7 +1405,7 @@ class SddcClient {
|
|
|
1393
1405
|
* @param ChangeSddcCompartmentRequest
|
|
1394
1406
|
* @return ChangeSddcCompartmentResponse
|
|
1395
1407
|
* @throws OciError when an error occurs
|
|
1396
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1408
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/ChangeSddcCompartment.ts.html |here} to see how to use ChangeSddcCompartment API.
|
|
1397
1409
|
*/
|
|
1398
1410
|
changeSddcCompartment(changeSddcCompartmentRequest) {
|
|
1399
1411
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1456,7 +1468,7 @@ class SddcClient {
|
|
|
1456
1468
|
* @param CreateSddcRequest
|
|
1457
1469
|
* @return CreateSddcResponse
|
|
1458
1470
|
* @throws OciError when an error occurs
|
|
1459
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1471
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/CreateSddc.ts.html |here} to see how to use CreateSddc API.
|
|
1460
1472
|
*/
|
|
1461
1473
|
createSddc(createSddcRequest) {
|
|
1462
1474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1521,7 +1533,7 @@ class SddcClient {
|
|
|
1521
1533
|
* @param DeleteSddcRequest
|
|
1522
1534
|
* @return DeleteSddcResponse
|
|
1523
1535
|
* @throws OciError when an error occurs
|
|
1524
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1536
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/DeleteSddc.ts.html |here} to see how to use DeleteSddc API.
|
|
1525
1537
|
*/
|
|
1526
1538
|
deleteSddc(deleteSddcRequest) {
|
|
1527
1539
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1586,7 +1598,7 @@ class SddcClient {
|
|
|
1586
1598
|
* @param DowngradeHcxRequest
|
|
1587
1599
|
* @return DowngradeHcxResponse
|
|
1588
1600
|
* @throws OciError when an error occurs
|
|
1589
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1601
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/DowngradeHcx.ts.html |here} to see how to use DowngradeHcx API.
|
|
1590
1602
|
*/
|
|
1591
1603
|
downgradeHcx(downgradeHcxRequest) {
|
|
1592
1604
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1648,7 +1660,7 @@ class SddcClient {
|
|
|
1648
1660
|
* @param GetSddcRequest
|
|
1649
1661
|
* @return GetSddcResponse
|
|
1650
1662
|
* @throws OciError when an error occurs
|
|
1651
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1663
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/GetSddc.ts.html |here} to see how to use GetSddc API.
|
|
1652
1664
|
*/
|
|
1653
1665
|
getSddc(getSddcRequest) {
|
|
1654
1666
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1713,7 +1725,7 @@ class SddcClient {
|
|
|
1713
1725
|
* @param ListSddcsRequest
|
|
1714
1726
|
* @return ListSddcsResponse
|
|
1715
1727
|
* @throws OciError when an error occurs
|
|
1716
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1728
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/ListSddcs.ts.html |here} to see how to use ListSddcs API.
|
|
1717
1729
|
*/
|
|
1718
1730
|
listSddcs(listSddcsRequest) {
|
|
1719
1731
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1784,7 +1796,7 @@ class SddcClient {
|
|
|
1784
1796
|
* @param ListSupportedCommitmentsRequest
|
|
1785
1797
|
* @return ListSupportedCommitmentsResponse
|
|
1786
1798
|
* @throws OciError when an error occurs
|
|
1787
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1799
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/ListSupportedCommitments.ts.html |here} to see how to use ListSupportedCommitments API.
|
|
1788
1800
|
*/
|
|
1789
1801
|
listSupportedCommitments(listSupportedCommitmentsRequest) {
|
|
1790
1802
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1851,7 +1863,7 @@ class SddcClient {
|
|
|
1851
1863
|
* @param ListSupportedHostShapesRequest
|
|
1852
1864
|
* @return ListSupportedHostShapesResponse
|
|
1853
1865
|
* @throws OciError when an error occurs
|
|
1854
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1866
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/ListSupportedHostShapes.ts.html |here} to see how to use ListSupportedHostShapes API.
|
|
1855
1867
|
*/
|
|
1856
1868
|
listSupportedHostShapes(listSupportedHostShapesRequest) {
|
|
1857
1869
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1921,7 +1933,7 @@ class SddcClient {
|
|
|
1921
1933
|
* @param ListSupportedVmwareSoftwareVersionsRequest
|
|
1922
1934
|
* @return ListSupportedVmwareSoftwareVersionsResponse
|
|
1923
1935
|
* @throws OciError when an error occurs
|
|
1924
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1936
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/ListSupportedVmwareSoftwareVersions.ts.html |here} to see how to use ListSupportedVmwareSoftwareVersions API.
|
|
1925
1937
|
*/
|
|
1926
1938
|
listSupportedVmwareSoftwareVersions(listSupportedVmwareSoftwareVersionsRequest) {
|
|
1927
1939
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1988,7 +2000,7 @@ class SddcClient {
|
|
|
1988
2000
|
* @param RefreshHcxLicenseStatusRequest
|
|
1989
2001
|
* @return RefreshHcxLicenseStatusResponse
|
|
1990
2002
|
* @throws OciError when an error occurs
|
|
1991
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2003
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/RefreshHcxLicenseStatus.ts.html |here} to see how to use RefreshHcxLicenseStatus API.
|
|
1992
2004
|
*/
|
|
1993
2005
|
refreshHcxLicenseStatus(refreshHcxLicenseStatusRequest) {
|
|
1994
2006
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2050,7 +2062,7 @@ class SddcClient {
|
|
|
2050
2062
|
* @param RetrievePasswordRequest
|
|
2051
2063
|
* @return RetrievePasswordResponse
|
|
2052
2064
|
* @throws OciError when an error occurs
|
|
2053
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2065
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/RetrievePassword.ts.html |here} to see how to use RetrievePassword API.
|
|
2054
2066
|
*/
|
|
2055
2067
|
retrievePassword(retrievePasswordRequest) {
|
|
2056
2068
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2123,7 +2135,7 @@ class SddcClient {
|
|
|
2123
2135
|
* @param UpdateSddcRequest
|
|
2124
2136
|
* @return UpdateSddcResponse
|
|
2125
2137
|
* @throws OciError when an error occurs
|
|
2126
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2138
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/UpdateSddc.ts.html |here} to see how to use UpdateSddc API.
|
|
2127
2139
|
*/
|
|
2128
2140
|
updateSddc(updateSddcRequest) {
|
|
2129
2141
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2189,7 +2201,7 @@ class SddcClient {
|
|
|
2189
2201
|
* @param UpgradeHcxRequest
|
|
2190
2202
|
* @return UpgradeHcxResponse
|
|
2191
2203
|
* @throws OciError when an error occurs
|
|
2192
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2204
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/UpgradeHcx.ts.html |here} to see how to use UpgradeHcx API.
|
|
2193
2205
|
*/
|
|
2194
2206
|
upgradeHcx(upgradeHcxRequest) {
|
|
2195
2207
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2280,6 +2292,10 @@ class WorkRequestClient {
|
|
|
2280
2292
|
? clientConfiguration.bodyDuplexMode
|
|
2281
2293
|
: undefined;
|
|
2282
2294
|
}
|
|
2295
|
+
if (!oci_common_1.developerToolConfiguration.isServiceEnabled("ocvp")) {
|
|
2296
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
2297
|
+
throw errmsg.concat("ocvp");
|
|
2298
|
+
}
|
|
2283
2299
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
2284
2300
|
const specCircuitBreakerEnabled = true;
|
|
2285
2301
|
if (!this._circuitBreaker &&
|
|
@@ -2383,7 +2399,7 @@ class WorkRequestClient {
|
|
|
2383
2399
|
* @param GetWorkRequestRequest
|
|
2384
2400
|
* @return GetWorkRequestResponse
|
|
2385
2401
|
* @throws OciError when an error occurs
|
|
2386
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2402
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2387
2403
|
*/
|
|
2388
2404
|
getWorkRequest(getWorkRequestRequest) {
|
|
2389
2405
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2447,7 +2463,7 @@ class WorkRequestClient {
|
|
|
2447
2463
|
* @param ListWorkRequestErrorsRequest
|
|
2448
2464
|
* @return ListWorkRequestErrorsResponse
|
|
2449
2465
|
* @throws OciError when an error occurs
|
|
2450
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2466
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2451
2467
|
*/
|
|
2452
2468
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2453
2469
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2514,7 +2530,7 @@ class WorkRequestClient {
|
|
|
2514
2530
|
* @param ListWorkRequestLogsRequest
|
|
2515
2531
|
* @return ListWorkRequestLogsResponse
|
|
2516
2532
|
* @throws OciError when an error occurs
|
|
2517
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2533
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2518
2534
|
*/
|
|
2519
2535
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2520
2536
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2581,7 +2597,7 @@ class WorkRequestClient {
|
|
|
2581
2597
|
* @param ListWorkRequestsRequest
|
|
2582
2598
|
* @return ListWorkRequestsResponse
|
|
2583
2599
|
* @throws OciError when an error occurs
|
|
2584
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2600
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/ocvp/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2585
2601
|
*/
|
|
2586
2602
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2587
2603
|
return __awaiter(this, void 0, void 0, function* () {
|