cpln/protected tag set to true.
This mechanism gives you an added layer of protection against accidental deletion of critical resources such as workloads, secrets, etc.
To delete a resource with a cpln/protected tag set to true, change the value from true or remove the tag. Only then will the platform allow you to proceed with the deletion.
Using the Console UI
-
Add Tag
From nearly any resource within the Console UI, follow these steps to add the protected tag:
-
Click the
Tagslink. -
Click the
Addbutton. -
In the blank row that was added:
- Enter
cpln/protectedfor theKey. - Enter
truefor theValue.
- Enter
-
Click
Save.
-
Click the
-
Remove Tag
From nearly any resource within the Console UI, follow these steps to remove the protected tag:
- Click the
Tagslink. - Click the
Removelink corresponding to the row that contains thecpln/protectedtag. - Click
Save.
- Click the
Using the CLI
Nearly every CLI command has thetag subcommand.
Follow the examples below that target a workload to add and remove the cpln/protected tag. Substitute workload with the target resource.