Example Procedure: Deleting a Private vNet

Before deleting a private vNet, ensure that it is not associated with any running vServers.

To delete a private vNet, complete the following steps:

  1. Run the following command:

    ./iaas-delete-vnet --base-url https://<localhost>/ -a ak.file --vnet VNET-350c9c3f-0ee5-41be-917e-ebbaed0fa4ad

    The command deletes the specified private vNet. The command does not return any value.

  2. Verify the deletion by running the iaas-describe-vnets command, as in the following example:

    ./iaas-describe-vnets --base-url https://<localhost>/ -a ak.file --ids VNET-350c9c3f-0ee5-41be-917e-ebbaed0fa4ad

    This command should return empty output, as the specified private vNet is deleted.