@Override public OperatingSystemTypes osType() { return this.inner().storageProfile().osDisk().osType(); }
@Override public OperatingSystemTypes osType() { return this.inner().storageProfile().osDisk().osType(); }
@Override public OperatingSystemTypes osType() { if (inner().storageProfile().osDisk().osType() != null) { return inner().storageProfile().osDisk().osType(); } if (inner().osProfile() != null) { if (inner().osProfile().linuxConfiguration() != null) { return OperatingSystemTypes.LINUX; } if (inner().osProfile().windowsConfiguration() != null) { return OperatingSystemTypes.WINDOWS; } } return null; }
@Override public OperatingSystemTypes osType() { if (inner().storageProfile().osDisk().osType() != null) { return inner().storageProfile().osDisk().osType(); } if (inner().osProfile() != null) { if (inner().osProfile().linuxConfiguration() != null) { return OperatingSystemTypes.LINUX; } if (inner().osProfile().windowsConfiguration() != null) { return OperatingSystemTypes.WINDOWS; } } return null; }
final OperatingSystemTypes osType = vm.storageProfile().osDisk().osType();
if (osDisk.osType() == OperatingSystemTypes.LINUX || this.isMarketplaceLinuxImage) {
if (osDisk.osType() == OperatingSystemTypes.LINUX || this.isMarketplaceLinuxImage) {