use of com.microsoft.azure.management.compute.NetworkProfile in project azure-sdk-for-java by Azure.
the class VirtualMachinesImpl method wrapModel.
// Helper methods
@Override
protected VirtualMachineImpl wrapModel(String name) {
VirtualMachineInner inner = new VirtualMachineInner();
inner.withStorageProfile(new StorageProfile().withOsDisk(new OSDisk()).withDataDisks(new ArrayList<DataDisk>()));
inner.withOsProfile(new OSProfile());
inner.withHardwareProfile(new HardwareProfile());
inner.withNetworkProfile(new NetworkProfile().withNetworkInterfaces(new ArrayList<NetworkInterfaceReferenceInner>()));
return new VirtualMachineImpl(name, inner, this.manager(), this.storageManager, this.networkManager);
}
Aggregations