oci-database 2.125.2 → 2.126.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 +30 -0
- package/lib/client.js +194 -0
- package/lib/client.js.map +1 -1
- package/lib/database-waiter.d.ts +18 -0
- package/lib/database-waiter.js +30 -0
- package/lib/database-waiter.js.map +1 -1
- package/lib/model/autonomous-database-backup-summary.d.ts +2 -0
- package/lib/model/autonomous-database-backup-summary.js.map +1 -1
- package/lib/model/autonomous-database-backup.d.ts +2 -0
- package/lib/model/autonomous-database-backup.js.map +1 -1
- package/lib/model/autonomous-database-summary.d.ts +4 -0
- package/lib/model/autonomous-database-summary.js.map +1 -1
- package/lib/model/autonomous-database.d.ts +4 -0
- package/lib/model/autonomous-database.js.map +1 -1
- package/lib/model/autonomous-db-preview-version-summary.d.ts +2 -0
- package/lib/model/autonomous-db-preview-version-summary.js.map +1 -1
- package/lib/model/autonomous-db-version-summary.d.ts +4 -0
- package/lib/model/autonomous-db-version-summary.js.map +1 -1
- package/lib/model/autonomous-dw-database.d.ts +4 -0
- package/lib/model/autonomous-dw-database.js.map +1 -1
- package/lib/model/create-autonomous-database-base.d.ts +4 -0
- package/lib/model/create-autonomous-database-base.js.map +1 -1
- package/lib/model/create-database-for-standby-db-system-details.d.ts +109 -0
- package/lib/model/create-database-for-standby-db-system-details.js +76 -0
- package/lib/model/create-database-for-standby-db-system-details.js.map +1 -0
- package/lib/model/create-db-home-for-standby-db-system.d.ts +31 -0
- package/lib/model/create-db-home-for-standby-db-system.js +58 -0
- package/lib/model/create-db-home-for-standby-db-system.js.map +1 -0
- package/lib/model/db-node-summary.d.ts +6 -0
- package/lib/model/db-node-summary.js.map +1 -1
- package/lib/model/db-node.d.ts +6 -0
- package/lib/model/db-node.js.map +1 -1
- package/lib/model/db-system-os-patch-details-collection.d.ts +27 -0
- package/lib/model/db-system-os-patch-details-collection.js +62 -0
- package/lib/model/db-system-os-patch-details-collection.js.map +1 -0
- package/lib/model/db-system-os-patch-details-summary.d.ts +34 -0
- package/lib/model/db-system-os-patch-details-summary.js +30 -0
- package/lib/model/db-system-os-patch-details-summary.js.map +1 -0
- package/lib/model/db-system-os-patch-history-entry-collection.d.ts +27 -0
- package/lib/model/db-system-os-patch-history-entry-collection.js +62 -0
- package/lib/model/db-system-os-patch-history-entry-collection.js.map +1 -0
- package/lib/model/db-system-os-patch-history-entry-summary.d.ts +73 -0
- package/lib/model/db-system-os-patch-history-entry-summary.js +79 -0
- package/lib/model/db-system-os-patch-history-entry-summary.js.map +1 -0
- package/lib/model/db-system-os-patch-history-entry.d.ts +74 -0
- package/lib/model/db-system-os-patch-history-entry.js +79 -0
- package/lib/model/db-system-os-patch-history-entry.js.map +1 -0
- package/lib/model/dr-scan-details.d.ts +4 -0
- package/lib/model/dr-scan-details.js.map +1 -1
- package/lib/model/execute-db-system-os-patch-details.d.ts +39 -0
- package/lib/model/execute-db-system-os-patch-details.js +35 -0
- package/lib/model/execute-db-system-os-patch-details.js.map +1 -0
- package/lib/model/generate-recommended-network-details.d.ts +4 -0
- package/lib/model/generate-recommended-network-details.js.map +1 -1
- package/lib/model/index.d.ts +18 -0
- package/lib/model/index.js +27 -8
- package/lib/model/index.js.map +1 -1
- package/lib/model/launch-db-system-base.js +4 -0
- package/lib/model/launch-db-system-base.js.map +1 -1
- package/lib/model/launch-standby-db-system-details.d.ts +40 -0
- package/lib/model/launch-standby-db-system-details.js +68 -0
- package/lib/model/launch-standby-db-system-details.js.map +1 -0
- package/lib/model/source-database-details.d.ts +2 -0
- package/lib/model/source-database-details.js.map +1 -1
- package/lib/model/update-autonomous-database-details.d.ts +4 -0
- package/lib/model/update-autonomous-database-details.js.map +1 -1
- package/lib/request/execute-db-system-os-patch-request.d.ts +48 -0
- package/lib/request/execute-db-system-os-patch-request.js +15 -0
- package/lib/request/execute-db-system-os-patch-request.js.map +1 -0
- package/lib/request/get-db-system-os-patch-history-entry-request.d.ts +31 -0
- package/lib/request/get-db-system-os-patch-history-entry-request.js +15 -0
- package/lib/request/get-db-system-os-patch-history-entry-request.js.map +1 -0
- package/lib/request/index.d.ts +6 -0
- package/lib/request/index.js +4 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/launch-db-system-request.d.ts +1 -1
- package/lib/request/list-db-system-os-patch-history-entries-request.d.ts +62 -0
- package/lib/request/list-db-system-os-patch-history-entries-request.js +29 -0
- package/lib/request/list-db-system-os-patch-history-entries-request.js.map +1 -0
- package/lib/response/execute-db-system-os-patch-response.d.ts +25 -0
- package/lib/response/execute-db-system-os-patch-response.js +15 -0
- package/lib/response/execute-db-system-os-patch-response.js.map +1 -0
- package/lib/response/get-db-system-os-patch-history-entry-response.d.ts +25 -0
- package/lib/response/get-db-system-os-patch-history-entry-response.js +15 -0
- package/lib/response/get-db-system-os-patch-history-entry-response.js.map +1 -0
- package/lib/response/index.d.ts +6 -0
- package/lib/response/list-db-system-os-patch-history-entries-response.d.ts +33 -0
- package/lib/response/list-db-system-os-patch-history-entries-response.js +15 -0
- package/lib/response/list-db-system-os-patch-history-entries-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -1817,6 +1817,16 @@ export declare class DatabaseClient {
|
|
|
1817
1817
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/EnablePluggableDatabaseManagement.ts.html |here} to see how to use EnablePluggableDatabaseManagement API.
|
|
1818
1818
|
*/
|
|
1819
1819
|
enablePluggableDatabaseManagement(enablePluggableDatabaseManagementRequest: requests.EnablePluggableDatabaseManagementRequest): Promise<responses.EnablePluggableDatabaseManagementResponse>;
|
|
1820
|
+
/**
|
|
1821
|
+
* Execute an operating system (OS) patch action on a DB system. Returns 202 and a work request. Some updates may require a reboot.
|
|
1822
|
+
*
|
|
1823
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1824
|
+
* @param ExecuteDbSystemOsPatchRequest
|
|
1825
|
+
* @return ExecuteDbSystemOsPatchResponse
|
|
1826
|
+
* @throws OciError when an error occurs
|
|
1827
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ExecuteDbSystemOsPatch.ts.html |here} to see how to use ExecuteDbSystemOsPatch API.
|
|
1828
|
+
*/
|
|
1829
|
+
executeDbSystemOsPatch(executeDbSystemOsPatchRequest: requests.ExecuteDbSystemOsPatchRequest): Promise<responses.ExecuteDbSystemOsPatchResponse>;
|
|
1820
1830
|
/**
|
|
1821
1831
|
* Initiates a failover of the specified Autonomous AI Database to the associated peer database. Applicable only to databases with Disaster Recovery enabled.
|
|
1822
1832
|
* This API should be called in the remote region where the peer database resides.
|
|
@@ -2298,6 +2308,16 @@ export declare class DatabaseClient {
|
|
|
2298
2308
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetDbSystem.ts.html |here} to see how to use GetDbSystem API.
|
|
2299
2309
|
*/
|
|
2300
2310
|
getDbSystem(getDbSystemRequest: requests.GetDbSystemRequest): Promise<responses.GetDbSystemResponse>;
|
|
2311
|
+
/**
|
|
2312
|
+
* Gets the details of the specified OS patch action for the specified DB system.
|
|
2313
|
+
*
|
|
2314
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2315
|
+
* @param GetDbSystemOsPatchHistoryEntryRequest
|
|
2316
|
+
* @return GetDbSystemOsPatchHistoryEntryResponse
|
|
2317
|
+
* @throws OciError when an error occurs
|
|
2318
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetDbSystemOsPatchHistoryEntry.ts.html |here} to see how to use GetDbSystemOsPatchHistoryEntry API.
|
|
2319
|
+
*/
|
|
2320
|
+
getDbSystemOsPatchHistoryEntry(getDbSystemOsPatchHistoryEntryRequest: requests.GetDbSystemOsPatchHistoryEntryRequest): Promise<responses.GetDbSystemOsPatchHistoryEntryResponse>;
|
|
2301
2321
|
/**
|
|
2302
2322
|
* Gets information the specified patch.
|
|
2303
2323
|
*
|
|
@@ -4233,6 +4253,16 @@ export declare class DatabaseClient {
|
|
|
4233
4253
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListDbSystemComputePerformances.ts.html |here} to see how to use ListDbSystemComputePerformances API.
|
|
4234
4254
|
*/
|
|
4235
4255
|
listDbSystemComputePerformances(listDbSystemComputePerformancesRequest: requests.ListDbSystemComputePerformancesRequest): Promise<responses.ListDbSystemComputePerformancesResponse>;
|
|
4256
|
+
/**
|
|
4257
|
+
* Gets the history of the OS patch actions performed on the specified DB system.
|
|
4258
|
+
*
|
|
4259
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4260
|
+
* @param ListDbSystemOsPatchHistoryEntriesRequest
|
|
4261
|
+
* @return ListDbSystemOsPatchHistoryEntriesResponse
|
|
4262
|
+
* @throws OciError when an error occurs
|
|
4263
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListDbSystemOsPatchHistoryEntries.ts.html |here} to see how to use ListDbSystemOsPatchHistoryEntries API.
|
|
4264
|
+
*/
|
|
4265
|
+
listDbSystemOsPatchHistoryEntries(listDbSystemOsPatchHistoryEntriesRequest: requests.ListDbSystemOsPatchHistoryEntriesRequest): Promise<responses.ListDbSystemOsPatchHistoryEntriesResponse>;
|
|
4236
4266
|
/**
|
|
4237
4267
|
* Gets the history of the patch actions performed on the specified DB system.
|
|
4238
4268
|
*
|
package/lib/client.js
CHANGED
|
@@ -11145,6 +11145,69 @@ class DatabaseClient {
|
|
|
11145
11145
|
}
|
|
11146
11146
|
});
|
|
11147
11147
|
}
|
|
11148
|
+
/**
|
|
11149
|
+
* Execute an operating system (OS) patch action on a DB system. Returns 202 and a work request. Some updates may require a reboot.
|
|
11150
|
+
*
|
|
11151
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
11152
|
+
* @param ExecuteDbSystemOsPatchRequest
|
|
11153
|
+
* @return ExecuteDbSystemOsPatchResponse
|
|
11154
|
+
* @throws OciError when an error occurs
|
|
11155
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ExecuteDbSystemOsPatch.ts.html |here} to see how to use ExecuteDbSystemOsPatch API.
|
|
11156
|
+
*/
|
|
11157
|
+
executeDbSystemOsPatch(executeDbSystemOsPatchRequest) {
|
|
11158
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11159
|
+
if (this.logger)
|
|
11160
|
+
this.logger.debug("Calling operation DatabaseClient#executeDbSystemOsPatch.");
|
|
11161
|
+
const operationName = "executeDbSystemOsPatch";
|
|
11162
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbSystem/ExecuteDbSystemOsPatch";
|
|
11163
|
+
const pathParams = {
|
|
11164
|
+
"{dbSystemId}": executeDbSystemOsPatchRequest.dbSystemId
|
|
11165
|
+
};
|
|
11166
|
+
const queryParams = {};
|
|
11167
|
+
let headerParams = {
|
|
11168
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
11169
|
+
"opc-retry-token": executeDbSystemOsPatchRequest.opcRetryToken,
|
|
11170
|
+
"opc-request-id": executeDbSystemOsPatchRequest.opcRequestId,
|
|
11171
|
+
"if-match": executeDbSystemOsPatchRequest.ifMatch
|
|
11172
|
+
};
|
|
11173
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
11174
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, executeDbSystemOsPatchRequest.retryConfiguration, specRetryConfiguration);
|
|
11175
|
+
if (this.logger)
|
|
11176
|
+
retrier.logger = this.logger;
|
|
11177
|
+
const request = yield oci_common_2.composeRequest({
|
|
11178
|
+
baseEndpoint: this._endpoint,
|
|
11179
|
+
defaultHeaders: this._defaultHeaders,
|
|
11180
|
+
path: "/dbSystems/{dbSystemId}/actions/osPatch",
|
|
11181
|
+
method: "POST",
|
|
11182
|
+
bodyContent: common.ObjectSerializer.serialize(executeDbSystemOsPatchRequest.executeDbSystemOsPatchDetails, "ExecuteDbSystemOsPatchDetails", model.ExecuteDbSystemOsPatchDetails.getJsonObj),
|
|
11183
|
+
pathParams: pathParams,
|
|
11184
|
+
headerParams: headerParams,
|
|
11185
|
+
queryParams: queryParams
|
|
11186
|
+
});
|
|
11187
|
+
try {
|
|
11188
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
11189
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
11190
|
+
responseObject: {},
|
|
11191
|
+
responseHeaders: [
|
|
11192
|
+
{
|
|
11193
|
+
value: response.headers.get("opc-work-request-id"),
|
|
11194
|
+
key: "opcWorkRequestId",
|
|
11195
|
+
dataType: "string"
|
|
11196
|
+
},
|
|
11197
|
+
{
|
|
11198
|
+
value: response.headers.get("opc-request-id"),
|
|
11199
|
+
key: "opcRequestId",
|
|
11200
|
+
dataType: "string"
|
|
11201
|
+
}
|
|
11202
|
+
]
|
|
11203
|
+
});
|
|
11204
|
+
return sdkResponse;
|
|
11205
|
+
}
|
|
11206
|
+
catch (err) {
|
|
11207
|
+
throw err;
|
|
11208
|
+
}
|
|
11209
|
+
});
|
|
11210
|
+
}
|
|
11148
11211
|
/**
|
|
11149
11212
|
* Initiates a failover of the specified Autonomous AI Database to the associated peer database. Applicable only to databases with Disaster Recovery enabled.
|
|
11150
11213
|
* This API should be called in the remote region where the peer database resides.
|
|
@@ -14188,6 +14251,66 @@ class DatabaseClient {
|
|
|
14188
14251
|
}
|
|
14189
14252
|
});
|
|
14190
14253
|
}
|
|
14254
|
+
/**
|
|
14255
|
+
* Gets the details of the specified OS patch action for the specified DB system.
|
|
14256
|
+
*
|
|
14257
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
14258
|
+
* @param GetDbSystemOsPatchHistoryEntryRequest
|
|
14259
|
+
* @return GetDbSystemOsPatchHistoryEntryResponse
|
|
14260
|
+
* @throws OciError when an error occurs
|
|
14261
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetDbSystemOsPatchHistoryEntry.ts.html |here} to see how to use GetDbSystemOsPatchHistoryEntry API.
|
|
14262
|
+
*/
|
|
14263
|
+
getDbSystemOsPatchHistoryEntry(getDbSystemOsPatchHistoryEntryRequest) {
|
|
14264
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14265
|
+
if (this.logger)
|
|
14266
|
+
this.logger.debug("Calling operation DatabaseClient#getDbSystemOsPatchHistoryEntry.");
|
|
14267
|
+
const operationName = "getDbSystemOsPatchHistoryEntry";
|
|
14268
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbSystemOsPatchHistoryEntry/GetDbSystemOsPatchHistoryEntry";
|
|
14269
|
+
const pathParams = {
|
|
14270
|
+
"{dbSystemId}": getDbSystemOsPatchHistoryEntryRequest.dbSystemId,
|
|
14271
|
+
"{osPatchHistoryEntryId}": getDbSystemOsPatchHistoryEntryRequest.osPatchHistoryEntryId
|
|
14272
|
+
};
|
|
14273
|
+
const queryParams = {};
|
|
14274
|
+
let headerParams = {
|
|
14275
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
14276
|
+
"opc-request-id": getDbSystemOsPatchHistoryEntryRequest.opcRequestId
|
|
14277
|
+
};
|
|
14278
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
14279
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDbSystemOsPatchHistoryEntryRequest.retryConfiguration, specRetryConfiguration);
|
|
14280
|
+
if (this.logger)
|
|
14281
|
+
retrier.logger = this.logger;
|
|
14282
|
+
const request = yield oci_common_2.composeRequest({
|
|
14283
|
+
baseEndpoint: this._endpoint,
|
|
14284
|
+
defaultHeaders: this._defaultHeaders,
|
|
14285
|
+
path: "/dbSystems/{dbSystemId}/osPatchHistoryEntries/{osPatchHistoryEntryId}",
|
|
14286
|
+
method: "GET",
|
|
14287
|
+
pathParams: pathParams,
|
|
14288
|
+
headerParams: headerParams,
|
|
14289
|
+
queryParams: queryParams
|
|
14290
|
+
});
|
|
14291
|
+
try {
|
|
14292
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
14293
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
14294
|
+
responseObject: {},
|
|
14295
|
+
body: yield response.json(),
|
|
14296
|
+
bodyKey: "dbSystemOsPatchHistoryEntry",
|
|
14297
|
+
bodyModel: model.DbSystemOsPatchHistoryEntry,
|
|
14298
|
+
type: "model.DbSystemOsPatchHistoryEntry",
|
|
14299
|
+
responseHeaders: [
|
|
14300
|
+
{
|
|
14301
|
+
value: response.headers.get("opc-request-id"),
|
|
14302
|
+
key: "opcRequestId",
|
|
14303
|
+
dataType: "string"
|
|
14304
|
+
}
|
|
14305
|
+
]
|
|
14306
|
+
});
|
|
14307
|
+
return sdkResponse;
|
|
14308
|
+
}
|
|
14309
|
+
catch (err) {
|
|
14310
|
+
throw err;
|
|
14311
|
+
}
|
|
14312
|
+
});
|
|
14313
|
+
}
|
|
14191
14314
|
/**
|
|
14192
14315
|
* Gets information the specified patch.
|
|
14193
14316
|
*
|
|
@@ -21113,6 +21236,77 @@ class DatabaseClient {
|
|
|
21113
21236
|
}
|
|
21114
21237
|
});
|
|
21115
21238
|
}
|
|
21239
|
+
/**
|
|
21240
|
+
* Gets the history of the OS patch actions performed on the specified DB system.
|
|
21241
|
+
*
|
|
21242
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
21243
|
+
* @param ListDbSystemOsPatchHistoryEntriesRequest
|
|
21244
|
+
* @return ListDbSystemOsPatchHistoryEntriesResponse
|
|
21245
|
+
* @throws OciError when an error occurs
|
|
21246
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListDbSystemOsPatchHistoryEntries.ts.html |here} to see how to use ListDbSystemOsPatchHistoryEntries API.
|
|
21247
|
+
*/
|
|
21248
|
+
listDbSystemOsPatchHistoryEntries(listDbSystemOsPatchHistoryEntriesRequest) {
|
|
21249
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21250
|
+
if (this.logger)
|
|
21251
|
+
this.logger.debug("Calling operation DatabaseClient#listDbSystemOsPatchHistoryEntries.");
|
|
21252
|
+
const operationName = "listDbSystemOsPatchHistoryEntries";
|
|
21253
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbSystemOsPatchHistoryEntryCollection/ListDbSystemOsPatchHistoryEntries";
|
|
21254
|
+
const pathParams = {
|
|
21255
|
+
"{dbSystemId}": listDbSystemOsPatchHistoryEntriesRequest.dbSystemId
|
|
21256
|
+
};
|
|
21257
|
+
const queryParams = {
|
|
21258
|
+
"limit": listDbSystemOsPatchHistoryEntriesRequest.limit,
|
|
21259
|
+
"page": listDbSystemOsPatchHistoryEntriesRequest.page,
|
|
21260
|
+
"sortOrder": listDbSystemOsPatchHistoryEntriesRequest.sortOrder,
|
|
21261
|
+
"sortBy": listDbSystemOsPatchHistoryEntriesRequest.sortBy,
|
|
21262
|
+
"lifecycleState": listDbSystemOsPatchHistoryEntriesRequest.lifecycleState,
|
|
21263
|
+
"action": listDbSystemOsPatchHistoryEntriesRequest.action
|
|
21264
|
+
};
|
|
21265
|
+
let headerParams = {
|
|
21266
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
21267
|
+
"opc-request-id": listDbSystemOsPatchHistoryEntriesRequest.opcRequestId
|
|
21268
|
+
};
|
|
21269
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
21270
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDbSystemOsPatchHistoryEntriesRequest.retryConfiguration, specRetryConfiguration);
|
|
21271
|
+
if (this.logger)
|
|
21272
|
+
retrier.logger = this.logger;
|
|
21273
|
+
const request = yield oci_common_2.composeRequest({
|
|
21274
|
+
baseEndpoint: this._endpoint,
|
|
21275
|
+
defaultHeaders: this._defaultHeaders,
|
|
21276
|
+
path: "/dbSystems/{dbSystemId}/osPatchHistoryEntries",
|
|
21277
|
+
method: "GET",
|
|
21278
|
+
pathParams: pathParams,
|
|
21279
|
+
headerParams: headerParams,
|
|
21280
|
+
queryParams: queryParams
|
|
21281
|
+
});
|
|
21282
|
+
try {
|
|
21283
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
21284
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
21285
|
+
responseObject: {},
|
|
21286
|
+
body: yield response.json(),
|
|
21287
|
+
bodyKey: "dbSystemOsPatchHistoryEntryCollection",
|
|
21288
|
+
bodyModel: model.DbSystemOsPatchHistoryEntryCollection,
|
|
21289
|
+
type: "model.DbSystemOsPatchHistoryEntryCollection",
|
|
21290
|
+
responseHeaders: [
|
|
21291
|
+
{
|
|
21292
|
+
value: response.headers.get("opc-request-id"),
|
|
21293
|
+
key: "opcRequestId",
|
|
21294
|
+
dataType: "string"
|
|
21295
|
+
},
|
|
21296
|
+
{
|
|
21297
|
+
value: response.headers.get("opc-next-page"),
|
|
21298
|
+
key: "opcNextPage",
|
|
21299
|
+
dataType: "string"
|
|
21300
|
+
}
|
|
21301
|
+
]
|
|
21302
|
+
});
|
|
21303
|
+
return sdkResponse;
|
|
21304
|
+
}
|
|
21305
|
+
catch (err) {
|
|
21306
|
+
throw err;
|
|
21307
|
+
}
|
|
21308
|
+
});
|
|
21309
|
+
}
|
|
21116
21310
|
/**
|
|
21117
21311
|
* Gets the history of the patch actions performed on the specified DB system.
|
|
21118
21312
|
*
|