How Do I Set Vm Generation While Creating Disk Using Azure Sdk For Java

How Do I Set Vm Generation While Creating Disk Using Azure Sdk For Java