Complete CRUD: GET-single and DELETE endpoints #3
Reference in New Issue
Block a user
Delete Branch "benvin/complete-crud"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The Terraform provider needs full read/update/delete lifecycle per resource, but the name-keyed resources only exposed list + upsert. This completes their CRUD.
Changes
Add GET /{name} and DELETE /{name} for zones, address-groups, portgroups, fabrics, devices, and bindings, plus GET /rules/{id}, with the matching store Get/Delete methods (deletes bump the generation and 404 on no-match). This gives the resources full read/update/delete lifecycle so the Terraform provider can manage them.