oci-database 2.117.1 → 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 +10 -0
- package/lib/client.js +72 -0
- package/lib/client.js.map +1 -1
- package/lib/database-waiter.d.ts +10 -0
- package/lib/database-waiter.js +21 -0
- package/lib/database-waiter.js.map +1 -1
- package/lib/model/cloud-exadata-infrastructure-summary.d.ts +1 -0
- 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 +1 -0
- 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-vm-cluster-details.d.ts +4 -0
- package/lib/model/create-cloud-vm-cluster-details.js.map +1 -1
- package/lib/model/index.d.ts +2 -0
- package/lib/model/index.js +11 -9
- package/lib/model/index.js.map +1 -1
- 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 +2 -0
- package/lib/request/index.js.map +1 -1
- 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 +2 -0
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -584,6 +584,16 @@ export declare class DatabaseClient {
|
|
|
584
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.
|
|
585
585
|
*/
|
|
586
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>;
|
|
587
597
|
/**
|
|
588
598
|
* Configures Exascale on Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only.
|
|
589
599
|
*
|
package/lib/client.js
CHANGED
|
@@ -3285,6 +3285,78 @@ class DatabaseClient {
|
|
|
3285
3285
|
}
|
|
3286
3286
|
});
|
|
3287
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
|
+
}
|
|
3288
3360
|
/**
|
|
3289
3361
|
* Configures Exascale on Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only.
|
|
3290
3362
|
*
|