Gets an item from the ApiSdk.v2.databases.item.replicas.item collection
The name of the database replica.
To list all of the read-only replicas associated with a database cluster, send a GET request to /v2/databases/$DATABASE_ID/replicas.Note: Read-only replicas are not supported for Caching or Valkey clusters.The result will be a JSON object with a replicas key. This will be set to an array of database replica objects, each of which will contain the standard database replica attributes.
OptionalrequestConfiguration: RequestConfiguration<object>Configuration for the request such as headers, query parameters, and middleware options.
To create a read-only replica for a PostgreSQL or MySQL database cluster, send a POST request to /v2/databases/$DATABASE_ID/replicas specifying the name it should be given, the size of the node to be used, and the region where it will be located.Note: Read-only replicas are not supported for Caching or Valkey clusters.The response will be a JSON object with a key called replica. The value of this will be an object that contains the standard attributes associated with a database replica. The initial value of the read-only replica's status attribute will be forking. When the replica is ready to receive traffic, this will transition to active.
The request body
OptionalrequestConfiguration: RequestConfiguration<object>Configuration for the request such as headers, query parameters, and middleware options.
To list all of the read-only replicas associated with a database cluster, send a GET request to /v2/databases/$DATABASE_ID/replicas.Note: Read-only replicas are not supported for Caching or Valkey clusters.The result will be a JSON object with a replicas key. This will be set to an array of database replica objects, each of which will contain the standard database replica attributes.
OptionalrequestConfiguration: RequestConfiguration<object>Configuration for the request such as headers, query parameters, and middleware options.
To create a read-only replica for a PostgreSQL or MySQL database cluster, send a POST request to /v2/databases/$DATABASE_ID/replicas specifying the name it should be given, the size of the node to be used, and the region where it will be located.Note: Read-only replicas are not supported for Caching or Valkey clusters.The response will be a JSON object with a key called replica. The value of this will be an object that contains the standard attributes associated with a database replica. The initial value of the read-only replica's status attribute will be forking. When the replica is ready to receive traffic, this will transition to active.
The request body
OptionalrequestConfiguration: RequestConfiguration<object>Configuration for the request such as headers, query parameters, and middleware options.
Builds and executes requests for operations under /v2/databases/{database_cluster_uuid}/replicas