oci-ocvp 2.146.0 → 2.148.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 +31 -2
- package/lib/client.js +203 -3
- package/lib/client.js.map +1 -1
- package/lib/model/fault-domain-host-distribution-state.d.ts +6 -1
- package/lib/model/fault-domain-host-distribution-state.js +5 -0
- package/lib/model/fault-domain-host-distribution-state.js.map +1 -1
- package/lib/model/host-distribution-report-details.d.ts +5 -11
- package/lib/model/host-distribution-report-details.js +0 -11
- package/lib/model/host-distribution-report-details.js.map +1 -1
- package/lib/model/index.d.ts +4 -0
- package/lib/model/index.js +6 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/inplace-upgrade-details.d.ts +5 -0
- package/lib/model/inplace-upgrade-details.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/replace-host-details.d.ts +5 -0
- package/lib/model/replace-host-details.js.map +1 -1
- package/lib/model/resource-operation-status.d.ts +32 -0
- package/lib/model/resource-operation-status.js +43 -0
- package/lib/model/resource-operation-status.js.map +1 -0
- package/lib/model/resource-operation.d.ts +45 -0
- package/lib/model/resource-operation.js +31 -0
- package/lib/model/resource-operation.js.map +1 -0
- 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 +15 -0
- package/lib/model/update-esxi-host-details.js.map +1 -1
- package/lib/request/index.d.ts +6 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-datastore-clusters-request.d.ts +2 -2
- package/lib/request/list-datastores-request.d.ts +2 -2
- package/lib/request/retrieve-cluster-operation-status-request.d.ts +51 -0
- package/lib/request/retrieve-cluster-operation-status-request.js +15 -0
- package/lib/request/retrieve-cluster-operation-status-request.js.map +1 -0
- package/lib/request/retrieve-esxi-host-operation-status-request.d.ts +51 -0
- package/lib/request/retrieve-esxi-host-operation-status-request.js +15 -0
- package/lib/request/retrieve-esxi-host-operation-status-request.js.map +1 -0
- package/lib/request/retrieve-sddc-operation-status-request.d.ts +51 -0
- package/lib/request/retrieve-sddc-operation-status-request.js +15 -0
- package/lib/request/retrieve-sddc-operation-status-request.js.map +1 -0
- package/lib/response/index.d.ts +6 -0
- package/lib/response/retrieve-cluster-operation-status-response.d.ts +30 -0
- package/lib/response/retrieve-cluster-operation-status-response.js +15 -0
- package/lib/response/retrieve-cluster-operation-status-response.js.map +1 -0
- package/lib/response/retrieve-esxi-host-operation-status-response.d.ts +30 -0
- package/lib/response/retrieve-esxi-host-operation-status-response.js +15 -0
- package/lib/response/retrieve-esxi-host-operation-status-response.js.map +1 -0
- package/lib/response/retrieve-sddc-operation-status-response.d.ts +30 -0
- package/lib/response/retrieve-sddc-operation-status-response.js +15 -0
- package/lib/response/retrieve-sddc-operation-status-response.js.map +1 -0
- package/package.json +2 -2
package/lib/client.d.ts
CHANGED
|
@@ -461,6 +461,15 @@ export declare class ClusterClient {
|
|
|
461
461
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/ListClusters.ts.html |here} to see how to use ListClusters API.
|
|
462
462
|
*/
|
|
463
463
|
listClusters(listClustersRequest: requests.ListClustersRequest): Promise<responses.ListClustersResponse>;
|
|
464
|
+
/**
|
|
465
|
+
* Retrieves status of the operation performed on the Cluster. For each type of operation, only status of the latest operation is returned.
|
|
466
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
467
|
+
* @param RetrieveClusterOperationStatusRequest
|
|
468
|
+
* @return RetrieveClusterOperationStatusResponse
|
|
469
|
+
* @throws OciError when an error occurs
|
|
470
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/RetrieveClusterOperationStatus.ts.html |here} to see how to use RetrieveClusterOperationStatus API.
|
|
471
|
+
*/
|
|
472
|
+
retrieveClusterOperationStatus(retrieveClusterOperationStatusRequest: requests.RetrieveClusterOperationStatusRequest): Promise<responses.RetrieveClusterOperationStatusResponse>;
|
|
464
473
|
/**
|
|
465
474
|
* Updates the specified Cluster.
|
|
466
475
|
* <p>
|
|
@@ -617,7 +626,8 @@ export declare class DatastoreClient {
|
|
|
617
626
|
getDatastore(getDatastoreRequest: requests.GetDatastoreRequest): Promise<responses.GetDatastoreResponse>;
|
|
618
627
|
/**
|
|
619
628
|
* List the Datastores in the specified compartment. The list can be filtered
|
|
620
|
-
* by compartment, datastore id, display name and lifecycle state.
|
|
629
|
+
* by compartment, datastore id, display name and lifecycle state. Either
|
|
630
|
+
* compartmentId or datastoreId must be provided.
|
|
621
631
|
*
|
|
622
632
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
623
633
|
* @param ListDatastoresRequest
|
|
@@ -824,7 +834,8 @@ export declare class DatastoreClusterClient {
|
|
|
824
834
|
getDatastoreCluster(getDatastoreClusterRequest: requests.GetDatastoreClusterRequest): Promise<responses.GetDatastoreClusterResponse>;
|
|
825
835
|
/**
|
|
826
836
|
* List the Datastore Clusters in the specified compartment. The list can be filtered
|
|
827
|
-
* by compartment, Datastore Cluster, Display name and Lifecycle state
|
|
837
|
+
* by compartment, Datastore Cluster, Display name and Lifecycle state. Either
|
|
838
|
+
* compartmentId or datastoreClusterId must be provided.
|
|
828
839
|
*
|
|
829
840
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
830
841
|
* @param ListDatastoreClustersRequest
|
|
@@ -1021,6 +1032,15 @@ export declare class EsxiHostClient {
|
|
|
1021
1032
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/ReplaceHost.ts.html |here} to see how to use ReplaceHost API.
|
|
1022
1033
|
*/
|
|
1023
1034
|
replaceHost(replaceHostRequest: requests.ReplaceHostRequest): Promise<responses.ReplaceHostResponse>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Retrieves status of the operation performed on the ESXi host. For each type of operation, only status of the latest operation is returned.
|
|
1037
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1038
|
+
* @param RetrieveEsxiHostOperationStatusRequest
|
|
1039
|
+
* @return RetrieveEsxiHostOperationStatusResponse
|
|
1040
|
+
* @throws OciError when an error occurs
|
|
1041
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/RetrieveEsxiHostOperationStatus.ts.html |here} to see how to use RetrieveEsxiHostOperationStatus API.
|
|
1042
|
+
*/
|
|
1043
|
+
retrieveEsxiHostOperationStatus(retrieveEsxiHostOperationStatusRequest: requests.RetrieveEsxiHostOperationStatusRequest): Promise<responses.RetrieveEsxiHostOperationStatusResponse>;
|
|
1024
1044
|
/**
|
|
1025
1045
|
* Swap billing between two Active ESXi hosts.
|
|
1026
1046
|
*
|
|
@@ -1391,6 +1411,15 @@ export declare class SddcClient {
|
|
|
1391
1411
|
* @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.
|
|
1392
1412
|
*/
|
|
1393
1413
|
retrievePassword(retrievePasswordRequest: requests.RetrievePasswordRequest): Promise<responses.RetrievePasswordResponse>;
|
|
1414
|
+
/**
|
|
1415
|
+
* Retrieves status of the operation performed on the SDDC. For each type of operation, only status of the latest operation is returned.
|
|
1416
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1417
|
+
* @param RetrieveSddcOperationStatusRequest
|
|
1418
|
+
* @return RetrieveSddcOperationStatusResponse
|
|
1419
|
+
* @throws OciError when an error occurs
|
|
1420
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/RetrieveSddcOperationStatus.ts.html |here} to see how to use RetrieveSddcOperationStatus API.
|
|
1421
|
+
*/
|
|
1422
|
+
retrieveSddcOperationStatus(retrieveSddcOperationStatusRequest: requests.RetrieveSddcOperationStatusRequest): Promise<responses.RetrieveSddcOperationStatusResponse>;
|
|
1394
1423
|
/**
|
|
1395
1424
|
* Retrieve the list of available VMware binaries for the SDDC.
|
|
1396
1425
|
*
|
package/lib/client.js
CHANGED
|
@@ -353,7 +353,7 @@ class ByolClient {
|
|
|
353
353
|
if (this.logger)
|
|
354
354
|
this.logger.debug("Calling operation ByolClient#deleteByol.");
|
|
355
355
|
const operationName = "deleteByol";
|
|
356
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/
|
|
356
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Byol/DeleteByol";
|
|
357
357
|
const pathParams = {
|
|
358
358
|
"{byolId}": deleteByolRequest.byolId
|
|
359
359
|
};
|
|
@@ -1703,6 +1703,72 @@ class ClusterClient {
|
|
|
1703
1703
|
}
|
|
1704
1704
|
});
|
|
1705
1705
|
}
|
|
1706
|
+
/**
|
|
1707
|
+
* Retrieves status of the operation performed on the Cluster. For each type of operation, only status of the latest operation is returned.
|
|
1708
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1709
|
+
* @param RetrieveClusterOperationStatusRequest
|
|
1710
|
+
* @return RetrieveClusterOperationStatusResponse
|
|
1711
|
+
* @throws OciError when an error occurs
|
|
1712
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/RetrieveClusterOperationStatus.ts.html |here} to see how to use RetrieveClusterOperationStatus API.
|
|
1713
|
+
*/
|
|
1714
|
+
retrieveClusterOperationStatus(retrieveClusterOperationStatusRequest) {
|
|
1715
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1716
|
+
if (this.logger)
|
|
1717
|
+
this.logger.debug("Calling operation ClusterClient#retrieveClusterOperationStatus.");
|
|
1718
|
+
const operationName = "retrieveClusterOperationStatus";
|
|
1719
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Cluster/RetrieveClusterOperationStatus";
|
|
1720
|
+
const pathParams = {
|
|
1721
|
+
"{clusterId}": retrieveClusterOperationStatusRequest.clusterId,
|
|
1722
|
+
"{operationName}": retrieveClusterOperationStatusRequest.operationName
|
|
1723
|
+
};
|
|
1724
|
+
const queryParams = {};
|
|
1725
|
+
let headerParams = {
|
|
1726
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1727
|
+
"if-match": retrieveClusterOperationStatusRequest.ifMatch,
|
|
1728
|
+
"opc-request-id": retrieveClusterOperationStatusRequest.opcRequestId,
|
|
1729
|
+
"opc-retry-token": retrieveClusterOperationStatusRequest.opcRetryToken
|
|
1730
|
+
};
|
|
1731
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1732
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retrieveClusterOperationStatusRequest.retryConfiguration, specRetryConfiguration);
|
|
1733
|
+
if (this.logger)
|
|
1734
|
+
retrier.logger = this.logger;
|
|
1735
|
+
const request = yield oci_common_1.composeRequest({
|
|
1736
|
+
baseEndpoint: this._endpoint,
|
|
1737
|
+
defaultHeaders: this._defaultHeaders,
|
|
1738
|
+
path: "/clusters/{clusterId}/actions/retrieveOperationStatus/{operationName}",
|
|
1739
|
+
method: "POST",
|
|
1740
|
+
pathParams: pathParams,
|
|
1741
|
+
headerParams: headerParams,
|
|
1742
|
+
queryParams: queryParams
|
|
1743
|
+
});
|
|
1744
|
+
try {
|
|
1745
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1746
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1747
|
+
responseObject: {},
|
|
1748
|
+
body: yield response.json(),
|
|
1749
|
+
bodyKey: "resourceOperation",
|
|
1750
|
+
bodyModel: model.ResourceOperation,
|
|
1751
|
+
type: "model.ResourceOperation",
|
|
1752
|
+
responseHeaders: [
|
|
1753
|
+
{
|
|
1754
|
+
value: response.headers.get("etag"),
|
|
1755
|
+
key: "etag",
|
|
1756
|
+
dataType: "string"
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
value: response.headers.get("opc-request-id"),
|
|
1760
|
+
key: "opcRequestId",
|
|
1761
|
+
dataType: "string"
|
|
1762
|
+
}
|
|
1763
|
+
]
|
|
1764
|
+
});
|
|
1765
|
+
return sdkResponse;
|
|
1766
|
+
}
|
|
1767
|
+
catch (err) {
|
|
1768
|
+
throw err;
|
|
1769
|
+
}
|
|
1770
|
+
});
|
|
1771
|
+
}
|
|
1706
1772
|
/**
|
|
1707
1773
|
* Updates the specified Cluster.
|
|
1708
1774
|
* <p>
|
|
@@ -2253,7 +2319,8 @@ class DatastoreClient {
|
|
|
2253
2319
|
}
|
|
2254
2320
|
/**
|
|
2255
2321
|
* List the Datastores in the specified compartment. The list can be filtered
|
|
2256
|
-
* by compartment, datastore id, display name and lifecycle state.
|
|
2322
|
+
* by compartment, datastore id, display name and lifecycle state. Either
|
|
2323
|
+
* compartmentId or datastoreId must be provided.
|
|
2257
2324
|
*
|
|
2258
2325
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2259
2326
|
* @param ListDatastoresRequest
|
|
@@ -3123,7 +3190,8 @@ class DatastoreClusterClient {
|
|
|
3123
3190
|
}
|
|
3124
3191
|
/**
|
|
3125
3192
|
* List the Datastore Clusters in the specified compartment. The list can be filtered
|
|
3126
|
-
* by compartment, Datastore Cluster, Display name and Lifecycle state
|
|
3193
|
+
* by compartment, Datastore Cluster, Display name and Lifecycle state. Either
|
|
3194
|
+
* compartmentId or datastoreClusterId must be provided.
|
|
3127
3195
|
*
|
|
3128
3196
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3129
3197
|
* @param ListDatastoreClustersRequest
|
|
@@ -3895,6 +3963,72 @@ class EsxiHostClient {
|
|
|
3895
3963
|
}
|
|
3896
3964
|
});
|
|
3897
3965
|
}
|
|
3966
|
+
/**
|
|
3967
|
+
* Retrieves status of the operation performed on the ESXi host. For each type of operation, only status of the latest operation is returned.
|
|
3968
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3969
|
+
* @param RetrieveEsxiHostOperationStatusRequest
|
|
3970
|
+
* @return RetrieveEsxiHostOperationStatusResponse
|
|
3971
|
+
* @throws OciError when an error occurs
|
|
3972
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/RetrieveEsxiHostOperationStatus.ts.html |here} to see how to use RetrieveEsxiHostOperationStatus API.
|
|
3973
|
+
*/
|
|
3974
|
+
retrieveEsxiHostOperationStatus(retrieveEsxiHostOperationStatusRequest) {
|
|
3975
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3976
|
+
if (this.logger)
|
|
3977
|
+
this.logger.debug("Calling operation EsxiHostClient#retrieveEsxiHostOperationStatus.");
|
|
3978
|
+
const operationName = "retrieveEsxiHostOperationStatus";
|
|
3979
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Esxihost/RetrieveEsxiHostOperationStatus";
|
|
3980
|
+
const pathParams = {
|
|
3981
|
+
"{esxiHostId}": retrieveEsxiHostOperationStatusRequest.esxiHostId,
|
|
3982
|
+
"{operationName}": retrieveEsxiHostOperationStatusRequest.operationName
|
|
3983
|
+
};
|
|
3984
|
+
const queryParams = {};
|
|
3985
|
+
let headerParams = {
|
|
3986
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3987
|
+
"if-match": retrieveEsxiHostOperationStatusRequest.ifMatch,
|
|
3988
|
+
"opc-request-id": retrieveEsxiHostOperationStatusRequest.opcRequestId,
|
|
3989
|
+
"opc-retry-token": retrieveEsxiHostOperationStatusRequest.opcRetryToken
|
|
3990
|
+
};
|
|
3991
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3992
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retrieveEsxiHostOperationStatusRequest.retryConfiguration, specRetryConfiguration);
|
|
3993
|
+
if (this.logger)
|
|
3994
|
+
retrier.logger = this.logger;
|
|
3995
|
+
const request = yield oci_common_1.composeRequest({
|
|
3996
|
+
baseEndpoint: this._endpoint,
|
|
3997
|
+
defaultHeaders: this._defaultHeaders,
|
|
3998
|
+
path: "/esxiHosts/{esxiHostId}/actions/retrieveOperationStatus/{operationName}",
|
|
3999
|
+
method: "POST",
|
|
4000
|
+
pathParams: pathParams,
|
|
4001
|
+
headerParams: headerParams,
|
|
4002
|
+
queryParams: queryParams
|
|
4003
|
+
});
|
|
4004
|
+
try {
|
|
4005
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4006
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
4007
|
+
responseObject: {},
|
|
4008
|
+
body: yield response.json(),
|
|
4009
|
+
bodyKey: "resourceOperation",
|
|
4010
|
+
bodyModel: model.ResourceOperation,
|
|
4011
|
+
type: "model.ResourceOperation",
|
|
4012
|
+
responseHeaders: [
|
|
4013
|
+
{
|
|
4014
|
+
value: response.headers.get("etag"),
|
|
4015
|
+
key: "etag",
|
|
4016
|
+
dataType: "string"
|
|
4017
|
+
},
|
|
4018
|
+
{
|
|
4019
|
+
value: response.headers.get("opc-request-id"),
|
|
4020
|
+
key: "opcRequestId",
|
|
4021
|
+
dataType: "string"
|
|
4022
|
+
}
|
|
4023
|
+
]
|
|
4024
|
+
});
|
|
4025
|
+
return sdkResponse;
|
|
4026
|
+
}
|
|
4027
|
+
catch (err) {
|
|
4028
|
+
throw err;
|
|
4029
|
+
}
|
|
4030
|
+
});
|
|
4031
|
+
}
|
|
3898
4032
|
/**
|
|
3899
4033
|
* Swap billing between two Active ESXi hosts.
|
|
3900
4034
|
*
|
|
@@ -5513,6 +5647,72 @@ class SddcClient {
|
|
|
5513
5647
|
}
|
|
5514
5648
|
});
|
|
5515
5649
|
}
|
|
5650
|
+
/**
|
|
5651
|
+
* Retrieves status of the operation performed on the SDDC. For each type of operation, only status of the latest operation is returned.
|
|
5652
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5653
|
+
* @param RetrieveSddcOperationStatusRequest
|
|
5654
|
+
* @return RetrieveSddcOperationStatusResponse
|
|
5655
|
+
* @throws OciError when an error occurs
|
|
5656
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ocvp/RetrieveSddcOperationStatus.ts.html |here} to see how to use RetrieveSddcOperationStatus API.
|
|
5657
|
+
*/
|
|
5658
|
+
retrieveSddcOperationStatus(retrieveSddcOperationStatusRequest) {
|
|
5659
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5660
|
+
if (this.logger)
|
|
5661
|
+
this.logger.debug("Calling operation SddcClient#retrieveSddcOperationStatus.");
|
|
5662
|
+
const operationName = "retrieveSddcOperationStatus";
|
|
5663
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vmware/20230701/Sddc/RetrieveSddcOperationStatus";
|
|
5664
|
+
const pathParams = {
|
|
5665
|
+
"{sddcId}": retrieveSddcOperationStatusRequest.sddcId,
|
|
5666
|
+
"{operationName}": retrieveSddcOperationStatusRequest.operationName
|
|
5667
|
+
};
|
|
5668
|
+
const queryParams = {};
|
|
5669
|
+
let headerParams = {
|
|
5670
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5671
|
+
"if-match": retrieveSddcOperationStatusRequest.ifMatch,
|
|
5672
|
+
"opc-request-id": retrieveSddcOperationStatusRequest.opcRequestId,
|
|
5673
|
+
"opc-retry-token": retrieveSddcOperationStatusRequest.opcRetryToken
|
|
5674
|
+
};
|
|
5675
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5676
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retrieveSddcOperationStatusRequest.retryConfiguration, specRetryConfiguration);
|
|
5677
|
+
if (this.logger)
|
|
5678
|
+
retrier.logger = this.logger;
|
|
5679
|
+
const request = yield oci_common_1.composeRequest({
|
|
5680
|
+
baseEndpoint: this._endpoint,
|
|
5681
|
+
defaultHeaders: this._defaultHeaders,
|
|
5682
|
+
path: "/sddcs/{sddcId}/actions/retrieveOperationStatus/{operationName}",
|
|
5683
|
+
method: "POST",
|
|
5684
|
+
pathParams: pathParams,
|
|
5685
|
+
headerParams: headerParams,
|
|
5686
|
+
queryParams: queryParams
|
|
5687
|
+
});
|
|
5688
|
+
try {
|
|
5689
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5690
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
5691
|
+
responseObject: {},
|
|
5692
|
+
body: yield response.json(),
|
|
5693
|
+
bodyKey: "resourceOperation",
|
|
5694
|
+
bodyModel: model.ResourceOperation,
|
|
5695
|
+
type: "model.ResourceOperation",
|
|
5696
|
+
responseHeaders: [
|
|
5697
|
+
{
|
|
5698
|
+
value: response.headers.get("etag"),
|
|
5699
|
+
key: "etag",
|
|
5700
|
+
dataType: "string"
|
|
5701
|
+
},
|
|
5702
|
+
{
|
|
5703
|
+
value: response.headers.get("opc-request-id"),
|
|
5704
|
+
key: "opcRequestId",
|
|
5705
|
+
dataType: "string"
|
|
5706
|
+
}
|
|
5707
|
+
]
|
|
5708
|
+
});
|
|
5709
|
+
return sdkResponse;
|
|
5710
|
+
}
|
|
5711
|
+
catch (err) {
|
|
5712
|
+
throw err;
|
|
5713
|
+
}
|
|
5714
|
+
});
|
|
5715
|
+
}
|
|
5516
5716
|
/**
|
|
5517
5717
|
* Retrieve the list of available VMware binaries for the SDDC.
|
|
5518
5718
|
*
|