Edit storage volume name, size, and/or deletion protection setting.
Args: storage_id: The ID of the storage to edit edit_request: Contains tp_storage_name, size_gb, and/or deletion_protection to update
Returns: EditResponse: Success message describing what was changed
Raises: HTTPException: For various error conditions (400, 403, 500)
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request model for editing storage.
New name for the storage. Must be unique within user/org scope.
"renamed-storage"
Update deletion protection setting. Set to true to protect storage from accidental deletion, or false to allow deletion. Must be disabled before storage can be destroyed.
true
New size in GB. Note: Storage can only be expanded, not shrunk. New size must be greater than current size.
x > 0200
Successful Response
Response model for edit endpoints (cluster and storage).