Class VirtualMachineToNodeMetadata
- java.lang.Object
-
- org.jclouds.azurecompute.arm.compute.functions.VirtualMachineToNodeMetadata
-
- All Implemented Interfaces:
com.google.common.base.Function<VirtualMachine,NodeMetadata>,Function<VirtualMachine,NodeMetadata>
public class VirtualMachineToNodeMetadata extends Object implements com.google.common.base.Function<VirtualMachine,NodeMetadata>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeMetadataapply(VirtualMachine virtualMachine)protected com.google.common.base.Optional<? extends Image>findImage(StorageProfile storageProfile, String locatioName)protected HardwaregetHardware(LocationAndName hardwareId)protected static LocationgetLocation(com.google.common.base.Supplier<Set<? extends Location>> locations, String locationName)
-
-
-
Field Detail
-
logger
@Named("jclouds.compute") protected Logger logger
-
-
Method Detail
-
apply
public NodeMetadata apply(VirtualMachine virtualMachine)
- Specified by:
applyin interfacecom.google.common.base.Function<VirtualMachine,NodeMetadata>- Specified by:
applyin interfaceFunction<VirtualMachine,NodeMetadata>
-
getLocation
protected static Location getLocation(com.google.common.base.Supplier<Set<? extends Location>> locations, String locationName)
-
findImage
protected com.google.common.base.Optional<? extends Image> findImage(StorageProfile storageProfile, String locatioName)
-
getHardware
protected Hardware getHardware(LocationAndName hardwareId)
-
-