oci-ocvp 2.140.2 → 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 +20 -0
- package/lib/client.js +129 -0
- package/lib/client.js.map +1 -1
- 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/index.d.ts +8 -0
- package/lib/model/index.js +10 -2
- package/lib/model/index.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-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 +4 -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-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 +4 -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
|
@@ -1311,6 +1311,16 @@ export declare class SddcClient {
|
|
|
1311
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.
|
|
1312
1312
|
*/
|
|
1313
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>;
|
|
1314
1324
|
/**
|
|
1315
1325
|
* Gets the specified SDDC's information.
|
|
1316
1326
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -1381,6 +1391,16 @@ export declare class SddcClient {
|
|
|
1381
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.
|
|
1382
1392
|
*/
|
|
1383
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>;
|
|
1384
1404
|
/**
|
|
1385
1405
|
* Updates the specified SDDC.
|
|
1386
1406
|
* <p>
|
package/lib/client.js
CHANGED
|
@@ -4982,6 +4982,67 @@ class SddcClient {
|
|
|
4982
4982
|
}
|
|
4983
4983
|
});
|
|
4984
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
|
+
}
|
|
4985
5046
|
/**
|
|
4986
5047
|
* Gets the specified SDDC's information.
|
|
4987
5048
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -5452,6 +5513,74 @@ class SddcClient {
|
|
|
5452
5513
|
}
|
|
5453
5514
|
});
|
|
5454
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
|
+
}
|
|
5455
5584
|
/**
|
|
5456
5585
|
* Updates the specified SDDC.
|
|
5457
5586
|
* <p>
|