Java Code Examples for com.microsoft.azure.management.compute.Disk#osType()
The following examples show how to use
com.microsoft.azure.management.compute.Disk#osType() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DiskImpl.java From azure-libraries-for-java with MIT License | 5 votes |
@Override public DiskImpl withLinuxFromDisk(Disk sourceDisk) { withLinuxFromDisk(sourceDisk.id()); if (sourceDisk.osType() != null) { this.withOSType(sourceDisk.osType()); } this.withSku(sourceDisk.sku()); return this; }
Example 2
Source File: DiskImpl.java From azure-libraries-for-java with MIT License | 5 votes |
@Override public DiskImpl withWindowsFromDisk(Disk sourceDisk) { withWindowsFromDisk(sourceDisk.id()); if (sourceDisk.osType() != null) { this.withOSType(sourceDisk.osType()); } this.withSku(sourceDisk.sku()); return this; }
Example 3
Source File: SnapshotImpl.java From azure-libraries-for-java with MIT License | 5 votes |
@Override public SnapshotImpl withLinuxFromDisk(Disk sourceDisk) { withLinuxFromDisk(sourceDisk.id()); if (sourceDisk.osType() != null) { this.withOSType(sourceDisk.osType()); } this.withSku(sourceDisk.sku()); return this; }
Example 4
Source File: SnapshotImpl.java From azure-libraries-for-java with MIT License | 5 votes |
@Override public SnapshotImpl withWindowsFromDisk(Disk sourceDisk) { withWindowsFromDisk(sourceDisk.id()); if (sourceDisk.osType() != null) { this.withOSType(sourceDisk.osType()); } this.withSku(sourceDisk.sku()); return this; }