oci-database 2.121.0 → 2.122.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 +71 -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/aws-encryption-key-details.d.ts +29 -0
- package/lib/model/aws-encryption-key-details.js +55 -0
- package/lib/model/aws-encryption-key-details.js.map +1 -0
- package/lib/model/backup-summary.d.ts +1 -1
- package/lib/model/backup-summary.js.map +1 -1
- package/lib/model/backup.d.ts +1 -1
- package/lib/model/backup.js.map +1 -1
- package/lib/model/cloud-vm-cluster-summary.d.ts +1 -0
- package/lib/model/cloud-vm-cluster-summary.js +1 -0
- package/lib/model/cloud-vm-cluster-summary.js.map +1 -1
- package/lib/model/cloud-vm-cluster.d.ts +1 -0
- package/lib/model/cloud-vm-cluster.js +1 -0
- package/lib/model/cloud-vm-cluster.js.map +1 -1
- package/lib/model/create-data-guard-association-details.d.ts +1 -1
- package/lib/model/create-data-guard-association-details.js.map +1 -1
- package/lib/model/create-database-details.d.ts +1 -1
- package/lib/model/create-database-details.js.map +1 -1
- package/lib/model/create-database-from-backup-details.d.ts +1 -1
- package/lib/model/create-database-from-backup-details.js.map +1 -1
- package/lib/model/create-standby-details.d.ts +1 -1
- package/lib/model/create-standby-details.js.map +1 -1
- package/lib/model/data-guard-group-member.d.ts +53 -0
- package/lib/model/data-guard-group-member.js +22 -0
- package/lib/model/data-guard-group-member.js.map +1 -1
- package/lib/model/database-summary.d.ts +1 -1
- package/lib/model/database-summary.js.map +1 -1
- package/lib/model/database.d.ts +1 -1
- package/lib/model/database.js.map +1 -1
- package/lib/model/encryption-key-location-details.js +4 -0
- package/lib/model/encryption-key-location-details.js.map +1 -1
- package/lib/model/identity-connector-details.d.ts +1 -0
- package/lib/model/identity-connector-details.js +1 -0
- package/lib/model/identity-connector-details.js.map +1 -1
- package/lib/model/index.d.ts +2 -0
- package/lib/model/index.js +4 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/register-cloud-vm-cluster-pkcs-details.d.ts +2 -1
- package/lib/model/register-cloud-vm-cluster-pkcs-details.js +1 -0
- package/lib/model/register-cloud-vm-cluster-pkcs-details.js.map +1 -1
- package/lib/model/unregister-cloud-vm-cluster-pkcs-details.d.ts +2 -1
- package/lib/model/unregister-cloud-vm-cluster-pkcs-details.js +1 -0
- package/lib/model/unregister-cloud-vm-cluster-pkcs-details.js.map +1 -1
- package/lib/request/change-encryption-key-location-request.d.ts +1 -1
- package/lib/request/index.d.ts +2 -0
- package/lib/request/refresh-data-guard-health-status-request.d.ts +43 -0
- package/lib/request/refresh-data-guard-health-status-request.js +15 -0
- package/lib/request/refresh-data-guard-health-status-request.js.map +1 -0
- package/lib/response/index.d.ts +2 -0
- package/lib/response/refresh-data-guard-health-status-response.d.ts +34 -0
- package/lib/response/refresh-data-guard-health-status-response.js +15 -0
- package/lib/response/refresh-data-guard-health-status-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -5814,6 +5814,16 @@ export declare class DatabaseClient {
|
|
|
5814
5814
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/MoveExecutionActionMember.ts.html |here} to see how to use MoveExecutionActionMember API.
|
|
5815
5815
|
*/
|
|
5816
5816
|
moveExecutionActionMember(moveExecutionActionMemberRequest: requests.MoveExecutionActionMemberRequest): Promise<responses.MoveExecutionActionMemberResponse>;
|
|
5817
|
+
/**
|
|
5818
|
+
* Refreshes the Data Guard health status for the specified database. This operation is supported on both primary and standby databases.
|
|
5819
|
+
*
|
|
5820
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5821
|
+
* @param RefreshDataGuardHealthStatusRequest
|
|
5822
|
+
* @return RefreshDataGuardHealthStatusResponse
|
|
5823
|
+
* @throws OciError when an error occurs
|
|
5824
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RefreshDataGuardHealthStatus.ts.html |here} to see how to use RefreshDataGuardHealthStatus API.
|
|
5825
|
+
*/
|
|
5826
|
+
refreshDataGuardHealthStatus(refreshDataGuardHealthStatusRequest: requests.RefreshDataGuardHealthStatusRequest): Promise<responses.RefreshDataGuardHealthStatusResponse>;
|
|
5817
5827
|
/**
|
|
5818
5828
|
* Refreshes a pluggable database (PDB) Refreshable clone.
|
|
5819
5829
|
*
|
package/lib/client.js
CHANGED
|
@@ -25753,6 +25753,77 @@ class DatabaseClient {
|
|
|
25753
25753
|
}
|
|
25754
25754
|
});
|
|
25755
25755
|
}
|
|
25756
|
+
/**
|
|
25757
|
+
* Refreshes the Data Guard health status for the specified database. This operation is supported on both primary and standby databases.
|
|
25758
|
+
*
|
|
25759
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
25760
|
+
* @param RefreshDataGuardHealthStatusRequest
|
|
25761
|
+
* @return RefreshDataGuardHealthStatusResponse
|
|
25762
|
+
* @throws OciError when an error occurs
|
|
25763
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RefreshDataGuardHealthStatus.ts.html |here} to see how to use RefreshDataGuardHealthStatus API.
|
|
25764
|
+
*/
|
|
25765
|
+
refreshDataGuardHealthStatus(refreshDataGuardHealthStatusRequest) {
|
|
25766
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25767
|
+
if (this.logger)
|
|
25768
|
+
this.logger.debug("Calling operation DatabaseClient#refreshDataGuardHealthStatus.");
|
|
25769
|
+
const operationName = "refreshDataGuardHealthStatus";
|
|
25770
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/Database/RefreshDataGuardHealthStatus";
|
|
25771
|
+
const pathParams = {
|
|
25772
|
+
"{databaseId}": refreshDataGuardHealthStatusRequest.databaseId
|
|
25773
|
+
};
|
|
25774
|
+
const queryParams = {};
|
|
25775
|
+
let headerParams = {
|
|
25776
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
25777
|
+
"opc-retry-token": refreshDataGuardHealthStatusRequest.opcRetryToken,
|
|
25778
|
+
"opc-request-id": refreshDataGuardHealthStatusRequest.opcRequestId,
|
|
25779
|
+
"if-match": refreshDataGuardHealthStatusRequest.ifMatch
|
|
25780
|
+
};
|
|
25781
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
25782
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, refreshDataGuardHealthStatusRequest.retryConfiguration, specRetryConfiguration);
|
|
25783
|
+
if (this.logger)
|
|
25784
|
+
retrier.logger = this.logger;
|
|
25785
|
+
const request = yield oci_common_2.composeRequest({
|
|
25786
|
+
baseEndpoint: this._endpoint,
|
|
25787
|
+
defaultHeaders: this._defaultHeaders,
|
|
25788
|
+
path: "/databases/{databaseId}/dataGuard/actions/refresh",
|
|
25789
|
+
method: "POST",
|
|
25790
|
+
pathParams: pathParams,
|
|
25791
|
+
headerParams: headerParams,
|
|
25792
|
+
queryParams: queryParams
|
|
25793
|
+
});
|
|
25794
|
+
try {
|
|
25795
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
25796
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
25797
|
+
responseObject: {},
|
|
25798
|
+
body: yield response.json(),
|
|
25799
|
+
bodyKey: "database",
|
|
25800
|
+
bodyModel: model.Database,
|
|
25801
|
+
type: "model.Database",
|
|
25802
|
+
responseHeaders: [
|
|
25803
|
+
{
|
|
25804
|
+
value: response.headers.get("opc-work-request-id"),
|
|
25805
|
+
key: "opcWorkRequestId",
|
|
25806
|
+
dataType: "string"
|
|
25807
|
+
},
|
|
25808
|
+
{
|
|
25809
|
+
value: response.headers.get("etag"),
|
|
25810
|
+
key: "etag",
|
|
25811
|
+
dataType: "string"
|
|
25812
|
+
},
|
|
25813
|
+
{
|
|
25814
|
+
value: response.headers.get("opc-request-id"),
|
|
25815
|
+
key: "opcRequestId",
|
|
25816
|
+
dataType: "string"
|
|
25817
|
+
}
|
|
25818
|
+
]
|
|
25819
|
+
});
|
|
25820
|
+
return sdkResponse;
|
|
25821
|
+
}
|
|
25822
|
+
catch (err) {
|
|
25823
|
+
throw err;
|
|
25824
|
+
}
|
|
25825
|
+
});
|
|
25826
|
+
}
|
|
25756
25827
|
/**
|
|
25757
25828
|
* Refreshes a pluggable database (PDB) Refreshable clone.
|
|
25758
25829
|
*
|