> +      HardwareProfile hw = HardwareProfile.create(vmSize);
> +
> +      VirtualMachineProperties properties = 
> VirtualMachineProperties.builder()
> +              .hardwareProfile(hw)
> +              .osProfile(osProfile)
> +              .storageProfile(storageProfile)
> +              .networkProfile(networkProfile)
> +              .diagnosticsProfile(diagnosticsProfile)
> +              .build();
> +
> +      variables.put("virtualMachineName", name);
> +      ResourceDefinition virtualMachine = ResourceDefinition.builder()
> +              .name("[variables('virtualMachineName')]")
> +              .type("Microsoft.Compute/virtualMachines")
> +              .location(location)
> +              .apiVersion("2015-06-15")

Use a shared a constant here too

---
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/534e8540c90b57d7d1b6cacd6cad8938788f176a#r65268463

Reply via email to