> +      DeploymentBody body = DeploymentBody.create(template, DEPLOYMENT_MODE, 
> DeploymentTemplate.Parameters.create());
> +
> +      return body;
> +   }
> +
> +
> +   private void addStorageResource() {
> +      String storageAccountName = name.replaceAll("[^A-Za-z0-9 ]", "") + 
> "storage";
> +
> +      variables.put("storageAccountName", storageAccountName);
> +
> +      ResourceDefinition storageAccount = ResourceDefinition.builder()
> +              .name("[variables('storageAccountName')]")
> +              .type("Microsoft.Storage/storageAccounts")
> +              .location(location)
> +              .apiVersion("2015-06-15")

Move this to a constant so the value is shared by the APIs too? (consider this 
elsewhere).

---
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/273/files/74f8e9bf66e7427298c5c3c9567aa7d8284e0987#r64480271

Reply via email to