oci-ocvp 2.140.1 → 2.141.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 +29 -0
- package/lib/client.js +193 -0
- package/lib/client.js.map +1 -1
- package/lib/model/cluster.d.ts +5 -0
- package/lib/model/cluster.js.map +1 -1
- package/lib/model/create-cluster-details.d.ts +5 -0
- package/lib/model/create-cluster-details.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 +5 -0
- package/lib/model/esxi-host-summary.js.map +1 -1
- package/lib/model/esxi-host.d.ts +10 -0
- package/lib/model/esxi-host.js.map +1 -1
- package/lib/model/fault-domain-host-distribution-modes.d.ts +30 -0
- package/lib/model/fault-domain-host-distribution-modes.js +41 -0
- package/lib/model/fault-domain-host-distribution-modes.js.map +1 -0
- package/lib/model/fault-domain-host-distribution-state.d.ts +26 -0
- package/lib/model/fault-domain-host-distribution-state.js +37 -0
- package/lib/model/fault-domain-host-distribution-state.js.map +1 -0
- package/lib/model/generate-vmware-binary-download-info-details.d.ts +28 -0
- package/lib/model/generate-vmware-binary-download-info-details.js +31 -0
- package/lib/model/generate-vmware-binary-download-info-details.js.map +1 -0
- package/lib/model/host-distribution-report-details.d.ts +35 -0
- package/lib/model/host-distribution-report-details.js +42 -0
- package/lib/model/host-distribution-report-details.js.map +1 -0
- package/lib/model/index.d.ts +14 -0
- package/lib/model/index.js +17 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/initial-cluster-configuration.d.ts +5 -0
- package/lib/model/initial-cluster-configuration.js.map +1 -1
- package/lib/model/inplace-upgrade-details.d.ts +6 -0
- package/lib/model/inplace-upgrade-details.js.map +1 -1
- package/lib/model/replace-host-details.d.ts +6 -0
- package/lib/model/replace-host-details.js.map +1 -1
- package/lib/model/vmware-binary-collection.d.ts +28 -0
- package/lib/model/vmware-binary-collection.js +63 -0
- package/lib/model/vmware-binary-collection.js.map +1 -0
- package/lib/model/vmware-binary-download-info.d.ts +41 -0
- package/lib/model/vmware-binary-download-info.js +31 -0
- package/lib/model/vmware-binary-download-info.js.map +1 -0
- package/lib/model/vmware-binary.d.ts +42 -0
- package/lib/model/vmware-binary.js +31 -0
- package/lib/model/vmware-binary.js.map +1 -0
- package/lib/request/generate-host-distribution-report-request.d.ts +38 -0
- package/lib/request/generate-host-distribution-report-request.js +15 -0
- package/lib/request/generate-host-distribution-report-request.js.map +1 -0
- package/lib/request/generate-vmware-binary-download-info-request.d.ts +43 -0
- package/lib/request/generate-vmware-binary-download-info-request.js +15 -0
- package/lib/request/generate-vmware-binary-download-info-request.js.map +1 -0
- package/lib/request/index.d.ts +6 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/retrieve-vmware-binaries-request.d.ts +52 -0
- package/lib/request/retrieve-vmware-binaries-request.js +15 -0
- package/lib/request/retrieve-vmware-binaries-request.js.map +1 -0
- package/lib/response/generate-host-distribution-report-response.d.ts +30 -0
- package/lib/response/generate-host-distribution-report-response.js +15 -0
- package/lib/response/generate-host-distribution-report-response.js.map +1 -0
- package/lib/response/generate-vmware-binary-download-info-response.d.ts +25 -0
- package/lib/response/generate-vmware-binary-download-info-response.js +15 -0
- package/lib/response/generate-vmware-binary-download-info-response.js.map +1 -0
- package/lib/response/index.d.ts +6 -0
- package/lib/response/retrieve-vmware-binaries-response.d.ts +32 -0
- package/lib/response/retrieve-vmware-binaries-response.js +15 -0
- package/lib/response/retrieve-vmware-binaries-response.js.map +1 -0
- package/package.json +2 -2
package/lib/client.d.ts
CHANGED
|
@@ -433,6 +433,15 @@ export declare class ClusterClient {
|
|
|
433
433
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/DeleteCluster.ts.html |here} to see how to use DeleteCluster API.
|
|
434
434
|
*/
|
|
435
435
|
deleteCluster(deleteClusterRequest: requests.DeleteClusterRequest): Promise<responses.DeleteClusterResponse>;
|
|
436
|
+
/**
|
|
437
|
+
* Generates report for how ESXi hosts are distributed across Fault Domains.
|
|
438
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
439
|
+
* @param GenerateHostDistributionReportRequest
|
|
440
|
+
* @return GenerateHostDistributionReportResponse
|
|
441
|
+
* @throws OciError when an error occurs
|
|
442
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/GenerateHostDistributionReport.ts.html |here} to see how to use GenerateHostDistributionReport API.
|
|
443
|
+
*/
|
|
444
|
+
generateHostDistributionReport(generateHostDistributionReportRequest: requests.GenerateHostDistributionReportRequest): Promise<responses.GenerateHostDistributionReportResponse>;
|
|
436
445
|
/**
|
|
437
446
|
* Gets the specified Cluster's information.
|
|
438
447
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -1302,6 +1311,16 @@ export declare class SddcClient {
|
|
|
1302
1311
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/DowngradeHcx.ts.html |here} to see how to use DowngradeHcx API.
|
|
1303
1312
|
*/
|
|
1304
1313
|
downgradeHcx(downgradeHcxRequest: requests.DowngradeHcxRequest): Promise<responses.DowngradeHcxResponse>;
|
|
1314
|
+
/**
|
|
1315
|
+
* Generate the VMware binary download information.
|
|
1316
|
+
*
|
|
1317
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1318
|
+
* @param GenerateVmwareBinaryDownloadInfoRequest
|
|
1319
|
+
* @return GenerateVmwareBinaryDownloadInfoResponse
|
|
1320
|
+
* @throws OciError when an error occurs
|
|
1321
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/GenerateVmwareBinaryDownloadInfo.ts.html |here} to see how to use GenerateVmwareBinaryDownloadInfo API.
|
|
1322
|
+
*/
|
|
1323
|
+
generateVmwareBinaryDownloadInfo(generateVmwareBinaryDownloadInfoRequest: requests.GenerateVmwareBinaryDownloadInfoRequest): Promise<responses.GenerateVmwareBinaryDownloadInfoResponse>;
|
|
1305
1324
|
/**
|
|
1306
1325
|
* Gets the specified SDDC's information.
|
|
1307
1326
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -1372,6 +1391,16 @@ export declare class SddcClient {
|
|
|
1372
1391
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/RetrievePassword.ts.html |here} to see how to use RetrievePassword API.
|
|
1373
1392
|
*/
|
|
1374
1393
|
retrievePassword(retrievePasswordRequest: requests.RetrievePasswordRequest): Promise<responses.RetrievePasswordResponse>;
|
|
1394
|
+
/**
|
|
1395
|
+
* Retrieve the list of available VMware binaries for the SDDC.
|
|
1396
|
+
*
|
|
1397
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1398
|
+
* @param RetrieveVmwareBinariesRequest
|
|
1399
|
+
* @return RetrieveVmwareBinariesResponse
|
|
1400
|
+
* @throws OciError when an error occurs
|
|
1401
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/RetrieveVmwareBinaries.ts.html |here} to see how to use RetrieveVmwareBinaries API.
|
|
1402
|
+
*/
|
|
1403
|
+
retrieveVmwareBinaries(retrieveVmwareBinariesRequest: requests.RetrieveVmwareBinariesRequest): Promise<responses.RetrieveVmwareBinariesResponse>;
|
|
1375
1404
|
/**
|
|
1376
1405
|
* Updates the specified SDDC.
|
|
1377
1406
|
* <p>
|
package/lib/client.js
CHANGED
|
@@ -1505,6 +1505,70 @@ class ClusterClient {
|
|
|
1505
1505
|
}
|
|
1506
1506
|
});
|
|
1507
1507
|
}
|
|
1508
|
+
/**
|
|
1509
|
+
* Generates report for how ESXi hosts are distributed across Fault Domains.
|
|
1510
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1511
|
+
* @param GenerateHostDistributionReportRequest
|
|
1512
|
+
* @return GenerateHostDistributionReportResponse
|
|
1513
|
+
* @throws OciError when an error occurs
|
|
1514
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/GenerateHostDistributionReport.ts.html |here} to see how to use GenerateHostDistributionReport API.
|
|
1515
|
+
*/
|
|
1516
|
+
generateHostDistributionReport(generateHostDistributionReportRequest) {
|
|
1517
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1518
|
+
if (this.logger)
|
|
1519
|
+
this.logger.debug("Calling operation ClusterClient#generateHostDistributionReport.");
|
|
1520
|
+
const operationName = "generateHostDistributionReport";
|
|
1521
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Cluster/GenerateHostDistributionReport";
|
|
1522
|
+
const pathParams = {
|
|
1523
|
+
"{clusterId}": generateHostDistributionReportRequest.clusterId
|
|
1524
|
+
};
|
|
1525
|
+
const queryParams = {};
|
|
1526
|
+
let headerParams = {
|
|
1527
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1528
|
+
"opc-request-id": generateHostDistributionReportRequest.opcRequestId,
|
|
1529
|
+
"opc-retry-token": generateHostDistributionReportRequest.opcRetryToken
|
|
1530
|
+
};
|
|
1531
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1532
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateHostDistributionReportRequest.retryConfiguration, specRetryConfiguration);
|
|
1533
|
+
if (this.logger)
|
|
1534
|
+
retrier.logger = this.logger;
|
|
1535
|
+
const request = yield oci_common_1.composeRequest({
|
|
1536
|
+
baseEndpoint: this._endpoint,
|
|
1537
|
+
defaultHeaders: this._defaultHeaders,
|
|
1538
|
+
path: "/clusters/{clusterId}/actions/generateHostDistributionReport",
|
|
1539
|
+
method: "POST",
|
|
1540
|
+
pathParams: pathParams,
|
|
1541
|
+
headerParams: headerParams,
|
|
1542
|
+
queryParams: queryParams
|
|
1543
|
+
});
|
|
1544
|
+
try {
|
|
1545
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1546
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1547
|
+
responseObject: {},
|
|
1548
|
+
body: yield response.json(),
|
|
1549
|
+
bodyKey: "hostDistributionReportDetails",
|
|
1550
|
+
bodyModel: model.HostDistributionReportDetails,
|
|
1551
|
+
type: "model.HostDistributionReportDetails",
|
|
1552
|
+
responseHeaders: [
|
|
1553
|
+
{
|
|
1554
|
+
value: response.headers.get("etag"),
|
|
1555
|
+
key: "etag",
|
|
1556
|
+
dataType: "string"
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
value: response.headers.get("opc-request-id"),
|
|
1560
|
+
key: "opcRequestId",
|
|
1561
|
+
dataType: "string"
|
|
1562
|
+
}
|
|
1563
|
+
]
|
|
1564
|
+
});
|
|
1565
|
+
return sdkResponse;
|
|
1566
|
+
}
|
|
1567
|
+
catch (err) {
|
|
1568
|
+
throw err;
|
|
1569
|
+
}
|
|
1570
|
+
});
|
|
1571
|
+
}
|
|
1508
1572
|
/**
|
|
1509
1573
|
* Gets the specified Cluster's information.
|
|
1510
1574
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -4918,6 +4982,67 @@ class SddcClient {
|
|
|
4918
4982
|
}
|
|
4919
4983
|
});
|
|
4920
4984
|
}
|
|
4985
|
+
/**
|
|
4986
|
+
* Generate the VMware binary download information.
|
|
4987
|
+
*
|
|
4988
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4989
|
+
* @param GenerateVmwareBinaryDownloadInfoRequest
|
|
4990
|
+
* @return GenerateVmwareBinaryDownloadInfoResponse
|
|
4991
|
+
* @throws OciError when an error occurs
|
|
4992
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/GenerateVmwareBinaryDownloadInfo.ts.html |here} to see how to use GenerateVmwareBinaryDownloadInfo API.
|
|
4993
|
+
*/
|
|
4994
|
+
generateVmwareBinaryDownloadInfo(generateVmwareBinaryDownloadInfoRequest) {
|
|
4995
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4996
|
+
if (this.logger)
|
|
4997
|
+
this.logger.debug("Calling operation SddcClient#generateVmwareBinaryDownloadInfo.");
|
|
4998
|
+
const operationName = "generateVmwareBinaryDownloadInfo";
|
|
4999
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/GenerateVmwareBinaryDownloadInfo";
|
|
5000
|
+
const pathParams = {
|
|
5001
|
+
"{sddcId}": generateVmwareBinaryDownloadInfoRequest.sddcId
|
|
5002
|
+
};
|
|
5003
|
+
const queryParams = {};
|
|
5004
|
+
let headerParams = {
|
|
5005
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5006
|
+
"opc-request-id": generateVmwareBinaryDownloadInfoRequest.opcRequestId,
|
|
5007
|
+
"opc-retry-token": generateVmwareBinaryDownloadInfoRequest.opcRetryToken
|
|
5008
|
+
};
|
|
5009
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5010
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateVmwareBinaryDownloadInfoRequest.retryConfiguration, specRetryConfiguration);
|
|
5011
|
+
if (this.logger)
|
|
5012
|
+
retrier.logger = this.logger;
|
|
5013
|
+
const request = yield oci_common_1.composeRequest({
|
|
5014
|
+
baseEndpoint: this._endpoint,
|
|
5015
|
+
defaultHeaders: this._defaultHeaders,
|
|
5016
|
+
path: "/sddcs/{sddcId}/actions/generateVmwareBinaryDownloadInfo",
|
|
5017
|
+
method: "POST",
|
|
5018
|
+
bodyContent: common.ObjectSerializer.serialize(generateVmwareBinaryDownloadInfoRequest.generateVmwareBinaryDownloadInfoDetails, "GenerateVmwareBinaryDownloadInfoDetails", model.GenerateVmwareBinaryDownloadInfoDetails.getJsonObj),
|
|
5019
|
+
pathParams: pathParams,
|
|
5020
|
+
headerParams: headerParams,
|
|
5021
|
+
queryParams: queryParams
|
|
5022
|
+
});
|
|
5023
|
+
try {
|
|
5024
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5025
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
5026
|
+
responseObject: {},
|
|
5027
|
+
body: yield response.json(),
|
|
5028
|
+
bodyKey: "vmwareBinaryDownloadInfo",
|
|
5029
|
+
bodyModel: model.VmwareBinaryDownloadInfo,
|
|
5030
|
+
type: "model.VmwareBinaryDownloadInfo",
|
|
5031
|
+
responseHeaders: [
|
|
5032
|
+
{
|
|
5033
|
+
value: response.headers.get("opc-request-id"),
|
|
5034
|
+
key: "opcRequestId",
|
|
5035
|
+
dataType: "string"
|
|
5036
|
+
}
|
|
5037
|
+
]
|
|
5038
|
+
});
|
|
5039
|
+
return sdkResponse;
|
|
5040
|
+
}
|
|
5041
|
+
catch (err) {
|
|
5042
|
+
throw err;
|
|
5043
|
+
}
|
|
5044
|
+
});
|
|
5045
|
+
}
|
|
4921
5046
|
/**
|
|
4922
5047
|
* Gets the specified SDDC's information.
|
|
4923
5048
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -5388,6 +5513,74 @@ class SddcClient {
|
|
|
5388
5513
|
}
|
|
5389
5514
|
});
|
|
5390
5515
|
}
|
|
5516
|
+
/**
|
|
5517
|
+
* Retrieve the list of available VMware binaries for the SDDC.
|
|
5518
|
+
*
|
|
5519
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5520
|
+
* @param RetrieveVmwareBinariesRequest
|
|
5521
|
+
* @return RetrieveVmwareBinariesResponse
|
|
5522
|
+
* @throws OciError when an error occurs
|
|
5523
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/RetrieveVmwareBinaries.ts.html |here} to see how to use RetrieveVmwareBinaries API.
|
|
5524
|
+
*/
|
|
5525
|
+
retrieveVmwareBinaries(retrieveVmwareBinariesRequest) {
|
|
5526
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5527
|
+
if (this.logger)
|
|
5528
|
+
this.logger.debug("Calling operation SddcClient#retrieveVmwareBinaries.");
|
|
5529
|
+
const operationName = "retrieveVmwareBinaries";
|
|
5530
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/RetrieveVmwareBinaries";
|
|
5531
|
+
const pathParams = {
|
|
5532
|
+
"{sddcId}": retrieveVmwareBinariesRequest.sddcId
|
|
5533
|
+
};
|
|
5534
|
+
const queryParams = {
|
|
5535
|
+
"limit": retrieveVmwareBinariesRequest.limit,
|
|
5536
|
+
"page": retrieveVmwareBinariesRequest.page
|
|
5537
|
+
};
|
|
5538
|
+
let headerParams = {
|
|
5539
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5540
|
+
"opc-request-id": retrieveVmwareBinariesRequest.opcRequestId,
|
|
5541
|
+
"opc-retry-token": retrieveVmwareBinariesRequest.opcRetryToken
|
|
5542
|
+
};
|
|
5543
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5544
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retrieveVmwareBinariesRequest.retryConfiguration, specRetryConfiguration);
|
|
5545
|
+
if (this.logger)
|
|
5546
|
+
retrier.logger = this.logger;
|
|
5547
|
+
const request = yield oci_common_1.composeRequest({
|
|
5548
|
+
baseEndpoint: this._endpoint,
|
|
5549
|
+
defaultHeaders: this._defaultHeaders,
|
|
5550
|
+
path: "/sddcs/{sddcId}/actions/retrieveVmwareBinaries",
|
|
5551
|
+
method: "POST",
|
|
5552
|
+
pathParams: pathParams,
|
|
5553
|
+
headerParams: headerParams,
|
|
5554
|
+
queryParams: queryParams
|
|
5555
|
+
});
|
|
5556
|
+
try {
|
|
5557
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5558
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
5559
|
+
responseObject: {},
|
|
5560
|
+
body: yield response.json(),
|
|
5561
|
+
bodyKey: "vmwareBinaryCollection",
|
|
5562
|
+
bodyModel: model.VmwareBinaryCollection,
|
|
5563
|
+
type: "model.VmwareBinaryCollection",
|
|
5564
|
+
responseHeaders: [
|
|
5565
|
+
{
|
|
5566
|
+
value: response.headers.get("opc-request-id"),
|
|
5567
|
+
key: "opcRequestId",
|
|
5568
|
+
dataType: "string"
|
|
5569
|
+
},
|
|
5570
|
+
{
|
|
5571
|
+
value: response.headers.get("opc-next-page"),
|
|
5572
|
+
key: "opcNextPage",
|
|
5573
|
+
dataType: "string"
|
|
5574
|
+
}
|
|
5575
|
+
]
|
|
5576
|
+
});
|
|
5577
|
+
return sdkResponse;
|
|
5578
|
+
}
|
|
5579
|
+
catch (err) {
|
|
5580
|
+
throw err;
|
|
5581
|
+
}
|
|
5582
|
+
});
|
|
5583
|
+
}
|
|
5391
5584
|
/**
|
|
5392
5585
|
* Updates the specified SDDC.
|
|
5393
5586
|
* <p>
|