# SubResourceType refers to the sub-type of database resource.

| Enums ||
|---|---|
| `SUB_RESOURCE_TYPE_UNSPECIFIED` | Unspecified. |
| `SUB_RESOURCE_TYPE_PRIMARY` | A resource acting as a primary. |
| `SUB_RESOURCE_TYPE_SECONDARY` | A resource acting as a secondary. |
| `SUB_RESOURCE_TYPE_READ_REPLICA` | A resource acting as a read-replica. |
| `SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY` | A resource acting as an external primary. |
| `SUB_RESOURCE_TYPE_READ_POOL` | A resource acting as a read pool. |
| `SUB_RESOURCE_TYPE_RESERVATION` | Represents a reservation resource. |
| `SUB_RESOURCE_TYPE_DATASET` | Represents a dataset resource. |
| `SUB_RESOURCE_TYPE_OTHER` | For the rest of the categories. |