> +      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")

Added `public static final String STORAGE_API_VERSION = "2015-06-15";` to 
`AzureComputeProperties` and referencing it in both `StorageAccountApi` and 
`DeploymentTemplateBuilder`.

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

Reply via email to