apply
command creates and updates resources, the delete
command deletes resources. Both the apply
and the delete
commands accept the same options.
FILE_NAME
is the path for the file and it can be either a JSON or YAML file containing the resource metadata.
To delete an Identity, a Volume Set or a Workload resource you need to specify a GVC in one of the following methods.
gvc
within your cpln profile. This will add the gvc
to the session context of the profile and will be refered to as the default gvc
when executing any future command including the cpln delete
command.
--gvc
flag to the delete
command. This will pass the gvc
as an option and will override the default gvc
that is defined in the session context of the profile.
gvc
property in the resource definition in the file you wish to run the delete command against.
delete
command.
--k8s true
option to the delete
command, the K8s resources will be converted and deleted.
delete
command will use the logic of the CLI convert command and then delete the resources defined in the output.
stdin
(Standard Input) and delete them, use the following command.
cpln apply
button in the upper right corner of the console. A modal will be displayed containing the upload instructions. Enable the Use as Delete
switch in order to delete a resource.
The cpln apply modal provides the ability to specify in which org
and gvc
a resource will be deleted. The default is your currently selected org
and gvc
.
A file or an input containing an Identity, a Volume Set or a Workload resource will be deleted in the scope of the specified gvc
in the cpln apply modal. In case a gvc
is defined within a resource, the resource will be deleted in the scope of that gvc
.
---
.