Reputation: 353
I have a requirement that I need to create a VM using azure-java-sdk.
When I tried to create a VM it is showing that invalid deployment Name.
What is approach to create VM(Role) along with Cloud Service and Deployment using azure-java-sdk?
I am using VirtualMachineOperations to createRole(vm), and creatRole(ServiceName,DeploymentName,params) to create VM.
This is where I am getting Error.
Thanks in advance..
Upvotes: 0
Views: 158
Reputation: 173
Azure SDK has a lot of tests covering this functionality, you can check the setup and what entities you need to create (cloud service, deployment, role)
Upvotes: 1