delete
This command deletes policy objects.
% pcemigrate delete --help
Delete any object with an HREF (such as unmanaged workloads,
labels, services, IPLists, and so forth) specified in the
JSON file from the PCE.
For each object specified in the JSON file, only the href
field is taken into account.
If no href field is present, the object is ignored.
Usage:
pcemigrate delete <JSON file of objects>
to delete hrefs> [flags]
Flags:
-h, --help The help for delete
--ignore-not-found Ignores failures to delete objects
not found or already deleted.
--provision Provision provisionable objects after
deleting them.
--provision-comment string Optionally specify the provision comment.
--unmanaged-only Only delete a workload if it is unmanaged.
Global Flags (not relevant for all commands):
--config-file string The path for the pcemigrate pce.yaml file.
--debug Enables debug-level logging for
troubleshooting.
--log-file string The path for the pcemigrate log file.
(default "pcemigrate.log")
--migrate-op When migrate-op is set to true, the
Import operation is interpreted as a copy
of objects from a different PCE
as part of a PCE migration operation.
--no-prompt Removes the user prompt when used
with update-pce.
--pce string The PCE to use in the command if not
using the default PCE.
--update-pce This command will update the PCE after
a single user prompt.
The default will just log potential
changes to workloads.
--verbose When verbose is enabled, includes the
raw API responses.
This makes pcemigrate.log increase
in size significantly.