> +                        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 In this case, the shared vnet is like the shared Resource group, they 
will need to be deleted by the user application since it can contain other 
resources or be used by other resources. 

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

Reply via email to