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 NodeMetadata
apply(VirtualMachine virtualMachine)
protected com.google.common.base.Optional<? extends Image>
findImage(StorageProfile storageProfile, String locatioName)
protected Hardware
getHardware(LocationAndName hardwareId)
protected static Location
getLocation(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:
apply
in interfacecom.google.common.base.Function<VirtualMachine,NodeMetadata>
- Specified by:
apply
in 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)
-
-