oci-database 2.117.0 → 2.118.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +20 -0
- package/lib/client.js +139 -2
- package/lib/client.js.map +1 -1
- package/lib/database-waiter.d.ts +20 -0
- package/lib/database-waiter.js +42 -0
- package/lib/database-waiter.js.map +1 -1
- package/lib/model/autonomous-database-summary.d.ts +14 -0
- package/lib/model/autonomous-database-summary.js +11 -0
- package/lib/model/autonomous-database-summary.js.map +1 -1
- package/lib/model/autonomous-database.d.ts +14 -0
- package/lib/model/autonomous-database.js +11 -0
- package/lib/model/autonomous-database.js.map +1 -1
- package/lib/model/autonomous-dw-database.d.ts +9 -0
- package/lib/model/autonomous-dw-database.js +6 -0
- package/lib/model/autonomous-dw-database.js.map +1 -1
- package/lib/model/change-cloud-db-system-subscription-details.d.ts +32 -0
- package/lib/model/change-cloud-db-system-subscription-details.js +30 -0
- package/lib/model/change-cloud-db-system-subscription-details.js.map +1 -0
- package/lib/model/cloud-exadata-infrastructure-summary.d.ts +2 -1
- package/lib/model/cloud-exadata-infrastructure-summary.js +6 -0
- package/lib/model/cloud-exadata-infrastructure-summary.js.map +1 -1
- package/lib/model/cloud-exadata-infrastructure.d.ts +2 -1
- package/lib/model/cloud-exadata-infrastructure.js +6 -0
- package/lib/model/cloud-exadata-infrastructure.js.map +1 -1
- package/lib/model/cloud-vm-cluster-summary.d.ts +17 -0
- package/lib/model/cloud-vm-cluster-summary.js +10 -0
- package/lib/model/cloud-vm-cluster-summary.js.map +1 -1
- package/lib/model/cloud-vm-cluster.d.ts +17 -0
- package/lib/model/cloud-vm-cluster.js +10 -0
- package/lib/model/cloud-vm-cluster.js.map +1 -1
- package/lib/model/configure-exascale-cloud-exadata-infrastructure-details.d.ts +27 -0
- package/lib/model/configure-exascale-cloud-exadata-infrastructure-details.js +30 -0
- package/lib/model/configure-exascale-cloud-exadata-infrastructure-details.js.map +1 -0
- package/lib/model/create-cloud-exadata-infrastructure-details.d.ts +1 -1
- package/lib/model/create-cloud-vm-cluster-details.d.ts +4 -0
- package/lib/model/create-cloud-vm-cluster-details.js.map +1 -1
- package/lib/model/create-data-guard-association-with-new-db-system-details.d.ts +8 -0
- package/lib/model/create-data-guard-association-with-new-db-system-details.js.map +1 -1
- package/lib/model/create-exascale-db-storage-vault-details.d.ts +1 -1
- package/lib/model/create-refreshable-autonomous-database-clone-details.d.ts +9 -0
- package/lib/model/create-refreshable-autonomous-database-clone-details.js +6 -0
- package/lib/model/create-refreshable-autonomous-database-clone-details.js.map +1 -1
- package/lib/model/db-system-summary.d.ts +8 -0
- package/lib/model/db-system-summary.js.map +1 -1
- package/lib/model/db-system.d.ts +8 -0
- package/lib/model/db-system.js.map +1 -1
- package/lib/model/exadb-vm-cluster-summary.d.ts +1 -1
- package/lib/model/exadb-vm-cluster.d.ts +1 -1
- package/lib/model/exascale-db-storage-vault-summary.d.ts +1 -1
- package/lib/model/exascale-db-storage-vault.d.ts +1 -1
- package/lib/model/index.d.ts +4 -0
- package/lib/model/index.js +14 -10
- package/lib/model/index.js.map +1 -1
- package/lib/model/launch-db-system-base.d.ts +8 -0
- package/lib/model/launch-db-system-base.js.map +1 -1
- package/lib/request/change-cloud-db-system-subscription-request.d.ts +48 -0
- package/lib/request/change-cloud-db-system-subscription-request.js +15 -0
- package/lib/request/change-cloud-db-system-subscription-request.js.map +1 -0
- package/lib/request/configure-exascale-cloud-exadata-infrastructure-request.d.ts +48 -0
- package/lib/request/configure-exascale-cloud-exadata-infrastructure-request.js +15 -0
- package/lib/request/configure-exascale-cloud-exadata-infrastructure-request.js.map +1 -0
- package/lib/request/index.d.ts +4 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/launch-db-system-request.d.ts +6 -0
- package/lib/request/update-db-system-request.d.ts +6 -0
- package/lib/response/change-cloud-db-system-subscription-response.d.ts +25 -0
- package/lib/response/change-cloud-db-system-subscription-response.js +15 -0
- package/lib/response/change-cloud-db-system-subscription-response.js.map +1 -0
- package/lib/response/configure-exascale-cloud-exadata-infrastructure-response.d.ts +34 -0
- package/lib/response/configure-exascale-cloud-exadata-infrastructure-response.js +15 -0
- package/lib/response/configure-exascale-cloud-exadata-infrastructure-response.js.map +1 -0
- package/lib/response/index.d.ts +4 -0
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -296,6 +296,16 @@ export declare class DatabaseClient {
|
|
|
296
296
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ChangeCloudAutonomousVmClusterSubscription.ts.html |here} to see how to use ChangeCloudAutonomousVmClusterSubscription API.
|
|
297
297
|
*/
|
|
298
298
|
changeCloudAutonomousVmClusterSubscription(changeCloudAutonomousVmClusterSubscriptionRequest: requests.ChangeCloudAutonomousVmClusterSubscriptionRequest): Promise<responses.ChangeCloudAutonomousVmClusterSubscriptionResponse>;
|
|
299
|
+
/**
|
|
300
|
+
* Associate a cloud DB system with a different subscription.
|
|
301
|
+
*
|
|
302
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
303
|
+
* @param ChangeCloudDbSystemSubscriptionRequest
|
|
304
|
+
* @return ChangeCloudDbSystemSubscriptionResponse
|
|
305
|
+
* @throws OciError when an error occurs
|
|
306
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ChangeCloudDbSystemSubscription.ts.html |here} to see how to use ChangeCloudDbSystemSubscription API.
|
|
307
|
+
*/
|
|
308
|
+
changeCloudDbSystemSubscription(changeCloudDbSystemSubscriptionRequest: requests.ChangeCloudDbSystemSubscriptionRequest): Promise<responses.ChangeCloudDbSystemSubscriptionResponse>;
|
|
299
309
|
/**
|
|
300
310
|
* Moves a cloud Exadata infrastructure resource and its dependent resources to another compartment. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.For more information about moving resources to a different compartment, see [Moving Database Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm#moveRes).
|
|
301
311
|
*
|
|
@@ -574,6 +584,16 @@ export declare class DatabaseClient {
|
|
|
574
584
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ConfigureAutonomousDatabaseVaultKey.ts.html |here} to see how to use ConfigureAutonomousDatabaseVaultKey API.
|
|
575
585
|
*/
|
|
576
586
|
configureAutonomousDatabaseVaultKey(configureAutonomousDatabaseVaultKeyRequest: requests.ConfigureAutonomousDatabaseVaultKeyRequest): Promise<responses.ConfigureAutonomousDatabaseVaultKeyResponse>;
|
|
587
|
+
/**
|
|
588
|
+
* Configures Exascale on Cloud exadata infrastructure resource. Applies to Exadata Cloud Service instances only.
|
|
589
|
+
*
|
|
590
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
591
|
+
* @param ConfigureExascaleCloudExadataInfrastructureRequest
|
|
592
|
+
* @return ConfigureExascaleCloudExadataInfrastructureResponse
|
|
593
|
+
* @throws OciError when an error occurs
|
|
594
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ConfigureExascaleCloudExadataInfrastructure.ts.html |here} to see how to use ConfigureExascaleCloudExadataInfrastructure API.
|
|
595
|
+
*/
|
|
596
|
+
configureExascaleCloudExadataInfrastructure(configureExascaleCloudExadataInfrastructureRequest: requests.ConfigureExascaleCloudExadataInfrastructureRequest): Promise<responses.ConfigureExascaleCloudExadataInfrastructureResponse>;
|
|
577
597
|
/**
|
|
578
598
|
* Configures Exascale on Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only.
|
|
579
599
|
*
|
package/lib/client.js
CHANGED
|
@@ -1510,6 +1510,69 @@ class DatabaseClient {
|
|
|
1510
1510
|
}
|
|
1511
1511
|
});
|
|
1512
1512
|
}
|
|
1513
|
+
/**
|
|
1514
|
+
* Associate a cloud DB system with a different subscription.
|
|
1515
|
+
*
|
|
1516
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1517
|
+
* @param ChangeCloudDbSystemSubscriptionRequest
|
|
1518
|
+
* @return ChangeCloudDbSystemSubscriptionResponse
|
|
1519
|
+
* @throws OciError when an error occurs
|
|
1520
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ChangeCloudDbSystemSubscription.ts.html |here} to see how to use ChangeCloudDbSystemSubscription API.
|
|
1521
|
+
*/
|
|
1522
|
+
changeCloudDbSystemSubscription(changeCloudDbSystemSubscriptionRequest) {
|
|
1523
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1524
|
+
if (this.logger)
|
|
1525
|
+
this.logger.debug("Calling operation DatabaseClient#changeCloudDbSystemSubscription.");
|
|
1526
|
+
const operationName = "changeCloudDbSystemSubscription";
|
|
1527
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbSystem/ChangeCloudDbSystemSubscription";
|
|
1528
|
+
const pathParams = {
|
|
1529
|
+
"{dbSystemId}": changeCloudDbSystemSubscriptionRequest.dbSystemId
|
|
1530
|
+
};
|
|
1531
|
+
const queryParams = {};
|
|
1532
|
+
let headerParams = {
|
|
1533
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1534
|
+
"opc-retry-token": changeCloudDbSystemSubscriptionRequest.opcRetryToken,
|
|
1535
|
+
"opc-request-id": changeCloudDbSystemSubscriptionRequest.opcRequestId,
|
|
1536
|
+
"if-match": changeCloudDbSystemSubscriptionRequest.ifMatch
|
|
1537
|
+
};
|
|
1538
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1539
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeCloudDbSystemSubscriptionRequest.retryConfiguration, specRetryConfiguration);
|
|
1540
|
+
if (this.logger)
|
|
1541
|
+
retrier.logger = this.logger;
|
|
1542
|
+
const request = yield oci_common_2.composeRequest({
|
|
1543
|
+
baseEndpoint: this._endpoint,
|
|
1544
|
+
defaultHeaders: this._defaultHeaders,
|
|
1545
|
+
path: "/dbSystems/{dbSystemId}/actions/changeSubscription",
|
|
1546
|
+
method: "POST",
|
|
1547
|
+
bodyContent: common.ObjectSerializer.serialize(changeCloudDbSystemSubscriptionRequest.changeCloudDbSystemSubscriptionDetails, "ChangeCloudDbSystemSubscriptionDetails", model.ChangeCloudDbSystemSubscriptionDetails.getJsonObj),
|
|
1548
|
+
pathParams: pathParams,
|
|
1549
|
+
headerParams: headerParams,
|
|
1550
|
+
queryParams: queryParams
|
|
1551
|
+
});
|
|
1552
|
+
try {
|
|
1553
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1554
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1555
|
+
responseObject: {},
|
|
1556
|
+
responseHeaders: [
|
|
1557
|
+
{
|
|
1558
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1559
|
+
key: "opcWorkRequestId",
|
|
1560
|
+
dataType: "string"
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
value: response.headers.get("opc-request-id"),
|
|
1564
|
+
key: "opcRequestId",
|
|
1565
|
+
dataType: "string"
|
|
1566
|
+
}
|
|
1567
|
+
]
|
|
1568
|
+
});
|
|
1569
|
+
return sdkResponse;
|
|
1570
|
+
}
|
|
1571
|
+
catch (err) {
|
|
1572
|
+
throw err;
|
|
1573
|
+
}
|
|
1574
|
+
});
|
|
1575
|
+
}
|
|
1513
1576
|
/**
|
|
1514
1577
|
* Moves a cloud Exadata infrastructure resource and its dependent resources to another compartment. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.For more information about moving resources to a different compartment, see [Moving Database Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm#moveRes).
|
|
1515
1578
|
*
|
|
@@ -3222,6 +3285,78 @@ class DatabaseClient {
|
|
|
3222
3285
|
}
|
|
3223
3286
|
});
|
|
3224
3287
|
}
|
|
3288
|
+
/**
|
|
3289
|
+
* Configures Exascale on Cloud exadata infrastructure resource. Applies to Exadata Cloud Service instances only.
|
|
3290
|
+
*
|
|
3291
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3292
|
+
* @param ConfigureExascaleCloudExadataInfrastructureRequest
|
|
3293
|
+
* @return ConfigureExascaleCloudExadataInfrastructureResponse
|
|
3294
|
+
* @throws OciError when an error occurs
|
|
3295
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ConfigureExascaleCloudExadataInfrastructure.ts.html |here} to see how to use ConfigureExascaleCloudExadataInfrastructure API.
|
|
3296
|
+
*/
|
|
3297
|
+
configureExascaleCloudExadataInfrastructure(configureExascaleCloudExadataInfrastructureRequest) {
|
|
3298
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3299
|
+
if (this.logger)
|
|
3300
|
+
this.logger.debug("Calling operation DatabaseClient#configureExascaleCloudExadataInfrastructure.");
|
|
3301
|
+
const operationName = "configureExascaleCloudExadataInfrastructure";
|
|
3302
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/ConfigureExascaleCloudExadataInfrastructure";
|
|
3303
|
+
const pathParams = {
|
|
3304
|
+
"{cloudExadataInfrastructureId}": configureExascaleCloudExadataInfrastructureRequest.cloudExadataInfrastructureId
|
|
3305
|
+
};
|
|
3306
|
+
const queryParams = {};
|
|
3307
|
+
let headerParams = {
|
|
3308
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3309
|
+
"if-match": configureExascaleCloudExadataInfrastructureRequest.ifMatch,
|
|
3310
|
+
"opc-request-id": configureExascaleCloudExadataInfrastructureRequest.opcRequestId,
|
|
3311
|
+
"opc-retry-token": configureExascaleCloudExadataInfrastructureRequest.opcRetryToken
|
|
3312
|
+
};
|
|
3313
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3314
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, configureExascaleCloudExadataInfrastructureRequest.retryConfiguration, specRetryConfiguration);
|
|
3315
|
+
if (this.logger)
|
|
3316
|
+
retrier.logger = this.logger;
|
|
3317
|
+
const request = yield oci_common_2.composeRequest({
|
|
3318
|
+
baseEndpoint: this._endpoint,
|
|
3319
|
+
defaultHeaders: this._defaultHeaders,
|
|
3320
|
+
path: "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}/actions/configureExascale",
|
|
3321
|
+
method: "POST",
|
|
3322
|
+
bodyContent: common.ObjectSerializer.serialize(configureExascaleCloudExadataInfrastructureRequest.configureExascaleCloudExadataInfrastructureDetails, "ConfigureExascaleCloudExadataInfrastructureDetails", model.ConfigureExascaleCloudExadataInfrastructureDetails.getJsonObj),
|
|
3323
|
+
pathParams: pathParams,
|
|
3324
|
+
headerParams: headerParams,
|
|
3325
|
+
queryParams: queryParams
|
|
3326
|
+
});
|
|
3327
|
+
try {
|
|
3328
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3329
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3330
|
+
responseObject: {},
|
|
3331
|
+
body: yield response.json(),
|
|
3332
|
+
bodyKey: "cloudExadataInfrastructure",
|
|
3333
|
+
bodyModel: model.CloudExadataInfrastructure,
|
|
3334
|
+
type: "model.CloudExadataInfrastructure",
|
|
3335
|
+
responseHeaders: [
|
|
3336
|
+
{
|
|
3337
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3338
|
+
key: "opcWorkRequestId",
|
|
3339
|
+
dataType: "string"
|
|
3340
|
+
},
|
|
3341
|
+
{
|
|
3342
|
+
value: response.headers.get("etag"),
|
|
3343
|
+
key: "etag",
|
|
3344
|
+
dataType: "string"
|
|
3345
|
+
},
|
|
3346
|
+
{
|
|
3347
|
+
value: response.headers.get("opc-request-id"),
|
|
3348
|
+
key: "opcRequestId",
|
|
3349
|
+
dataType: "string"
|
|
3350
|
+
}
|
|
3351
|
+
]
|
|
3352
|
+
});
|
|
3353
|
+
return sdkResponse;
|
|
3354
|
+
}
|
|
3355
|
+
catch (err) {
|
|
3356
|
+
throw err;
|
|
3357
|
+
}
|
|
3358
|
+
});
|
|
3359
|
+
}
|
|
3225
3360
|
/**
|
|
3226
3361
|
* Configures Exascale on Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only.
|
|
3227
3362
|
*
|
|
@@ -15880,7 +16015,8 @@ class DatabaseClient {
|
|
|
15880
16015
|
const queryParams = {};
|
|
15881
16016
|
let headerParams = {
|
|
15882
16017
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
15883
|
-
"opc-retry-token": launchDbSystemRequest.opcRetryToken
|
|
16018
|
+
"opc-retry-token": launchDbSystemRequest.opcRetryToken,
|
|
16019
|
+
"opc-dry-run": launchDbSystemRequest.opcDryRun
|
|
15884
16020
|
};
|
|
15885
16021
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
15886
16022
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, launchDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -30018,7 +30154,8 @@ class DatabaseClient {
|
|
|
30018
30154
|
const queryParams = {};
|
|
30019
30155
|
let headerParams = {
|
|
30020
30156
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
30021
|
-
"if-match": updateDbSystemRequest.ifMatch
|
|
30157
|
+
"if-match": updateDbSystemRequest.ifMatch,
|
|
30158
|
+
"opc-dry-run": updateDbSystemRequest.opcDryRun
|
|
30022
30159
|
};
|
|
30023
30160
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
30024
30161
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDbSystemRequest.retryConfiguration, specRetryConfiguration);
|