Skip to content

Pcu support in createDatabase #70

@clun

Description

@clun

(new params) and database info() (new returned fields)

Create pcu:
https://docs.datastax.com/en/astra-db-serverless/administration/create-pcu.html

Edit pcu:
https://docs.datastax.com/en/astra-db-serverless/administration/edit-pcu.html

Park/unpark:
https://docs.datastax.com/en/astra-db-serverless/administration/park-pcu.html

Create db with option to add to PCU group:
https://docs.datastax.com/en/astra-db-serverless/databases/create-database.html#create-a-database-with-the-devops-api

Add region with option to add to PCU group:
https://docs.datastax.com/en/astra-db-serverless/databases/manage-regions.html#add-a-region-to-a-database

PCU endpoints in swagger:
https://docs.datastax.com/en/astra-api-docs/_attachments/devops-api/index.html#tag/PCU/operation/pcuGet (edited)

Delete
https://docs.datastax.com/en/astra-db-serverless/administration/delete-pcu.html

For delete, customers can only self-service delete flexible capacity pcu groups, and they need to move the databases before deleting it. For those reasons, I didn't explicitly document the DELETE endpoint, but it is in the swagger.

https://github.com/riptano/astra-vector-docs/pull/1321/changes

or the new pcu types, see this draft PR. For the DevOps API, the only change was the values accepted by instanceType. Previously standard and storageOptimized, now it is generalPurpose and cacheOptimized. The old values are accepted for backwards compatibility. Small and medium are TBD

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions