ProtectedDatabase
A protected database is an Oracle Cloud Database whose backups are managed by Oracle Database Autonomous Recovery Service. Each protected database requires a recovery service subnet and a protection policy to use Recovery Service as the backup destination for centralized backup and recovery
Properties
| Name | Type | Description |
|---|---|---|
| backupCloudLocation | string | Indicates the cloud service environment where the protected database is provisioned. For example, Oracle Cloud or Microsoft Azure. |
| changeRate | number | The percentage of data changes that exist in the database between successive incremental backups. |
| compartmentId | string | The OCID of the compartment that contains the protected database. |
| compressionRatio | number | The compression ratio of the protected database. The compression ratio represents the ratio of compressed block size to expanded block size. |
| databaseId | string | The OCID of the protected database. |
| databaseSize | string | The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB. |
| databaseSizeInGBs | integer | The size of the database in GBs, in gigabytes. |
| dbUniqueName | string | The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name. |
| definedTags | object | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}`. For more information, see [Resource Tags](https://docs.oracle.com/ |
| displayName | string | The protected database name. You can change the displayName. Avoid entering confidential information. |
| freeformTags | object | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` |
| health | string | Indicates the protection status of the database. A 'PROTECTED' status indicates that Recovery Service can ensure database recovery to any point in time within the entire recovery window. The potential |
| healthDetails | string | A message describing the current health of the protected database. |
| id | string | The OCID of the protected database. |
| isReadOnlyResource | boolean | Indicates whether the protected database is created by Recovery Service or created manually. Set to TRUE for a service-defined protected database. When you enable the OCI-managed automatic back |
| isRedoLogsShipped | boolean | The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection su |
| lifecycleDetails | string | Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state. |
| lifecycleState | string | The current state of the Protected Database. |
| metrics | object | |
| policyLockedDateTime | string | An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. The retention lock fe |
| protectionPolicyId | string | The OCID of the protection policy associated with the protected database. |
| recoveryServiceSubnets | array | List of recovery service subnet resources associated with the protected database. |
| subscriptionId | string | The OCID of the cloud service subscription to which the protected database is linked. |
| systemTags | object | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`. For more information, see [Resource Tags](https://docs.oracle.com/e |
| timeCreated | string | An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z' |
| timeUpdated | string | An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z' |
| vpcUserName | string | The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/oracle/json-schema/oracle-protected-database-schema.json",
"title": "ProtectedDatabase",
"description": "A protected database is an Oracle Cloud Database whose\nbackups are managed by Oracle Database Autonomous Recovery Service. Each protected database\nrequires a recovery service subnet and a protection policy to use Recovery Service as\nthe backup destination for centralized backup and recovery\n",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/oracle-databaserecovery-api-openapi.yml#/components/schemas/ProtectedDatabase",
"properties": {
"backupCloudLocation": {
"description": "Indicates the cloud service environment where the protected database is provisioned. For example, Oracle Cloud or Microsoft Azure.",
"enum": [
"AZURE",
"OCI",
"GCP",
"AWS"
],
"type": "string",
"x-obmcs-top-level-enum": "#/definitions/BackupCloudLocation"
},
"changeRate": {
"description": "The percentage of data changes that exist in the database between successive incremental backups.",
"format": "double",
"type": "number"
},
"compartmentId": {
"description": "The OCID of the compartment that contains the protected database.",
"type": "string"
},
"compressionRatio": {
"description": "The compression ratio of the protected database. The compression ratio represents the ratio of compressed block size to expanded block size.",
"format": "double",
"type": "number"
},
"databaseId": {
"description": "The OCID of the protected database.",
"type": "string"
},
"databaseSize": {
"description": "The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.",
"enum": [
"XS",
"S",
"M",
"L",
"XL",
"XXL",
"AUTO"
],
"type": "string",
"x-obmcs-top-level-enum": "#/definitions/DatabaseSizes"
},
"databaseSizeInGBs": {
"description": "The size of the database in GBs, in gigabytes.",
"type": "integer"
},
"dbUniqueName": {
"description": "The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.",
"type": "string"
},
"definedTags": {
"additionalProperties": {
"additionalProperties": {
"description": "The value of the tag. Only string, integer and boolean types are supported.\n",
"type": "object"
},
"description": "Key-value pair representing predefined tags' keys and values scoped to a namespace.\nExample: `{\"bar-key\": \"value\"}`\n",
"type": "object"
},
"description": "Defined tags for this resource. Each key is predefined and scoped to a namespace.\nExample: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)\n",
"type": "object"
},
"displayName": {
"description": "The protected database name. You can change the displayName. Avoid entering confidential information.",
"type": "string"
},
"freeformTags": {
"additionalProperties": {
"type": "string"
},
"description": "Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.\nExample: `{\"bar-key\": \"value\"}`\n",
"type": "object"
},
"health": {
"description": "Indicates the protection status of the database.\n\nA 'PROTECTED' status indicates that Recovery Service can ensure database recovery to any point in time within the entire recovery window. The potential data loss exposure since the last backup is:\n - Less than 10 seconds, if Real-time data protection is enabled\n - Less than 70 minutes if Real-time data protection is disabled\n\nA 'WARNING' status indicates that Recovery Service can ensure database recovery within the current recovery window - 1 day. The potential data loss exposure since the last backup is:\n - Greater than 10 seconds, if Real-time data protection is enabled\n - Greater than 60 minutes, if if Real-time data protection is disabled\n\nAn 'ALERT' status indicates that Recovery Service cannot recover the database within the current recovery window. \n",
"enum": [
"PROTECTED",
"WARNING",
"ALERT"
],
"type": "string",
"x-obmcs-top-level-enum": "#/definitions/Health"
},
"healthDetails": {
"description": "A message describing the current health of the protected database.",
"type": "string"
},
"id": {
"description": "The OCID of the protected database.",
"type": "string"
},
"isReadOnlyResource": {
"description": "Indicates whether the protected database is created by Recovery Service or created manually.\nSet to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource.\nSet to <b>FALSE</b> for a user-defined protected database.\n",
"type": "boolean"
},
"isRedoLogsShipped": {
"description": "The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service.\nReal-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups. For this to be effective, additional\nconfiguration is needed on client side.\n",
"type": "boolean"
},
"lifecycleDetails": {
"description": "Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.",
"type": "string"
},
"lifecycleState": {
"description": "The current state of the Protected Database.",
"enum": [
"CREATING",
"UPDATING",
"ACTIVE",
"DELETE_SCHEDULED",
"DELETING",
"DELETED",
"FAILED"
],
"type": "string",
"x-obmcs-top-level-enum": "#/definitions/LifecycleState"
},
"metrics": {
"$ref": "#/$defs/Metrics"
},
"policyLockedDateTime": {
"description": "An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.\n\nThe retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. \nRecovery Service enforces a 14-day delay before the retention lock set for a policy can take effect.\n",
"type": "string"
},
"protectionPolicyId": {
"description": "The OCID of the protection policy associated with the protected database.",
"type": "string"
},
"recoveryServiceSubnets": {
"description": "List of recovery service subnet resources associated with the protected database.",
"items": {
"$ref": "#/$defs/RecoveryServiceSubnetDetails"
},
"type": "array"
},
"subscriptionId": {
"description": "The OCID of the cloud service subscription to which the protected database is linked.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"systemTags": {
"additionalProperties": {
"additionalProperties": {
"description": "The value of the tag. Only string, integer and boolean types are supported.\n",
"type": "object"
},
"description": "Key-value pair representing system tags' keys and values scoped to a namespace.\nExample: `{\"bar-key\": \"value\"}`\n",
"type": "object"
},
"description": "Usage of system tag keys. These predefined keys are scoped to namespaces.\nExample: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)\n",
"type": "object"
},
"timeCreated": {
"description": "An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'\n",
"format": "date-time",
"type": "string"
},
"timeUpdated": {
"description": "An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'\n",
"format": "date-time",
"type": "string"
},
"vpcUserName": {
"description": "The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.",
"type": "string"
}
},
"required": [
"id",
"compartmentId",
"dbUniqueName",
"vpcUserName",
"databaseSize",
"protectionPolicyId",
"recoveryServiceSubnets"
],
"type": "object",
"$defs": {
"Metrics": {
"description": "Backup performance and storage utilization metrics for the protected database.",
"properties": {
"backupSpaceEstimateInGBs": {
"description": "The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.",
"format": "float",
"type": "number"
},
"backupSpaceUsedInGBs": {
"description": "Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.",
"format": "float",
"type": "number"
},
"currentRetentionPeriodInSeconds": {
"description": "Number of seconds backups are currently retained for this database.",
"format": "float",
"type": "number"
},
"dbSizeInGBs": {
"description": "The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.",
"format": "float",
"type": "number"
},
"isRedoLogsEnabled": {
"description": "The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service.\nReal-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.\n",
"type": "boolean"
},
"minimumRecoveryNeededInDays": {
"description": "Number of days of redo/archive to be applied to recover database.",
"format": "float",
"type": "number"
},
"retentionPeriodInDays": {
"description": "The maximum number of days to retain backups for a protected database.",
"format": "float",
"maximum": 90,
"minimum": 14,
"type": "number"
},
"unprotectedWindowInSeconds": {
"description": "This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. \nThis is the time we received the last backup or last redo-log shipped.\n",
"format": "float",
"type": "number"
}
},
"type": "object"
},
"RecoveryServiceSubnetDetails": {
"description": "Details of the Recovery Service Subnet.",
"properties": {
"lifecycleState": {
"description": "The current state of the Recovery Service Subnet.",
"enum": [
"CREATING",
"UPDATING",
"ACTIVE",
"DELETE_SCHEDULED",
"DELETING",
"DELETED",
"FAILED"
],
"type": "string",
"x-obmcs-top-level-enum": "#/definitions/LifecycleState"
},
"recoveryServiceSubnetId": {
"description": "Recovery Service Subnet Identifier.",
"type": "string"
}
},
"required": [
"recoveryServiceSubnetId"
],
"type": "object"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/oracle-protected-database"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.