oci-database 2.140.0 → 2.140.2
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 +56 -0
- package/lib/client.js +395 -0
- package/lib/client.js.map +1 -1
- package/lib/database-waiter.d.ts +28 -0
- package/lib/database-waiter.js +42 -0
- package/lib/database-waiter.js.map +1 -1
- package/lib/model/autonomous-database-maintenance-window-collection.d.ts +27 -0
- package/lib/model/autonomous-database-maintenance-window-collection.js +62 -0
- package/lib/model/autonomous-database-maintenance-window-collection.js.map +1 -0
- package/lib/model/autonomous-database-maintenance-window-summary.d.ts +8 -0
- package/lib/model/autonomous-database-maintenance-window-summary.js.map +1 -1
- package/lib/model/autonomous-database-summary.d.ts +5 -0
- package/lib/model/autonomous-database-summary.js +6 -0
- package/lib/model/autonomous-database-summary.js.map +1 -1
- package/lib/model/autonomous-database.d.ts +5 -0
- package/lib/model/autonomous-database.js +6 -0
- package/lib/model/autonomous-database.js.map +1 -1
- package/lib/model/autonomous-dw-database.d.ts +5 -0
- package/lib/model/autonomous-dw-database.js +6 -0
- package/lib/model/autonomous-dw-database.js.map +1 -1
- package/lib/model/create-database-software-image-details.d.ts +4 -0
- package/lib/model/create-database-software-image-details.js.map +1 -1
- package/lib/model/create-gi-home-details.d.ts +56 -0
- package/lib/model/create-gi-home-details.js +30 -0
- package/lib/model/create-gi-home-details.js.map +1 -0
- package/lib/model/exadb-vm-cluster-summary.d.ts +1 -0
- package/lib/model/exadb-vm-cluster-summary.js +1 -0
- package/lib/model/exadb-vm-cluster-summary.js.map +1 -1
- package/lib/model/exadb-vm-cluster.d.ts +1 -0
- package/lib/model/exadb-vm-cluster.js +1 -0
- package/lib/model/exadb-vm-cluster.js.map +1 -1
- package/lib/model/gi-home-collection.d.ts +27 -0
- package/lib/model/gi-home-collection.js +62 -0
- package/lib/model/gi-home-collection.js.map +1 -0
- package/lib/model/gi-home-summary.d.ts +153 -0
- package/lib/model/gi-home-summary.js +67 -0
- package/lib/model/gi-home-summary.js.map +1 -0
- package/lib/model/gi-home.d.ts +146 -0
- package/lib/model/gi-home.js +67 -0
- package/lib/model/gi-home.js.map +1 -0
- package/lib/model/index.d.ts +12 -0
- package/lib/model/index.js +24 -12
- package/lib/model/index.js.map +1 -1
- package/lib/model/launch-db-system-base.d.ts +1 -1
- package/lib/model/update-autonomous-database-details.d.ts +5 -0
- package/lib/model/update-autonomous-database-details.js +6 -0
- package/lib/model/update-autonomous-database-details.js.map +1 -1
- package/lib/model/update-details.d.ts +7 -0
- package/lib/model/update-details.js.map +1 -1
- package/lib/model/update-gi-home-details.d.ts +48 -0
- package/lib/model/update-gi-home-details.js +30 -0
- package/lib/model/update-gi-home-details.js.map +1 -0
- package/lib/model/vm-cluster-update-details.d.ts +7 -0
- package/lib/model/vm-cluster-update-details.js.map +1 -1
- package/lib/request/create-gi-home-request.d.ts +37 -0
- package/lib/request/create-gi-home-request.js +15 -0
- package/lib/request/create-gi-home-request.js.map +1 -0
- package/lib/request/delete-gi-home-request.d.ts +34 -0
- package/lib/request/delete-gi-home-request.js +15 -0
- package/lib/request/delete-gi-home-request.js.map +1 -0
- package/lib/request/get-gi-home-request.d.ts +27 -0
- package/lib/request/get-gi-home-request.js +15 -0
- package/lib/request/get-gi-home-request.js.map +1 -0
- package/lib/request/index.d.ts +12 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-available-maintenance-windows-request.d.ts +35 -0
- package/lib/request/list-available-maintenance-windows-request.js +15 -0
- package/lib/request/list-available-maintenance-windows-request.js.map +1 -0
- package/lib/request/list-gi-homes-request.d.ts +69 -0
- package/lib/request/list-gi-homes-request.js +29 -0
- package/lib/request/list-gi-homes-request.js.map +1 -0
- package/lib/request/update-gi-home-request.d.ts +39 -0
- package/lib/request/update-gi-home-request.js +15 -0
- package/lib/request/update-gi-home-request.js.map +1 -0
- package/lib/response/create-gi-home-response.d.ts +34 -0
- package/lib/response/create-gi-home-response.js +15 -0
- package/lib/response/create-gi-home-response.js.map +1 -0
- package/lib/response/delete-gi-home-response.d.ts +25 -0
- package/lib/response/delete-gi-home-response.js +15 -0
- package/lib/response/delete-gi-home-response.js.map +1 -0
- package/lib/response/get-gi-home-response.d.ts +29 -0
- package/lib/response/get-gi-home-response.js +15 -0
- package/lib/response/get-gi-home-response.js.map +1 -0
- package/lib/response/index.d.ts +12 -0
- package/lib/response/list-available-maintenance-windows-response.d.ts +33 -0
- package/lib/response/list-available-maintenance-windows-response.js +15 -0
- package/lib/response/list-available-maintenance-windows-response.js.map +1 -0
- package/lib/response/list-gi-homes-response.d.ts +33 -0
- package/lib/response/list-gi-homes-response.js +15 -0
- package/lib/response/list-gi-homes-response.js.map +1 -0
- package/lib/response/update-gi-home-response.d.ts +29 -0
- package/lib/response/update-gi-home-response.js +15 -0
- package/lib/response/update-gi-home-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -1015,6 +1015,15 @@ export declare class DatabaseClient {
|
|
|
1015
1015
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/CreateExternalPluggableDatabase.ts.html |here} to see how to use CreateExternalPluggableDatabase API.
|
|
1016
1016
|
*/
|
|
1017
1017
|
createExternalPluggableDatabase(createExternalPluggableDatabaseRequest: requests.CreateExternalPluggableDatabaseRequest): Promise<responses.CreateExternalPluggableDatabaseResponse>;
|
|
1018
|
+
/**
|
|
1019
|
+
* Creates a new Grid Infrastructure Home in the specified database system based on the request parameters you provide.
|
|
1020
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1021
|
+
* @param CreateGiHomeRequest
|
|
1022
|
+
* @return CreateGiHomeResponse
|
|
1023
|
+
* @throws OciError when an error occurs
|
|
1024
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/CreateGiHome.ts.html |here} to see how to use CreateGiHome API.
|
|
1025
|
+
*/
|
|
1026
|
+
createGiHome(createGiHomeRequest: requests.CreateGiHomeRequest): Promise<responses.CreateGiHomeResponse>;
|
|
1018
1027
|
/**
|
|
1019
1028
|
* Creates a Key Store.
|
|
1020
1029
|
*
|
|
@@ -1429,6 +1438,16 @@ export declare class DatabaseClient {
|
|
|
1429
1438
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/DeleteExternalPluggableDatabase.ts.html |here} to see how to use DeleteExternalPluggableDatabase API.
|
|
1430
1439
|
*/
|
|
1431
1440
|
deleteExternalPluggableDatabase(deleteExternalPluggableDatabaseRequest: requests.DeleteExternalPluggableDatabaseRequest): Promise<responses.DeleteExternalPluggableDatabaseResponse>;
|
|
1441
|
+
/**
|
|
1442
|
+
* Deletes a Grid Infrastructure Home.
|
|
1443
|
+
*
|
|
1444
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1445
|
+
* @param DeleteGiHomeRequest
|
|
1446
|
+
* @return DeleteGiHomeResponse
|
|
1447
|
+
* @throws OciError when an error occurs
|
|
1448
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/DeleteGiHome.ts.html |here} to see how to use DeleteGiHome API.
|
|
1449
|
+
*/
|
|
1450
|
+
deleteGiHome(deleteGiHomeRequest: requests.DeleteGiHomeRequest): Promise<responses.DeleteGiHomeResponse>;
|
|
1432
1451
|
/**
|
|
1433
1452
|
* Deletes a key store.
|
|
1434
1453
|
*
|
|
@@ -2589,6 +2608,15 @@ export declare class DatabaseClient {
|
|
|
2589
2608
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetExternalPluggableDatabase.ts.html |here} to see how to use GetExternalPluggableDatabase API.
|
|
2590
2609
|
*/
|
|
2591
2610
|
getExternalPluggableDatabase(getExternalPluggableDatabaseRequest: requests.GetExternalPluggableDatabaseRequest): Promise<responses.GetExternalPluggableDatabaseResponse>;
|
|
2611
|
+
/**
|
|
2612
|
+
* Gets information about the specified Grid Infrastructure Home.
|
|
2613
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2614
|
+
* @param GetGiHomeRequest
|
|
2615
|
+
* @return GetGiHomeResponse
|
|
2616
|
+
* @throws OciError when an error occurs
|
|
2617
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetGiHome.ts.html |here} to see how to use GetGiHome API.
|
|
2618
|
+
*/
|
|
2619
|
+
getGiHome(getGiHomeRequest: requests.GetGiHomeRequest): Promise<responses.GetGiHomeResponse>;
|
|
2592
2620
|
/**
|
|
2593
2621
|
* Gets details of the Exadata Infrastructure target system software versions that can be applied to the specified infrastructure resource for maintenance updates.
|
|
2594
2622
|
* Applies to Exadata Cloud@Customer and Exadata Cloud instances only.
|
|
@@ -3506,6 +3534,15 @@ export declare class DatabaseClient {
|
|
|
3506
3534
|
* @param request a request which can be sent to the service operation
|
|
3507
3535
|
*/
|
|
3508
3536
|
listAutonomousVmClustersResponseIterator(request: requests.ListAutonomousVmClustersRequest): AsyncIterableIterator<responses.ListAutonomousVmClustersResponse>;
|
|
3537
|
+
/**
|
|
3538
|
+
* Retrieves the list of available maintenance window options for the specified Autonomous AI Database.
|
|
3539
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3540
|
+
* @param ListAvailableMaintenanceWindowsRequest
|
|
3541
|
+
* @return ListAvailableMaintenanceWindowsResponse
|
|
3542
|
+
* @throws OciError when an error occurs
|
|
3543
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListAvailableMaintenanceWindows.ts.html |here} to see how to use ListAvailableMaintenanceWindows API.
|
|
3544
|
+
*/
|
|
3545
|
+
listAvailableMaintenanceWindows(listAvailableMaintenanceWindowsRequest: requests.ListAvailableMaintenanceWindowsRequest): Promise<responses.ListAvailableMaintenanceWindowsResponse>;
|
|
3509
3546
|
/**
|
|
3510
3547
|
* Gets a list of backup destinations in the specified compartment.
|
|
3511
3548
|
*
|
|
@@ -5301,6 +5338,16 @@ export declare class DatabaseClient {
|
|
|
5301
5338
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListFlexComponents.ts.html |here} to see how to use ListFlexComponents API.
|
|
5302
5339
|
*/
|
|
5303
5340
|
listFlexComponents(listFlexComponentsRequest: requests.ListFlexComponentsRequest): Promise<responses.ListFlexComponentsResponse>;
|
|
5341
|
+
/**
|
|
5342
|
+
* Lists the Grid Infrastructure Homes.
|
|
5343
|
+
*
|
|
5344
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5345
|
+
* @param ListGiHomesRequest
|
|
5346
|
+
* @return ListGiHomesResponse
|
|
5347
|
+
* @throws OciError when an error occurs
|
|
5348
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListGiHomes.ts.html |here} to see how to use ListGiHomes API.
|
|
5349
|
+
*/
|
|
5350
|
+
listGiHomes(listGiHomesRequest: requests.ListGiHomesRequest): Promise<responses.ListGiHomesResponse>;
|
|
5304
5351
|
/**
|
|
5305
5352
|
* Gets a list of supported Oracle Grid Infrastructure minor versions for the given major version and shape family.
|
|
5306
5353
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
@@ -7149,6 +7196,15 @@ export declare class DatabaseClient {
|
|
|
7149
7196
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UpdateExternalPluggableDatabase.ts.html |here} to see how to use UpdateExternalPluggableDatabase API.
|
|
7150
7197
|
*/
|
|
7151
7198
|
updateExternalPluggableDatabase(updateExternalPluggableDatabaseRequest: requests.UpdateExternalPluggableDatabaseRequest): Promise<responses.UpdateExternalPluggableDatabaseResponse>;
|
|
7199
|
+
/**
|
|
7200
|
+
* Updates the tags and display name of a specified Grid Infrastructure Home.
|
|
7201
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7202
|
+
* @param UpdateGiHomeRequest
|
|
7203
|
+
* @return UpdateGiHomeResponse
|
|
7204
|
+
* @throws OciError when an error occurs
|
|
7205
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UpdateGiHome.ts.html |here} to see how to use UpdateGiHome API.
|
|
7206
|
+
*/
|
|
7207
|
+
updateGiHome(updateGiHomeRequest: requests.UpdateGiHomeRequest): Promise<responses.UpdateGiHomeResponse>;
|
|
7152
7208
|
/**
|
|
7153
7209
|
* Edit the key store.
|
|
7154
7210
|
*
|
package/lib/client.js
CHANGED
|
@@ -6149,6 +6149,74 @@ class DatabaseClient {
|
|
|
6149
6149
|
}
|
|
6150
6150
|
});
|
|
6151
6151
|
}
|
|
6152
|
+
/**
|
|
6153
|
+
* Creates a new Grid Infrastructure Home in the specified database system based on the request parameters you provide.
|
|
6154
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6155
|
+
* @param CreateGiHomeRequest
|
|
6156
|
+
* @return CreateGiHomeResponse
|
|
6157
|
+
* @throws OciError when an error occurs
|
|
6158
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/CreateGiHome.ts.html |here} to see how to use CreateGiHome API.
|
|
6159
|
+
*/
|
|
6160
|
+
createGiHome(createGiHomeRequest) {
|
|
6161
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6162
|
+
if (this.logger)
|
|
6163
|
+
this.logger.debug("Calling operation DatabaseClient#createGiHome.");
|
|
6164
|
+
const operationName = "createGiHome";
|
|
6165
|
+
const apiReferenceLink = "";
|
|
6166
|
+
const pathParams = {};
|
|
6167
|
+
const queryParams = {};
|
|
6168
|
+
let headerParams = {
|
|
6169
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6170
|
+
"opc-retry-token": createGiHomeRequest.opcRetryToken,
|
|
6171
|
+
"opc-request-id": createGiHomeRequest.opcRequestId
|
|
6172
|
+
};
|
|
6173
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6174
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createGiHomeRequest.retryConfiguration, specRetryConfiguration);
|
|
6175
|
+
if (this.logger)
|
|
6176
|
+
retrier.logger = this.logger;
|
|
6177
|
+
const request = yield oci_common_2.composeRequest({
|
|
6178
|
+
baseEndpoint: this._endpoint,
|
|
6179
|
+
defaultHeaders: this._defaultHeaders,
|
|
6180
|
+
path: "/giHomes",
|
|
6181
|
+
method: "POST",
|
|
6182
|
+
bodyContent: common.ObjectSerializer.serialize(createGiHomeRequest.createGiHomeDetails, "CreateGiHomeDetails", model.CreateGiHomeDetails.getJsonObj),
|
|
6183
|
+
pathParams: pathParams,
|
|
6184
|
+
headerParams: headerParams,
|
|
6185
|
+
queryParams: queryParams
|
|
6186
|
+
});
|
|
6187
|
+
try {
|
|
6188
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6189
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6190
|
+
responseObject: {},
|
|
6191
|
+
body: yield response.json(),
|
|
6192
|
+
bodyKey: "giHome",
|
|
6193
|
+
bodyModel: model.GiHome,
|
|
6194
|
+
type: "model.GiHome",
|
|
6195
|
+
responseHeaders: [
|
|
6196
|
+
{
|
|
6197
|
+
value: response.headers.get("opc-work-request-id"),
|
|
6198
|
+
key: "opcWorkRequestId",
|
|
6199
|
+
dataType: "string"
|
|
6200
|
+
},
|
|
6201
|
+
{
|
|
6202
|
+
value: response.headers.get("etag"),
|
|
6203
|
+
key: "etag",
|
|
6204
|
+
dataType: "string"
|
|
6205
|
+
},
|
|
6206
|
+
{
|
|
6207
|
+
value: response.headers.get("opc-request-id"),
|
|
6208
|
+
key: "opcRequestId",
|
|
6209
|
+
dataType: "string"
|
|
6210
|
+
}
|
|
6211
|
+
]
|
|
6212
|
+
});
|
|
6213
|
+
return sdkResponse;
|
|
6214
|
+
}
|
|
6215
|
+
catch (err) {
|
|
6216
|
+
throw err;
|
|
6217
|
+
}
|
|
6218
|
+
});
|
|
6219
|
+
}
|
|
6152
6220
|
/**
|
|
6153
6221
|
* Creates a Key Store.
|
|
6154
6222
|
*
|
|
@@ -8643,6 +8711,67 @@ class DatabaseClient {
|
|
|
8643
8711
|
}
|
|
8644
8712
|
});
|
|
8645
8713
|
}
|
|
8714
|
+
/**
|
|
8715
|
+
* Deletes a Grid Infrastructure Home.
|
|
8716
|
+
*
|
|
8717
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8718
|
+
* @param DeleteGiHomeRequest
|
|
8719
|
+
* @return DeleteGiHomeResponse
|
|
8720
|
+
* @throws OciError when an error occurs
|
|
8721
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/DeleteGiHome.ts.html |here} to see how to use DeleteGiHome API.
|
|
8722
|
+
*/
|
|
8723
|
+
deleteGiHome(deleteGiHomeRequest) {
|
|
8724
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8725
|
+
if (this.logger)
|
|
8726
|
+
this.logger.debug("Calling operation DatabaseClient#deleteGiHome.");
|
|
8727
|
+
const operationName = "deleteGiHome";
|
|
8728
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/GiHome/DeleteGiHome";
|
|
8729
|
+
const pathParams = {
|
|
8730
|
+
"{giHomeId}": deleteGiHomeRequest.giHomeId
|
|
8731
|
+
};
|
|
8732
|
+
const queryParams = {};
|
|
8733
|
+
let headerParams = {
|
|
8734
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8735
|
+
"if-match": deleteGiHomeRequest.ifMatch,
|
|
8736
|
+
"opc-request-id": deleteGiHomeRequest.opcRequestId
|
|
8737
|
+
};
|
|
8738
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8739
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteGiHomeRequest.retryConfiguration, specRetryConfiguration);
|
|
8740
|
+
if (this.logger)
|
|
8741
|
+
retrier.logger = this.logger;
|
|
8742
|
+
const request = yield oci_common_2.composeRequest({
|
|
8743
|
+
baseEndpoint: this._endpoint,
|
|
8744
|
+
defaultHeaders: this._defaultHeaders,
|
|
8745
|
+
path: "/giHomes/{giHomeId}",
|
|
8746
|
+
method: "DELETE",
|
|
8747
|
+
pathParams: pathParams,
|
|
8748
|
+
headerParams: headerParams,
|
|
8749
|
+
queryParams: queryParams
|
|
8750
|
+
});
|
|
8751
|
+
try {
|
|
8752
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
8753
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
8754
|
+
responseObject: {},
|
|
8755
|
+
responseHeaders: [
|
|
8756
|
+
{
|
|
8757
|
+
value: response.headers.get("opc-work-request-id"),
|
|
8758
|
+
key: "opcWorkRequestId",
|
|
8759
|
+
dataType: "string"
|
|
8760
|
+
},
|
|
8761
|
+
{
|
|
8762
|
+
value: response.headers.get("opc-request-id"),
|
|
8763
|
+
key: "opcRequestId",
|
|
8764
|
+
dataType: "string"
|
|
8765
|
+
}
|
|
8766
|
+
]
|
|
8767
|
+
});
|
|
8768
|
+
return sdkResponse;
|
|
8769
|
+
}
|
|
8770
|
+
catch (err) {
|
|
8771
|
+
throw err;
|
|
8772
|
+
}
|
|
8773
|
+
});
|
|
8774
|
+
}
|
|
8646
8775
|
/**
|
|
8647
8776
|
* Deletes a key store.
|
|
8648
8777
|
*
|
|
@@ -15960,6 +16089,69 @@ class DatabaseClient {
|
|
|
15960
16089
|
}
|
|
15961
16090
|
});
|
|
15962
16091
|
}
|
|
16092
|
+
/**
|
|
16093
|
+
* Gets information about the specified Grid Infrastructure Home.
|
|
16094
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
16095
|
+
* @param GetGiHomeRequest
|
|
16096
|
+
* @return GetGiHomeResponse
|
|
16097
|
+
* @throws OciError when an error occurs
|
|
16098
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetGiHome.ts.html |here} to see how to use GetGiHome API.
|
|
16099
|
+
*/
|
|
16100
|
+
getGiHome(getGiHomeRequest) {
|
|
16101
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16102
|
+
if (this.logger)
|
|
16103
|
+
this.logger.debug("Calling operation DatabaseClient#getGiHome.");
|
|
16104
|
+
const operationName = "getGiHome";
|
|
16105
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/GiHome/GetGiHome";
|
|
16106
|
+
const pathParams = {
|
|
16107
|
+
"{giHomeId}": getGiHomeRequest.giHomeId
|
|
16108
|
+
};
|
|
16109
|
+
const queryParams = {};
|
|
16110
|
+
let headerParams = {
|
|
16111
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
16112
|
+
"opc-request-id": getGiHomeRequest.opcRequestId
|
|
16113
|
+
};
|
|
16114
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
16115
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getGiHomeRequest.retryConfiguration, specRetryConfiguration);
|
|
16116
|
+
if (this.logger)
|
|
16117
|
+
retrier.logger = this.logger;
|
|
16118
|
+
const request = yield oci_common_2.composeRequest({
|
|
16119
|
+
baseEndpoint: this._endpoint,
|
|
16120
|
+
defaultHeaders: this._defaultHeaders,
|
|
16121
|
+
path: "/giHomes/{giHomeId}",
|
|
16122
|
+
method: "GET",
|
|
16123
|
+
pathParams: pathParams,
|
|
16124
|
+
headerParams: headerParams,
|
|
16125
|
+
queryParams: queryParams
|
|
16126
|
+
});
|
|
16127
|
+
try {
|
|
16128
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
16129
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
16130
|
+
responseObject: {},
|
|
16131
|
+
body: yield response.json(),
|
|
16132
|
+
bodyKey: "giHome",
|
|
16133
|
+
bodyModel: model.GiHome,
|
|
16134
|
+
type: "model.GiHome",
|
|
16135
|
+
responseHeaders: [
|
|
16136
|
+
{
|
|
16137
|
+
value: response.headers.get("etag"),
|
|
16138
|
+
key: "etag",
|
|
16139
|
+
dataType: "string"
|
|
16140
|
+
},
|
|
16141
|
+
{
|
|
16142
|
+
value: response.headers.get("opc-request-id"),
|
|
16143
|
+
key: "opcRequestId",
|
|
16144
|
+
dataType: "string"
|
|
16145
|
+
}
|
|
16146
|
+
]
|
|
16147
|
+
});
|
|
16148
|
+
return sdkResponse;
|
|
16149
|
+
}
|
|
16150
|
+
catch (err) {
|
|
16151
|
+
throw err;
|
|
16152
|
+
}
|
|
16153
|
+
});
|
|
16154
|
+
}
|
|
15963
16155
|
/**
|
|
15964
16156
|
* Gets details of the Exadata Infrastructure target system software versions that can be applied to the specified infrastructure resource for maintenance updates.
|
|
15965
16157
|
* Applies to Exadata Cloud@Customer and Exadata Cloud instances only.
|
|
@@ -19456,6 +19648,72 @@ class DatabaseClient {
|
|
|
19456
19648
|
listAutonomousVmClustersResponseIterator(request) {
|
|
19457
19649
|
return oci_common_1.paginateResponses(request, req => this.listAutonomousVmClusters(req));
|
|
19458
19650
|
}
|
|
19651
|
+
/**
|
|
19652
|
+
* Retrieves the list of available maintenance window options for the specified Autonomous AI Database.
|
|
19653
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
19654
|
+
* @param ListAvailableMaintenanceWindowsRequest
|
|
19655
|
+
* @return ListAvailableMaintenanceWindowsResponse
|
|
19656
|
+
* @throws OciError when an error occurs
|
|
19657
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListAvailableMaintenanceWindows.ts.html |here} to see how to use ListAvailableMaintenanceWindows API.
|
|
19658
|
+
*/
|
|
19659
|
+
listAvailableMaintenanceWindows(listAvailableMaintenanceWindowsRequest) {
|
|
19660
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19661
|
+
if (this.logger)
|
|
19662
|
+
this.logger.debug("Calling operation DatabaseClient#listAvailableMaintenanceWindows.");
|
|
19663
|
+
const operationName = "listAvailableMaintenanceWindows";
|
|
19664
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabase/ListAvailableMaintenanceWindows";
|
|
19665
|
+
const pathParams = {
|
|
19666
|
+
"{autonomousDatabaseId}": listAvailableMaintenanceWindowsRequest.autonomousDatabaseId
|
|
19667
|
+
};
|
|
19668
|
+
const queryParams = {
|
|
19669
|
+
"limit": listAvailableMaintenanceWindowsRequest.limit,
|
|
19670
|
+
"page": listAvailableMaintenanceWindowsRequest.page
|
|
19671
|
+
};
|
|
19672
|
+
let headerParams = {
|
|
19673
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
19674
|
+
"opc-request-id": listAvailableMaintenanceWindowsRequest.opcRequestId
|
|
19675
|
+
};
|
|
19676
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
19677
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAvailableMaintenanceWindowsRequest.retryConfiguration, specRetryConfiguration);
|
|
19678
|
+
if (this.logger)
|
|
19679
|
+
retrier.logger = this.logger;
|
|
19680
|
+
const request = yield oci_common_2.composeRequest({
|
|
19681
|
+
baseEndpoint: this._endpoint,
|
|
19682
|
+
defaultHeaders: this._defaultHeaders,
|
|
19683
|
+
path: "/autonomousDatabases/{autonomousDatabaseId}/availableMaintenanceWindows",
|
|
19684
|
+
method: "GET",
|
|
19685
|
+
pathParams: pathParams,
|
|
19686
|
+
headerParams: headerParams,
|
|
19687
|
+
queryParams: queryParams
|
|
19688
|
+
});
|
|
19689
|
+
try {
|
|
19690
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
19691
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
19692
|
+
responseObject: {},
|
|
19693
|
+
body: yield response.json(),
|
|
19694
|
+
bodyKey: "autonomousDatabaseMaintenanceWindowCollection",
|
|
19695
|
+
bodyModel: model.AutonomousDatabaseMaintenanceWindowCollection,
|
|
19696
|
+
type: "model.AutonomousDatabaseMaintenanceWindowCollection",
|
|
19697
|
+
responseHeaders: [
|
|
19698
|
+
{
|
|
19699
|
+
value: response.headers.get("opc-request-id"),
|
|
19700
|
+
key: "opcRequestId",
|
|
19701
|
+
dataType: "string"
|
|
19702
|
+
},
|
|
19703
|
+
{
|
|
19704
|
+
value: response.headers.get("opc-next-page"),
|
|
19705
|
+
key: "opcNextPage",
|
|
19706
|
+
dataType: "string"
|
|
19707
|
+
}
|
|
19708
|
+
]
|
|
19709
|
+
});
|
|
19710
|
+
return sdkResponse;
|
|
19711
|
+
}
|
|
19712
|
+
catch (err) {
|
|
19713
|
+
throw err;
|
|
19714
|
+
}
|
|
19715
|
+
});
|
|
19716
|
+
}
|
|
19459
19717
|
/**
|
|
19460
19718
|
* Gets a list of backup destinations in the specified compartment.
|
|
19461
19719
|
*
|
|
@@ -24449,6 +24707,78 @@ class DatabaseClient {
|
|
|
24449
24707
|
}
|
|
24450
24708
|
});
|
|
24451
24709
|
}
|
|
24710
|
+
/**
|
|
24711
|
+
* Lists the Grid Infrastructure Homes.
|
|
24712
|
+
*
|
|
24713
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
24714
|
+
* @param ListGiHomesRequest
|
|
24715
|
+
* @return ListGiHomesResponse
|
|
24716
|
+
* @throws OciError when an error occurs
|
|
24717
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListGiHomes.ts.html |here} to see how to use ListGiHomes API.
|
|
24718
|
+
*/
|
|
24719
|
+
listGiHomes(listGiHomesRequest) {
|
|
24720
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24721
|
+
if (this.logger)
|
|
24722
|
+
this.logger.debug("Calling operation DatabaseClient#listGiHomes.");
|
|
24723
|
+
const operationName = "listGiHomes";
|
|
24724
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/GiHome/ListGiHomes";
|
|
24725
|
+
const pathParams = {};
|
|
24726
|
+
const queryParams = {
|
|
24727
|
+
"compartmentId": listGiHomesRequest.compartmentId,
|
|
24728
|
+
"dbSystemId": listGiHomesRequest.dbSystemId,
|
|
24729
|
+
"giVersion": listGiHomesRequest.giVersion,
|
|
24730
|
+
"limit": listGiHomesRequest.limit,
|
|
24731
|
+
"page": listGiHomesRequest.page,
|
|
24732
|
+
"sortBy": listGiHomesRequest.sortBy,
|
|
24733
|
+
"sortOrder": listGiHomesRequest.sortOrder,
|
|
24734
|
+
"lifecycleState": listGiHomesRequest.lifecycleState,
|
|
24735
|
+
"displayName": listGiHomesRequest.displayName
|
|
24736
|
+
};
|
|
24737
|
+
let headerParams = {
|
|
24738
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
24739
|
+
"opc-request-id": listGiHomesRequest.opcRequestId
|
|
24740
|
+
};
|
|
24741
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
24742
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listGiHomesRequest.retryConfiguration, specRetryConfiguration);
|
|
24743
|
+
if (this.logger)
|
|
24744
|
+
retrier.logger = this.logger;
|
|
24745
|
+
const request = yield oci_common_2.composeRequest({
|
|
24746
|
+
baseEndpoint: this._endpoint,
|
|
24747
|
+
defaultHeaders: this._defaultHeaders,
|
|
24748
|
+
path: "/giHomes",
|
|
24749
|
+
method: "GET",
|
|
24750
|
+
pathParams: pathParams,
|
|
24751
|
+
headerParams: headerParams,
|
|
24752
|
+
queryParams: queryParams
|
|
24753
|
+
});
|
|
24754
|
+
try {
|
|
24755
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
24756
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
24757
|
+
responseObject: {},
|
|
24758
|
+
body: yield response.json(),
|
|
24759
|
+
bodyKey: "giHomeCollection",
|
|
24760
|
+
bodyModel: model.GiHomeCollection,
|
|
24761
|
+
type: "model.GiHomeCollection",
|
|
24762
|
+
responseHeaders: [
|
|
24763
|
+
{
|
|
24764
|
+
value: response.headers.get("opc-request-id"),
|
|
24765
|
+
key: "opcRequestId",
|
|
24766
|
+
dataType: "string"
|
|
24767
|
+
},
|
|
24768
|
+
{
|
|
24769
|
+
value: response.headers.get("opc-next-page"),
|
|
24770
|
+
key: "opcNextPage",
|
|
24771
|
+
dataType: "string"
|
|
24772
|
+
}
|
|
24773
|
+
]
|
|
24774
|
+
});
|
|
24775
|
+
return sdkResponse;
|
|
24776
|
+
}
|
|
24777
|
+
catch (err) {
|
|
24778
|
+
throw err;
|
|
24779
|
+
}
|
|
24780
|
+
});
|
|
24781
|
+
}
|
|
24452
24782
|
/**
|
|
24453
24783
|
* Gets a list of supported Oracle Grid Infrastructure minor versions for the given major version and shape family.
|
|
24454
24784
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
@@ -34043,6 +34373,71 @@ class DatabaseClient {
|
|
|
34043
34373
|
}
|
|
34044
34374
|
});
|
|
34045
34375
|
}
|
|
34376
|
+
/**
|
|
34377
|
+
* Updates the tags and display name of a specified Grid Infrastructure Home.
|
|
34378
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
34379
|
+
* @param UpdateGiHomeRequest
|
|
34380
|
+
* @return UpdateGiHomeResponse
|
|
34381
|
+
* @throws OciError when an error occurs
|
|
34382
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UpdateGiHome.ts.html |here} to see how to use UpdateGiHome API.
|
|
34383
|
+
*/
|
|
34384
|
+
updateGiHome(updateGiHomeRequest) {
|
|
34385
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34386
|
+
if (this.logger)
|
|
34387
|
+
this.logger.debug("Calling operation DatabaseClient#updateGiHome.");
|
|
34388
|
+
const operationName = "updateGiHome";
|
|
34389
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/GiHome/UpdateGiHome";
|
|
34390
|
+
const pathParams = {
|
|
34391
|
+
"{giHomeId}": updateGiHomeRequest.giHomeId
|
|
34392
|
+
};
|
|
34393
|
+
const queryParams = {};
|
|
34394
|
+
let headerParams = {
|
|
34395
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
34396
|
+
"if-match": updateGiHomeRequest.ifMatch,
|
|
34397
|
+
"opc-request-id": updateGiHomeRequest.opcRequestId
|
|
34398
|
+
};
|
|
34399
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
34400
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateGiHomeRequest.retryConfiguration, specRetryConfiguration);
|
|
34401
|
+
if (this.logger)
|
|
34402
|
+
retrier.logger = this.logger;
|
|
34403
|
+
const request = yield oci_common_2.composeRequest({
|
|
34404
|
+
baseEndpoint: this._endpoint,
|
|
34405
|
+
defaultHeaders: this._defaultHeaders,
|
|
34406
|
+
path: "/giHomes/{giHomeId}",
|
|
34407
|
+
method: "PUT",
|
|
34408
|
+
bodyContent: common.ObjectSerializer.serialize(updateGiHomeRequest.updateGiHomeDetails, "UpdateGiHomeDetails", model.UpdateGiHomeDetails.getJsonObj),
|
|
34409
|
+
pathParams: pathParams,
|
|
34410
|
+
headerParams: headerParams,
|
|
34411
|
+
queryParams: queryParams
|
|
34412
|
+
});
|
|
34413
|
+
try {
|
|
34414
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
34415
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
34416
|
+
responseObject: {},
|
|
34417
|
+
body: yield response.json(),
|
|
34418
|
+
bodyKey: "giHome",
|
|
34419
|
+
bodyModel: model.GiHome,
|
|
34420
|
+
type: "model.GiHome",
|
|
34421
|
+
responseHeaders: [
|
|
34422
|
+
{
|
|
34423
|
+
value: response.headers.get("etag"),
|
|
34424
|
+
key: "etag",
|
|
34425
|
+
dataType: "string"
|
|
34426
|
+
},
|
|
34427
|
+
{
|
|
34428
|
+
value: response.headers.get("opc-request-id"),
|
|
34429
|
+
key: "opcRequestId",
|
|
34430
|
+
dataType: "string"
|
|
34431
|
+
}
|
|
34432
|
+
]
|
|
34433
|
+
});
|
|
34434
|
+
return sdkResponse;
|
|
34435
|
+
}
|
|
34436
|
+
catch (err) {
|
|
34437
|
+
throw err;
|
|
34438
|
+
}
|
|
34439
|
+
});
|
|
34440
|
+
}
|
|
34046
34441
|
/**
|
|
34047
34442
|
* Edit the key store.
|
|
34048
34443
|
*
|