sureshanaparti commented on code in PR #433: URL: https://github.com/apache/cloudstack-documentation/pull/433#discussion_r1745273703
########## source/adminguide/storage.rst: ########## @@ -1005,6 +1005,46 @@ True. Instances created from this service offering will have their disks reset upon reboot. See `“Creating a New Compute Offering” <service_offerings.html#creating-a-new-compute-offering>`_. +Volume delete protection +~~~~~~~~~~~~~~~~~~~~~~~~ + +CloudStack protects volumes from accidental deletion using a delete protection +flag, which is false by default. When delete protection is enabled for a volume, +it cannot be deleted through the UI or API. It can only be deleted after +removing delete protection from the volume. + +Delete protection can be enabled for a volume via updateVirtualMachine API. + +.. code:: bash + + cmk update volume id=<volume id> deletionprotection=true Review Comment: ```suggestion cmk update volume id=<volume id> deleteprotection=true ``` ########## source/adminguide/storage.rst: ########## @@ -1005,6 +1005,46 @@ True. Instances created from this service offering will have their disks reset upon reboot. See `“Creating a New Compute Offering” <service_offerings.html#creating-a-new-compute-offering>`_. +Volume delete protection +~~~~~~~~~~~~~~~~~~~~~~~~ + +CloudStack protects volumes from accidental deletion using a delete protection +flag, which is false by default. When delete protection is enabled for a volume, +it cannot be deleted through the UI or API. It can only be deleted after +removing delete protection from the volume. + +Delete protection can be enabled for a volume via updateVirtualMachine API. + +.. code:: bash + + cmk update volume id=<volume id> deletionprotection=true + +To remove delete protection, use the following command: + +.. code:: bash + + cmk update volume id=<volume id> deletionprotection=false Review Comment: ```suggestion cmk update volume id=<volume id> deleteprotection=false ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org