> + if (nsg != null) {
> + uri =
> api.getNetworkSecurityGroupApi(group).delete(id + "nsg");
> + jobDone = resourceDeleted.apply(uri);
> + if (jobDone) {
> + nsgDeleteStatus = true;
> +
> + }
> + }
> + else {
> + nsgDeleteStatus = true;
> + }
> +
> + return deploymentDeleteStatus &&
> storageAcctDeleteStatus && ipDeleteStatus && nsgDeleteStatus;
> + } else {
> + return false;
> + }
> } else {
> return false;
Grear idea! I'd suggest to tag them with the name or id of the vm: in this way
jclouds knows exactly who owns each resource and can delete them when
appropriate. Wdyt?
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/291/files/8a39037237f5cccc7d100bc58a9a82bdb89924b1#r68179672