drivers/azure/azureutil/azureutil.go
func (a AzureClient) CleanupAvailabilitySetIfExists(resourceGroup, name string) error {
	return a.cleanupResourceIfExists(&avSetCleanup{rg: resourceGroup, name: name})
}
func (a AzureClient) CleanupAvailabilitySetIfExists(resourceGroup, name string) error {
	return a.cleanupResourceIfExists(&avSetCleanup{rg: resourceGroup, name: name})
}
func ( a AzureClient ) CleanupAvailabilitySetIfExists ( resourceGroup , name string ) error { return a . cleanupResourceIfExists ( & avSetCleanup { rg : resourceGroup , name : name } ) }
// CleanupAvailabilitySetIfExists removes an availability set if there are no
// virtual machines attached to it. Note that this method is not safe for
// multiple concurrent writers, in case of races, deployment of a machine could
// fail or resource might not be cleaned up.
CleanupAvailabilitySetIfExists removes an availability set if there are no virtual machines attached to it . Note that this method is not safe for multiple concurrent writers in case of races deployment of a machine could fail or resource might not be cleaned up .