azure-sdk-for-java icon indicating copy to clipboard operation
azure-sdk-for-java copied to clipboard

mgmt, design, sample for beginCreate VM

Open weidongxu-microsoft opened this issue 1 year ago • 0 comments

Some user need to batch create large numbers of VM.

Would like a sample to demonstrate alternative to polling.

Consider:

  1. create dependency resources like network (may include NIC, or not)
  2. use virtualMachines().define(...)....beginCreate() on VM (5 to 10)
  3. use Azure Resource Graph (or list, is having problem publish the sample with ARG) to batch query the status (the number of provisioningState=Succeeded ?).

weidongxu-microsoft avatar Aug 12 '22 08:08 weidongxu-microsoft