> +                        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;

@nacx One thing we thought about is to create all jclouds resources with a tag 
"jclouds". Then during delete, we will delete all resources that have the 
jclouds tag. If not, then we will leave them alone since those resources can be 
created outside of jclouds APIs.

---
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#r68140991

Reply via email to