@Singleton public class CleanupResources extends Object
Modifier and Type | Method and 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) |
@Named(value="jclouds.compute") protected Logger logger
public boolean cleanupNode(String id)
public boolean cleanupVirtualMachineNICs(VirtualMachine virtualMachine)
public boolean cleanupManagedDisks(VirtualMachine virtualMachine)
public boolean cleanupSecurityGroupIfOrphaned(String resourceGroup, String group)
public boolean cleanupAvailabilitySetIfOrphaned(VirtualMachine virtualMachine)
public boolean deleteResourceGroupIfEmpty(String group)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.