oci-bds 2.109.0 → 2.110.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/bds-waiter.d.ts +8 -0
- package/lib/bds-waiter.js +12 -0
- package/lib/bds-waiter.js.map +1 -1
- package/lib/client.d.ts +39 -0
- package/lib/client.js +259 -0
- package/lib/client.js.map +1 -1
- package/lib/model/availability-status.d.ts +30 -0
- package/lib/model/availability-status.js +41 -0
- package/lib/model/availability-status.js.map +1 -0
- package/lib/model/bds-capacity-report.d.ts +36 -0
- package/lib/model/bds-capacity-report.js +62 -0
- package/lib/model/bds-capacity-report.js.map +1 -0
- package/lib/model/bds-software-update.d.ts +29 -0
- package/lib/model/bds-software-update.js +53 -0
- package/lib/model/bds-software-update.js.map +1 -0
- package/lib/model/capacity-availability.d.ts +31 -0
- package/lib/model/capacity-availability.js +30 -0
- package/lib/model/capacity-availability.js.map +1 -0
- package/lib/model/capacity-report-shape-availability.d.ts +32 -0
- package/lib/model/capacity-report-shape-availability.js +68 -0
- package/lib/model/capacity-report-shape-availability.js.map +1 -0
- package/lib/model/create-bds-capacity-report-details.d.ts +31 -0
- package/lib/model/create-bds-capacity-report-details.js +62 -0
- package/lib/model/create-bds-capacity-report-details.js.map +1 -0
- package/lib/model/create-capacity-report-shape-availability-details.d.ts +28 -0
- package/lib/model/create-capacity-report-shape-availability-details.js +58 -0
- package/lib/model/create-capacity-report-shape-availability-details.js.map +1 -0
- package/lib/model/domain-type-capacity-report.d.ts +23 -0
- package/lib/model/domain-type-capacity-report.js +73 -0
- package/lib/model/domain-type-capacity-report.js.map +1 -0
- package/lib/model/index.d.ts +28 -0
- package/lib/model/index.js +32 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/install-os-patch-details.d.ts +4 -0
- package/lib/model/install-os-patch-details.js.map +1 -1
- package/lib/model/install-software-updates-details.d.ts +26 -0
- package/lib/model/install-software-updates-details.js +30 -0
- package/lib/model/install-software-updates-details.js.map +1 -0
- package/lib/model/multi-ad-capacity-report.d.ts +30 -0
- package/lib/model/multi-ad-capacity-report.js +63 -0
- package/lib/model/multi-ad-capacity-report.js.map +1 -0
- 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/os-patch-package-summary.d.ts +15 -0
- package/lib/model/os-patch-package-summary.js +12 -0
- package/lib/model/os-patch-package-summary.js.map +1 -1
- package/lib/model/patch-history-summary.d.ts +4 -2
- package/lib/model/patch-history-summary.js +1 -0
- package/lib/model/patch-history-summary.js.map +1 -1
- package/lib/model/single-ad-capacity-report.d.ts +30 -0
- package/lib/model/single-ad-capacity-report.js +63 -0
- package/lib/model/single-ad-capacity-report.js.map +1 -0
- package/lib/model/software-update-collection.d.ts +27 -0
- package/lib/model/software-update-collection.js +62 -0
- package/lib/model/software-update-collection.js.map +1 -0
- package/lib/model/software-update-summary.d.ts +42 -0
- package/lib/model/software-update-summary.js +30 -0
- package/lib/model/software-update-summary.js.map +1 -0
- package/lib/model/software-update.d.ts +51 -0
- package/lib/model/software-update.js +82 -0
- package/lib/model/software-update.js.map +1 -0
- package/lib/request/create-bds-capacity-report-request.d.ts +36 -0
- package/lib/request/create-bds-capacity-report-request.js +15 -0
- package/lib/request/create-bds-capacity-report-request.js.map +1 -0
- package/lib/request/get-software-update-request.d.ts +48 -0
- package/lib/request/get-software-update-request.js +15 -0
- package/lib/request/get-software-update-request.js.map +1 -0
- package/lib/request/index.d.ts +8 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/install-software-updates-request.d.ts +49 -0
- package/lib/request/install-software-updates-request.js +15 -0
- package/lib/request/install-software-updates-request.js.map +1 -0
- package/lib/request/list-software-updates-request.d.ts +68 -0
- package/lib/request/list-software-updates-request.js +24 -0
- package/lib/request/list-software-updates-request.js.map +1 -0
- package/lib/response/create-bds-capacity-report-response.d.ts +25 -0
- package/lib/response/create-bds-capacity-report-response.js +15 -0
- package/lib/response/create-bds-capacity-report-response.js.map +1 -0
- package/lib/response/get-software-update-response.d.ts +30 -0
- package/lib/response/get-software-update-response.js +15 -0
- package/lib/response/get-software-update-response.js.map +1 -0
- package/lib/response/index.d.ts +8 -0
- package/lib/response/install-software-updates-response.d.ts +25 -0
- package/lib/response/install-software-updates-response.js +15 -0
- package/lib/response/install-software-updates-response.js.map +1 -0
- package/lib/response/list-software-updates-response.d.ts +32 -0
- package/lib/response/list-software-updates-response.js +15 -0
- package/lib/response/list-software-updates-response.js.map +1 -0
- package/package.json +3 -3
package/lib/bds-waiter.d.ts
CHANGED
|
@@ -91,6 +91,14 @@ export declare class BdsWaiter {
|
|
|
91
91
|
* @return response returns GetResourcePrincipalConfigurationResponse | null (null in case of 404 response)
|
|
92
92
|
*/
|
|
93
93
|
forResourcePrincipalConfiguration(request: serviceRequests.GetResourcePrincipalConfigurationRequest, ...targetStates: models.ResourcePrincipalConfiguration.LifecycleState[]): Promise<serviceResponses.GetResourcePrincipalConfigurationResponse | null>;
|
|
94
|
+
/**
|
|
95
|
+
* Waits forSoftwareUpdate till it reaches any of the provided states
|
|
96
|
+
*
|
|
97
|
+
* @param request the request to send
|
|
98
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
99
|
+
* @return response returns GetSoftwareUpdateResponse
|
|
100
|
+
*/
|
|
101
|
+
forSoftwareUpdate(request: serviceRequests.GetSoftwareUpdateRequest, ...targetStates: models.SoftwareUpdate.LifecycleState[]): Promise<serviceResponses.GetSoftwareUpdateResponse>;
|
|
94
102
|
/**
|
|
95
103
|
* Waits forWorkRequest
|
|
96
104
|
*
|
package/lib/bds-waiter.js
CHANGED
|
@@ -157,6 +157,18 @@ class BdsWaiter {
|
|
|
157
157
|
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getResourcePrincipalConfiguration(request), response => targetStates.includes(response.resourcePrincipalConfiguration.lifecycleState), targetStates.includes(models.ResourcePrincipalConfiguration.LifecycleState.Deleted));
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* Waits forSoftwareUpdate till it reaches any of the provided states
|
|
162
|
+
*
|
|
163
|
+
* @param request the request to send
|
|
164
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
165
|
+
* @return response returns GetSoftwareUpdateResponse
|
|
166
|
+
*/
|
|
167
|
+
forSoftwareUpdate(request, ...targetStates) {
|
|
168
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
169
|
+
return oci_common_1.genericWaiter(this.config, () => this.client.getSoftwareUpdate(request), response => targetStates.includes(response.softwareUpdate.lifecycleState));
|
|
170
|
+
});
|
|
171
|
+
}
|
|
160
172
|
/**
|
|
161
173
|
* Waits forWorkRequest
|
|
162
174
|
*
|
package/lib/bds-waiter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bds-waiter.js","sourceRoot":"","sources":["../../../../lib/bds/lib/bds-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,SAAS;IACpB,YAA2B,MAAiB,EAAmB,MAA4B;QAAhE,WAAM,GAAN,MAAM,CAAW;QAAmB,WAAM,GAAN,MAAM,CAAsB;IAAG,CAAC;IAE/F;;;;;;OAMG;IACU,2BAA2B,CACtC,OAA2D,EAC3D,GAAG,YAA8D;;YAEjE,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,2BAA2B,CAAC,OAAO,CAAC,EACtD,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,wBAAwB,CAAC,cAAe,CAAC,EACpF,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,wBAAwB,CAAC,cAAc,CAAC,OAAO,CAAC,CAC9E,CA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G,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAC5C,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,cAAc,CAAC,cAAe,CAAC,CAC3E,CAAC;QACJ,CAAC;KAAA;IAED;;;;;OAKG;IACU,cAAc,CACzB,OAA8C;;YAE9C,OAAO,0BAAa,CAClB,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,EACzC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAC/D,CAAC;QACJ,CAAC;KAAA;CACF;AA/MD,8BA+MC"}
|
package/lib/client.d.ts
CHANGED
|
@@ -244,6 +244,16 @@ export declare class BdsClient {
|
|
|
244
244
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/CreateBdsApiKey.ts.html |here} to see how to use CreateBdsApiKey API.
|
|
245
245
|
*/
|
|
246
246
|
createBdsApiKey(createBdsApiKeyRequest: requests.CreateBdsApiKeyRequest): Promise<responses.CreateBdsApiKeyResponse>;
|
|
247
|
+
/**
|
|
248
|
+
* Create a detailed capacity report for BDS service
|
|
249
|
+
*
|
|
250
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
251
|
+
* @param CreateBdsCapacityReportRequest
|
|
252
|
+
* @return CreateBdsCapacityReportResponse
|
|
253
|
+
* @throws OciError when an error occurs
|
|
254
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/CreateBdsCapacityReport.ts.html |here} to see how to use CreateBdsCapacityReport API.
|
|
255
|
+
*/
|
|
256
|
+
createBdsCapacityReport(createBdsCapacityReportRequest: requests.CreateBdsCapacityReportRequest): Promise<responses.CreateBdsCapacityReportResponse>;
|
|
247
257
|
/**
|
|
248
258
|
* Creates a Big Data Service cluster.
|
|
249
259
|
*
|
|
@@ -510,6 +520,16 @@ export declare class BdsClient {
|
|
|
510
520
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GetResourcePrincipalConfiguration.ts.html |here} to see how to use GetResourcePrincipalConfiguration API.
|
|
511
521
|
*/
|
|
512
522
|
getResourcePrincipalConfiguration(getResourcePrincipalConfigurationRequest: requests.GetResourcePrincipalConfigurationRequest): Promise<responses.GetResourcePrincipalConfigurationResponse>;
|
|
523
|
+
/**
|
|
524
|
+
* Get the details of the software update of the given SoftwareUpdateId
|
|
525
|
+
*
|
|
526
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
527
|
+
* @param GetSoftwareUpdateRequest
|
|
528
|
+
* @return GetSoftwareUpdateResponse
|
|
529
|
+
* @throws OciError when an error occurs
|
|
530
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GetSoftwareUpdate.ts.html |here} to see how to use GetSoftwareUpdate API.
|
|
531
|
+
*/
|
|
532
|
+
getSoftwareUpdate(getSoftwareUpdateRequest: requests.GetSoftwareUpdateRequest): Promise<responses.GetSoftwareUpdateResponse>;
|
|
513
533
|
/**
|
|
514
534
|
* Returns the status of the work request identified by the given ID.
|
|
515
535
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
@@ -539,6 +559,16 @@ export declare class BdsClient {
|
|
|
539
559
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/InstallPatch.ts.html |here} to see how to use InstallPatch API.
|
|
540
560
|
*/
|
|
541
561
|
installPatch(installPatchRequest: requests.InstallPatchRequest): Promise<responses.InstallPatchResponse>;
|
|
562
|
+
/**
|
|
563
|
+
* Install the specified software update to this cluster.
|
|
564
|
+
*
|
|
565
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
566
|
+
* @param InstallSoftwareUpdatesRequest
|
|
567
|
+
* @return InstallSoftwareUpdatesResponse
|
|
568
|
+
* @throws OciError when an error occurs
|
|
569
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/InstallSoftwareUpdates.ts.html |here} to see how to use InstallSoftwareUpdates API.
|
|
570
|
+
*/
|
|
571
|
+
installSoftwareUpdates(installSoftwareUpdatesRequest: requests.InstallSoftwareUpdatesRequest): Promise<responses.InstallSoftwareUpdatesResponse>;
|
|
542
572
|
/**
|
|
543
573
|
* Returns information about the autoscaling configurations for a cluster.
|
|
544
574
|
*
|
|
@@ -1084,6 +1114,15 @@ export declare class BdsClient {
|
|
|
1084
1114
|
* @param request a request which can be sent to the service operation
|
|
1085
1115
|
*/
|
|
1086
1116
|
listResourcePrincipalConfigurationsResponseIterator(request: requests.ListResourcePrincipalConfigurationsRequest): AsyncIterableIterator<responses.ListResourcePrincipalConfigurationsResponse>;
|
|
1117
|
+
/**
|
|
1118
|
+
* List all the available software updates for current cluster.
|
|
1119
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1120
|
+
* @param ListSoftwareUpdatesRequest
|
|
1121
|
+
* @return ListSoftwareUpdatesResponse
|
|
1122
|
+
* @throws OciError when an error occurs
|
|
1123
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListSoftwareUpdates.ts.html |here} to see how to use ListSoftwareUpdates API.
|
|
1124
|
+
*/
|
|
1125
|
+
listSoftwareUpdates(listSoftwareUpdatesRequest: requests.ListSoftwareUpdatesRequest): Promise<responses.ListSoftwareUpdatesResponse>;
|
|
1087
1126
|
/**
|
|
1088
1127
|
* Returns a paginated list of errors for a work request identified by the given ID.
|
|
1089
1128
|
*
|
package/lib/client.js
CHANGED
|
@@ -1158,6 +1158,65 @@ class BdsClient {
|
|
|
1158
1158
|
}
|
|
1159
1159
|
});
|
|
1160
1160
|
}
|
|
1161
|
+
/**
|
|
1162
|
+
* Create a detailed capacity report for BDS service
|
|
1163
|
+
*
|
|
1164
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1165
|
+
* @param CreateBdsCapacityReportRequest
|
|
1166
|
+
* @return CreateBdsCapacityReportResponse
|
|
1167
|
+
* @throws OciError when an error occurs
|
|
1168
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/CreateBdsCapacityReport.ts.html |here} to see how to use CreateBdsCapacityReport API.
|
|
1169
|
+
*/
|
|
1170
|
+
createBdsCapacityReport(createBdsCapacityReportRequest) {
|
|
1171
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1172
|
+
if (this.logger)
|
|
1173
|
+
this.logger.debug("Calling operation BdsClient#createBdsCapacityReport.");
|
|
1174
|
+
const operationName = "createBdsCapacityReport";
|
|
1175
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReport/CreateBdsCapacityReport";
|
|
1176
|
+
const pathParams = {};
|
|
1177
|
+
const queryParams = {};
|
|
1178
|
+
let headerParams = {
|
|
1179
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1180
|
+
"opc-request-id": createBdsCapacityReportRequest.opcRequestId,
|
|
1181
|
+
"opc-retry-token": createBdsCapacityReportRequest.opcRetryToken
|
|
1182
|
+
};
|
|
1183
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1184
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBdsCapacityReportRequest.retryConfiguration, specRetryConfiguration);
|
|
1185
|
+
if (this.logger)
|
|
1186
|
+
retrier.logger = this.logger;
|
|
1187
|
+
const request = yield oci_common_2.composeRequest({
|
|
1188
|
+
baseEndpoint: this._endpoint,
|
|
1189
|
+
defaultHeaders: this._defaultHeaders,
|
|
1190
|
+
path: "/bdsCapacityReports",
|
|
1191
|
+
method: "POST",
|
|
1192
|
+
bodyContent: common.ObjectSerializer.serialize(createBdsCapacityReportRequest.createBdsCapacityReportDetails, "CreateBdsCapacityReportDetails", model.CreateBdsCapacityReportDetails.getJsonObj),
|
|
1193
|
+
pathParams: pathParams,
|
|
1194
|
+
headerParams: headerParams,
|
|
1195
|
+
queryParams: queryParams
|
|
1196
|
+
});
|
|
1197
|
+
try {
|
|
1198
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1199
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1200
|
+
responseObject: {},
|
|
1201
|
+
body: yield response.json(),
|
|
1202
|
+
bodyKey: "bdsCapacityReport",
|
|
1203
|
+
bodyModel: model.BdsCapacityReport,
|
|
1204
|
+
type: "model.BdsCapacityReport",
|
|
1205
|
+
responseHeaders: [
|
|
1206
|
+
{
|
|
1207
|
+
value: response.headers.get("opc-request-id"),
|
|
1208
|
+
key: "opcRequestId",
|
|
1209
|
+
dataType: "string"
|
|
1210
|
+
}
|
|
1211
|
+
]
|
|
1212
|
+
});
|
|
1213
|
+
return sdkResponse;
|
|
1214
|
+
}
|
|
1215
|
+
catch (err) {
|
|
1216
|
+
throw err;
|
|
1217
|
+
}
|
|
1218
|
+
});
|
|
1219
|
+
}
|
|
1161
1220
|
/**
|
|
1162
1221
|
* Creates a Big Data Service cluster.
|
|
1163
1222
|
*
|
|
@@ -2923,6 +2982,73 @@ class BdsClient {
|
|
|
2923
2982
|
}
|
|
2924
2983
|
});
|
|
2925
2984
|
}
|
|
2985
|
+
/**
|
|
2986
|
+
* Get the details of the software update of the given SoftwareUpdateId
|
|
2987
|
+
*
|
|
2988
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2989
|
+
* @param GetSoftwareUpdateRequest
|
|
2990
|
+
* @return GetSoftwareUpdateResponse
|
|
2991
|
+
* @throws OciError when an error occurs
|
|
2992
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GetSoftwareUpdate.ts.html |here} to see how to use GetSoftwareUpdate API.
|
|
2993
|
+
*/
|
|
2994
|
+
getSoftwareUpdate(getSoftwareUpdateRequest) {
|
|
2995
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2996
|
+
if (this.logger)
|
|
2997
|
+
this.logger.debug("Calling operation BdsClient#getSoftwareUpdate.");
|
|
2998
|
+
const operationName = "getSoftwareUpdate";
|
|
2999
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetSoftwareUpdate";
|
|
3000
|
+
const pathParams = {
|
|
3001
|
+
"{bdsInstanceId}": getSoftwareUpdateRequest.bdsInstanceId,
|
|
3002
|
+
"{softwareUpdateKey}": getSoftwareUpdateRequest.softwareUpdateKey
|
|
3003
|
+
};
|
|
3004
|
+
const queryParams = {};
|
|
3005
|
+
let headerParams = {
|
|
3006
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3007
|
+
"opc-request-id": getSoftwareUpdateRequest.opcRequestId,
|
|
3008
|
+
"if-match": getSoftwareUpdateRequest.ifMatch,
|
|
3009
|
+
"opc-retry-token": getSoftwareUpdateRequest.opcRetryToken
|
|
3010
|
+
};
|
|
3011
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3012
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSoftwareUpdateRequest.retryConfiguration, specRetryConfiguration);
|
|
3013
|
+
if (this.logger)
|
|
3014
|
+
retrier.logger = this.logger;
|
|
3015
|
+
const request = yield oci_common_2.composeRequest({
|
|
3016
|
+
baseEndpoint: this._endpoint,
|
|
3017
|
+
defaultHeaders: this._defaultHeaders,
|
|
3018
|
+
path: "/bdsInstances/{bdsInstanceId}/softwareUpdates/{softwareUpdateKey}",
|
|
3019
|
+
method: "GET",
|
|
3020
|
+
pathParams: pathParams,
|
|
3021
|
+
headerParams: headerParams,
|
|
3022
|
+
queryParams: queryParams
|
|
3023
|
+
});
|
|
3024
|
+
try {
|
|
3025
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3026
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3027
|
+
responseObject: {},
|
|
3028
|
+
body: yield response.json(),
|
|
3029
|
+
bodyKey: "softwareUpdate",
|
|
3030
|
+
bodyModel: model.SoftwareUpdate,
|
|
3031
|
+
type: "model.SoftwareUpdate",
|
|
3032
|
+
responseHeaders: [
|
|
3033
|
+
{
|
|
3034
|
+
value: response.headers.get("opc-request-id"),
|
|
3035
|
+
key: "opcRequestId",
|
|
3036
|
+
dataType: "string"
|
|
3037
|
+
},
|
|
3038
|
+
{
|
|
3039
|
+
value: response.headers.get("etag"),
|
|
3040
|
+
key: "etag",
|
|
3041
|
+
dataType: "string"
|
|
3042
|
+
}
|
|
3043
|
+
]
|
|
3044
|
+
});
|
|
3045
|
+
return sdkResponse;
|
|
3046
|
+
}
|
|
3047
|
+
catch (err) {
|
|
3048
|
+
throw err;
|
|
3049
|
+
}
|
|
3050
|
+
});
|
|
3051
|
+
}
|
|
2926
3052
|
/**
|
|
2927
3053
|
* Returns the status of the work request identified by the given ID.
|
|
2928
3054
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
@@ -3112,6 +3238,69 @@ class BdsClient {
|
|
|
3112
3238
|
}
|
|
3113
3239
|
});
|
|
3114
3240
|
}
|
|
3241
|
+
/**
|
|
3242
|
+
* Install the specified software update to this cluster.
|
|
3243
|
+
*
|
|
3244
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3245
|
+
* @param InstallSoftwareUpdatesRequest
|
|
3246
|
+
* @return InstallSoftwareUpdatesResponse
|
|
3247
|
+
* @throws OciError when an error occurs
|
|
3248
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/InstallSoftwareUpdates.ts.html |here} to see how to use InstallSoftwareUpdates API.
|
|
3249
|
+
*/
|
|
3250
|
+
installSoftwareUpdates(installSoftwareUpdatesRequest) {
|
|
3251
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3252
|
+
if (this.logger)
|
|
3253
|
+
this.logger.debug("Calling operation BdsClient#installSoftwareUpdates.");
|
|
3254
|
+
const operationName = "installSoftwareUpdates";
|
|
3255
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/InstallSoftwareUpdates";
|
|
3256
|
+
const pathParams = {
|
|
3257
|
+
"{bdsInstanceId}": installSoftwareUpdatesRequest.bdsInstanceId
|
|
3258
|
+
};
|
|
3259
|
+
const queryParams = {};
|
|
3260
|
+
let headerParams = {
|
|
3261
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3262
|
+
"opc-request-id": installSoftwareUpdatesRequest.opcRequestId,
|
|
3263
|
+
"if-match": installSoftwareUpdatesRequest.ifMatch,
|
|
3264
|
+
"opc-retry-token": installSoftwareUpdatesRequest.opcRetryToken
|
|
3265
|
+
};
|
|
3266
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3267
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, installSoftwareUpdatesRequest.retryConfiguration, specRetryConfiguration);
|
|
3268
|
+
if (this.logger)
|
|
3269
|
+
retrier.logger = this.logger;
|
|
3270
|
+
const request = yield oci_common_2.composeRequest({
|
|
3271
|
+
baseEndpoint: this._endpoint,
|
|
3272
|
+
defaultHeaders: this._defaultHeaders,
|
|
3273
|
+
path: "/bdsInstances/{bdsInstanceId}/actions/installSoftwareUpdates",
|
|
3274
|
+
method: "POST",
|
|
3275
|
+
bodyContent: common.ObjectSerializer.serialize(installSoftwareUpdatesRequest.installSoftwareUpdatesDetails, "InstallSoftwareUpdatesDetails", model.InstallSoftwareUpdatesDetails.getJsonObj),
|
|
3276
|
+
pathParams: pathParams,
|
|
3277
|
+
headerParams: headerParams,
|
|
3278
|
+
queryParams: queryParams
|
|
3279
|
+
});
|
|
3280
|
+
try {
|
|
3281
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3282
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3283
|
+
responseObject: {},
|
|
3284
|
+
responseHeaders: [
|
|
3285
|
+
{
|
|
3286
|
+
value: response.headers.get("opc-request-id"),
|
|
3287
|
+
key: "opcRequestId",
|
|
3288
|
+
dataType: "string"
|
|
3289
|
+
},
|
|
3290
|
+
{
|
|
3291
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3292
|
+
key: "opcWorkRequestId",
|
|
3293
|
+
dataType: "string"
|
|
3294
|
+
}
|
|
3295
|
+
]
|
|
3296
|
+
});
|
|
3297
|
+
return sdkResponse;
|
|
3298
|
+
}
|
|
3299
|
+
catch (err) {
|
|
3300
|
+
throw err;
|
|
3301
|
+
}
|
|
3302
|
+
});
|
|
3303
|
+
}
|
|
3115
3304
|
/**
|
|
3116
3305
|
* Returns information about the autoscaling configurations for a cluster.
|
|
3117
3306
|
*
|
|
@@ -4558,6 +4747,76 @@ class BdsClient {
|
|
|
4558
4747
|
listResourcePrincipalConfigurationsResponseIterator(request) {
|
|
4559
4748
|
return oci_common_1.paginateResponses(request, req => this.listResourcePrincipalConfigurations(req));
|
|
4560
4749
|
}
|
|
4750
|
+
/**
|
|
4751
|
+
* List all the available software updates for current cluster.
|
|
4752
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4753
|
+
* @param ListSoftwareUpdatesRequest
|
|
4754
|
+
* @return ListSoftwareUpdatesResponse
|
|
4755
|
+
* @throws OciError when an error occurs
|
|
4756
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListSoftwareUpdates.ts.html |here} to see how to use ListSoftwareUpdates API.
|
|
4757
|
+
*/
|
|
4758
|
+
listSoftwareUpdates(listSoftwareUpdatesRequest) {
|
|
4759
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4760
|
+
if (this.logger)
|
|
4761
|
+
this.logger.debug("Calling operation BdsClient#listSoftwareUpdates.");
|
|
4762
|
+
const operationName = "listSoftwareUpdates";
|
|
4763
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListSoftwareUpdates";
|
|
4764
|
+
const pathParams = {
|
|
4765
|
+
"{bdsInstanceId}": listSoftwareUpdatesRequest.bdsInstanceId
|
|
4766
|
+
};
|
|
4767
|
+
const queryParams = {
|
|
4768
|
+
"page": listSoftwareUpdatesRequest.page,
|
|
4769
|
+
"limit": listSoftwareUpdatesRequest.limit,
|
|
4770
|
+
"sortBy": listSoftwareUpdatesRequest.sortBy,
|
|
4771
|
+
"sortOrder": listSoftwareUpdatesRequest.sortOrder
|
|
4772
|
+
};
|
|
4773
|
+
let headerParams = {
|
|
4774
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4775
|
+
"opc-request-id": listSoftwareUpdatesRequest.opcRequestId,
|
|
4776
|
+
"if-match": listSoftwareUpdatesRequest.ifMatch,
|
|
4777
|
+
"opc-retry-token": listSoftwareUpdatesRequest.opcRetryToken
|
|
4778
|
+
};
|
|
4779
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4780
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSoftwareUpdatesRequest.retryConfiguration, specRetryConfiguration);
|
|
4781
|
+
if (this.logger)
|
|
4782
|
+
retrier.logger = this.logger;
|
|
4783
|
+
const request = yield oci_common_2.composeRequest({
|
|
4784
|
+
baseEndpoint: this._endpoint,
|
|
4785
|
+
defaultHeaders: this._defaultHeaders,
|
|
4786
|
+
path: "/bdsInstances/{bdsInstanceId}/softwareUpdates",
|
|
4787
|
+
method: "GET",
|
|
4788
|
+
pathParams: pathParams,
|
|
4789
|
+
headerParams: headerParams,
|
|
4790
|
+
queryParams: queryParams
|
|
4791
|
+
});
|
|
4792
|
+
try {
|
|
4793
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4794
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
4795
|
+
responseObject: {},
|
|
4796
|
+
body: yield response.json(),
|
|
4797
|
+
bodyKey: "softwareUpdateCollection",
|
|
4798
|
+
bodyModel: model.SoftwareUpdateCollection,
|
|
4799
|
+
type: "model.SoftwareUpdateCollection",
|
|
4800
|
+
responseHeaders: [
|
|
4801
|
+
{
|
|
4802
|
+
value: response.headers.get("opc-next-page"),
|
|
4803
|
+
key: "opcNextPage",
|
|
4804
|
+
dataType: "string"
|
|
4805
|
+
},
|
|
4806
|
+
{
|
|
4807
|
+
value: response.headers.get("opc-request-id"),
|
|
4808
|
+
key: "opcRequestId",
|
|
4809
|
+
dataType: "string"
|
|
4810
|
+
}
|
|
4811
|
+
]
|
|
4812
|
+
});
|
|
4813
|
+
return sdkResponse;
|
|
4814
|
+
}
|
|
4815
|
+
catch (err) {
|
|
4816
|
+
throw err;
|
|
4817
|
+
}
|
|
4818
|
+
});
|
|
4819
|
+
}
|
|
4561
4820
|
/**
|
|
4562
4821
|
* Returns a paginated list of errors for a work request identified by the given ID.
|
|
4563
4822
|
*
|