Class CleanupResources
- java.lang.Object
-
- org.jclouds.azurecompute.arm.compute.strategy.CleanupResources
-
@Singleton public class CleanupResources extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cleanupAvailabilitySetIfOrphaned(VirtualMachine virtualMachine)
boolean
cleanupManagedDisks(VirtualMachine virtualMachine)
boolean
cleanupNode(String id)
boolean
cleanupSecurityGroupIfOrphaned(String resourceGroup, String group)
boolean
cleanupVirtualMachineNICs(VirtualMachine virtualMachine)
boolean
deleteResourceGroupIfEmpty(String group)
-
-
-
Field Detail
-
logger
@Named("jclouds.compute") protected Logger logger
-
-
Method Detail
-
cleanupNode
public boolean cleanupNode(String id)
-
cleanupVirtualMachineNICs
public boolean cleanupVirtualMachineNICs(VirtualMachine virtualMachine)
-
cleanupManagedDisks
public boolean cleanupManagedDisks(VirtualMachine virtualMachine)
-
cleanupSecurityGroupIfOrphaned
public boolean cleanupSecurityGroupIfOrphaned(String resourceGroup, String group)
-
cleanupAvailabilitySetIfOrphaned
public boolean cleanupAvailabilitySetIfOrphaned(VirtualMachine virtualMachine)
-
deleteResourceGroupIfEmpty
public boolean deleteResourceGroupIfEmpty(String group)
-
-